بنقرة واحدة
runner
Multi-agent orchestration over a shared SQLite event queue.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Multi-agent orchestration over a shared SQLite event queue.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
How to create agents that work with the agent-runner
Design and create a town — a group of agents that work together.
Collide two random notes into new ideas using oblique-strategy thinking. Generates 3 new ideas in the idea-collider/ folder.
Capture text into the note garden pipeline. Paste a transcript or idea and it flows through the zettelkasten pipeline.
Summarize recent activity in the note garden by reading breadcrumbs
How to use the event queue CLI
| name | runner |
| description | Multi-agent orchestration over a shared SQLite event queue. |
| user_invocable | false |
Run collaborative AI agents that communicate through a shared event queue. Each agent is a headless Claude Code instance with a markdown-defined persona and event subscriptions.
Start the daemon (runs in background with auto-restart):
busytown start
Other daemon commands: stop, restart, status
Push an event to trigger agents:
busytown events push --worker user --type file.change --payload '{"path":"src/app.ts"}'
To run the agent runner in the foreground instead, use busytown run directly.
busytown <command> [options]
| Command | Description |
|---|---|
run | Start the agent poll loop (foreground) |
start | Start the agent runner as a background daemon |
stop | Stop the background daemon |
restart | Restart the background daemon |
status | Check if the daemon is running |
Runner options (for run, start, restart):
| Option | Description |
|---|---|
--agents-dir <path> | Directory containing agent .md files (default: agents/) |
--db <path> | SQLite database path (default: events.db) |
--poll <seconds> | Poll interval in seconds (default: 5) |
--agent-cwd <path> | Working directory for sub-agents (default: .) |
--help | Show help message |
The runner operates a poll-match-invoke cycle:
listen patternsclaude --print process with the agent's system prompt and matched events as
the user messageAgents run concurrently but each agent processes one batch at a time (no duplicate invocations for the same agent).
Define an agent in agents/ (see Creating Agents):
---
description: Reviews code changes
listen:
- "file.change"
---
Your system prompt here...
Agents can claim events to coordinate work. Claims are first-claim-wins — only one worker can claim each event.
# Claim event #1
busytown events claim --worker agent-1 --event 1
# Check who claimed an event
busytown events check-claim --event 1
See Event Queue CLI for the full reference.
events — a skill describing the underlying busytown events commands
(push, watch, since, list, cursor, claim, check-claim)create-agent — a skill for helping the user define new agent files