最新资讯
dev.to 如何在专用 GPU 服务器上用 OpenAI 兼容 API 部署 LLM dev.to 审计 153 份 Claude Code 与 Codex 会话记录:User-Agent 与 URL 中的邮箱泄露 dev.to 你的 Agent Harness 应具备的 17 项能力 dev.to 离线 AI 记忆中 0.8 余弦阈值为何失效 dev.to Kimi K3.1 Pro 开放权重:自托管 2.8T 模型前的开发者清单 dev.to 如何通过工具调用引导模型以提升 Harness 质量 dev.to AI Agent 审计轨迹不等于对话记录 dev.to 精简 MCP server 工具数量:更少工具、更小影响面,双重收益 dev.to 为什么 git checkout 无法撤销 AI 编码 agent 的改动? wechat AI短剧门槛降降降!实测即梦短剧工作室:剧本分镜预演一条龙,伙伴计划长期护航 dev.to 让模型改写文档前,先量化事实保真度 dev.to 回放 153 个 Claude Code 与 Codex 会话,审计 Agent 的生产影响范围
多元动态
登录 注册
智能体 www.latent.space · @Richard MacManus

云原生 harness 能否让 Agent 走出桌面?

原文 我的收藏

Latent Space 报道 Kubernetes 联合创始人 Craig McLuckie 和 Joe Beda 创办的 Stacklok,该公司 2023 年获 Accel、Madrona、Bain Capital 1750 万美元 A 轮融资,最初做软件供应链安全,近期转向基于 Kubernetes 的 agentic 方案。其核心产品 Mecatl 是 2025 年 6 月在 GitHub 开源的“云原生 harness”,主张把 agent 的价值重心从桌面移到云端,以便管理代码与上下文等企业 IP,并质疑 agent loop 与工具调用子系统过度耦合、agent 身份沿用人类身份体系等问题。文章将其与容器编排早期类比,但未展开与 Pi 等既有开源 harness 的具体差异。

AI推荐理由 Latent Space 对 Stacklok 的深度报道,含 Kubernetes 联合创始人 Craig McLuckie 与 Joe Beda 的访谈,具体介绍了其开源云原生 agent harness 项目 Mecatl(2025 年 6 月启动)及 2023 年 1750 万美元 A 轮融资、从软件供应链安全转向 Kubernetes agentic 方案的背景。信息密度高,涉及 agent 会话可靠性、工具执行隔离、上下文保持等工程问题,对 Agent 基础设施方向有实际参考价值;但正文为节选,Mecatl 与 Pi 等既有 harness 的差异未展开,实际效果尚无验证。

78

正文

