Delegation policy
Set an intensity and preference, with explicit model decisions for Small, Medium, and Large.
Choose when to delegate and which exact enabled models guide the work.
pi-delegation-policy is a local Pi extension that guides the main agent on when delegation is worth it and which exact models to use for Small, Medium, Large, and the optional Visual Design, Vision, Writing and Advisor roles. It adds guidance to the system prompt, one ephemeral notice after an effective configuration change and an optional Advisor reminder in the request context, and nothing else unless ContextShunt is enabled: it does not route, supervise, or collect delegated work, and it never changes Pi's main model, thinking level, or tool permissions.
WARNING
The extension injects guidance only while an active configuration is valid. It cannot guarantee that another system follows a configured role or thinking choice. ContextShunt is off by default, is not a sandbox, and does not create an automatic worker bridge.
These pages describe Version 0.39.2.
0.87.1 or later (>=0.87.1).0.14.1 supports Pi 0.84.3 or later.off, normal, aggressive, or orchestrator, set globally or per branch.provider/model reference or an explicit disabled decision for each ordinary role, plus the optional Visual Design, Vision and Writing roles, each with up to three exact models, and the optional Advisor.Advisor has no model until you configure one. Its mode defaults to with-delegation, so a configured Advisor is consulted while delegation is active. Configuration lists the modes, the companion files, and what each turn sends.
The extension guides the main agent. It does not run, route, supervise, or collect delegated work, and it does not change Pi's main model, thinking level, or tool permissions. The main agent launches the Advisor as a normal subagent when the configured policy calls for consultation.