aboutsummaryrefslogtreecommitdiff
path: root/skills
diff options
context:
space:
mode:
Diffstat (limited to 'skills')
-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