At a high level, coding agents have a basic architecture: an LLM calls tools in a loop, while carrying forward the required context. Since that’s easiest to implement locally, many coding agents started out as terminal tools and then desktop apps (Claude Code famously began as a CLI tool). But as the open laptop meme illustrates, modern agent harnesses have frustrating limitations if they’re not able to be managed in the cloud. Since 2025, both OpenAI and Anthropic have been trying to shift their harnesses more into the cloud — but with varying levels of success. The challenges include keeping sessions reliable, isolating tool execution and preserving context. This sounds a lot like container orchestration in the early 2010s, from which emerged the open source Kubernetes in 2014. Kubernetes, developed by Google, became the dominant open source system for deploying and managing cloud applications at scale — it kickstarted the “cloud native” era of computing. Kubernetes uses control loops to keep applications running, recover from failures, and scale when needed. What if coding agents could be managed in the same way? That’s the bet that two Kubernetes creators, Craig McLuckie and Joe Beda, are making with Stacklok. Stacklok architecture; diagram via Stacklok Stacklok raised a $17.5 million Series A back in 2023 from Accel, Madrona and Bain Capital. Initially focused on software supply chain security, the company recently pivoted to Kubernetes-based agentic solutions. Mecatl: a harness built for the cloud The most interesting product of Stacklok is Mecatl, a “cloud-native harness” begun in June as an open source project on GitHub. At first, I thought the name was pronounced “me-cattle” — a play-on-words referencing the ‘cattle vs. pets’ concept of Kubernetes, where you treat your servers, pods and clusters like cattle rather than pets. But no, the name is actually pronounced “MEH-kah-tl” and is an Aztec word meaning a cord or rope! In any case, what does cloud-native mean in the context of a harness? It’s primarily about “moving the locus of value from the desktop to the cloud,” said McLuckie. He’s talking about “value” from an enterprise perspective — that the code and context are often derived from local environments. “That’s where the IP sits,” Beda chimed in. “And if you want to be able to actually bring that under management, it’s that much more difficult when it’s sitting on a desktop.” McLuckie added that a cloud native approach also allows Stacklok to ask some deeper questions about agentic coding. “Why is the agent loop so intricately coupled to the tool calling subsystems? Why is agent identity being reasoned about through the lens of human identity systems?” Diagram via Mecatl GitHub When it comes to open source agent harnesses, there are already well-regarded solutions — such as Pi, a “minimal agent harness” that projects like Flue have built on top of. We asked the Stacklok pair what makes their harness different? Beda didn’t mention Pi specifically, but he did say that in desktop-first harnesses, the loop, local execution and session state often begin inside the same process. “There are a ton of solutions in this space, but they’re all focused to essentially run on the desktop,” he said. “So even if they have pluggability, the architecture is still one process, or one set of tightly coupled processes, that are built to run on the desktop.” A Kubernetes deployment of Mecatl; via GitHub But can’t enterprises use VMs, containers, or one of many different sandbox products to move their harness to the cloud? Beda says this “lift and shift” approach tends to create issues around the lifecycle of an agent or being able to quiesce it (safely pause it while it waits for human input). “Our thinking is, well, what if we rethought the harness from the ground up to actually run in the cloud?” Separating the agent loop from execution One of the intriguing approaches of Mecatl is that it keeps the agent loop independent of the client, model provider, state store and execution environment. “This is an application that we know how to run in the cloud well,” said Beda, regarding the loop application. “What if we take that and we separate that out from the more sensitive operations, like tool calling and bash, and then also separate out things like session management and memory, so that these things are no longer stored as JSONL files sitting on disk, but can natively be put into manageable systems” Mecatl architecture; diagram via the project GitHub A lot of you reading this will probably have very opinionated harnesses, customized for your own requirements. But Mecatl is designed to extend beyond a single-user, local harness into infrastructure that enterprises can operate centrally. Beda likened this to how enterprises manage email. “We think, in the future, interactions that you have with an agent while you’re working for an enterprise belong to that enterprise; and they’re going to want to manage that and govern that like they do email.” Decoupling AI agents from frontier labs One of the main motivations of Stacklok is to help large enterprises lessen their dependency on frontier labs and hyperscalers, such as Codex, Claude Code and GitHub Copilot. This, suggested McLuckie, is similar to how Kubernetes helps companies reduce dependency on the big cloud providers. For McLuckie, the term “cloud native” came to represent a way to “run in a cloud that is decoupled from the specifics of the cloud provider. So a lot of what we’re trying to do [at Stacklok] is more or less what we did in the Kubernetes time.” After its pivot into agent infrastructure, Stacklok built ToolHive — an open-source platform for running and governing MCP servers. It initially began as a way to manage MCP servers running in Docker containers on the desktop. Then, said Beda, they expanded it into a “Kubernetes-based gateway and other associated services — a registry and an operator helper for running and managing MCP servers and getting some of the input-output auth stuff right with those things.” Diagram via project GitHub The idea, as McLuckie put it, was to enable enterprises that already ran on Kubernetes to “start to bring agentic workloads into those environments.” Beda claims that many other agent tools were designed for individuals or small startup teams, which doesn’t fly for enterprise-scale companies. “We talk to larger organizations and they’re struggling with like, how do I take this thing that was built for a team of six people and deploy it for an engineering task force in the thousands or tens of thousands.” Stacklok’s LLM gateway MCP was the first step. Next was building an LLM gateway, or “AI Gateway” as it’s called on the Stacklok’s website, to help companies control access and costs. “Most of our customers are banks, semiconductor companies, telcos…you know, people operating in relatively regulated industries,” McLuckie said. Stacklok’s “AI Gateway” a.k.a. LLM gateway The AI Gateway is the one main product Stacklok hasn’t open sourced yet, but Beda says it’s “on our roadmap and we’re going to get there soon.” Unlike Glean’s solution, Stacklok’s AI Gateway does not currently choose a model based on the task. Instead, it focuses on access control, budgets, reporting and provider routing. “We prefer to see the semantic-routing model choice happening in an intelligent system that’s honed in the harness, because there’s just more context there,” McLuckie explained. The enterprise spine Since both ToolHive (MCP platform) and Mecatl (the harness) are open source, what’s the business model for Stacklok? McLuckie replied that ToolHive and Mecatl are both intended to be independently useful, but that the company offers things like consistent identity, authorization, policy and auditing across the open source parts. “Our commercial product is the enterprise spine, the control plane that ties them all together,” he said. From a Stacklok survey of “520 leaders who are responsible for their organization’s use of large language models and/or AI agents.” “The open source projects are relatively easy to get up and running for a small team,” Beda added. “But once you start scaling these things out to multiple clusters, multiple clouds, [...] all sorts of new problems crop up there. And that’s what we’re focused on solving.” The cloud native era for AI? Amazon introduced S3 and EC2 — the beginnings of the cloud era — in 2006, but at first these products were mainly used by startups and individuals. It took several years for enterprise solutions like Windows Azure to emerge, and then in 2014 Kubernetes arrived to manage containerized applications at scale. We’re starting to see that same pattern play out with agentic technology. Enterprises don’t necessarily want to allow their employees to customize an open source harness, or even use frontier lab harnesses that run on their personal computers. Stacklok — built by two kings of cloud native — aims to solve those problems by bringing agent harnesses fully to the cloud.

来源报道 · 2 篇 · 以下链接均前往原始媒体

Richard MacManus 云原生 harness 能否让 Agent 走出桌面? 10-07 · 原文发布
Richard MacManus 云原生 harness 能否让 Agent 走出桌面? 10-07 · 原文发布
← 返回精选动态 原文

更多内容