@agenticforge/kit
v1.2.0
Published
All-in-one AgenticFORGE bundle
Maintainers
Readme
@agenticforge/kit
AgenticFORGE 一站式入口包,聚合所有子包的导出,一行安装即可使用框架全部能力。
安装
npm install @agenticforge/kit
# or
pnpm add @agenticforge/kit包含内容
| 包 | 说明 |
|----|------|
| @agenticforge/core | 核心类型、LLM 客户端 |
| @agenticforge/tools | Tool 抽象、Registry、Chain |
| @agenticforge/agents | ReAct / Plan-Solve / Reflection / FunctionCall / Simple |
| @agenticforge/memory | 多类型记忆管理器、RAG、存储适配层 |
| @agenticforge/tools-builtin | 内置工具集 |
| @agenticforge/context | Token 感知上下文构建器 |
| @agenticforge/utils | 通用工具 |
使用示例
import {
LLMClient,
FunctionCallAgent,
SearchTool,
} from "@agenticforge/kit";
const agent = new FunctionCallAgent({
llm: new LLMClient({provider: "openai", model: "gpt-4o"}),
tools: [new SearchTool()],
});
const result = await agent.run("搜索 AgenticFORGE 最新动态。");
console.log(result);