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 and Advisor roles. It adds guidance to the system prompt and nothing else: 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.
Version 0.19.0 requires Pi 0.87.1 or later (>=0.87.1). Version 0.14.1 supports Pi 0.84.3 or later (>=0.84.3).
off, normal, aggressive, or orchestrator, set globally or per branch.provider/model reference or an explicit disabled decision for each ordinary role, plus optional Visual Design and Advisor roles.Independent Advisor mode and its companion file are available from version 0.17.0. A configuration saved without an explicit Advisor mode keeps the previous behavior: Advisor is consulted only while delegation is active. Selecting on enables consultation with delegation off.
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.