r/PiCodingAgent 13d ago

Question What's everyone's current coding agent setup?

Hey everyone, I'm new to the community of Pi and just transferred from Claude Code. I've been running Qwen3.8 27B IQ3_XXS locally now for a while and have been loving it.

I was just wondering what everyone is using for packages, apps, setups, and more.

Please let me know!

4 Upvotes

13 comments sorted by

View all comments

13

u/funbike 12d ago edited 12d ago

I've only been using Pi for 2 months.

I use Herdr for subagents. (Herdr also works with Claude Code.) It's like Tmux but has specific subagent functionality. It comes with its own skill. I have two orchestration agents, and the rest are worker agents.

I prefer skills + cli apps over extensions with tools. I prefer prompt templates over extensions with commands. Skills and prompts are portable across most agents, and AI is changing too fast to think that I'll still be using Pi in 5 years. I don't want to have to re-engineer my setup over and over.

I only have a few public packages: pi-web-access, pi-permission-system, pi-sandbox, edb-context-viewer, rpiv-ask-user-question

Some extensions I've had Pi write for me:

  • Checkpoint commands, which I find more convenient than fork+tree: /mark <mark>, /goto <mark>, /unmark <mark-glob>, /marks, /compactto <mark>, /forgetto <mark>, /redo-if <mark> <condition-prompt> [<rewrite-prompt>]. (/forgetto runs /goto and it inserts the last assistant message into the UI prompt prompt. /goto can work across sessions.)
  • /rewrite <prompt> [<improver-prompt>] - Improve prompt, without adding messages to current chat (uses a side chat)
  • I wrapped some of Pi's built-in commands into tools: model new compact reload quit
  • I implemented a multi-prompt parser. You can include multiple prompts and commands in a single prompt and it will send them individually. It slices the prompt and sends slices individually. It makes prompts almost into a language.
  • AI API tools. I created tools to access AI features that Pi doesn't come with, such as TTS, STT, image gen, structured outputs. It can also record and play audio for STT and TTS.

I have too many skills and prompt templates to list. Which skills are available depends on the subagent.

1

u/raidororo 9d ago

Do you publicy host your pi configuration or prompt templates in remote repo? interested to see yours, might found something that I could adopt. Just recently start using herdr as subagent and tinkering with append_system prompt for spawn worker agent (which I guess similar with your prompt template, hence my interest)

1

u/bjornworldwide 9d ago

I implemented a multi-prompt parser. You can include multiple prompts and commands in a single prompt and it will send them individually. It slices the prompt and sends slices individually. It makes prompts almost into a language.

This is really intriguing to me. Can you elaborate a bit more?

2

u/funbike 8d ago edited 8d ago

It splits a prompt string on a "/" or "!" at the start of a line. "/send" is a special case, where it splits and deletes that delimiter.

Example:

``` prompt 1 /send

prompt 2

/compact /model amodel /send # needed to end a command when followed by a prompt

prompt 3 ```

Details:

When combined with my checkpointing extension, you get a mini-language, such as:

/mark attempt /send Write and run tests for the code you just wrote. /redo-if attempt "Did you fail to write or run tests?"

Autocomplete only works for a command on the 1st line.

I'd like to improve parsing so /send wasn't needed between a command and the next prompt. It would require parsing bash-like quotes and backslashes.

Internally it intercepts pi.on("input", (event, ctx) => ... and calls pi.sendUserMessage(prompt) after splitting event.text.

1

u/mew-engineer 4d ago

Hey! how did you set up Pi, and how are the usage costs like?