Delegation
To contribute an external planner or tool-loop runtime for an AgentJob, implement the delegated
runtime contract and register a DelegatedRuntimeDefinition through
context.delegated_runtimes.add. The
reference registration
and adapter
show the receiving store and start, poll, and cancel operations. The reference runtime is
deterministic, process-local, and effect-free. Test job identity, terminal results and cancellation;
delegation tests
exercise those boundaries.
This route is distinct from an Animator, which addresses typed service capabilities. Delegated agents owns the job envelope, wait, return, and execution method. Foreign CLI execution and containment are not delivered by the reference adapter; consult that page and State of Work before claiming a runtime can perform effects.