Technology Choices
For each concern in the reference architecture: when a team should invest in it, the open-source options that fit, which controls each helps satisfy, and what is left to build. Options within a concern are alternatives, not a bundle — choose by what you already run.
Licences were checked against each project’s repository on 2026-11-11. Open means an OSI-approved licence with no gated features relevant here; open-core means some relevant features need a commercial licence (named in the caveat); source-available means the licence is not OSI-approved. A tool helps satisfy a control only when it is configured to — and adopting one does not by itself establish conformance; the assessment still needs evidence.
Model access
Components: model-gateway · first needed at stage 1
When to invest. Stages 1–3: no gateway. Use the provider SDK with an explicit timeout and exactly one retry layer — set every other layer’s retries to zero (EAS-05.08). Stage 4: a gateway once more than one Workflow shares keys, or you need per-Run cost limits enforced in one place. Stage 6: hierarchical, token-denominated quotas and priority classes across teams and tenants.
| Option | Licence | Why it fits | Helps satisfy | Know before adopting |
|---|---|---|---|---|
| LiteLLM Proxy open-core |
MIT core + enterprise licence | OpenAI-compatible proxy in front of many providers with virtual keys, per key/team/user budgets and rate limits in the open-source edition; retries, fallbacks and per-deployment cooldowns in one place; per-request cost in a response header and the spend log; OpenTelemetry export. | EAS-05.04 EAS-05.08 EAS-05.09 EAS-05.13 |
Tag, project and per-model budgets, spend reports, audit logs, most built-in guardrails and SSO beyond five users require the enterprise licence. Cooldowns act as circuit breakers, but there is no retry budget as a share of traffic. Check which budget features your design depends on. |
| agentgateway open |
Apache-2.0 | One proxy for model, MCP and A2A traffic (Linux Foundation). Documents token rate limits, budgets in currency or tokens, cost tracking, retries and OpenTelemetry — the broadest open-source coverage we confirmed. | EAS-05.04 EAS-05.08 EAS-05.11 |
A vendor’s enterprise distribution adds MCP tool fingerprinting and versioning, rug-pull policies and automatic token exchange; no official open-source-versus-enterprise matrix is published, so confirm features you rely on are in the open-source build. |
| Agent Router (formerly Envoy AI Gateway) open |
Apache-2.0 | Envoy-based and Kubernetes-native; the natural choice if Envoy or Envoy Gateway already fronts your services. Token-based rate limits per client, per-model token quotas with per-tenant and shared buckets, and OpenTelemetry tracing with OpenInference attributes. | EAS-05.08 EAS-05.11 |
Renamed in 2026 (repository and docs moved). Budgets are in tokens (CEL can weight token types), not currency; usage is charged after a response completes, so an admitted stream can overshoot. |
Left to build. Mapping each Run’s budget onto gateway keys or headers, so the gateway enforces per-Run as well as per-key limits.
Tool mediation
Components: tool-gateway · first needed at stage 3
When to invest. Stage 3: an in-process hook using your framework’s native interception point (see the stack profiles) — no separate service. Stage 4: keep the hook for first-party tools, but make it consult the policy engine and record intents. Stage 5: a network gateway as soon as third-party or remote MCP servers appear, so every tool call crosses one enforcement point.
| Option | Licence | Why it fits | Helps satisfy | Know before adopting |
|---|---|---|---|---|
| Framework hooks open |
per framework | wrap_tool_call middleware (LangGraph), tool guardrails (OpenAI Agents SDK), execution hooks (CrewAI). Zero infrastructure; right for first-party tools. |
EAS-02.01 EAS-05.05 EAS-05.06 EAS-08.01 |
Coverage gaps differ by framework — hosted tools, sub-agents and delegation tools are often outside the hook. The profiles list them. |
| agentgateway open |
Apache-2.0 | MCP federation with per-tool authorization policies written in CEL, OAuth for MCP including token exchange, A2A and OpenTelemetry. | EAS-02.01 EAS-07.04 EAS-07.06 |
Policies decide on the request; taint and intent capture still need Run context from the EAS layer. Tool fingerprinting against rug-pulls is only in the vendor’s enterprise distribution. |
| ContextForge MCP Gateway open |
Apache-2.0 | MCP and A2A federation with OAuth and OTLP tracing; groups tools into virtual servers to scope what each agent sees. | EAS-07.04 EAS-07.06 |
Tool restriction works through virtual servers rather than a policy language; its Helm chart marks RBAC and network policies as enterprise. |
| Docker MCP Gateway open |
MIT | Per-profile tool allowlists and built-in OAuth flows for teams already standardised on Docker. | EAS-07.04 | Oriented to Docker Desktop; OpenTelemetry support was not documented, and its security model lists tool-description poisoning as out of scope. |
Left to build. Pinning tool descriptions — record a hash per tool at approval and refuse a server whose descriptions change until re-reviewed (EAS-07.06). No open-source gateway we checked does this: ContextForge’s tools_post_list hook is still planned, Docker’s treats description poisoning as out of scope, and agentgateway offers tool fingerprinting only in its vendor’s enterprise distribution.
Policy decisions
Components: policy-engine · first needed at stage 4
When to invest. Stage 3: plain, unit-tested code in the tool hook is a policy engine; the spec does not require a policy language. Stage 4: adopt an engine when rules multiply, change faster than the agent, or are owned by people outside the team — and test policies independently of the model (EAS-04.04).
| Option | Licence | Why it fits | Helps satisfy | Know before adopting |
|---|---|---|---|---|
| Open Policy Agent (OPA) open |
Apache-2.0 | General-purpose decisions over structured input such as {tool, args, principal, tenant, tainted}; one language for runtime decisions and for CI checks on manifests (via conftest), with decision logs carrying decision ID, input, result and bundle revision, and masking. |
EAS-04.02 EAS-04.04 EAS-04.05 EAS-07.03 |
Rego has a learning curve; keep the EAS rule library small and well tested. |
| Cedar open |
Apache-2.0 | Authorization language designed for analysis, with a CLI that validates policies against a schema and runs test cases; a good fit when policies are mostly principal/action/resource permissions. | EAS-04.02 EAS-04.04 |
Embedded library — you supply the server and the decision log. |
| Cerbos open-core |
Apache-2.0 | Policy decision service with YAML policies and a built-in test runner; approachable for application teams. | EAS-04.02 EAS-04.04 EAS-04.05 |
Pre-1.0 versioning; its management hub is commercial. |
| OpenFGA open |
Apache-2.0 | Relationship-based authorization (“can this user see this account?”) for permission-aware tools and data access. | EAS-06.02 EAS-06.08 |
Answers relationship questions, not content questions like tainted arguments — pair it with OPA or Cedar. |
Left to build. The EAS policy library — the lethal-combination rule, taint escalation, recipient constraints, identity-not-from-arguments.
Durable execution and state
Components: orchestrator, state-store, scheduler · first needed at stage 2
When to invest. Stage 2: your framework’s checkpointer on a durable database, as soon as any step waits on a person, timer or event. Stage 4: synchronous checkpoints for effectful Workflows, and model calls placed so their results are checkpointed before anything acts on them (EAS-09.05). Stage 6, or earlier if Runs wait for days across deploys: a durable-execution engine, which gives recorded steps, durable timers and version pinning without application work. Pick one owner of durability — never both.
| Option | Licence | Why it fits | Helps satisfy | Know before adopting |
|---|---|---|---|---|
| Framework checkpointer (e.g. LangGraph Postgres saver) open |
MIT | Smallest step from a prototype; persists graph state per thread on Postgres. | EAS-09.02 EAS-09.03 EAS-09.04 |
Stores state only — no durable timers, task queues or version pinning. LangGraph applies the latest code to paused threads, so pinning is application work. |
| Temporal open |
MIT | Mature durable execution: non-deterministic calls run as activities whose results are recorded, timers and signals wait without holding a worker, and Worker Versioning (GA) keeps a Pinned workflow on the Worker Deployment Version it started on. A Workflow ID conflict policy rejects or reuses duplicate starts. Documented integrations exist for the OpenAI Agents SDK and Pydantic AI. | EAS-05.12 EAS-09.02 EAS-09.05 EAS-09.07 EAS-09.08 |
A cluster to operate (or a managed service); workflow code must follow its determinism rules. Pinning needs Worker Versioning enabled (server 1.29.1 or later) and old versions kept running until their workflows drain. |
| DBOS Transact open |
MIT | Durable workflows as a library on Postgres — no separate cluster. Has a documented Pydantic AI integration. | EAS-09.02 EAS-09.03 EAS-09.05 EAS-09.08 |
Postgres becomes the durability bottleneck. Workflows are tagged with the application version they started on (a source hash by default) and are recovered only by processes on that version, so old versions must keep running; moving workflows to a newer version is an enterprise feature. |
| Hatchet open |
MIT | Durable task queue with concurrency controls; useful when admission and fan-out limits matter most. | EAS-05.07 EAS-05.12 |
Still 0.x; expect API changes. |
| Restate, Inngest source-available |
BUSL-1.1 (Restate), SSPL-1.0 (Inngest server) | Capable durable-execution engines. | — | Neither server is under an OSI-approved licence. Restate permits production use for your own services; check both with legal before adopting. |
Left to build. Recording the Workflow version on each Run when the chosen tool does not pin it.
Effects — ledger, executor, approval
Components: action-ledger, executor, approval-service · first needed at stage 4
When to invest. Stage 2: effects performed by code with idempotency keys derived from purpose. Stage 4: the ledger — every effect becomes a committed intent, executed by a separate worker, with approval as a state transition. This is the one piece no open-source product provides with EAS semantics; build it thin on infrastructure you already run.
| Option | Licence | Why it fits | Helps satisfy | Know before adopting |
|---|---|---|---|---|
| PostgreSQL (transactional outbox) open |
PostgreSQL | The ledger is an ordinary table partitioned by tenant, written in the same transaction as the checkpoint. It doubles as the audit log, and approval and dry runs are queries over it. | EAS-03.02 EAS-03.03 EAS-03.04 EAS-03.07 EAS-03.10 |
Atomicity with the checkpoint requires the checkpoint to live in the same database, or an outbox pattern between them. |
| Your durable-execution engine open |
see above | Run the executor as recorded steps or activities, so a crash mid-execution resumes rather than repeats; use run or workflow IDs equal to the semantic key for deduplication where supported. | EAS-03.05 EAS-03.06 |
Reconciliation of uncertain effects still needs each target system’s delivery or status API. |
| Debezium (outbox event router) open |
Apache-2.0 | Streams committed intents from the outbox table to downstream executors or audit systems via change data capture. | EAS-03.05 | Needs Kafka Connect or Debezium Server and database log access. |
Left to build. The ledger schema and state machine, the executor’s lease and reconciliation logic, and a small review UI over proposed intents.
Identity and egress
Components: identity-broker, egress-proxy · first needed at stage 4
When to invest. Stage 3: identity from the Run’s context, never from tool arguments — a code rule, no infrastructure. Stage 4: per-Run delegated credentials via token exchange, workload identity instead of static secrets, and an egress allowlist. Stage 5: credentials narrowed on every delegation, with the actor chain recorded. Stage 6: per-Run cloud credentials and data-layer enforcement.
| Option | Licence | Why it fits | Helps satisfy | Know before adopting |
|---|---|---|---|---|
| Keycloak open |
Apache-2.0 | Standard OAuth 2.0 Token Exchange (RFC 8693) is supported and enabled by default between clients of the same deployment, and the audience can be narrowed on exchange. | EAS-06.03 EAS-06.05 EAS-06.13 |
Delegation with an actor claim (act) is still a preview feature, and the scope parameter can widen a token unless a downscoping executor is configured — essential for EAS-06.04. |
| SPIFFE / SPIRE open |
Apache-2.0 | Workload identity for agent runtimes and executors, removing long-lived static secrets. | EAS-06.06 | Federation to each cloud provider’s identity system needs per-provider setup. |
| Cilium open |
Apache-2.0 | Kubernetes network policies with domain-based egress rules, so the runtime can reach only model providers and registered tool endpoints. | EAS-07.05 | Domain rules (toFQDNs) need Cilium’s DNS proxy and a rule allowing DNS, and depend on the agent pod being up; L7 rules add a node-local Envoy hop. |
| Istio egress gateway / Squid open |
Apache-2.0 (Istio), GPL-2.0 (Squid) | An egress gateway in a service mesh, or a forward proxy outside Kubernetes. | EAS-07.05 | Any proxy only helps if direct egress is blocked at the network layer. |
Left to build. Re-minting a narrow credential for the executor at execution time, so a Run that waited days for approval does not depend on a long-lived token (EAS-06.13).
Context and memory
Components: context-service, memory-store · first needed at stage 2
When to invest. Stage 2: parameterised query templates and precomputed snapshots instead of ad hoc queries. Stage 3: per-tenant isolation in every index and cache. Stage 5: long-term memory only with provenance on every entry.
| Option | Licence | Why it fits | Helps satisfy | Know before adopting |
|---|---|---|---|---|
| MCP Toolbox for Databases open |
Apache-2.0 | Defines database tools as parameterised SQL in configuration — the model supplies parameters, never queries. | EAS-08.02 EAS-08.03 |
Repository renamed from genai-toolbox; templates still need row limits for EAS-08.01. |
| Feast open |
Apache-2.0 | Serves precomputed features and snapshots so agents read the same figures as the rest of the product. | EAS-08.05 | Worth it only when batch pipelines already produce the facts agents need. |
| pgvector / Qdrant open |
PostgreSQL (pgvector), Apache-2.0 (Qdrant) | Retrieval for unstructured knowledge, with a collection, schema or namespace per tenant. Open-source Qdrant supports JWT keys scoped to collections, read-only or read-write. | EAS-06.07 | Shared collections with payload filters leak data when a filter is forgotten; prefer physical partitioning. |
| mem0 open-core |
Apache-2.0 | A memory layer for agents if you want one off the shelf. | — | Keeps a change history per memory (old and new value, actor), but has no source or trust fields; model-driven updates can overwrite facts. Add your own provenance fields. |
Left to build. The as_of and trust labels on every context item, and memory provenance.
Observability and privacy
Components: telemetry-pipeline, pii-vault · first needed at stage 1
When to invest. Stage 1: OpenTelemetry instrumentation with redaction in the process, before any exporter — and the framework’s default exporter replaced. Stage 4: tiered payload capture and metrics by version. Stage 6: tokenised redaction backed by a vault, and per-tenant keys.
| Option | Licence | Why it fits | Helps satisfy | Know before adopting |
|---|---|---|---|---|
| OpenTelemetry (SDKs, Collector) + OpenLLMetry / OpenInference open |
Apache-2.0 | The common schema; the EAS attributes extend its GenAI conventions. Instrumentation libraries cover the major frameworks. | EAS-12.01 EAS-12.03 EAS-12.04 |
The Collector’s redaction processor is contrib-only and beta for traces — and Collector-side redaction happens after data leaves the process. Redact in the SDK first (EAS-12.02). |
| Langfuse open-core |
MIT core + enterprise licence | Self-hostable LLM trace UI with datasets and evaluations, accepting OpenTelemetry. | EAS-12.01 | Server-side data masking, retention policies, audit logs and project-level RBAC roles are enterprise features. |
| Arize Phoenix source-available |
Elastic-2.0 | Trace exploration and evaluation for teams using OpenInference. | EAS-12.01 | Not an OSI licence; cannot be offered as a managed service. Access control is three instance-wide roles (admin, member, viewer), not per project. |
| ClickHouse open |
Apache-2.0 | Columnar store for trace metadata and archives; also where cost per outcome is joined. | EAS-12.03 EAS-12.08 |
Retention and deletion are your schema design, not a product feature. |
| Presidio + OpenBao open |
MIT (Presidio), MPL-2.0 (OpenBao) | Presidio detects and anonymises personal data in text, and its encrypt operator is reversible with the decrypt deanonymizer. OpenBao’s transit engine holds a named key per tenant; deleting a key (allowed only once the key is configured as deletable) makes its ciphertext undecryptable. | EAS-12.02 EAS-12.05 EAS-12.10 |
HashiCorp Vault is BUSL-licensed and its tokenisation (Transform) engine is enterprise-only; OpenBao has no equivalent engine, so the token vault is a small build. Keep tenant keys non-exportable, or deletion does not prove the data is unreadable. |
Left to build. Emitting the eas.* attributes, replacing framework default exporters, and the token vault.
Evaluation and release
Components: eval-platform, release-control · first needed at stage 1
When to invest. Stage 1: a labelled set run in CI and a kill switch. Stage 3: trajectory evaluation. Stage 4: a gate with a stated minimum detectable effect and an injection suite. Stage 6: shadow and canary with automatic rollback, and paired comparisons.
| Option | Licence | Why it fits | Helps satisfy | Know before adopting |
|---|---|---|---|---|
| promptfoo / Inspect / DeepEval open |
MIT (promptfoo, Inspect), Apache-2.0 (DeepEval) | Evaluation harnesses runnable in CI, with model-graded and deterministic checks. promptfoo has trajectory assertions (tools used, arguments, sequence, step count) and a GitHub Action that compares prompts on pull requests; DeepEval has a tool-correctness metric; Inspect scorers receive the full task state. | EAS-10.03 EAS-10.04 EAS-10.07 |
None computes a minimum detectable effect or paired significance for you, and none versions datasets — keep them in your repository. DeepEval sends telemetry by default (opt out with DEEPEVAL_TELEMETRY_OPT_OUT). |
| garak / PyRIT open |
Apache-2.0 (garak), MIT (PyRIT) | Prompt-injection and red-team corpora to run as a regression suite. | EAS-07.08 | Generic corpora; add attacks specific to your tools, channels and tool descriptions. |
| OpenFeature + flagd open |
Apache-2.0 | Vendor-neutral flags for the kill switch per Workflow, version and tenant, without a deploy. | EAS-10.02 | flagd has no UI or audit trail; manage flags through GitOps. (Unleash is an alternative; its repository reports AGPL-3.0.) |
| Argo Rollouts / Flagger open |
Apache-2.0 | Progressive delivery on Kubernetes — a failed metric analysis aborts the canary and returns traffic to the stable version. Traffic mirroring for shadow tests: Argo Rollouts on Istio, Flagger on Istio and Gateway API. | EAS-10.09 | They roll back deployments, not in-flight Runs; pair with version pinning. |
Left to build. The statistics on the gate — minimum detectable effect and paired McNemar tests — a few dozen lines on scipy or statsmodels.
Outcomes and data governance
Components: outcome-store, data-governance · first needed at stage 6
When to invest. Stage 4: a written success definition and complete cost per Run. Stage 6: outcome attribution, holdouts for lift, an inventory of every store holding agent data, and verified deletion.
| Option | Licence | Why it fits | Helps satisfy | Know before adopting |
|---|---|---|---|---|
| dbt Core + ClickHouse or DuckDB open |
Apache-2.0 | Attribution windows, late-arriving outcomes and cost per successful outcome as versioned SQL models. | EAS-11.02 EAS-11.03 EAS-11.05 |
Recompute recent windows as outcomes arrive; treat them as provisional. |
| GrowthBook open-core |
MIT core + enterprise licence | Warehouse-native experiments for holdouts and lift. | EAS-11.06 | The Holdouts feature requires an Enterprise plan; in the MIT core, measure lift as an ordinary experiment with a baseline arm. |
| OpenMetadata / DataHub open |
Apache-2.0 | Inventory and lineage of every store holding agent data — traces, checkpoints, memory, indexes, eval datasets. | EAS-12.07 | Catalogues do not delete; deletion is a workflow you run. |
Left to build. The deletion orchestrator — a durable workflow that fans out to every store, verifies, and records evidence.
The thin layer every stack builds
Across all concerns, the pieces no tool provides are the same handful, because they encode the specification’s own semantics:
- Run context — the credential, taint flag, budgets and actor chain, carried across every model call, tool call and sub-agent, and bound to the framework through its profile.
- The action ledger — intents with semantic keys, the executor’s lease and reconciliation, and a review queue.
- The policy library — the rules that make the generic engines specific: the lethal combination, taint escalation, recipient constraints, identity never from arguments.
- A manifest compiler — turning the agent manifest into gateway, policy, budget and egress configuration, so the manifest is configuration rather than documentation.
- Tool-description pinning, the token vault and the deletion orchestrator.