TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

3 pointsby tcarambat1010over 1 year ago

1 comment

tcarambat1010over 1 year ago
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>