Your first agents
Launch agents by prefixing your AI tool withhcom:
The first time you run
hcom <tool>, hooks are automatically installed. Restart the AI tool after the first launch for hcom to activate.Sending messages
Once you have agents running, tell any agent to send a message:Send a message
In the Claude terminal, prompt:
send a message to gemini asking what it’s working onClaude will run:
Viewing active agents
See all running agents with the TUI dashboard:▶active — processing, reads messages very soon◉listening — idle, reads messages in less than 1s■blocked — needs human approval○inactive — dead or stale◦unknown — neutral
Launching multiple agents
Launch multiple agents at once with a number prefix:Message targeting
hcom supports flexible targeting:Everything after
-- is the message content (no quotes needed). All flags must come before --.Message intents
Use intents to set expectations:- request — expect a response
- inform — FYI, no response needed
- ack — replying to a request (requires
--reply-to)
Watching events
Agents can subscribe to events and react automatically:Reading transcripts
Read another agent’s conversation history:read nova’s transcript range 7-10 —full and summarize what they’ve been working on
Collision detection
If two agents edit the same file within 30 seconds, both receive collision notifications automatically:watch gemini’s file edits, review each and send feedback if any bugs
Spawning agents
Agents can spawn, fork, resume, or kill other agents:fork yourself to investigate the bug in auth.py and report backThe agent will:
- Run
hcom f <self> - Send the forked agent instructions
- Wait for the response
Context bundles
Create structured context packages for handoffs:Headless mode
Run agents in the background without a visible terminal:Cross-device sync
Connect agents across machines via MQTT relay:Common workflows
Parallel task execution
Parallel task execution
Launch multiple agents with specific tasks:From a coordinator agent:
send task 1 to @worker-luna, task 2 to @worker-nova, task 3 to @worker-kira. Subscribe to when each goes idle and collect results.
Code review workflow
Code review workflow
Launch reviewer agent:From the main agent:
subscribe to all my file edits. When I edit a .py file, send the diff to @reviewer- and ask for feedback.
Research and summarize
Research and summarize
Launch research agent:From the main agent:
fork yourself with tag ‘research’ to investigate the best approach for implementing auth. Report back with a summary and recommendation.
Long-running background task
Long-running background task
Launch headless agent:The agent runs in the background and messages you when issues are found.
Running workflows
Run included workflow scripts:~/.hcom/scripts/. Tell any agent:
read hcom run docs then make a script that does X
Configuration
View current configuration:Next steps
Explore the full CLI reference:CLI Reference
Complete command reference
Configuration
Advanced configuration options
Workflows
Multi-agent workflow examples
GitHub
View source and contribute