BLOG  /  PI

Pi in AI Maestro: what works, what we fixed, and what it is not

AI Maestro · October 28, 2026

Pi is a small terminal coding agent (MIT license, npm package @earendil-works/pi-coding-agent). It has no model of its own: you point it at one of many providers. AI Maestro could already start it in a terminal. This post is about what happens after that: whether an agent running Pi can take part in a fleet the way a Claude Code agent does. We tested it on a real cloud VM with Gemini on Google Vertex AI, found several problems, fixed what we could, and wrote down what is still missing.

How sure we are. Everything below was run, not read: Pi 1.4.0 on Ubuntu 24.04, Node 24.22.1, AI Maestro 0.106.x, Gemini 3.5 Flash-Lite and 3.8 Flash through Pi’s built-in google-vertex provider. We did not test long sessions, context compaction, models other than Gemini, or Windows. Where we only read documentation, we say so.

What works today

What we found, and what we did about it

How it did

We ran a set of support questions in Spanish through Pi with two Gemini models, using the messaging tools and a read-only data connector, with each question arriving as a Google Chat event from an untrusted user. The agents answered through the messaging layer, and when we asked them to run a command or change a record, they did not. This was a small functional test, not a benchmark, and we publish no performance figures.

What Pi is not

Try it

scripts/install-pi.sh --vertex <your-project>      # Pi + Gemini on Vertex AI, no API key
aimaestro-agent.sh create my-agent --dir ~/agents/my-agent --program pi

The details, including the environment each check ran in, are in docs/AGENT-PROGRAMS.md and backlog item F036 in the repository.

Claude is a trademark of Anthropic. Gemini, Google Cloud, Vertex AI, Google Chat and Pub/Sub are trademarks of Google LLC. Pi is published by earendil-works under the MIT license. AI Maestro is not affiliated with or endorsed by them.