Skip to main content
Latent Space

The Age of Async Agents — Cognition's Walden Yan & OpenInspect's Cole Murray

68 min episode · 3 min read
·
Walden Yan,Cole Murray

Episode

68 min

Read time

3 min

Topics

Remote Work, Artificial Intelligence, Software Development

AI-Generated Summary

Key Takeaways

  • Agent Architecture — Out-of-Box vs In-Box: Running the agent harness outside the sandbox is more complex but architecturally superior for security. When the agent runs inside the sandbox, secrets must live there too, creating exfiltration risk. The out-of-box approach separates the "brain" in a control plane from the "hands" in the sandbox, allowing scoped credentials per machine and cleaner permission boundaries across multi-user environments.
  • VM Infrastructure Over Docker: Full virtual machines outperform Docker containers for coding agents for two reasons: Docker is not a true security boundary, and real applications often use Docker internally, creating nested Docker-in-Docker conflicts. Cognition built a custom block-diff file storage format so VMs only write changes proportional to the file system diff, dramatically reducing boot and restore times for agent sessions.
  • Repo Setup as the Persistent Bottleneck: Getting agents to run, test, and interact with a codebase autonomously requires a working local developer environment — including Docker Compose, local databases, and scoped credentials. Most companies lack this infrastructure, especially older ones built before containerization. Teams should prioritize local dev environment setup before deploying background agents, as agents cannot ask "Bob" for secrets.
  • Memory Generation and Retrieval Remain Unsolved: Cognition's production memory system auto-generates memories when users correct Devin, with ~95% of stored memories created automatically rather than manually written. The core challenge is dual: generation must avoid over-generalizing one-off preferences into permanent rules, and retrieval must surface relevant memories without flooding context. Agents editing memory files directly, treating memory like a navigable file system, is an emerging alternative approach.
  • AI Code Slop Patterns Require Lint Guards: Specific anti-patterns emerge consistently from AI-generated code: `getattr` used defensively even when attributes are known, untyped `dict[str, Any]` returns, backwards-compatibility shims that add unnecessary import-export layers, and excessive inline documentation. Teams should encode these as Semgrep or lint rules that fail pull requests automatically, preventing AI patterns from cementing into the codebase as reference examples for future generations.

What It Covers

Walden Yan from Cognition and Cole Murray from OpenInspect examine the architecture of background coding agents, covering the technical decisions behind building cloud-based development systems. Cognition's internal data shows Devin-authored commits grew from 16% to 80% of all commits between January and March 2025, while engineering headcount grew only 10%.

Key Questions Answered

  • Agent Architecture — Out-of-Box vs In-Box: Running the agent harness outside the sandbox is more complex but architecturally superior for security. When the agent runs inside the sandbox, secrets must live there too, creating exfiltration risk. The out-of-box approach separates the "brain" in a control plane from the "hands" in the sandbox, allowing scoped credentials per machine and cleaner permission boundaries across multi-user environments.
  • VM Infrastructure Over Docker: Full virtual machines outperform Docker containers for coding agents for two reasons: Docker is not a true security boundary, and real applications often use Docker internally, creating nested Docker-in-Docker conflicts. Cognition built a custom block-diff file storage format so VMs only write changes proportional to the file system diff, dramatically reducing boot and restore times for agent sessions.
  • Repo Setup as the Persistent Bottleneck: Getting agents to run, test, and interact with a codebase autonomously requires a working local developer environment — including Docker Compose, local databases, and scoped credentials. Most companies lack this infrastructure, especially older ones built before containerization. Teams should prioritize local dev environment setup before deploying background agents, as agents cannot ask "Bob" for secrets.
  • Memory Generation and Retrieval Remain Unsolved: Cognition's production memory system auto-generates memories when users correct Devin, with ~95% of stored memories created automatically rather than manually written. The core challenge is dual: generation must avoid over-generalizing one-off preferences into permanent rules, and retrieval must surface relevant memories without flooding context. Agents editing memory files directly, treating memory like a navigable file system, is an emerging alternative approach.
  • AI Code Slop Patterns Require Lint Guards: Specific anti-patterns emerge consistently from AI-generated code: `getattr` used defensively even when attributes are known, untyped `dict[str, Any]` returns, backwards-compatibility shims that add unnecessary import-export layers, and excessive inline documentation. Teams should encode these as Semgrep or lint rules that fail pull requests automatically, preventing AI patterns from cementing into the codebase as reference examples for future generations.
  • SRE Auto-Triage as the Highest-ROI Entry Point: The most common and immediately valuable background agent use case is first-responder triage on alerts from Datadog, Sentry, or Slack. The agent does not need to resolve incidents — collecting full context, referencing playbooks, and drafting a pull request before a human reviews delivers compressive value. OpenInspect supports generic webhooks for this trigger; teams report spending between $1,000 and $5,000 per engineer monthly on agent compute for this workflow.

