pi-agent-integration

Installation
SKILL.md

Implement Pi-agent consumers with stable streaming, correct queue semantics, and minimal wrapper surface area.

Step 1: Classify the request

Pick the path before editing:

Request type Read first
Wiring or updating agent wrapper APIs/options references/api-surface.md
Adding behavior in a consumer library (chat, orchestration, tools) references/common-use-cases.md
Debugging broken streaming/tool/continue behavior references/troubleshooting-workarounds.md

If the task spans multiple categories, load only the relevant files above.

Step 2: Apply integration guardrails

  1. Treat Agent as the execution engine and keep wrapper abstractions thin.
  2. Stream user-visible text only from message_update + assistantMessageEvent.type === "text_delta".
  3. Bridge deltas into AsyncIterable<string> and pass that iterable to downstream streaming surfaces.
Related skills

More from getsentry/junior

Installs
1
GitHub Stars
67
First Seen
Apr 28, 2026