<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/your-agent-architecture-has-a-half-life-your-execution-layer-shouldn-t--m39fnjees" -->

---
title: Your Agent Architecture Has a Half-Life. Your Execution...
description: Agent architecture decays at different rates depending on the layer: context (models, prompts, tools) changes every few weeks, compute (sandboxes, runtimes)...
canonical: https://daily.dev/posts/your-agent-architecture-has-a-half-life-your-execution-layer-shouldn-t--m39fnjees
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Your Agent Architecture Has a Half-Life. Your Execution Layer Shouldn't. | daily.dev
og:description: Agent architecture decays at different rates depending on the layer: context (models, prompts, tools) changes every few weeks, compute (sandboxes, runtimes)...
og:url: https://daily.dev/posts/your-agent-architecture-has-a-half-life-your-execution-layer-shouldn-t--m39fnjees
og:image: https://api.daily.dev/og/posts/M39fNjEEs.png
og:image:alt: Your Agent Architecture Has a Half-Life. Your Execution Layer Shouldn't.
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.

# Your Agent Architecture Has a Half-Life. Your Execution Layer Shouldn't.

**[Inngest Blog](https://daily.dev/sources/inngest)** · 14 min read · 0 upvotes · 0 comments

## Summary

Agent architecture decays at different rates depending on the layer: context (models, prompts, tools) changes every few weeks, compute (sandboxes, runtimes) shifts every few months, but execution (orchestration, state, durability, retries, coordination) should last years. Coupling these layers means volatile parts drag stable ones into constant rewrites. The argument is to decouple execution from context and compute so pattern swaps don't force full rebuilds, and to invest specifically in durable, resumable, observable execution using primitives like step.run, step.invoke, step.sendEvent, and step.waitForEvent. Inngest is presented as an execution-layer product implementing this model, with code examples covering resumable steps, sub-agent coordination, human-in-the-loop approval, and outcome-based scoring tied to real user behavior rather than model confidence.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/blog/your-agent-architecture-has-a-half-life>

## Questions this post answers

### What are the three architectural layers underneath an AI agent and how fast does each one change?

Execution, context, and compute form the three layers underneath an agent. Execution (flow, state, durability, retries, coordination) is the most stable, lasting years. Context (models, prompts, tools, RAG, memory) changes fastest, on the order of weeks. Compute (sandboxes, runtimes, browsers) is moderately volatile, changing over months as providers update features and pricing.

_Teams weighing which parts of an agent stack to harden first can track this framing on daily.dev._

### Why shouldn't I run my entire agent harness inside a sandbox like a Claude Code or OpenCode setup?

Running the harness inside a sandbox is an anti-pattern for production because sandboxes are stateless and ephemeral, with no real persistence, sequencing, recovery, or retries. It works for interactive CLI use where a human watches, but for autonomous background agents it makes the sandbox provider your accidental orchestration layer, so debugging a multi-hour run becomes nearly impossible once the sandbox is torn down.

_Anyone deciding how to structure autonomous agent execution can follow this reasoning on daily.dev._

### How can I make agent scoring reflect real user behavior instead of just model confidence?

Use step.waitForEvent to pause execution until a real user action occurs, such as saving, editing, or discarding the agent's output, then score against that behavior rather than sampling model outputs in isolation. An example implementation waits on a task/result.saved event with a timeout, then records a human_feedback score based on whether the user actually used the result.

_Developers building agent evaluation pipelines can dig into patterns like this on daily.dev._

## Similar posts on daily.dev

- [How to Build AI Agents That Don’t Start Over When They Fail](https://daily.dev/posts/how-to-build-ai-agents-that-don-t-start-over-when-they-fail-hdtnqpnlp) · System Design Newsletter · 3 upvotes · 1 comments
- [Long-running Agents](https://daily.dev/posts/long-running-agents-irtro0veg) · Addy Osmani · 78 upvotes · 3 comments
- [Agents don't fail at the starting line](https://daily.dev/posts/agents-don-t-fail-at-the-starting-line-recimt5nh) · Inngest Blog · 1 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#inngest](https://daily.dev/tags/inngest), [#observability](https://daily.dev/tags/observability)

[View this post on daily.dev](https://daily.dev/posts/your-agent-architecture-has-a-half-life-your-execution-layer-shouldn-t--m39fnjees)

```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":"Your Agent Architecture Has a Half-Life. Your Execution Layer Shouldn't.","url":"https://daily.dev/posts/your-agent-architecture-has-a-half-life-your-execution-layer-shouldn-t--m39fnjees","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/your-agent-architecture-has-a-half-life-your-execution-layer-shouldn-t--m39fnjees"},"datePublished":"2026-09-13T19:57:25.011Z","dateModified":"2026-10-15T02:22:43.141Z","description":"Agent architecture decays at different rates depending on the layer: context (models, prompts, tools) changes every few weeks, compute (sandboxes, runtimes)...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/775c3d368668df2b6cd524599de97c98?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/775c3d368668df2b6cd524599de97c98?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","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":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/your-agent-architecture-has-a-half-life-your-execution-layer-shouldn-t--m39fnjees","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,inngest,observability","timeRequired":"PT14M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"Your Agent Architecture Has a Half-Life. Your Execution Layer Shouldn't."}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/your-agent-architecture-has-a-half-life-your-execution-layer-shouldn-t--m39fnjees#faq","mainEntity":[{"@type":"Question","name":"What are the three architectural layers underneath an AI agent and how fast does each one change?","acceptedAnswer":{"@type":"Answer","text":"Execution, context, and compute form the three layers underneath an agent. Execution (flow, state, durability, retries, coordination) is the most stable, lasting years. Context (models, prompts, tools, RAG, memory) changes fastest, on the order of weeks. Compute (sandboxes, runtimes, browsers) is moderately volatile, changing over months as providers update features and pricing. Teams weighing which parts of an agent stack to harden first can track this framing on daily.dev."}},{"@type":"Question","name":"Why shouldn't I run my entire agent harness inside a sandbox like a Claude Code or OpenCode setup?","acceptedAnswer":{"@type":"Answer","text":"Running the harness inside a sandbox is an anti-pattern for production because sandboxes are stateless and ephemeral, with no real persistence, sequencing, recovery, or retries. It works for interactive CLI use where a human watches, but for autonomous background agents it makes the sandbox provider your accidental orchestration layer, so debugging a multi-hour run becomes nearly impossible once the sandbox is torn down. Anyone deciding how to structure autonomous agent execution can follow this reasoning on daily.dev."}},{"@type":"Question","name":"How can I make agent scoring reflect real user behavior instead of just model confidence?","acceptedAnswer":{"@type":"Answer","text":"Use step.waitForEvent to pause execution until a real user action occurs, such as saving, editing, or discarding the agent's output, then score against that behavior rather than sampling model outputs in isolation. An example implementation waits on a task/result.saved event with a timeout, then records a human_feedback score based on whether the user actually used the result. Developers building agent evaluation pipelines can dig into patterns like this on daily.dev."}}]}
```

