Skip to content

Alternatives considered

Living evaluation. The agent ecosystem moves fast. Each detailed evaluation states when it was checked and what would reopen it, and the page grows as new candidates appear.

What alternatives did we consider for each layer of Maku, and why did the current choices win? A new candidate gets a row in the table. If it could replace a whole layer, it also gets a detailed evaluation linked under Projects evaluated in detail.

In short:

  • No candidate evaluated so far covers more than one or two layers. The factory, the rooms, and the controls around them stay ours whatever we adopt.
  • A choice can be deferred rather than refused. Each detailed evaluation lists concrete triggers that would make us reconsider it.

How candidates are evaluated

  • Against code, not announcements. Claims are checked in the project’s repository at a pinned commit and linked.
  • On the work still ahead. What is already built does not count in its favour; what adopting a candidate would still leave us to build does.
  • Against Maku’s requirements:
    • runs on standard Kubernetes (including EKS and GKE, on spot nodes);
    • every workload gets its own identity and network policy;
    • no long-lived credential reaches a sandbox;
    • open source first.

Where each tool fits

A sovereign coding-agent factory has five layers. Most “agent platforms” cover one or two of them; Maku needs all five.

    %%{init: {"flowchart": {"wrappingWidth": 400}}}%%
flowchart TB
  subgraph L5["Factory: issue → runs → PR, budgets, merge gate, stop switch"]
    direction LR
    F5["Ours: maku-factory controller<br/>+ maku/merge-gate"] ~~~ T5["Temporal: durable<br/>workflows (watched)"] ~~~ D5["dsh-superagent: LLM router<br/>+ tickets, no sandbox"]
  end
  subgraph L4["Collaboration: shared sessions with humans and agents"]
    direction LR
    F4["Ours: rooms<br/>(maku-broker + Postgres log)"] ~~~ K4["kagent sessions:<br/>single owner"]
  end
  subgraph L3["Gateway: models, tools, per-run identity and budgets"]
    direction LR
    F3["agentgateway<br/>(chosen)"] ~~~ O3["otari: LLM gateway<br/>(watched)"] ~~~ M3["agentmesh: agent network<br/>behind a gateway (watched)"]
  end
  subgraph L2["Harness: the agent loop"]
    direction LR
    F2["OpenCode<br/>(default)"] ~~~ O2C["OpenHands<br/>(fallback)"] ~~~ A2["ax: Antigravity,<br/>Gemini only"] ~~~ K2["kagent: Claude Code,<br/>Codex, own ADKs"]
  end
  subgraph L1["Runtime: isolation, lifecycle, identity"]
    direction LR
    F1["maku-run-controller + gVisor<br/>(chosen)"] ~~~ S1["Agent Substrate (google/ax;<br/>kagent uses its fork)"]
  end
  L5 --> L4 --> L3 --> L2 --> L1
  

Decisions at a glance

