<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-case-for-a-cloud-native-agent-harness-qs1emmk9f" -->

---
title: The case for a cloud native agent harness | daily.dev
description: Stacklok makes the case for building coding-agent harnesses as distributed cloud-native applications rather than containerized desktop tools, introducing their...
canonical: https://daily.dev/posts/the-case-for-a-cloud-native-agent-harness-qs1emmk9f
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The case for a cloud native agent harness | daily.dev
og:description: Stacklok makes the case for building coding-agent harnesses as distributed cloud-native applications rather than containerized desktop tools, introducing their...
og:url: https://daily.dev/posts/the-case-for-a-cloud-native-agent-harness-qs1emmk9f
og:image: https://api.daily.dev/og/posts/qs1EmmK9f.png
og:image:alt: The case for a cloud native agent harness
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The case for a cloud native agent harness

**[CNCF](https://daily.dev/sources/cncf)** · 6 min read · 0 upvotes · 0 comments

## Summary

Stacklok makes the case for building coding-agent harnesses as distributed cloud-native applications rather than containerized desktop tools, introducing their open-source project Mecatl. The engine separates the agent loop from clients, execution environments, tool ecosystems, and supporting services, enabling durable sessions, governed tool access via a catalog instead of an unrestricted shell, and support for multiple simultaneous clients (TUI, API, SDK, Kubernetes deployment). Open design problems include identity/delegation chains via SPIFFE, moving tool I/O beyond routing through the model's context window, and context/prompt attestation for supply-chain-style provenance.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.cncf.io/blog/2026/09/28/the-case-for-a-cloud-native-agent-harness>

## Questions this post answers

### What is Mecatl and how does it differ from a typical AI coding agent harness like a terminal-based CLI tool?

Mecatl is an open-source cloud-native agent runtime from Stacklok that separates the agent loop (reasoning, tool dispatch, permissions, hooks, event emission) from clients, execution environments, tool catalogs, and supporting services. Unlike desktop harnesses where one process owns the UI, sandbox, credentials, and session database together, Mecatl's engine can be deployed on Kubernetes, run as a service, or run locally via its TUI (mecatui) while sessions persist independently of any single worker.

_Anyone standardizing how coding agents are deployed at scale can track architectural approaches like this on daily.dev._

### How does Mecatl keep an agent session alive if the worker process running it crashes or a Kubernetes pod is evicted?

Session state and event history are stored in durable storage under a single-writer coordination model, so when a worker dies a replacement process resumes from the last persisted turn boundary. This is turn-level durability, not full transactional durability: any in-flight operation or work after the last successful save can be lost, but a pod eviction no longer ends the conversation entirely.

_Teams weighing durability trade-offs for long-running agent workloads can follow developments like this on daily.dev._

### Why might routing every AI agent tool call through MCP and the model's context window be inefficient?

Routing every tool's input and output through the agent's context window is expensive and often unnecessary, for example a PDF decoder should be able to operate directly on a workspace filesystem without the model ever seeing the raw bytes. Stacklok is exploring scoped, short-lived, attenuable resource grants and direct tool-to-service data paths as an alternative to funneling all tool I/O through MCP and the context window.

_Developers designing efficient agent tool integrations can keep up with proposals like this on daily.dev._

## Similar posts on daily.dev

- [Making agents dull](https://daily.dev/posts/making-agents-dull-9nvnoekva) · InfoWorld · 0 upvotes · 0 comments
- [Kubernetes Was the Easy Part](https://daily.dev/posts/kubernetes-was-the-easy-part-kzq9zt3ac) · Cloud Native Now · 1 upvotes · 0 comments
- [Stop failing on the path to production: A better way for agentic platforms](https://daily.dev/posts/stop-failing-on-the-path-to-production-a-better-way-for-agentic-platforms-kyp7odl86) · Temporal · 0 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#kubernetes](https://daily.dev/tags/kubernetes), [#mcp](https://daily.dev/tags/mcp), [#cloud-native](https://daily.dev/tags/cloud-native)

[View this post on daily.dev](https://daily.dev/posts/the-case-for-a-cloud-native-agent-harness-qs1emmk9f)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The case for a cloud native agent harness","url":"https://daily.dev/posts/the-case-for-a-cloud-native-agent-harness-qs1emmk9f","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-case-for-a-cloud-native-agent-harness-qs1emmk9f"},"datePublished":"2026-09-28T11:00:50.911Z","dateModified":"2026-09-28T11:01:14.967Z","description":"Stacklok makes the case for building coding-agent harnesses as distributed cloud-native applications rather than containerized desktop tools, introducing their...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/35b12e12057dadbc7e4a5143d86a9bdd?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/35b12e12057dadbc7e4a5143d86a9bdd?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"CNCF","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"CNCF","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/55536a03390741eebd96d2f9b74d2d8d","url":"https://daily.dev/sources/cncf"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-case-for-a-cloud-native-agent-harness-qs1emmk9f","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,kubernetes,mcp,cloud-native","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"CNCF","item":"https://daily.dev/sources/cncf"},{"@type":"ListItem","position":3,"name":"The case for a cloud native agent harness"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/the-case-for-a-cloud-native-agent-harness-qs1emmk9f#faq","mainEntity":[{"@type":"Question","name":"What is Mecatl and how does it differ from a typical AI coding agent harness like a terminal-based CLI tool?","acceptedAnswer":{"@type":"Answer","text":"Mecatl is an open-source cloud-native agent runtime from Stacklok that separates the agent loop (reasoning, tool dispatch, permissions, hooks, event emission) from clients, execution environments, tool catalogs, and supporting services. Unlike desktop harnesses where one process owns the UI, sandbox, credentials, and session database together, Mecatl's engine can be deployed on Kubernetes, run as a service, or run locally via its TUI (mecatui) while sessions persist independently of any single worker. Anyone standardizing how coding agents are deployed at scale can track architectural approaches like this on daily.dev."}},{"@type":"Question","name":"How does Mecatl keep an agent session alive if the worker process running it crashes or a Kubernetes pod is evicted?","acceptedAnswer":{"@type":"Answer","text":"Session state and event history are stored in durable storage under a single-writer coordination model, so when a worker dies a replacement process resumes from the last persisted turn boundary. This is turn-level durability, not full transactional durability: any in-flight operation or work after the last successful save can be lost, but a pod eviction no longer ends the conversation entirely. Teams weighing durability trade-offs for long-running agent workloads can follow developments like this on daily.dev."}},{"@type":"Question","name":"Why might routing every AI agent tool call through MCP and the model's context window be inefficient?","acceptedAnswer":{"@type":"Answer","text":"Routing every tool's input and output through the agent's context window is expensive and often unnecessary, for example a PDF decoder should be able to operate directly on a workspace filesystem without the model ever seeing the raw bytes. Stacklok is exploring scoped, short-lived, attenuable resource grants and direct tool-to-service data paths as an alternative to funneling all tool I/O through MCP and the context window. Developers designing efficient agent tool integrations can keep up with proposals like this on daily.dev."}}]}
```

