A lightweight protocol and toolkit for AI coding agents to share context, hand off tasks across sessions, and collaborate in real-time across machines.
When working with AI coding agents (Claude Desktop, Antigravity, Cursor, etc.), two major challenges arise:
Agent Comms provides a unified solution:
Agent Comms captures cognitive state alongside your working tree without polluting Git commit history:
Machine A (Active Session) Machine B (New Session)
┌──────────────────────────┐ ┌──────────────────────────┐
│ Agent exports capsule │──[File/Sync]──▶│ Agent imports capsule │
│ (diffs + state + roadmap)│ │ (restores diffs + state) │
└──────────────────────────┘ └──────────────────────────┘
For multi-agent workflows, a lightweight relay server coordinates agents over WebSockets:
Using Pip:
pip install git+https://github.com/BlahBlah23406/agent-comms.git
Or Clone & Install Locally:
git clone https://github.com/BlahBlah23406/agent-comms.git
cd agent-comms
pip install -e .
One-Line Install Script:
curl -sSL https://raw.githubusercontent.com/BlahBlah23406/agent-comms/master/install.sh | bash
irm https://raw.githubusercontent.com/BlahBlah23406/agent-comms/master/install.ps1 | iex
Run initial setup:
agent-comms setup
Before ending a session or switching computers:
agent-comms capsule pack \
--task "AUTH-01" \
--summary "Migrated auth module to JWT; integration test pending" \
--next "Run pytest tests/test_auth.py" \
--learning "finding:PyJWT requires algorithms=['HS256']"
Restore your uncommitted files and task briefing:
agent-comms capsule unpack "AUTH-01"
See two local agents discover each other and collaborate:
agent-comms demo
Agent Comms includes an MCP server exposing export_handoff_capsule, import_handoff_capsule, and list_saved_capsules.
Add to your MCP settings file:
{
"mcpServers": {
"agent-comms": {
"command": "agent-comms",
"args": ["mcp"]
}
}
}
Once added, interact naturally with your agent:
"Save my progress into a handoff capsule for task AUTH-01."
"Resume task AUTH-01 from my latest capsule."
USER_GUIDE.md) — Plain-English prompt examples for Claude Desktop, Antigravity, and Cursor.ONBOARDING.md) — Step-by-step developer onboarding and distributed agent recipes.SPECIFICATION.md) — Formal AHRP wire protocol and JSON schemas.TUTORIAL.md) — Hands-on walkthroughs and implementation examples.Python
97.7%
PowerShell
1.2%
Shell
1.1%
A lightweight protocol and toolkit for AI coding agents to share context, hand off tasks across sessions, and collaborate in real-time across machines.
When working with AI coding agents (Claude Desktop, Antigravity, Cursor, etc.), two major challenges arise:
Agent Comms provides a unified solution:
Agent Comms captures cognitive state alongside your working tree without polluting Git commit history:
Machine A (Active Session) Machine B (New Session)
┌──────────────────────────┐ ┌──────────────────────────┐
│ Agent exports capsule │──[File/Sync]──▶│ Agent imports capsule │
│ (diffs + state + roadmap)│ │ (restores diffs + state) │
└──────────────────────────┘ └──────────────────────────┘
For multi-agent workflows, a lightweight relay server coordinates agents over WebSockets:
Using Pip:
pip install git+https://github.com/BlahBlah23406/agent-comms.git
Or Clone & Install Locally:
git clone https://github.com/BlahBlah23406/agent-comms.git
cd agent-comms
pip install -e .
One-Line Install Script:
curl -sSL https://raw.githubusercontent.com/BlahBlah23406/agent-comms/master/install.sh | bash
irm https://raw.githubusercontent.com/BlahBlah23406/agent-comms/master/install.ps1 | iex
Run initial setup:
agent-comms setup
Before ending a session or switching computers:
agent-comms capsule pack \
--task "AUTH-01" \
--summary "Migrated auth module to JWT; integration test pending" \
--next "Run pytest tests/test_auth.py" \
--learning "finding:PyJWT requires algorithms=['HS256']"
Restore your uncommitted files and task briefing:
agent-comms capsule unpack "AUTH-01"
See two local agents discover each other and collaborate:
agent-comms demo
Agent Comms includes an MCP server exposing export_handoff_capsule, import_handoff_capsule, and list_saved_capsules.
Add to your MCP settings file:
{
"mcpServers": {
"agent-comms": {
"command": "agent-comms",
"args": ["mcp"]
}
}
}
Once added, interact naturally with your agent:
"Save my progress into a handoff capsule for task AUTH-01."
"Resume task AUTH-01 from my latest capsule."
USER_GUIDE.md) — Plain-English prompt examples for Claude Desktop, Antigravity, and Cursor.ONBOARDING.md) — Step-by-step developer onboarding and distributed agent recipes.SPECIFICATION.md) — Formal AHRP wire protocol and JSON schemas.TUTORIAL.md) — Hands-on walkthroughs and implementation examples.Python
97.7%
PowerShell
1.2%
Shell
1.1%