Skip to content

feat: Add Pi agent support#60

Open
shrwnsan wants to merge 1 commit intofletchgqc:mainfrom
shrwnsan:feat/pi-agent-support-clean
Open

feat: Add Pi agent support#60
shrwnsan wants to merge 1 commit intofletchgqc:mainfrom
shrwnsan:feat/pi-agent-support-clean

Conversation

@shrwnsan
Copy link
Contributor

@shrwnsan shrwnsan commented Mar 1, 2026

Summary

  • Add Pi coding agent (pi.dev) as an opt-in tool
  • Add AGENTBOX_INCLUDE_PI build arg (default: false)
  • Add --tool pi CLI flag for running Pi instead of Claude
  • Auto-enables Pi installation when --tool pi is selected
  • Mounts ~/.pi directory for Pi configuration persistence
  • Add .env.example template for API key configuration
  • Update tool error messages to include 'pi' option

This PR is independent of feat/config-file (PR #57).

Changes

Pi Agent Support

  • New AGENTBOX_INCLUDE_PI build arg (default: false)
  • New --tool pi CLI flag for running Pi instead of Claude
  • Auto-enables Pi installation when --tool pi is selected
  • Mounts ~/.pi directory for Pi configuration persistence

.env.example Template

  • Comprehensive template with all Anthropic environment variables
  • Documents model selection variables for Claude Code
  • Lists optional LLM provider API keys (OpenAI, Gemini, Mistral, Groq, etc.)

Test plan

  • Build image with --tool pi and verify Pi installs correctly
  • Verify agentbox --tool pi starts Pi agent
  • Confirm .env.example template covers necessary API keys
  • Test all three tool selections: claude, opencode, pi

Add Pi coding agent (pi.dev) as an opt-in tool.

- Add AGENTBOX_INCLUDE_PI build arg (default: false)
- Add --tool pi CLI flag for running Pi instead of Claude
- Auto-enables Pi installation when --tool pi is selected
- Mounts ~/.pi directory for Pi configuration persistence
- Add .env.example template for API key configuration
- Update tool error messages to include 'pi' option

Co-Authored-By: GLM <zai-org@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant