1.3 KiB
1.3 KiB
Pi Adapter
Use this adapter when running Pi sessions via mosaic pi.
Required Context
~/.config/mosaic/STANDARDS.md<repo>/AGENTS.md
Integration
Pi is the native Mosaic agent runtime. The mosaic pi launcher:
- Injects the full runtime contract via
--append-system-prompt - Loads Mosaic skills via
--skillflags - Loads framework-owned
mosaic-extension.tsandgoal-extension.tsfrom~/.config/mosaic/runtime/pi/via ordered--extensionflags - Detects active missions and injects initial prompts
Capabilities vs Other Runtimes
- No permission restrictions (no yolo flag needed)
- Native thinking levels replace sequential-thinking MCP
- Native skill discovery compatible with Mosaic SKILL.md format
- Native extension system for lifecycle hooks (TypeScript, not bash shims)
- Bounded persistent
/goalloop with per-turn, post-compaction, and two-pass evidence checks - Native session persistence and resume
- Model-agnostic (Anthropic, OpenAI, Google, Ollama, custom providers)
Command Wrapper
mosaic pi # Interactive session
mosaic pi "Fix the auth bug" # With initial prompt
mosaic yolo pi # Identical to mosaic pi
mosaic coord --pi run # Coordinator-driven session
mosaic prdy --pi init # PRD creation via Pi