a2a
Communicate with remote agents via A2A protocol, discover available agents, and ask the human owner for clarification via the A2A Hub. Use when asked to send messages to other agents, discover what agents are available, or when you need human input to proceed. **Triggers — use this skill when:** - You need human input to proceed (approval, decision, clarification) - User asks to "send a message to another agent" - User asks to "discover agents" or "what agents are available" - You're stuck and need to escalate to the owner - A long-running task needs human approval before continuing --- # A2A — Agent-to-Agent Communication & Human-in-the-Loop ## Tools | Tool | Purpose | |------|---------| | `a2a_discover` | Find remote agents on the hub or static registry | | `a2a_send` | Send a message to a remote agent by name, ID, or URL | | `ask_owner` | Ask the human owner a question (non-blocking) | --- ## ask_owner — Human-in-the-Loop Use `ask_owner` when you **genuinely cannot proceed** without human input. The tool submits your question to the hub and **returns immediately** — it does NOT block your session. When the owner responds, a **fresh pi subprocess** is automatically spawned with your handoff context + the owner's answer to continue the work. ### How It Works 1. You call `ask_owner` with a question + handoff context 2. The question is submitted to the A2A Hub — you get an immediate confirmation 3. You continue with other work or end your session 4. The owner answers through the hub's web UI (could be minutes or hours later) 5. A background poller detects the response 6. A fresh `pi` subprocess is spawned with a self-contained prompt containing: - The original question - The owner's response - Your full handoff context (done, remaining, decisions, etc.) 7. The new session picks up where you left off — no prior conversation context needed ### When to Use - **Approval needed** — destructive operations, merging PRs, deploying - **Ambiguous requirements** — multiple vali
Changelog: Source: GitHub https://github.com/espennilsen/pi
No comments yet. Be the first one!