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, Gemini, 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 one agent can act as a sub-agent to another.

How it works

The tool uses hooks that record agent activity into a local SQLite database. Messages and events are delivered through this database, allowing agents to send messages, observe transcripts, and monitor file edits in real-time.

Key technical features include:

  • Inter-agent communication: Agents can message each other and share bundled context for handoffs.
  • Observation: Agents can see each other's terminal screens, command history, and file edits.
  • Lifecycle management: Agents can spawn, fork, resume, or kill other agents.
  • Cross-device connectivity: Agents can be connected across different machines using an end-to-end encrypted MQTT relay.

Who it’s for

Developers who use multiple AI coding assistants and want to orchestrate them into a cohesive workflow, or those looking to build multi-agent systems without changing the underlying AI tools they already use.

Highlights

  • Broad Integration: Works with Claude Code, Gemini, Codex, OpenCode, Kilo Code, Pi, Oh My Pi, Antigravity, Cursor, Kimi, and Copilot.
  • Zero Background Services: Distributed as a single Rust binary with no required background daemons.
  • Multi-Agent Workflows: Includes built-in scripts for patterns like debates, honesty self-evaluations, and background file monitoring.
  • TUI Dashboard: Provides a terminal user interface for managing active agents.