TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

OpenAI Assistant Swarming: A single library to turn your assistants into an army

3 点作者 tcarambat1010超过 1 年前

1 comment

tcarambat1010超过 1 年前
In a world of AI Agents&#x2F;Assistants now is the best time to easily experiment with scope-focused agents that do a handful of specific tasks very well instead of one agent doing them all well.<p>We were working with many assistants and found that the task of delegating work to known agents via a single &quot;head&quot; assistant automatically selecting the best assistant(s) was working really well for us! So we built a library around it with some other convenience functions for assistants for OpenAI.<p>With parallel function calling you can have a single complex user query be automatically split and delegated to many assistants at once via a single library.<p>From a developer perspective, it simply extends the OpenAI SDK making a new `swarm` method available so code lift is minimal.<p>Other helper methods like grabbing all your assistants that are available in a single call with pagination handled exist - checkout the docs on the Github or NPM package.<p>NPM: <a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;@mintplex-labs&#x2F;openai-assistant-swarm" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;@mintplex-labs&#x2F;openai-assistan...</a>