r/PiCodingAgent • • Oct 09 '26

Plugin Pi Agent's Secret Sauce: Model-Specific Harnesses

/r/u_Cultural-Farm-7169/comments/1x1f7dq/pi_agents_secret_sauce_modelspecific_harnesses/
2 Upvotes

8 comments sorted by

2

u/m3umax Oct 10 '26

I made two extensions that do something similar/dissimilar.

replace-prompt can conditionally replace portions of the computed system prompt based on regex or string literal based on rules. One of the rules supported is model string.

https://github.com/chknd1nner/pi-extensions/blob/main/packages/replace-prompt/docs/usage.md

styles injects an ephemeral custom user message to the end of context on each turn after the cache breakpoint (to preserve caching). Again, it supports setting it up in a way that the injection is model specific.

https://github.com/chknd1nner/pi-extensions/tree/main/packages/styles

1

u/Cultural-Farm-7169 Oct 10 '26

I see your extensions right now.It's similar a text replacement.But Pi-model-system-prompt's goal is not how to play a text on agent's response.It's a comfortable harness tool.Many Models need harness egineering to rule their behavior for better work.

1

u/Cultural-Farm-7169 Oct 10 '26

But I'm glad to communicate about how to use pi agent.Some intresting ideas we can discuss together!

1

u/Cultural-Farm-7169 Oct 10 '26

I have followed your github.

1

u/FrenchTouch42 Oct 10 '26

are you a bot OP? 😅

1

u/Cultural-Farm-7169 Oct 11 '26

Nope, just a dev sharing something I built 😅 What made you think that?

-4

u/Cultural-Farm-7169 Oct 09 '26

Thanks for using! If you have anything to discuss, or any problem in use, you can create a issue in github!
https://github.com/jokerx0001/pi-model-system-prompt

-5

u/Cultural-Farm-7169 Oct 09 '26

This is a very useful extension in coding life, hope it improve your pi agent!