← Back to Reading
Latent Space 2026-10-07

Can a Cloud-Native Harness Make Agents Reliable Beyond the Desktop?

Coding agents frequently suffer from limitations when confined to local environments, leading companies like OpenAI and Anthropic to seek cloud-based management solutions. Managing agents in the cloud presents difficulties regarding session reliability, isolated tool execution, and context persistence, echoing early container orchestration challenges. Kubernetes co-creators Craig McLuckie and Joe Beda are applying container orchestration concepts to agent harnesses through their company, Stacklok. Having secured a $17.5 million Series A round in 2023, Stacklok has shifted focus from supply chain security toward building Kubernetes-based solutions for coding agents. Stacklok has introduced Mecatl, an open-source, cloud-native agent harness designed to shift the locus of value and execution from developer desktops to the cloud. Founders McLuckie and Beda argue that existing desktop-first harnesses couple the agent loop, execution, and state within a single process, making enterprise management and IP protection difficult. Simply lifting and shifting desktop architectures via VMs or containers creates challenges with lifecycle management and quiescing agents. Mecatl is built from the ground up to operate natively in cloud environments and rethink agent identity and tool-calling coupling. Mecatl introduces an architecture that decouples the agent loop from the client, model provider, state store, and execution environment. By separating the loop from sensitive tasks like bash execution and tool calling, as well as replacing local JSONL files with manageable enterprise state stores, it enables centralized cloud operation. This shift transforms agent harnesses from single-user local setups into centrally governed infrastructure. The model envisions enterprise agent interactions being managed and audited in the same manner companies manage corporate email.

Read the original ↗
Contents 7 sections
  1. 01Kubernetes co-creators Craig McLuckie and Joe Beda aim to bring agent harnesses fully into the cloud.
  2. 02Mecatl: a harness built for the cloud
  3. 03Separating the agent loop from execution
  4. 04Decoupling AI agents from frontier labs
  5. 05Stacklok’s LLM gateway
  6. 06The enterprise spine
  7. 07The cloud native era for AI?

Kubernetes co-creators Craig McLuckie and Joe Beda aim to bring agent harnesses fully into the cloud.

Coding agents frequently suffer from limitations when confined to local environments, leading companies like OpenAI and Anthropic to seek cloud-based management solutions. Managing agents in the cloud presents difficulties regarding session reliability, isolated tool execution, and context persistence, echoing early container orchestration challenges. Kubernetes co-creators Craig McLuckie and Joe Beda are applying container orchestration concepts to agent harnesses through their company, Stacklok. Having secured a $17.5 million Series A round in 2023, Stacklok has shifted focus from supply chain security toward building Kubernetes-based solutions for coding agents.

  • Most coding agents originated as local CLI or desktop tools because running LLM tool-calling loops locally is simplest to implement.
  • Transitioning agent harnesses to the cloud involves persistent challenges in session reliability, tool isolation, and context preservation.
  • OpenAI and Anthropic have both attempted to move agent harnesses to the cloud since 2025 with mixed success.
  • Kubernetes creators Craig McLuckie and Joe Beda are developing Kubernetes-based agentic management solutions at Stacklok.
  • Stacklok raised a $17.5 million Series A in 2023 backed by Accel, Madrona, and Bain Capital, pivoting from software supply chain security to agent orchestration.

Mecatl: a harness built for the cloud

Stacklok has introduced Mecatl, an open-source, cloud-native agent harness designed to shift the locus of value and execution from developer desktops to the cloud. Founders McLuckie and Beda argue that existing desktop-first harnesses couple the agent loop, execution, and state within a single process, making enterprise management and IP protection difficult. Simply lifting and shifting desktop architectures via VMs or containers creates challenges with lifecycle management and quiescing agents. Mecatl is built from the ground up to operate natively in cloud environments and rethink agent identity and tool-calling coupling.

  • Mecatl is an open-source, cloud-native agent harness created by Stacklok in June.
  • The name Mecatl is derived from an Aztec word meaning cord or rope.
  • Desktop-centric harnesses make enterprise IP management difficult because code and context remain tied to local machines.
  • Unlike desktop-first harnesses that run execution, loops, and session states in a single process, Mecatl is designed specifically for cloud execution.
  • A simple 'lift and shift' of desktop harnesses to cloud VMs or containers introduces problems around lifecycle management and agent quiescing.
  • Mecatl aims to rethink why agent loops are coupled to tool-calling subsystems and how agent identity is modeled compared to human identity.

Separating the agent loop from execution

