Autonomous swarm orchestrator for headless AI agent CLIs — CLI + MCP server + REST API + web dashboard
npm install -g @hasna/swarmswarm --helpswarm runswarm statusswarm listswarm agentsswarm eventsswarm deleteswarm attachswarm streams
swarm-mcp12 tools available.
Shared Streamable HTTP transport for multi-agent sessions (binds localhost only):
swarm-mcp --http
# or: MCP_HTTP=1 swarm-mcp
# port: --port 8838 > MCP_HTTP_PORT > 8838 (default)- Health:
GET http://127.0.0.1:8838/health - MCP:
http://127.0.0.1:8838/mcp
swarm-serveThis package supports cloud sync via @hasna/cloud:
cloud setup
cloud sync push --service swarm
cloud sync pull --service swarmData is stored in ~/.hasna/swarm/.
Apache-2.0 -- see LICENSE