Focus.AI Labs / Artifact Field Notes Official Documentation
Fast browse / jump off / source-grounded
Official Documentation

Examples directory

Working examples for extensions, SDK usage, and more

Origin
seed-list
Extensibility
standalone
Primary interface
unknown

What this artifact is for

The quick orientation layer before you go deeper upstream.

Profile

Summary

Working examples for extensions, SDK usage, and more

Seed description: Working examples for extensions, SDK usage, and more

Category: Official Documentation

Best for: Not yet synthesized.

Signals

How to read this page

Workflow tags: none captured

Integrations: none captured

Caveats: No caveats captured yet

Maturity: No maturity signals captured

Directory README excerpt

More of the actual upstream surface so you can skim here before deciding to open the repo.

Upstream skim

Example code for pi-coding-agent SDK and extensions.

Programmatic usage via createAgentSession(). Shows how to customize models, prompts, tools, extensions, and session management.

Preview source: captured upstream text ↗

What shows up in the source

Quick topics

ExamplesDirectoriessdk/extensions/Documentation

Skim bullets

  • Lifecycle event handlers (tool interception, safety gates, context modifications)
  • Custom tools (todo lists, questions, subagents, output truncation)
  • Commands and keyboard shortcuts
  • Custom UI (footers, headers, editors, overlays)
  • Git integration (checkpoints, auto-commit)
  • System prompt modifications and custom compaction
  • External integrations (SSH, file watchers, system theme sync)
  • Custom providers (Anthropic with custom streaming, GitLab Duo)

Sources and provenance

Everything on this page should be traceable back to the list seed or an upstream surface.

Provenance

Discovery reason: Listed in the awesome-pi-agent README

Discovered from: seed artifact

Claim confidence: medium

Surface capture kind: tree-readme