Mecatl introduces an architecture that decouples the agent loop from the client, model provider, state store, and execution environment. By separating the loop from sensitive tasks like bash execution and tool calling, as well as replacing local JSONL files with manageable enterprise state stores, it enables centralized cloud operation. This shift transforms agent harnesses from single-user local setups into centrally governed infrastructure. The model envisions enterprise agent interactions being managed and audited in the same manner companies manage corporate email.

  • Mecatl keeps the agent loop independent of the client, model provider, state store, and execution environment.
  • Sensitive execution operations such as bash and tool calling are separated from the core loop running in the cloud.
  • Session management and memory are shifted from local JSONL disk files into natively manageable enterprise systems.
  • The framework is designed to evolve beyond local, single-user harnesses into centrally operated enterprise infrastructure.
  • Beda compares the governance of enterprise agent interactions to how organizations manage email.

Decoupling AI agents from frontier labs

Stacklok aims to help enterprises decrease their dependency on proprietary frontier AI labs and hyperscalers, drawing parallels to how Kubernetes decoupled applications from specific cloud providers. Following a pivot into agent infrastructure, the company developed ToolHive, an open-source platform designed to run and govern Model Context Protocol (MCP) servers. ToolHive includes a Kubernetes-based gateway, registry, and operator helper to manage MCP server execution and authentication. The platform is designed to scale agentic workloads for enterprise environments with thousands of engineers.

  • Stacklok aims to reduce enterprise dependence on frontier labs and hyperscalers such as Codex, Claude Code, and GitHub Copilot.
  • The strategy is modeled after Kubernetes, which decoupled workloads from specific cloud hosting providers.
  • Stacklok built ToolHive, an open-source platform for running and governing MCP servers.
  • ToolHive evolved from running MCP servers in local Docker containers into a Kubernetes-based gateway with registry and authentication tooling.
  • Stacklok focuses on enterprise scale, addressing gaps left by agent tools designed primarily for small teams.

Stacklok’s LLM gateway

Stacklok developed an enterprise LLM gateway, branded as AI Gateway, to help organizations manage access and costs. The product primarily serves clients in regulated industries such as banking, telecommunications, and semiconductor manufacturing. Although it remains closed source for now, Stacklok plans to open source it in the future. Unlike competitors like Glean, the gateway focuses on access control, budgeting, and provider routing rather than task-based model selection.

  • Stacklok's AI Gateway is designed to manage LLM access control, budgets, reporting, and provider routing.
  • The primary customer base consists of organizations in heavily regulated industries, including banks, semiconductor firms, and telcos.
  • The AI Gateway is Stacklok's only major product not yet open sourced, though open sourcing is planned.
  • Unlike Glean's solution, Stacklok's gateway does not perform task-based semantic model routing, preferring that to happen in context-rich harnesses.

The enterprise spine

Stacklok's business model is built around its open-source tools, ToolHive and Mecatl, which serve as an MCP platform and a test harness respectively. While both open-source components are designed to be useful independently for small teams, Stacklok commercializes an enterprise control plane that ties them together. This commercial product provides cross-cutting identity, authorization, policy, and auditing capabilities for organizations scaling across multiple clusters and clouds.

  • ToolHive is an open-source MCP platform, and Mecatl is an open-source harness.
  • Both ToolHive and Mecatl are designed to function independently for smaller teams.
  • Stacklok's commercial product functions as an 'enterprise spine' or control plane that unifies its open-source tools.
  • The commercial offering provides enterprise-grade identity, authorization, policy, and auditing.
  • Stacklok specifically targets operational and scaling challenges that emerge across multi-cluster and multi-cloud deployments.

The cloud native era for AI?

The evolution of agentic technology is mirroring the early days of cloud computing, moving from early individual adoption to enterprise-grade cloud infrastructure. While tools like Amazon S3, EC2, Windows Azure, and Kubernetes gradually unlocked scalable enterprise adoption in the cloud era, organizations today face similar security and control challenges with local and open-source AI agent harnesses. Stacklok aims to address this shift by transitioning AI agent harnesses entirely to the cloud.

  • Cloud computing began in 2006 with Amazon S3 and EC2, initially adopted mostly by individuals and startups before enterprise systems like Windows Azure and Kubernetes emerged.
  • Enterprises are hesitant to let employees run open-source or frontier lab agent harnesses locally on personal computers.
  • Agentic technology is currently following the historical trajectory of cloud computing from grassroots use to enterprise cloud infrastructure.
  • Stacklok is working to bring AI agent harnesses to the cloud to address enterprise security and operational concerns.