aannoo/hcom

Let AI agents message, watch, and spawn each other across terminals. Claude Code, Codex, Antigravity CLI, Cursor CLI, OpenCode, Kilo, Pi, Kimi

What it solves

hcom is a CLI tool that allows different AI coding agents (such as Claude Code, Cursor, and Copilot) to communicate, coordinate, and manage each other across different terminal windows. It eliminates the need for manual copy-pasting between different AI tools and enables the creation of multi-agent pipelines where agents can act as sub-agents or collaborate on a single project.

How it works

The tool uses hooks that record activity to a local SQLite database. Messages and events are delivered through this database, allowing agents to send requests, updates, and replies to one another.

Key mechanisms include:

  • Inter-agent communication: Messages are injected mid-turn or wake idle agents.
  • Observation: Agents can view each other's transcripts, terminal screens, and file edits.
  • Lifecycle management: Users can spawn, fork, resume, or kill agents via the CLI.
  • Cross-device connectivity: Agents on different machines can be linked using an encrypted MQTT relay.

Who it’s for

Developers who use multiple AI coding assistants and want to orchestrate them into a collaborative workflow rather than using them in isolation.

Highlights

  • Broad Compatibility: Works with Claude Code, Codex, OpenCode, Kilo Code, Pi, Oh My Pi, Antigravity, Cursor, Kimi, and Copilot.
  • Real-time Coordination: Supports messaging, event subscriptions (e.g., reacting to file edits), and collision detection for simultaneous edits.
  • TUI Dashboard: Includes a terminal user interface for monitoring and managing active agents.
  • Multi-agent Workflows: Comes with built-in scripts for patterns like debates, honesty self-evaluations, and background file indexing.
  • Lightweight: Distributed as a single Rust binary with no background services required.

Related

  • Project
  • Project
  • Project
  • Project
  • Project