Notable Moment

Cognition ran an internal experiment building a full product using autonomous agents with auto-merge and zero code review. By the two-week mark, changing a single button color required touching ten different implementations. The conclusion: scheduled human-led or agent-led cleanup of duplication is necessary, or codebases regress toward their worst contributor's patterns.

Know someone who'd find this useful?

Episode Transcript

Alright. We're in the studio with Walden Yen, cofounder of Cognition, CPO. Yeah. How are you? Cool title. Yes. And one coiner of context engineering? Yes. Yes. Although, I I I think there are many people who use the terms in various ways beforehand, but, I I I did find that people, both internally and externally, enjoyed the upgrade from front engineering or Yeah. You know, model wrapping into maybe a more thoughtful way to build agents. Yeah. For, for those who haven't caught up on that, I have on screen the don't build multi agents post, which you should read read on and we might refer to. And Cole Murray, who created Open Inspect. A great to be here. Okay. So let's talk about it. Everyone is building their own dev ins. What's going on? Yeah. So I think the engineering world is kind of waking up to this idea of background agents, cloud agents, whatever you'd like to call it. And I think we saw a shift around the December time frame of 2025, where the models Opus 4.5 and GPT 5.2, they reached a capability where we moved away from kind of hand holding the model and being able to actually more or less autonomously drive the model. And what I mean by that is that we could pretty much go from a specification to a completed pull request, assuming the spec was good enough, with very little friction. And that paradigm alone, I think, changed a lot of how we interact with agents, and kind of opened this world where background agents became more practical. I think for for Karl, everyone experienced this in December, but I feel like there was just this increasing ramp. Right? Like, there was this the moment which was, I think, Sonnet three seven, where, like, you guys rewrote Devin in one night or something. Yeah. Yeah. So describe 2025 or, you know, how how it felt from your side. In retrospect, you know, we always thought it was ramping up, but then even now over the last three, four months from today, we this has been ramping up even faster. So it's it's almost funny to be talking about how, like, big of a leap Sonnet 3.7 was, and we honestly, a lot of it was stripping out parts of Devon that were no longer needed with that jumping of intelligence. But I also just think that a lot of the recent leaps, especially, you know, you look at, like, models like Opus and latest GBT models, they are reaching levels of autonomy where people are actually fighting that they actually can't just be hands off. And people who were once debating, oh, you know, do I need to be in the weeds of my model in the IDE? Can I just completely move it off into the cloud? That's a that's a more serious conversation, and we've seen that in in all of our growth charts. Internally, there's this …

Get the full transcript (13,528 words) + summary by email — free

One-time email with the complete transcript and AI summary of this episode. No account needed.

One email, no spam. We’ll also show you what SignalCast does.

Browse all Latent Space transcripts →

You just read a 3-minute summary of a 65-minute episode.

Get Latent Space summarized like this every Monday — plus up to 2 more podcasts, free.

Pick Your Podcasts — Free

Keep Reading

Books, tools, and gear mentioned in this episode

SignalCast may earn commission on purchases via these links. As an Amazon Associate, SignalCast earns from qualifying purchases.

Tools

  • Getting agents to run, test, and interact with a codebase autonomously requires a working local developer environment — including Docker Compose, local databases, and scoped credentials.
  • The most common and immediately valuable background agent use case is first-responder triage on alerts from Datadog, Sentry, or Slack.
  • The most common and immediately valuable background agent use case is first-responder triage on alerts from Datadog, Sentry, or Slack.
  • Teams should encode these as Semgrep or lint rules that fail pull requests automatically, preventing AI patterns from cementing into the codebase

Products

  • DevinBy guest

    by Cognition

    Cognition's internal data shows Devin-authored commits grew from 16% to 80% of all commits between January and March 2025

More from Latent Space

We summarize every new episode. Want them in your inbox?

Similar Episodes

Related episodes from other podcasts

Explore Related Topics

This podcast is featured in Best AI Podcasts (2026) — ranked and reviewed with AI summaries.

Read this week's AI & Machine Learning Podcast Insights — cross-podcast analysis updated weekly.

You're clearly into Latent Space.

Every Monday, we deliver AI summaries of the latest episodes from Latent Space and 192+ other podcasts. Free for one show.

Start My Monday Digest

No credit card · Unsubscribe anytime