aboutsummaryrefslogtreecommitdiff
path: root/skills/agent-orchestration.md
diff options
context:
space:
mode:
authorAgando <roduccomm@gmail.com>2026-06-17 06:01:20 +0200
committerAgando <roduccomm@gmail.com>2026-06-17 06:01:20 +0200
commitcebacc27a48168e666679018f8e27156d12d4527 (patch)
treeb306d33b67b9d8c84bd9b9c16b1e91ee217628a6 /skills/agent-orchestration.md
parent6aa24b976952a698c673d350977721b27193183d (diff)
auto: 2026-06-17_06:01 changes
Diffstat (limited to 'skills/agent-orchestration.md')
-rw-r--r--skills/agent-orchestration.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/skills/agent-orchestration.md b/skills/agent-orchestration.md
index 060ec96..e5fbd7f 100644
--- a/skills/agent-orchestration.md
+++ b/skills/agent-orchestration.md
@@ -7,11 +7,21 @@ category: system
## Steps
1. **Agent Registry:**
- agent-list — list all registered agents (ID, type, capabilities, status)
- - agent-register <type> <capabilities> — register a new agent (capabilities: comma-separated like "code,research")
+ - agent-register <name> <capabilities> — register a new agent (capabilities: comma-separated like "code,research")
- agent-unregister <id> — remove an agent
- agent-status <id> — detailed status including uptime, task history
-2. **Leases (time-bound contracts):**
+2. **A2A Scratchpad (agent communication bus):**
+ - a2a-post <to> <type> <capability> <payload...> — post a message to an agent
+ - a2a-poll [agentId] — poll for pending messages (default: current agent or "user")
+ - a2a-ack <msgId> <result...> — acknowledge a message with result
+ - a2a-reject <msgId> <error...> — reject a message with error
+ - a2a-status — show scratchpad stats per agent
+ - a2a-prune — cleanup expired messages
+ - Messages live in /_agents/scratchpad.json (shared VFS file, no central broker)
+ - Agents auto-register on spawn, auto-unregister on kill
+
+3. **Leases (time-bound contracts):**
- lease-create <agent-id> <ttl-seconds> — create a lease with watchdog timer
- lease-list — show active leases with remaining TTL
- lease-revoke <lease-id> — terminate a lease early