Hacker News new | ask | show | jobs
by redmalang 20 days ago
Aside 2: Anecdotally we found that Pi performs more or less on par with native harnesses at lower cost on decently specified prompts. It is also phenomenal at context cacheing especially on Deepseek models (its hard to precisely attribute credit here are my understanding is this is a DS speciality). But it fails much worse on poorly drafted prompts. I'm generalising but native harnesses seem to be better kind of flailing along on those.
1 comments

Is it because Pi’s default system prompt is so simple?
of course it is; these entire systems are about priming the LLM to perform X task; if it's a coding harness, giving it very little priming for a task is going to make it grasp at straws.
Can anybody share a tested system prompt they use for general coding tasks in pi?
clone opencode and ask your ai yo find it. i did that then just wrote my own primary open code agent.
A bit late, but I followed up on this useful tip and found a gist that breaks down the opencode methodology:

https://gist.github.com/rmk40/cde7a98c1c90614a27478216cc0155...

The gist led me to the opencode session / prompt control folder:

https://github.com/anomalyco/opencode/tree/dev/packages/open...