co-mono/packages/coding-agent/examples
Mario Zechner 19b5663340 Revert "Remove Anthropic OAuth support"
This reverts commit f5e6bcac1b.
2026-01-09 06:00:20 +01:00
..
extensions Revert "Remove Anthropic OAuth support" 2026-01-09 06:00:20 +01:00
sdk Fix --no-skills flag not preventing skills from loading 2026-01-08 23:41:54 +01:00
README.md Flatten hello/ and question/ extension examples to single files 2026-01-05 01:45:10 +01:00

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