Skip to content

Installation

bash
npm install @agenticforge/kit
# or
pnpm add @agenticforge/kit

@agenticforge/kit re-exports everything from all sub-packages. Import any symbol directly:

ts
import {
  LLMClient,
  FunctionCallAgent,
  Tool,
  toolAction,
  MemoryManager,
  ContextBuilder,
  SearchTool,
} from "@agenticforge/kit";

Individual packages

For leaner bundles, install only what you need:

bash
npm install @agenticforge/core @agenticforge/tools @agenticforge/agents

Tree-shakeable sub-path imports

@agenticforge/memory ships with 6 sub-path exports so you only download what you use:

ts
// Only 7.6 KB — no qdrant / neo4j / openai embedding
import {MemoryManager} from "@agenticforge/memory/manager";

// RAG pipeline only (~30 KB)
import {createRagPipeline} from "@agenticforge/memory/rag";

// Storage adapters only (~8 KB)
import {QdrantVectorStore} from "@agenticforge/memory/storage";

// Embedding factory only (~0.6 KB)
import {createDefaultTextEmbedder} from "@agenticforge/memory/embedding";

Peer dependencies

DependencyRequired byNotes
zod@agenticforge/tools, @agenticforge/tools-builtinTool parameter validation
openai@agenticforge/coreLLM client
reflect-metadata@agenticforge/tools, @agenticforge/agentsDecorator support
@qdrant/js-client-rest@agenticforge/memoryOptional: Qdrant backend
neo4j-driver@agenticforge/memoryOptional: Neo4j backend

Environment variables

bash
# Required for LLM calls
OPENAI_API_KEY=sk-...

# Optional: for Qdrant storage
QDRANT_URL=http://localhost:6333
QDRANT_API_KEY=your-key

# Optional: for web search tools
TAVILY_API_KEY=tvly-...
SERPAPI_API_KEY=...

Released under the CC BY-NC-SA 4.0 License.