Kanban Tutorial โ Multi-Agent Collaboration
Kanban Tutorial โ Multi-Agent Collaboration โ easy-to-understand guide based on official docs
Imagine a busy kitchen where every chef has a different specialty. If you had to shout instructions one at a time and wait for each dish to finish before starting the next, service would collapse. Hermes Kanban is the whiteboard on that kitchen wall โ every task, its status, and whoโs stuck on what is written down for anyone to see at a glance.
What Is Kanban?
Kanban is a shared task board that all Hermes agents can read from and write to. Each task is a simple record stored in a single file: ~/.hermes/kanban.db. Every agent is an independent worker with its own identity and memory โ not a nameless temp, but a regular employee who knows the house rules.
Two Doors, One Room
The board has two interfaces, but they point to the same database, so nothing gets out of sync:
- Agents use tools โ the model reads and updates tasks via
kanban_*tools likekanban_show(view task),kanban_complete(finish task), andkanban_block(mark as stuck). - You use the terminal โ type
hermes kanban ...or use/kanban ...slash commands, or open the web dashboard.
# Create a task
hermes kanban create "Research competitor pricing" --assign researcher-1
# List all tasks
hermes kanban list
# Mark a task complete
hermes kanban complete 42
How Is This Different from delegate_task?
delegate_task is like a phone call: you ring one person, wait for their answer, then hang up. Kanban is like a group chat: you post a message, everyone sees it, whoever is free picks it up, and reports back when done.
| Aspect | delegate_task |
Kanban |
|---|---|---|
| Work style | Synchronous โ wait for result | Fire-and-forget |
| Agent identity | Anonymous temp | Named, with memory |
| Failure handling | Lost on failure | Mark blocked, retry later |
| Multi-agent | One at a time | Multiple agents in relay |
What Is Kanban Good For?
The official docs highlight several patterns:
- Research pipelines: multiple researchers search in parallel โ an analyst summarizes โ a writer drafts
- Scheduled tasks: auto-generate a morning briefing, accumulating into a long-term log
- Digital twins: persistent assistants like
inbox-triagethat learn your preferences over time - Engineering: break down tasks โ parallel development โ code review โ merge
Key Commands Cheat Sheet
# Add a comment (humans can jump in)
hermes kanban comment 42 "Price data needs updating to latest version"
# Mark as blocked (waiting for external input)
hermes kanban block 42 "Waiting for client to confirm requirements"
# Unblock
hermes kanban unblock 42
# Show task details
hermes kanban show 42
Pro Tip: Let Humans Intervene
The best part of Kanban is that humans can step in anytime. When an agent gets stuck, it marks the task block. You see it, leave a comment, or unblock it directly. Itโs like telling a chef โthereโs more fish in the fridgeโ โ they pick up and keep going.
Summary
Kanban turns multi-agent collaboration from โphone callsโ into โwatching the whiteboardโ โ more flexible, more reliable, more transparent. Every task is recorded, every failure can be retried, and anyone (human or agent) can pick up where another left off.
Try this: start small โ create two agents (say researcher and writer). Have the researcher investigate a topic and post findings to the board. The writer sees the new task, picks it up, and writes the article. Youโll feel the magic of whiteboard collaboration within minutes.
๐ Official Docs
This article is based on the official Hermes Agent documentation:Official docs โบ user-guide/kanban