Skip to content

Provider catalog

AML providers are adapters around three independent responsibilities. Select one provider for each boundary your workflow uses; a tree that only runs an Agent does not need a Sandbox or Workspace.

Runtime architectureOne authored tree, three explicit boundaries
<Workspace><Sandbox><Agent /></Sandbox></Workspace>
LayerOwnsDoes not own
AgentModel sessions, turns, native tools, ACP launch and protocol translationProcess or filesystem isolation unless a Sandbox is active
SandboxEphemeral commands, process lifetime, filesystem access, cancellation and cleanupDurable revisions or model credentials
WorkspaceMaterialization, durable files, revisions, locking and save policyCommand isolation or Agent behavior
  1. Pick an Agent only when the work needs a model or coding-harness session.
  2. Add a Sandbox when that Agent or a Script must execute processes in a deliberate host, container, or remote boundary.
  3. Add a Workspace when files need durable identity, sharing, revision publication, or conflict control across evaluations.

For a first workflow, begin with DeterministicAgentProvider. Move to one live Agent, then add a Sandbox, and add durable Workspace storage last. Each step introduces a separate credential, failure, and cleanup surface that should earn its place.

All factories above are exported from @aml-jsx/sdk and installed with the SDK.

Credential-free learning

Use DeterministicAgentProvider from @aml-jsx/sdk/testing. It records normalized calls and avoids network or executable setup.

Trusted local automation

Pair an Agent with localSandbox() and localWorkspace() only when the workflow and every generated command are trusted on the host.

Disposable container work

Use Docker with an image that already contains the selected ACP executable. Add your own hardening for network, users, capabilities, resources, and daemon exposure.

Before evaluating a provider-backed workflow, verify:

  1. The Agent executable exists in the host, image, snapshot, or remote environment where AML will launch it.
  2. Required vendor credentials are available to that executable without being embedded in authored prompts or persisted files.
  3. The Agent provider reports compatibility with the effective Sandbox runtime.
  4. Sandbox access, root, and cwd semantics match the provider’s actual enforcement.
  5. Workspace load, save, locking, retention, and cancellation behavior match your durability requirements.
  6. Cleanup and telemetry failures are visible to production operators.

Continue to the Agent, Sandbox, or Workspace comparison, or read Production security before running untrusted work.

Adding an integration instead of selecting a built-in? Start with Provider engineering to choose the extension boundary, then use the exact Provider authoring reference while implementing it.