Vector Store Tool

Lets the AI Agent search a vector store. A chat model on this tool is optional: it answers from the chunks, so the agent gets only the answer.

v0.4.0Source

Install

An AI agent with ports for a chat model, memory, and tools. Chat models of OpenAI, Anthropic, Google Gemini, Mistral, Groq, xAI, DeepSeek, OpenRouter, Ollama, Azure OpenAI, Amazon Bedrock, Google Vertex AI, or any OpenAI-compatible endpoint, memory in zerodot or in a data table, and other workflows, MCP servers, and vector stores as tools. Embedding models, text splitters, a data loader, and a Cohere reranker for vector stores.

AI Agent@zerodot/ai-agentInstall
  1. Open System, then Nodes.
  2. Find AI Agent and click Install.
  3. Use the new nodes at once. You do not restart.

How it works

Vector Store Tool (agent.tool.vectorStore) is an action node in the AI Agent package (@zerodot/ai-agent): Lets the AI Agent search a vector store. A chat model on this tool is optional: it answers from the chunks, so the agent gets only the answer.

Lets the agent search a vector store. Connect a store in a retrieve mode, such as Postgres Vector Store of @zerodot/postgres with Retrieve Documents (As Vector Store for Chain/Tool), to Vector Store. To give the store to the agent with no Answer Model, use the store mode Retrieve Documents (As Tool for AI Agent). Settings: Tool Name, Description, Limit, Include Metadata, and Metadata Filter. A reranker is optional. Answer Model is optional, and is not the model of the agent. With a chat model there, the tool answers the question from the chunks, and the agent gets only the answer.

Logins it can use

The chat models and the embedding models use the same credential types as @zerodot/ai: ai.openai, ai.anthropic, ai.gemini, and ai.compatible. A key saved for one package works in the other.

Cohere API key (cohere): apiKey, and an optional baseUrl. The key is secret.

Guides and related hubs