Toolpack SDK,一个开源的 TypeScript SDK,用于构建人工智能驱动的应用程序。
刚刚发布的 Toolpack SDK — 完全开源的统一 TypeScript SDK,用于 AI 开发
如果你曾与多个大型语言模型(LLM)提供商合作过,你就会知道其中的痛苦:每个提供商都有不同的 API、不同的工具格式和不同的特性。
Toolpack SDK 为 OpenAI、Anthropic、Gemini 和 Ollama 提供了一个统一的接口。
它内置了 77 个工具,涵盖文件操作、git、数据库、网页抓取、代码分析和 shell 命令。你还可以创建并集成自己的自定义工具。
工作流引擎逐步规划和执行任务。你可以直接使用代理和聊天模式,并且可以根据你的需求创建自定义模式。如果你想添加其他 LLM,还有一个自定义提供商 API。
完全支持 TypeScript。如果你更喜欢终端用户界面而非代码,CLI 提供了一个交互式聊天界面,让你可以通过命令行与 AI 和工具进行交互。
Toolpack SDK:
npm: npm install toolpack-sdk
GitHub: github.com/toolpack-ai/toolpack-sdk
文档: toolpacksdk.com
注意:请根据文档设置配置并在环境变量中设置你的 API 密钥。
Toolpack CLI(交互式终端用户界面):
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