Skip to content
aiarabicdev
AI agents

Pi

A coding agent and the parts to build your own, in one repository

Pi is an agent toolkit from Mario Zechner: a coding agent CLI you can use directly, plus the pieces underneath it as separate packages. A unified multi provider model API, an agent loop with tool calling and state, and terminal and web interface libraries. It is the closest thing to a build your own agent starter kit.

FreeMITTypeScriptSelf hostable

Useful as a tool, more useful as a reference

The CLI gives the model four tools, read, write, edit and bash, and extends from there through skills, prompt templates and packages. That deliberate smallness makes it easy to reason about what the agent can actually do to your repository.

The packages are the real draw for anyone building their own harness. Having the model API, the agent loop and the interface layers published separately means you can take the loop and leave the rest, which most agent projects do not let you do.

What the small surface costs

There is far less around it than around a vendor agent. Fewer integrations, fewer defaults chosen for you, and a smaller body of existing answers when something behaves oddly, so expect to read source rather than search.

It is also a monorepo of related packages rather than one product, which is exactly right if you are assembling something and slightly confusing if you only wanted a coding agent to install.

Reach for it when

  • you want to build your own agent and would rather not write the loop
  • you want an agent whose tool surface is small enough to audit
  • you need a provider agnostic model API as a separate piece

Watch out for

  • a monorepo of packages rather than one finished product, which takes a moment to navigate
  • much smaller community than the vendor agents, so unusual problems mean reading source
  • the project has moved organisation, so older links point at the previous location
@arabic_Intelligence

New entries, as they land

One channel. New tools when they are added, with the caveat included. No daily digest, no course, nothing to buy.

Join the Telegram

Free. No email required.