Skip to content

RFC-013: Inter-Gandalf Delegation Protocol (IMDP) — 9. Limits

AIGP SpecificationRFC-013: Inter-Gandalf Delegation Protocol (IMDP) › 9. Limits

← 8. Anti-Patterns · Section index · 10. Delegation Registry →

9. Limits

Limit Value Rationale
Max delegation depth 2 Prevents unbounded chains; keeps latency predictable
Max concurrent delegations per originator 3 Prevents resource exhaustion on delegate Gandalfs
Delegation timeout 300 seconds (default) Prevents hung delegations; configurable per capability
Max context payload size 256 KB Prevents oversized context transfers
Capability manifest cache TTL 600 seconds Balances freshness with query overhead
Max sub-delegations per delegation 1 A delegate may sub-delegate to at most one other Gandalf
AIGP governance check timeout 5 seconds Delegation fails fast if governance is unreachable (ENFORCE mode)

← 8. Anti-Patterns · Section index · 10. Delegation Registry →