Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/agent / fanout / PerChildBudget

Interface: PerChildBudget

Defined in: packages/agent/src/fanout/index.ts:34

Per-child budget. Defaults derived from the canonical 2026 scaling-rule table for agent fan-out workloads.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
durationMs?readonlynumberWall-clock cap, enforced for every child via a race timer.packages/agent/src/fanout/index.ts:48
tokens?readonlynumberMax usage.totalTokens per child. Enforced post-hoc and only for usage-reporting children (an invoke that resolves to a full AgentResult - e.g. () => child.run(input)); a child returning a plain value reports tokensUsed: 0 and this cap cannot fire.packages/agent/src/fanout/index.ts:41
toolCalls?readonlynumberMax tool calls per child. Same usage-reporting contract as PerChildBudget.tokens (counted from state.steps).packages/agent/src/fanout/index.ts:46