Toolpack SDK,一个用于构建 AI 驱动应用的开源 TypeScript SDK
2 分•作者: sajeerzeji•5 个月前
全新发布的 Toolpack SDK — 一个完全开源的统一 TypeScript SDK,用于 AI 开发
如果你使用过多个 LLM 提供商,你就会知道其中的痛苦:每个提供商都有不同的 API、不同的工具格式、不同的怪癖。
Toolpack SDK 为你提供了一个跨 OpenAI、Anthropic、Gemini 和 Ollama 的统一接口。
它内置了 77 个工具,用于文件操作、Git、数据库、网页抓取、代码分析和 shell 命令。你也可以创建和集成你自己的自定义工具。
工作流引擎可以逐步规划和执行任务。你开箱即用 Agent 和 Chat 模式,还可以创建根据你的需求定制的自定义模式。如果你想添加其他 LLM,还有一个自定义提供商 API。
完全支持 TypeScript。如果你更喜欢终端 UI 而不是代码,CLI 为你提供了一个交互式聊天界面,让你可以在命令行中使用 AI 和工具。
Toolpack SDK:
npm: npm install toolpack-sdk
GitHub: github.com/toolpack-ai/toolpack-sdk
文档: toolpacksdk.com
注意:请按照文档说明设置配置,并在环境变量中设置你的 API 密钥。
Toolpack CLI(交互式终端 UI):
npm: npm install -g toolpack-cli
GitHub: github.com/toolpack-ai/toolpack-cli
注意:安装后,使用终端中的 `toolpack` 命令打开它。请记住按照文档说明在环境变量中设置你的 API 密钥。
https://toolpacksdk.com
查看原文
Just Released Toolpack SDK — a completely Open-Source unified TypeScript SDK for AI development<p>If you've worked with multiple LLM providers, you know the pain: each has different APIs, different tool formats, different quirks.<p>Toolpack SDK gives you a single interface across OpenAI, Anthropic, Gemini, and Ollama.<p>It comes with 77 built-in tools for file ops, git, databases, web scraping, code analysis, and shell commands. You can also create and integrate your own custom tools.<p>The workflow engine plans and executes tasks step-by-step. You get Agent and Chat modes out of the box, plus the ability to create custom modes tailored to your needs. There's also a custom provider API if you want to add other LLMs.<p>Full TypeScript support included. And if you prefer a terminal UI over code, the CLI gives you an interactive chat interface to work with AI and tools from the command line.<p>Toolpack SDK:
npm: npm install toolpack-sdk
GitHub: github.com/toolpack-ai/toolpack-sdk
Docs: toolpacksdk.com
Note: Remember to setup the configuration and set your API keys in the environment variables as per the documentation.<p>Toolpack CLI (interactive terminal UI):
npm: npm install -g toolpack-cli
GitHub: github.com/toolpack-ai/toolpack-cli
Note: Once installed, open it with `toolpack` command in your terminal. Remember to set your API keys in the environment variables as per the documentation.<p>https://toolpacksdk.com