Delegate to sub-agents
An orchestrating agent gives a sub-agent part of its permission. Each link can only narrow, and revoking the first approval stops the whole chain.
The action
Give a helper less than the agent was allowed
- Kind of approval
- Give limited access
- Who decides
- The person who approved the first agent
- Service
- Any service that accepts agents
- Level
- L1
- Capability
- grant chain
- State
- Implemented and tested, not shown on the demo
A planning agent splits a job: one helper reads prices, another writes the comparison. Sharing the planner's credential would give every helper the planner's full power.
What happens
- A person approves the planning agent for a set of actions.
- The planner asks its node for a narrower grant in the helper's name: fewer actions, a lower amount, a shorter time.
- The helper signs its requests with its own key and sends the chain of grants.
- The service checks every link, up to the person's signature.
No second tap is needed, because the helper can do nothing the person has not already allowed.
Children only narrow
| The parent allows | The helper may get | The helper may not get |
|---|---|---|
| Read all quotes | Read one quote | Place an order |
| Up to 500 EUR | Up to 100 EUR | Up to 501 EUR |
| Until Friday | Until Wednesday | Until Saturday |
What cannot happen
- A helper uses the planner's key. Each grant is bound to one agent key. The wrong key is refused.
- A helper outlives the approval. Revoking the first grant ends every grant below it.
- A chain grows without end. Chains that are too deep are refused.