Back to Academia is for Ambition — Alex Zhang, MIT, with Alex Zhang & Vibhu Sapra.
How Does Prime Agent Limit Tools to IPython?
Alex Zhang · Shawn Wang · Vibhu Sapra
Alex Zhang describes Prime Agent as a harness on top of Pi Mono, the minimalist harness he uses as the reference for other coding harnesses. Prime Agent is Pi with one hard limit: IPython is the only tool the model can call directly.
Every other tool loads in as a Python module or a bash script the model can run. The setup puts the core code RLM abstraction on top of Pi. A continual harness also lives inside the IPython kernel as a tool. The principle is to decide which parts of the harness the harness itself may change: its own skills, the subagents available to it, and the system prompt sent to the model. Everything else in Prime Agent is standard.
Newer frontier models work well inside Prime Agent, and some newer open source models do too. Because RLMs tend to spawn many subagents, Prime Agent adds an agent-to-agent communication setup so subagents can talk to the root or to each other, with rules for whom each subagent may reach and how.
Academia is for Ambition — Alex Zhang, MIT ·
From the transcript
Like the one thing I was worried about with Prime Agent is that none of them, at least at the time when we were building it, none of the models were that good at doing Arlem stuff. So this was like pre-Fable, pre-Astra. I guess I think to take a step back, can you explain what Prime Agent is, how it's different than a traditional, you know, cloud code, what people would expect Harness? Yes.
So Prime Agent, I think I mentioned this a little bit earlier, is basically it is a harness on top of Pi, like Pi Mono, which is Pi Mono for context is like the minimalist harness. I use Pi as the reference for everything because I think all other harnesses are basically just Pi. But it is Py, except we explicitly restrict IPython to be the only tool that's available to it.