| name | weave-setup |
| description | Set up and configure weave-cli for vector database RAG solutions. Use when: (1) installing or updating weave-cli, (2) creating or updating config.yaml and .env files, (3) running weave doctor diagnostics, (4) selecting and configuring vector databases, (5) verifying health of VDB connections. NOT for: data ingestion (use weave-ingest), querying (use weave-search), evaluations (use weave-eval), or stack deployment (use weave-stack). |
| homepage | https://github.com/Maximilien-ai/weave-cli |
| tags | ["rag","data","weave","vector-database"] |
| metadata | {"openclaw":{"emoji":"⚙️","requires":{"bins":["weave"]},"install":[{"id":"brew","kind":"brew","formula":"Maximilien-ai/tap/weave-cli","bins":["weave"],"label":"Install weave-cli (brew)"},{"id":"go","kind":"go","package":"github.com/Maximilien-ai/weave-cli","bins":["weave"],"label":"Install weave-cli (go install)"}]}} |
weave-setup
Set up and configure weave-cli for building multimodal RAG solutions across 10 vector databases.
When to Use
- Installing weave-cli for the first time
- Creating or updating
config.yaml and .env for a project
- Running diagnostics to verify everything works
- Selecting which VDB(s) to use based on project requirements
- Checking VDB connectivity and health
When NOT to Use
- Data ingestion, collections, documents ->
weave-ingest skill
- Searching, querying, agents ->
weave-search skill
- Evaluations and benchmarks ->
weave-eval skill
- Stack deployment (k8s/podman) ->
weave-stack skill
- End-to-end planning ->
weave-planner skill
Installation
git clone https://github.com/Maximilien-ai/weave-cli.git
cd weave-cli && ./build.sh
weave --version
weave doctor
Configuration
Interactive Setup
weave config create --env
weave config update --env
Manual config.yaml
quiet-config: true
logging:
level: info
databases:
default: weaviate-cloud
vector_databases:
- name: weaviate-cloud
type: weaviate-cloud
url: ${WEAVIATE_URL}
api_key: ${WEAVIATE_API_KEY}
openai_api_key: ${OPENAI_API_KEY}
timeout: 10
collections:
- name: MyDocs
type: text
description: Main document collection
.env File
OPENAI_API_KEY=sk-proj-...
WEAVIATE_URL=https://your-cluster.weaviate.cloud
WEAVIATE_API_KEY=your-key
Diagnostics
weave doctor
weave doctor --fix
weave doctor --section config
weave doctor --section vdb
weave doctor --verbose
weave doctor --json
Doctor sections: system, config, env, vdb, llm, embeddings, stack, opik
Health & VDB Info
weave health check
weave health check --weaviate-cloud
weave vdb list
weave vdb info weaviate-cloud
Config Management
weave config show
weave config list
weave config sync
weave config fix --errors-only
weave config show-schema
Supported Vector Databases (10)
| VDB | Local | Cloud | Best For |
|---|
| Weaviate | weaviate-local | weaviate-cloud | Production, all features |
| Qdrant | qdrant-local | qdrant-cloud | Rust performance, filtering |
| Milvus | milvus-local | milvus-cloud | Horizontal scaling |
| Chroma | chroma-local | chroma-cloud | Simple setup (macOS) |
| Supabase | supabase-local | supabase-cloud | PostgreSQL users |
| Neo4j | neo4j-local | neo4j-cloud | Graph + vector hybrid |
| MongoDB | mongodb-local | mongodb-cloud | Atlas Vector Search |
| Pinecone | — | pinecone | Auto-scaling managed |
| Elasticsearch | elasticsearch-local | elasticsearch-cloud | Hybrid search |
| OpenSearch | opensearch-local | opensearch-cloud | AWS, k-NN + BM25 |
VDB Selection Guide
- Quick prototyping: Weaviate Cloud (free tier) or Chroma local
- Production: Weaviate, Qdrant, or Milvus
- Existing infra: Match your current DB
- Graph + vector: Neo4j
- AWS native: OpenSearch
VDB Override Flags
weave --weaviate-cloud <command>
weave --milvus-local <command>
weave --qdrant-cloud <command>
weave --all <command>
weave --mock <command>
Global Flags
--config FILE
--env FILE
-v, --verbose
-q, --quiet
--json
--no-confirm
--timeout DURATION
Decision Workflow
- Check prerequisites:
weave --version, weave doctor
- Understand goals: What data? What queries? What scale?
- Recommend VDB based on goals, infra, budget
- Create config:
weave config create --env
- Verify:
weave health check, weave doctor --fix
- Hand off to
weave-ingest skill for data loading