Agentic system architecture and engineering

Agent sandbox integration

Decide how the execution boundary connects to identity, storage, and tools

When an agent needs to run code or commands in a controlled environment, this area becomes relevant. For the platform execution owner, the concern is specific: a constrained execution environment returns output that is trusted as an instruction elsewhere. The engineering design starts from that consequence and follows the relevant evidence through the customer workflow. Integration should cover the whole journey into and out of execution. A sandbox boundary is only one part of the deployment; authority, artefact handling, and the caller's interpretation of returned results need their own controls.

The engineering decisions relationship

  1. Starting evidenceExecution requirements

    Establish the basis for credential entry.

  2. Decision boundaryOutput interpretation

    Treat generated artefacts according to their trust level.

  3. Decision artefactSandbox integration design

    Retain the scoped finding and its unresolved dependencies.

Proposed working model. Production acceptance needs separate scoped evidence.

Decision

Frame the decision around credential entry

Questions and the evidence they need

Criterion / evidenceCredential entry
Inspect execution requirements for the relevant constraint or observation.
Criterion / evidenceOutput interpretation
Inspect sandbox interface for the relevant constraint or observation.
Criterion / evidenceState cleanup
Inspect network and persistence rules for the relevant constraint or observation.
Read each criterion against the available evidence before deciding that additional work is needed.

For the platform execution owner, this becomes relevant when an agent needs to run code or commands in a controlled environment. The immediate decision is how the execution boundary connects to identity, storage, and tools. The scope should be narrow enough that the engineering team can identify a meaningful alternative, including continuing the current approach if the available evidence already supports it.

The practical failure to challenge is that a constrained execution environment returns output that is trusted as an instruction elsewhere. That concern gives the work a concrete direction: establish what the relevant boundary should do, inspect how it behaves or would operate, and identify the owner of any gap. It should not be diluted into a broad transformation exercise before the specific question has been answered.

Mechanism

Sandbox integration has input and output trust boundaries

Relationships within engineering decisions

Source or conditionCredential entry
Limit secrets and authority passed into execution.
Crossing or choiceOutput interpretation
Treat generated artefacts according to their trust level.
Consequence or decisionState cleanup
Specify retained and removed data after completion.
Carry authority and state through the implementation. Each relationship needs evidence in the actual scope.

Credential exposure

For this scope, credential exposure should be examined alongside execution requirements. Map which credentials enter the execution environment and which component controls them. The integration should avoid granting authority unrelated to the task. Qualified security review may be needed for the boundary, while the engineering design records concrete inputs, permitted connections, and responsibility.

Output trust

For this scope, output trust should be examined alongside sandbox interface. Treat returned artefacts according to their meaning and trust. Successful execution does not establish that an output is correct or safe to use as a later instruction. The caller should validate relevant properties before an artefact influences another tool action or business decision.

Cleanup and state retention

For this scope, cleanup and state retention should be examined alongside network and persistence rules. Define cleanup and persistence for files, state, and outputs. Some artefacts may need deliberate retention, while others should be removed after the task. The proposed integration should make this lifecycle observable and identify which platform or customer owner verifies the configured behaviour.

Preparation

Connect the working inputs to the boundary being examined

Evidence packet for credential entry

Illustrative working format

BasisExecution requirements
Confirm the applicable revision and who resolves disputed interpretation.
ContextSandbox interface
Match this description to the deployed or proposed boundary being examined.
ObservationNetwork and persistence rules
Confirm the applicable revision and who resolves disputed interpretation.
Illustrative preparation record. Availability, revision, and handling need confirmation.

The starting material is execution requirements, sandbox interface, and network and persistence rules. Review these together rather than assuming one document tells the whole story. A stated rule may differ from a configured behaviour, and a proposed responsibility may not yet have an available owner. Identify those differences before selecting the detailed work.

Participation should include a workflow owner, an implementation lead, an eventual maintainer, and qualified control reviewers where needed. The customer should define which information and environments may be used. Synthetic or sanitised examples can support preparation when they preserve the relevant behaviour; if they omit a material dependency, record the limitation and agree how the missing evidence would be obtained.

How the work proceeds

Carry credential entry through to an accountable finding

From the scoped material to a decision record

  1. Establish conditionsExecution requirements

    Make the component and operating boundary explicit.

  2. Examine the relationshipOutput interpretation

    Apply the scoped check to state cleanup.

  3. Retain the findingSandbox integration design

    Record the evidence, open dependencies, and the owner’s next decision.

Proposed sequence; resolve interpretation or access gaps before relying on the next step.

Specify the contract for artefacts leaving the execution environment. Identify which outputs are data, which need validation, and which may influence later tool actions. The proposed integration should also account for residual files, persisted state, and the authority of the caller that receives the result.

A practical first slice would focus on credential exposure and then follow its consequences into output trust. Keep cleanup and state retention visible as a separate review question rather than assuming it is satisfied by the first result. The engineering team should record observations, competing explanations, and changes to the original assumptions. A second reviewer can challenge whether the evidence supports the recommendation and whether an apparently successful example omitted the condition that matters most.

Indicative artefact

Make the sandbox integration design usable by its owner

Sandbox integration design

Illustrative working format

Annotated fieldSandbox integration design
Identify the assessed workflow, revision, and decision boundary.
Annotated fieldInput and output trust contract
Record accepted inputs, task meaning, and incomplete or failed outcome semantics.
Annotated fieldBoundary validation plan
Name the unresolved condition, next action, and accountable owner.
Illustrative artefact structure, not a completed engagement or an observed result.

