I’ve been building a tool for doing research in knowledge work, and this tool has research sub-agents tailored for a specific task. I’ve been using Hermes for the subagents, but I’ve been thinking about switching to Pi.
In my testing, and the reason I’m switching is I used 70% less input tokens than Hermes. I suppose I should have done a better job of tuning Hermes, but instead of doing that, I just used Pi instead.
Obviously, I care about how many tokens go into getting an answer, but for well-defined tasks that are not likely to result in a new memory, pi is the better harness for the job.
I have four tasks that I want to do.
- Assess coverage
- Generate questions
- Check facts against supplied material
- Plan topics
I have a harness for each of these tasks. I’ve been using Hermes for all of them. I’ve been thinking about switching to Pi for all of them.
Hermes has been working well, but it feels way too heavy for what I want here. With Pi I could decide which steps to hand it. The first two I picked were coverage assessment and topic planning. Web research stayed on the existing harness. That let me try Pi on work where I already had results to compare.
Getting the worker ready
The application talks to Pi through a small Go gateway. Ansible runs the gateway in a container on a private network. Pi can use an existing model subscription, but somebody (me) has to sign in to it. The gateway’s container is stateless. Its sign-in state lives on a persistent volume so replacing the container doesn’t mean doing that again.
So far so good. What are you using Pi for?
Sources
- Pi describes its minimal harness, extensions, and SDK.
I’d appreciate a follow. You can subscribe with your email below. The emails go out once a week, or you can find me on Mastodon at @[email protected].