@hasna/swarm
v0.0.3
Published
Autonomous swarm orchestrator for headless AI agent CLIs — CLI + MCP server + REST API + web dashboard
Maintainers
Readme
@hasna/swarm
Autonomous swarm orchestrator for headless AI agent CLIs — CLI + MCP server + REST API + web dashboard
Install
npm install -g @hasna/swarmCLI Usage
swarm --helpswarm runswarm statusswarm listswarm agentsswarm eventsswarm deleteswarm attachswarm streams
MCP Server
swarm-mcp12 tools available.
HTTP mode
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
REST API
swarm-serveCloud Sync
This package supports cloud sync via @hasna/cloud:
cloud setup
cloud sync push --service swarm
cloud sync pull --service swarmData Directory
Data is stored in ~/.hasna/swarm/.
License
Apache-2.0 -- see LICENSE
