openai assistant swarm
Basic Information
This repository provides a Node.js library that extends the OpenAI Node SDK to orchestrate and delegate work across multiple OpenAI assistants. It exposes a swarm API under beta.assistants.swarm and installs via an EnableSwarmAbilities call that registers a manager assistant tied to your OpenAI account. The manager assistant can accept a single prompt and decide which registered assistants should handle subtasks, spawn parallel subruns, and return structured parent and child run objects. The library also simplifies pagination and retrieval of many assistant definitions, enables configuration of the manager assistant options such as name, model and instructions, and targets server-side JavaScript workflows where developers need to turn individual assistants into a coordinated multi-assistant system.