harnsy 0.11 adds pi: more agents on the same small machine
harnsy 0.11 adds support for pi, a light coding agent. Now each role in your team can run on Claude Code, Codex, OpenCode or pi, and you pick the program per role. That means you can give the lighter roles a lighter agent and fit more agents on the same laptop or small server. We measured how much lighter.
What pi support brings
- A lighter agent per role. Each role picks its own program and its own model. Put pi on the roles that read, check and write small changes; keep heavier agents where they earn their memory.
- More agents on the same machine. Less memory per agent means more agents at work at once on a laptop or a small cloud server, without buying a bigger one.
- The same model, side by side. An OpenCode role and a pi role can work in one project, even on the same model.
- Everything else as usual. You chat with a pi agent in the dashboard like with any other, and when it asks for permission, the question comes to you.
What we measured
We ran OpenCode and pi at the same time in harnsy, each in its own role of one project, on a server with 2 CPU cores and 4 GB of memory.
- The model: the same for both, Kimi K2.8 Preview.
- OpenCode’s task: the core of a gateway — several upstream services, requests routed by model.
- pi’s task: an admin page built from a mock-up — a UI kit, switches, a request log.
The result:
- Memory: OpenCode about 890 MB, pi about 190 MB. Four to five times less for pi.
- CPU: OpenCode up to 86% while actively working; pi about 9% while reading files.
- Idle: when it had nothing to do, pi used almost no CPU.
- What was left: about 1.2 GB of memory free with both agents running.
Under active work the two are close on CPU. On memory, pi is far lighter: with a second OpenCode agent in its place, this machine would have been at its limit.
What it means for a small machine
On 4 GB, the difference between 190 MB and 890 MB is the difference between room for one more agent and none. On a laptop with 8 GB or a small cloud server, it decides how big a team you can keep at work at once.
So pick the agent for the job. Keep the heavy, long tasks on OpenCode, which brings more built in, and give the lighter, reading-heavy roles to pi, which keeps a small core. In harnsy that is a setting, not a migration.
Setting it up
Each program uses its own sign-in or key; for pi that can be an Anthropic, OpenAI or OpenRouter key, or your own OpenAI-compatible server. With harnsy Max you can keep several keys or subscriptions per program and choose which one each project or role uses.
Want to see how a team of agents is set up? [See examples for your business →](/teams)
Join the people who run it
Ask questions, see what others built.
Join the Discord