WhoBuilt

Your agent architecture has a half-life of 6 months

Jul 21, 2026· 19 min· 6.2K views·Watch on YouTube

Speaker

Dan Farrelly, CTO and co-founder of Inngest, explains how to design agent systems for rapid change at an AI Engineer session.

Separate the architecture into layers

Farrelly divides an agent system into execution, context, and compute. Execution handles flow, state, durability, and retries; context includes models, prompts, tools, and memory; compute includes sandboxes, runtimes, and browsers. Context changes most often, while a well-designed execution layer can last for years.

Build a durable execution layer

Farrelly argues that execution should manage an agent’s lifecycle independently of its model, context, or sandbox. It should let work resume after failures, including a failed reflection step, without rerunning everything. Long-running work needs durable state outside the process, along with flexible triggers, scheduling, coordination, and full-session observability.

Keep sandboxes and orchestration distinct

Sandboxes are useful for code execution, browsing, and file work, but Farrelly describes them as ephemeral and stateless by design. Storing durable state or snapshots there creates problems when the sandbox disappears. In his model, execution supplies the sandbox with context and sequence, while managing durability separately.

Use execution for long-running agent loops

Farrelly points to background agents and scheduled loops as emerging patterns that run asynchronously, delegate work, and need human inspection. He sketches a system that checks service metrics every 30 minutes, starts a triage agent to investigate problems, then has a weekly reviewer assess the history and suggest improvements. Such workflows need observable execution across agents, tools, and processes.

Connect execution data to outcomes

Because user inputs, agent actions, and results pass through execution, Farrelly sees it as a useful place to observe and score agent behavior. Inngest provides durable steps, triggers, scheduling, agent coordination, and session traces, while allowing teams to choose their own models and compute. He suggests measuring outcomes such as whether triage led to a pull request or research produced a saved report.

Takeaways

  • Separate execution, context, and compute so changing a model or tool does not force a full rewrite.
  • Store long-running agent state durably outside ephemeral processes and sandboxes.
  • Make retries resume from completed work to avoid repeating calls, cost, and time.
  • Trace the full run, including triggers, tools, errors, and delegated agents.
  • Score agents against downstream outcomes, such as whether an investigation produced an action.

Mentioned in this talk

Search inside this talk

What was claimed 6

  • founded
    CTO and co-founder
    “I'm the CTO and co-founder at Inngest.”
    YouTube
    Verified4 sources· Talk, Web· archived
  • feature
    agentic execution layer: Manages agent lifecycle, including planning, model calls, code execution, sub-agent invocation, retries, and coordination
    “The execution layer manages the full life cycle: plan, call a model, run code, invoke a sub-agent, loop, retry, and coordinate.”
    YouTube
    Unverified1 source· Talk
  • feature
    agentic execution layer: Supports resuming work after failures without restarting from the beginning
    “Your execution layer must enable your system to pick up after failures without restarting from the beginning.”
    YouTube
    Unverified1 source· Talk
  • feature
    agentic execution layer: Provides observability across the full agent session
    “execution needs to provide observability across your entire session”
    YouTube
    Unverified1 source· Talk
  • feature
    Inngest: Provides durable steps, event triggers, scheduling, agent-to-agent coordination, and full session traces
    “You get durable steps, small primitives, event triggers, scheduling, agent-to-agent coordination, full session traces”
    YouTube
    Unverified1 source· Talk
  • feature
    Inngest: Durable execution for AI agents
    “This is what we built Inngest for: durable execution for AI agents.”
    YouTube
    Unverified1 source· Talk

Related talks