OpenAI Assistant Swarming: A single library to turn your assistants into an army
github.comIn a world of AI Agents/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.
We were working with many assistants and found that the task of delegating work to known agents via a single "head" 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.
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.
From a developer perspective, it simply extends the OpenAI SDK making a new `swarm` method available so code lift is minimal.
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.
NPM: https://www.npmjs.com/package/@mintplex-labs/openai-assistan...