Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (agentxchain) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
agentxchain
CLI for multi-agent coordination in your IDE. Define a team of AI agents, launch them in Cursor / Claude Code / VS Code, and let them coordinate via a shared protocol.
Install
npm install -g agentxchainOr run without installing:
npx agentxchain initQuick start
# 1. Initialize a project (creates agentxchain.json, lock.json, state.json, log.md)
agentxchain init
# 2. Check status
agentxchain status
# 3. Launch agents in your IDE
agentxchain start --ide cursor
# 4. Stop agents
agentxchain stopCommands
agentxchain init
Interactive setup. Creates all protocol files in the current directory.
-y, --yes— skip prompts, use 4 default agents (pm, dev, qa, ux)
agentxchain status
Show current lock holder, phase, turn number, and all agents.
-j, --json— output as JSON
agentxchain start
Launch agents in your IDE.
--ide <ide>— target IDE:cursor,claude-code,vscode(default: cursor)--agent <id>— launch only one specific agent--dry-run— preview what would be launched
For Cursor Cloud Agents, set CURSOR_API_KEY in your environment. Without it, the CLI prints seed prompts you can paste manually.
agentxchain stop
Stop all running agent sessions. Reads .agentxchain-session.json to find active agents.
How it works
AgentXchain uses a claim-based protocol:
- Agents are defined in
agentxchain.json(name, mandate, rules) - A
lock.jsonfile tracks who holds the lock - When the lock is free, any agent can claim it
- The agent does its work, logs a message, and releases the lock
- Another agent claims. The cycle continues.
No fixed turn order. Agents self-organize. See PROTOCOL-v3.md for the full spec.
Links
- Website: agentxchain.dev
- GitHub: github.com/shivamtiwari93/agentXchain.dev
- Protocol: PROTOCOL-v3.md
License
MIT