logoalt Hacker News

swingboytoday at 1:43 AM1 replyview on HN

Aside from the minimal system prompt, how does it handle context better than other agents? It still has to send the system prompt (which includes AGENTS.md and skill definitions) along with the full conversation every request, no?


Replies

TheRoquetoday at 2:24 AM

A lot of harnesses compress the context when it becomes massive, Pi doesn't do that out of the box. It can be both good and bad. Also since it doesn't have a lot of tools out of the box, the context is not polluted with external tool call descriptions that the agent has to be aware of.

Basically, it doesn't handle the context "better", it barely does anything special to it, which can actually be better for cost efficiency.