Skip to main content
Pi connects to OpenAI-compatible endpoints through its models.json file.

Configuring Pi

Add Muna to ~/.pi/agent/models.json:
$MUNA_API_KEY is read from your environment when Pi sends a request. Start Pi in your project directory, then pick a Muna model with /model:
Press Ctrl+S in the model picker to make it the default for new sessions.
Add any chat model from Models to models, using the Muna model tag as the id.