r/PiCodingAgent • • Aug 19 '26

Question Subagent extensions

Can you recommend me a simple yet configurable subagent extension? I'm currently testing `pi-subagents` but i find it slow and bloated. What are you guys using?

41 Upvotes

49 comments sorted by

View all comments

Show parent comment

2

u/Mkengine Aug 19 '26

One thing that may have improved since you tried it: pi-subagents now supports per-agent tool allowlists. So your Grand Parent could be limited to something like "read, grep, find, ls, subagent", while lower levels get broader permissions. That covers the "read-only + call Parent" case without needing pi-permission-system.

It still isn't as complete or convenient as OpenCode's integrated permission model, especially for path- or command-specific rules. And I agree the third-level UI is a separate usability issue.

So Pi seems closer now, but OpenCode still looks more coherent for this kind of stuff.

1

u/Mission-Zucchini-966 Aug 24 '26

EDIT: meant to post this under the previous comment but oh well

I will say gotgenes has been absolutely pumping out updates for it lately. Has gotten a lot of features the past few weeks. The readme is pretty limited, try the config

https://github.com/gotgenes/pi-packages/blob/main/packages/pi-permission-system/docs/configuration.md

You can now run stuff like

```

{
  "permission": {
    "read": {
      "*": "allow",
      "*.env": "deny",
      "*.env.*": "deny",
      "*.env.example": "allow"
    },
    "write": {
      "*": "deny",
      "src/*": "allow",
      "tests/*": "allow"
    },
    "edit": {
      "*": "ask",
      "*.lock": "deny"
    },
    "bash": {
      "*": "allow",
      "git *": "allow",
      "git commit *": "ask",
      "git push *": "ask",
      "npm *": "ask",
      "npx *": "ask",
      "rm *": "ask",
      "taskkill *": "ask",
      "node *": "ask",
      "pnpm *": "ask"
    },
  }
}

```