This document provides setup instructions for AI agents using the Weaviate skill and plugin.
If the user does not have an instance yet, direct them to the cloud console to register and create a free sandbox. Create a Weaviate instance via Weaviate Cloud.
Required:
WEAVIATE_URL="https://your-cluster.weaviate.cloud"
WEAVIATE_API_KEY="your-api-key"External Provider Keys (auto-detected):
Set only the keys your collections use:
OPENAI_API_KEYCOHERE_API_KEYHUGGINGFACE_API_KEYJINAAI_API_KEYVOYAGE_API_KEYMISTRAL_API_KEYNVIDIA_API_KEYVERTEX_API_KEYSTUDIO_API_KEYAZURE_API_KEYANTHROPIC_API_KEYANYSCALE_API_KEYDATABRICKS_TOKENFRIENDLI_TOKENXAI_API_KEYAWS_ACCESS_KEYAWS_SECRET_KEY
Check if variables are set:
[ -z "$WEAVIATE_URL" ] && echo "WEAVIATE_URL is NOT set" || echo "WEAVIATE_URL is set"
[ -z "$WEAVIATE_API_KEY" ] && echo "WEAVIATE_API_KEY is NOT set" || echo "WEAVIATE_API_KEY is set"All scripts require Python 3.11+.
python3 --versionScripts use uv for dependency management.
Check if uv is installed:
uv --versionInstall uv if needed:
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Or with pip
pip install uv
# Or with Homebrew
brew install uv| Skill | Path | Description |
|---|---|---|
| weaviate | skills/weaviate/ |
Scripts and references for searching, querying, and managing Weaviate collections |
| weaviate-cookbooks | skills/weaviate-cookbooks/ |
Implementation guides for building full-stack AI applications with Weaviate |
All scripts are in skills/weaviate/scripts/. Run from that directory.
For full parameter details, examples, and usage guidance, see the linked references.
- Query Agent - Ask Mode: Generate AI-powered answers with source citations across multiple collections.
- Query Agent - Search Mode: Retrieve raw objects using natural language queries across multiple collections.
- Hybrid Search: Combine vector similarity and keyword matching — the default choice for most searches.
- Semantic Search: Pure vector similarity search for finding conceptually similar content.
- Keyword Search: BM25 keyword matching for exact terms, IDs, or specific text patterns.
- List Collections: Show all available collections with their properties.
- Get Collection Details: Get detailed configuration of a specific collection including vectorizer, properties, and multi-tenancy settings.
- Explore Collection: Get statistical insights, aggregation metrics, and sample data from a collection.
- Create Collection: Create a new collection with custom schema, optional vectorizer, and multi-tenancy support.
- Fetch and Filter: Fetch objects by UUID or with complex nested filters (AND, OR logic).
- Import Data: Import data from CSV, JSON, or JSONL files with automatic type conversion and column mapping.
All scripts use inline dependency declarations (auto-installed via uv run):
| Package | Version | Used By |
|---|---|---|
weaviate-client |
>=4.19.2 | All scripts |
weaviate-agents |
>=1.2.0 | ask.py, query_search.py |
typer |
>=0.21.0 | All scripts |
Weaviate cookbooks are implementation guides for building full-stack AI applications with Weaviate. All cookbooks are in the skills/weaviate-cookbooks/ skill. For full details and best practices, see the linked references.
- Query Agent Chatbot: Build a full-stack chatbot using Weaviate Query Agent with streaming and chat history support.
- Data Explorer: Build a full-stack data explorer app with sorting, keyword search, and tabular data view.
- Basic RAG: Implement basic retrieval and generation with Weaviate — covers vector, keyword, hybrid, and image search.
- Advanced RAG: Extend basic RAG with query rewriting, decomposition, LLM-created filters, and re-ranking.
- Multimodal RAG (PDF): Build a multimodal RAG system for PDF documents using Weaviate Embeddings (ModernVBERT/colmodernvbert) and Ollama with Qwen3-VL for generation.
- Basic Agent: Build tool-calling AI agents with structured outputs using DSPy.
- Agentic RAG: Build RAG-powered AI agents combining retrieval with agent logic — covers naive RAG tools, hierarchical RAG, vector DB memory, and Weaviate Query Agent.
- Frontend Interface: Build a Next.js frontend (App Router, Tailwind v4, shadcn/ui) to interact with Weaviate backends.
For full guidelines, see CONTRIBUTING.md.
- Create a new
.mdfile inskills/<skill-name>/references/. - Include usage, parameters, examples, and prerequisites.
- Link the new reference from the skill's
SKILL.md.
- Create directory:
mkdir -p skills/my-skill/references - Add a
SKILL.mdwith YAML frontmatter (name,description) and reference links. - Add reference markdown files in
references/.
Skills follow the Agent Skills Open Standard.