CreateMissionRequest must include a resourceBudget, and the Integration Gateway enforces those limits server-side throughout the lifetime of the run. Budgets give you predictable cost, latency, and risk profiles for every mission you submit — regardless of how ambitious the agent’s reasoning might become.
Budget Parameters
TheResourceBudget type from @praxa/sdk exposes four required fields. All four must be set; there are no optional budget fields.
Each field has a server-side minimum enforced by the gateway (e.g.
maximumSteps must be at least 1). The gateway may also apply tenant-level ceilings that are lower than what you specify — see your gateway configuration for authoritative limits.
Example Budget
The following budget is a reasonable starting point for a moderately complex research or summarisation task:What Happens When a Budget Is Exceeded
If the agent hits any budget limit before the mission reaches a natural end, the Integration Gateway transitions the mission to thefailed status with a budget-exceeded reason recorded in the mission projection and its trace. The specific limit that was breached (steps, tool calls, elapsed time, or parallelism) is reflected in the failure detail so you can diagnose and tune your budget for the next attempt.
Tuning Your Budget
Different workloads call for different budget shapes. Use the following guidance as a starting point and refine values based on observed mission traces from your own data. Quick, focused tasks — e.g. classifying a single document, answering a narrow factual question, or formatting a structured output:maximumElapsedMs if the agent is running out of time while still within its step count. When a mission succeeds but finishes well under all limits, you can safely reduce the budget to tighten your cost and risk envelope.