pi-daddy
Capability governance for pi sub-agents: spawn Agent Skills (SKILL.md) definitions whose allowed-tools becomes a grant that can only narrow going down a delegation tree, enforced by pi's own --tools allowlist, with an append-only ledger.
Package details
Install pi-daddy from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-daddy- Package
pi-daddy- Version
0.40.1- Published
- Sep 23, 2026
- Downloads
- 2,114/mo · 346/wk
- Author
- mojo_manyana
- License
- MIT
- Types
- extension
- Size
- 2.6 MB
- Dependencies
- 2 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./extensions/grants.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-daddy
Capability governance and coordination for pi's multi-level agent system. An
orchestrator grants each sub-agent a deliberate subset of what it holds and withholds the rest; a sub-agent may delegate
further, but only ever a subset of what it holds. Enforcement is pi's own --tools allowlist on a separate child
process, with an append-only, hash-chained ledger of every grant and refusal.
pi install npm:pi-daddy
pi
/grants shows the session's ceiling and spawnable definitions; /grants init writes .pi/pi-daddy/settings.json,
the one reviewable file you commit. A definition is an Agent Skills SKILL.md
whose allowed-tools is the ceiling and whose body is the child's system prompt.
delegate({ agent: "review-security", task: "Review the diff." })
delegate_all({ children: [ { agent: "review-security", task: "…" }, { agent: "review-perf", task: "…" } ] })
delegate_chain({ steps: [ { agent: "plan", task: "…" }, { agent: "build", task: "Implement: {previous}" } ] })
effective = ( requested ∩ parentGrant ∩ ceiling ) \ (gated \ approved)
Escalation is impossible by construction on the tool surface. It does not contain an agent holding an execution
primitive: a child granted bash can start an ungoverned descendant, so bash is gated by default and every gate
answer is recorded.
The full product description is the repository README; the
CHANGELOG says what each release changed and what to do about breaking changes. The one shipped
contract is contracts/ledger-record/v1.