Run pi in a sandbox on the open models of Munito AI. The agent template carries pi and the Munito AI provider package.
For files on your computer, use the local pi guide.
Install the CLI
npm install -g @munitoai/cliThe command is munito. See the command line tool.
One command
munito agent pi "fix the failing test"It creates the sandbox, runs the task and applies the patch back. The agent
template carries pi and our provider package, so there is nothing to install.
pi reads the key from MUNITO_API_KEY.
Through the API
curl -sS --fail-with-body https://api.munito.ai/sandboxes/v1/sandboxes \
-H "Authorization: Bearer $MUNITO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"template": "agent", "agent": "pi", "internet": true,
"env": {"MUNITO_API_KEY": "'"$MUNITO_API_KEY"'"}}'Then run a task with pi --print --model munito/zai-org/glm-5.3-flash "<task>" through
a command.
--printprocesses the prompt and exits.--model munito/<id>names the provider and the model.pi --list-models munitolists yours.- For the EU host, use
munito-eu/. See Regions.
The terminal UI
munito ssh <sandbox id>
piPick a model with /model, such as munito/zai-org/glm-5.3-flash. To keep the session through a disconnect,
apt-get install -y tmux and start pi in it.