OpenProgram Docs

Agent-owned execution DAGs

CallRecorded inParent keeps
Message, model request, directly dispatched toolThe current graph—
Registered tool dispatchThe current graph—
Ordinary Python helper, including recursionNothing: zero new nodes—
Same-Agent helper methodNothing; reuses the owner—
A different AgentIts own independent graph, readable after returnInvocation, result and child-session reference

Across the Agent boundary

ThingChild
Runtime configuration, permission restrictions, cancellationInherited
Graph writers, call IDs, forced node IDs, predecessor, context-history anchorsLocal; no caller ID points into the parent graph
Explicitly named Context contentAvailable
Parent graph historyNot imported implicitly
Parent bindingsRestored on return, raise or cancel

A tool deadline records a tool error and does not cancel the parent turn. Browser deadline enforcement is a separate concern. No new database, public decorator or local runtime instance is involved; existing histories are unchanged.

Implementation status

Graph ownership and public-entry regression tests are in code; the tests need no provider or external action. Optional recording diagnostics keep their local warnings. Source tests do not establish the behaviour of an installed App.

Session DAG design

Last updated · 2026-11-25