Context & constraints
An AI coding platform executes untrusted, agent-generated code on demand. That creates two competing infrastructure demands:
- Hardware-level isolation: Multi-tenant agent workloads require strong boundaries (confidential-compute Intel TDX nodes and strict cluster admission policies).
- Unit economics: Confidential-compute nodes are expensive to leave warm 24/7 when developer and agent sessions are bursty.
Architecture & operations
At O.xyz, I operated the platform across dev, staging, and production managing 90 Argo CD applications across GKE Autopilot and DigitalOcean Kubernetes:
Agent Session Request
│
▼
LLM Inference Gateway ──► Scale-to-Zero Wake Path
│
▼
Daytona Agent Sandboxes
(Intel TDX Confidential Nodes)
│
Kyverno Policy Enforcement
Key engineering work delivered:
- Scale-to-zero wake paths: Built automated wake-on-demand paths so idle confidential-compute sandbox nodes spin down instead of burning compute budget around the clock.
- Root-cause debugging on sandbox failures: Traced intermittent sandbox
HTTP 500errors back to inactive Daytona snapshots, eliminating silent startup failures. - Cluster-wide policy restoration: Restored Kyverno policy enforcement cleanly across dev, staging, and production without blocking active GitOps syncs.
Production AI agents today
I carried these isolation and safety patterns forward to Mercurie, running sandboxed AI triage agents that read production logs and distributed traces to open GitHub and Linear issues — with mandatory human approval enforced before any production mutation.