Indicative outputs include sandbox integration design, input and output trust contract, and boundary validation plan. Their form should follow the decision and the customer’s existing operating records. The first should establish the assessed boundary and relevant observations; the second should make material gaps or dependencies inspectable; the third should identify the action, owner, and evidence needed to revisit the decision.

Acceptance should be tested through use: can the responsible owner explain what was examined, identify an unresolved issue, and act on the next step without reconstructing the whole engagement? Findings should preserve counterevidence and limits. A polished document is insufficient if it does not help resolve the customer’s specific question.

Illustrative scenario

Examine state cleanup through a constructed exception

A constructed case and its decision paths

Illustrative scenario

  1. SituationCredential entry

    A sandbox transforms data before sending its result to an enterprise workflow.

  2. Question to examineOutput interpretation

    Follow credentials into execution and generated data out to the workflow.

  3. Conditional next actionState cleanup

    Validate the output's trust and cleanup conditions before downstream use.

Fictional example. No executed test, customer engagement, or measured outcome is implied.

Consider an illustrative situation in which an agent runs a data transformation in an isolated environment and sends the result to an enterprise workflow. This is a constructed example, not a client engagement or an observed Softlander outcome.

For the data-transformation example, an illustrative test would return an unexpected artefact and inspect how the surrounding workflow handles it. The design should preserve the distinction between successful execution and trusted business output. Qualified boundary review may still be needed for isolation claims beyond the integration behaviour demonstrated by the exercise.

The useful learning would be the difference between the expected behaviour and the behaviour or responsibility actually demonstrated. If the exercise leaves cleanup and state retention unresolved, that should remain a named next step. A recommendation to narrow the scope, improve a prerequisite, or hold the decision can be appropriate when the example exposes a material dependency.

Scope and next action

Keep the conclusion within the defined workflow and configuration

Confirm fit before the next commitment

Included boundaryCredential entry
This review is limited to the defined workflow and configuration.
PrerequisiteExecution requirements
The relevant owner must confirm access and the intended operating conditions.
Claim limitSandbox integration design
Production acceptance needs separate scoped evidence.
Bring the triggering change and existing evidence; resolve the dependency that could alter the decision.

The method described here is proposed engineering work. Scope, staffing, implementation access, acceptance, and commercial terms require a readiness review. A design or lab result does not establish production suitability, guaranteed reliability, or security certification.

Ways to engage

Related engagement scopes

AI Fractional Agentic AI Office

Create a regular place for agentic AI decisions. Connect initiative priorities, architecture questions, risk ownership and evidence reviews.

Read about this offer: AI Fractional Agentic AI Office

AI Fractional Agentic Transformation Office

Coordinate the operating changes behind agent adoption. Align workflow redesign, ownership, dependencies and adoption measures.

Read about this offer: AI Fractional Agentic Transformation Office

AI Harness Engineering Pod

Engineer a bounded AI execution harness with tool adapters, context handling, orchestration, recovery and observable traces.

Read about this offer: AI Harness Engineering Pod

Continue exploring

Related insights and resources

Whitepaper16 MIN READ

Engineer the harness, not just the prompt

Define the contracts around an agent's decisions: what state it trusts, which actions can execute, how interrupted work resumes, and what evidence an operator needs to recover safely.

Whitepaper15 MIN READ

Governing agent decisions

Governance becomes useful when it changes a decision. Connect each agent workflow to an accountable owner, explicit operating conditions, proportionate evidence and a practical route for exceptions and withdrawal.

Strategy & transformation6 MIN READ

Do you need an agent centre of excellence?

A centre can concentrate scarce expertise and reusable controls, or become an approval queue detached from real work. Choose the mandate before the structure.

A little more clarity

Questions to consider.

Start with the questions that shape a better decision.

What should cross the sandbox boundary?

Integration should cover the whole journey into and out of execution. A sandbox boundary is only one part of the deployment; authority, artefact handling, and the caller's interpretation of returned results need their own controls.

How should returned artefacts be trusted?

For the data-transformation example, an illustrative test would return an unexpected artefact and inspect how the surrounding workflow handles it. The design should preserve the distinction between successful execution and trusted business output. Qualified boundary review may still be needed for isolation claims beyond the integration behaviour demonstrated by the exercise.

Who owns credential exposure and cleanup?

The customer should name an IAM owner, with implementation and verification responsibilities explicitly allocated to the platform and delivery collaborators. Define cleanup and persistence for files, state, and outputs. Some artefacts may need deliberate retention, while others should be removed after the task. The proposed integration should make this lifecycle observable and identify which platform or customer owner verifies the configured behaviour.

What does successful execution establish about output correctness?

Treat returned artefacts according to their meaning and trust. Successful execution does not establish that an output is correct or safe to use as a later instruction. The caller should validate relevant properties before an artefact influences another tool action or business decision.

When does sandbox integration need specialist review?

Map which credentials enter the execution environment and which component controls them. The integration should avoid granting authority unrelated to the task. Qualified security review may be needed for the boundary, while the engineering design records concrete inputs, permitted connections, and responsibility.

What would the sandbox integration design make clear?

It should connect the specific concern—a constrained execution environment returns output that is trusted as an instruction elsewhere—to what was examined and what remains unresolved. The record should separate observations from proposed changes and identify the owner responsible for the next evidence. It is a decision aid within the agreed scope, not a broader assurance conclusion.

Start with the decision you need to make.

Tell us about the agent workflow you want reviewed, and where you need greater clarity. Scope and availability are confirmed together.

Connected disciplines