LayerChosenAlternatives consideredWhy
Runtimemaku-run-controller + gVisor, one pod per run (ADR-0041, ADR-0062)Agent Substrate (with google/ax or kagent), Kata/Firecracker, OpenHands Enterprise, Coder, E2B/DaytonaOpen source; runs on EKS, GKE, and generic Kubernetes, including spot nodes; each run gets its own ServiceAccount and network policy. Kata/Firecracker needs bare-metal hosts or nested virtualisation: the smallest AWS metal host has 128 vCPU, roughly $1.5/h spot or $5.4/h on demand (Vantage), against a few cents an hour for a run’s spot node. An agent step mostly waits on the model (~11 s per reply), so gVisor’s syscall overhead stays small
HarnessOpenCode by default, OpenHands agent-server as the fallbackHeadless Claude Code, kagent’s harnesses, ax’s Antigravity agent, DeepSeek HarnessBoth are open source, headless, work with any OpenAI-compatible model, and support MCP. OpenCode’s image is lighter; Maku adds its loop guard and room, provider, and recovery adapters (paired trial results). Claude Code is proprietary; Antigravity is Gemini-only; DeepSeek Harness lacks a stable HTTP API
Gatewayagentgateway (maku-gateway chart, ADR-0053)Envoy AI Gateway (Agent Router 1.1), otari, agentmeshSee The model gateway. agentgateway enforces JWT sub prefixes and per-alias audiences directly via CEL, ships current MCP authorization, and idles at ~6–8 MiB. otari lacks Kubernetes packaging, token exchange, and per-data-class listeners; agentmesh sits behind a gateway rather than replacing one
Gateway guardrailsGateway guard hooks + open classifiers + structural boundaries outside the sandboxGoogle Model Armor, NeMo Guardrails, Guardrails AI, LlamaFirewall, ShieldGemma, llm-guardFilters add evidence, never the security boundary: the boundaries remain per-run identity, per-role tool rules, egress allow-lists, safe outputs (ADR-0061), and the merge gate. Model Armor is an inline cloud SaaS on Google infrastructure only
RoomsA log we own: maku-broker on PostgreSQL (LISTEN/NOTIFY, ADR-0044)OpenHands shared conversations, ACP, A2A through a gateway, Valkey Streams, NATS JetStream, ax or Substrate sessions, kagent sessionsProtocols: none records who said what across multiple humans and agents, or who may approve. Brokers: an event commits to PostgreSQL first (fixing its gapless seq under append-only roles and RLS), then wakes replicas via LISTEN/NOTIFY; at a few events per second a second stateful broker adds operational weight without stronger guarantees
FactoryA custom Kubernetes controller (maku-factory) + namespace ResourceQuota (ADR-0048)Argo Workflows, Tekton, Temporal, Crossplane Task composition, gh-aw, OpenAI Symphony, DeepSeek dsh-superagentA task’s state lives in Kubernetes objects and GitHub; waiting hours on CI or review is a cheap requeue so restarts lose nothing. Budgets, merge policies, and the kill switch are domain logic any workflow engine would still need. Temporal suits code-driven workflows and stays watched
Merge gateMaku’s built-in merge gate (maku/merge-gate status required by a repository ruleset)policy-bot, required reviews, rulesets alone, Prow/tide, Mergify, KodiakThe policy is a reviewable MergePolicy object in Git, the gate decides each head from diff shape, paths, caps, reviewer verdict, and CI, and merge authority stays isolated to one dedicated GitHub App

What would make us reconsider

Each layer’s reconsideration triggers — when Temporal, NATS JetStream, microVMs, otari, Agent Substrate, warm pools, agentmesh, OpenCode, DeepSeek Harness, or Google Model Armor would win — are recorded with the October and November 2026 evaluations in the evaluation records.

Projects evaluated in detail

Checked in October and November 2026 across google/ax, Agent Substrate, kagent, OpenCode, Temporal, OpenAI Symphony, otari, agentmesh, Google Model Armor, and dsh-superagent-prototype (plus the kagent + Substrate rebuild comparison); the commit-pinned evaluations and gap tables are in the evaluation records.

Reconsidering Substrate and kagent: not now, deliberately open

AgentRun remains the stable runtime abstraction.

Reconsider direct Agent Substrate when a measured cold-start, memory-continuity, or density problem justifies a proof of concept, and the candidate can demonstrate:

  • supported EKS and GKE installation and upgrades;
  • safe per-run identity and external short-lived GitHub credential injection;
  • per-run DNS/FQDN egress and quota-equivalent admission;
  • controlled node and Spot loss without lost or duplicated effects;
  • complete cleanup and a net reduction in code and operations.

Reconsider kagent only when it also provides non-bypassable OSS authorization, attributed multi-participant sessions, delegated approver evidence, supported OpenHands/BYO restoration, and a clean one-run/one-identity mapping — deleting more custom code than its adapters and control planes add (kagent evaluation).

Sources