Why this exists
Plain document chat is retrieval-heavy. For financial, operations, and compliance workflows, answers often require computation on extracted tables and entities. Document Sandbox gives the agent an isolated execution environment attached to parsed document context.What the agent gets
Parsed Document Context
Text, tables, and figures are available as structured inputs.
Isolated Runtime
The agent can execute analysis code in a bounded sandbox session.
Typical use cases
Table calculations
Table calculations
Compute growth rates, margin deltas, and rollups from extracted rows.
Cross-check evidence
Cross-check evidence
Validate numbers across narrative text, tables, and figure captions.
Custom transformations
Custom transformations
Reformat extracted data into downstream app or reporting schemas.
Programmatic exports
Programmatic exports
Generate structured outputs that plug into analytics pipelines.
Security model
| Control | Behavior |
|---|---|
| Isolation | Each session runs separately from other users |
| Resource limits | Execution is bounded by CPU/memory/time constraints |
| Controlled access | Sandbox works on provided document context and tool surfaces |
| Auditable flow | Session-level operations can be traced in document lifecycle logs |