Files
pi/packages/coding-agent/examples
T
Mario Zechner 22b2a18952 Merge pull request #600 from nicobailon/feature/footer-data-provider
feat(coding-agent): add FooterDataProvider for git branch and extension statuses
22b2a18952 ยท 2026-01-09 22:46:23 +01:00
History
..

Examples

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

Directories

sdk/

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

extensions/

Example extensions demonstrating:

  • Lifecycle event handlers (tool interception, safety gates, context modifications)
  • Custom tools (todo lists, subagents)
  • Commands and keyboard shortcuts
  • External integrations (git, file watchers)

Documentation