r/PiCodingAgent • u/dc_giant • 9h ago
Discussion Do you use a customized system prompt?
After having read https://www.reddit.com/r/PiCodingAgent/comments/1yavqv3/how_to_write_a_system_prompt_for_pi_agent/ I’m wondering if I’m missing out using the default pi system prompt when using it as a coding agent with the latest frontier models. So far I have these kind of instructions in my global agents.md file instead.
So I’m curious. Do you use a customized system prompt? If so what did you put in there and did you find a significant difference between having such instructions in agents.md vs the system prompt? Any downsides?
4
Upvotes
8
u/NonAwesomeDude 8h ago
I use the built-in APPEND_SYSTEM.md option. Nothing crazy just: on this machine you have access to this, use it this way, type of thing.
4
u/arbv 9h ago
Yep, I wrote a simple extension that prepends my system prompt to the default one. It chooses ine depending on the model ID.
I have a template system with system prompt for different models, they are all very similar with some per model customisation and to account for per-model quirks.
I cannot imagine using a tool without them, because they are tailored for me and my use. They make the models super dry and completely remove their default helpdesk persona - turn them into precise tools (for me, anyway).
I spent embarrassing amount of time writing them, actually. Both by hand and with the help of LLMs (with a lot of handholding - LLMs suck at prompting, maybe Gemini is on a better side, but it needs to have you in a loop to avoid "novelisation").
So my answer is unequivocally "yes". The very first extension for Pi I made was to load my custom prompts.
1
u/Aizenvolt11 9h ago
Yeah I made my own system prompt for my ADE.
1
u/Fair-Second-642 5h ago
I replaced it with my own shortened system prompt such as removing the "you are a ....", the rules, etc.
I run my agents in a container so i also added the container environment information to it. Mainly to avoid the agent looping itself trying to get around the containerized environment. I also added the output format for consistency.
But it all depends on the model smartness. Most modern models are quite good to think on its own.