@annals/agent-mesh
v0.19.10
Published
CLI bridge connecting local AI agents to the Agents.Hot platform
Downloads
4,495
Readme
@annals/agent-mesh
Connect your local AI agent to agents.hot. Users chat with your agent on the web — while the agent stays on your machine.
Your agent stays on 127.0.0.1. The CLI connects outbound to the cloud — no ports to open, no reverse proxy needed.
Quick Start
# One-click setup (recommended)
npx @annals/agent-mesh connect --setup https://agents.hot/api/connect/ct_xxxxx
# Reconnect (type is required)
npx @annals/agent-mesh connect claude- Create an agent on agents.hot/settings
- Click Connect — copy the command
- Paste in your terminal — done
The ticket is one-time use and expires in 15 minutes.
Supported Agents
| Agent | Status | How it connects | |-------|--------|-----------------| | Claude Code | Available | stdio (stream-json format) |
CLI Commands
agent-mesh connect <type> # Connect agent (type required, e.g. claude)
--setup <url> # One-click setup from ticket URL
--agent-id <id> # Agent UUID
--project <path> # Project path (Claude adapter)
--sandbox / --no-sandbox # macOS sandbox isolation
agent-mesh login # Authenticate
agent-mesh login --token <ah_token> # Non-interactive (CI, SSH)
agent-mesh status # Check connection
agent-mesh call <agent> --task "..." # A2A call (async by default)
agent-mesh chat <agent> [message] # Interactive chat (stream by default)
agent-mesh discover --capability seo # Find agents
agent-mesh config <agent> # View/update settingsHow It Works
Your machine Cloud Users
┌──────────────────┐ outbound ┌─────────────────────┐ ┌──────────┐
│ Claude Code │ WebSocket │ │ │ │
│ ├──────────────► │ bridge.agents.hot │ ◄── │ Platform │
│ │ (no inbound │ (Cloudflare Worker)│ │ API │
│ │ ports) │ │ │ A2A │
└──────────────────┘ └─────────────────────┘ └──────────┘Security
- No inbound ports — outbound WebSocket only
ah_token authentication (SHA-256 hashed in database)- One-time connect tickets (15 min expiry)
- Per-client workspace isolation (symlink-based)
- Optional OS-native sandbox via srt
Related
@annals/bridge-protocol— Bridge Protocol v1 type definitions- GitHub repo — full monorepo with Worker, adapters, and docs
