WhoBuilt

Agent Frameworks Considered Harmful

Aug 22, 2026· 20 min· 21K views·Watch on YouTube

Speaker

Rémi Louf, CEO of .txt, shares lessons from building background agents for his company during a two-week experiment, in an AI Engineer leadership-track talk.

From phone-controlled agents to background work

Louf wanted an automated morning brief covering market news, Linear, PTROS, and his CRM, along with voice notes recorded on his walks. Coding tools and phone apps still required him to steer agents, so he built a system that could run in the background.

Use files and events to define agents

Louf found it easier to define agents in Markdown files than to keep editing prompts inside framework code; files could be versioned, reviewed, and dropped into a folder. Cron schedules handled recurring work, while events triggered agents when something happened, such as a new voice note, email, CRM entry, or pull request. Agents declared the events they accepted and returned, letting the workflow emerge from subscriptions without maintaining a graph.

Failures led to a runtime with logs and replay

The first version posted duplicate briefs, lost a voice note, and produced poor market summaries after prompt changes Louf had not tracked. He added an append-only event log with causal links, a queue that tracks attempts, and content-addressed prompt components so runs could be inspected, compared, and replayed with another model.

Typed boundaries and deployment lessons

Louf says the system should make bad actions impossible through typed tool calls at the boundary with the external world and typed events between agents. After a month, 20 agents were deployed at .txt, with contributions from people outside the technical team. He says open-source models were good enough for these tasks, advises companies to build before buying, and urges framework builders to use their own tools.

Takeaways

  • Define agents in versioned files so teams can review changes and contribute without editing framework code.
  • Use scheduled jobs for recurring work and events for work triggered by new information.
  • Log every event and track attempts to diagnose missing work and duplicate outputs.
  • Store prompt components in a reproducible form so you can inspect, compare, and replay model requests.
  • Use typed tool calls and typed events to catch invalid actions at system boundaries.

Mentioned in this talk

Search inside this talk

What was claimed 8

  • metric
    .txt: 15-person company
    “I'm the CEO of .txt, a 15-person company.”
    YouTube
    Unverified1 source· Talk
  • ceo of
    CEO
    “I'm the CEO of .txt, a 15-person company.”
    YouTube
    Unverified1 source· Talk
  • uses
    .txt uses Slack
    “my daily brief agent ... is posted as a Slack message.”
    YouTube
    Unverified1 source· Talk
  • uses
    .txt uses Codex
    “I cheated and used Codex.”
    YouTube
    Unverified1 source· Talk
  • feature
    content-addressed system: Stores prompt components and model answers by hash for tracing, diffs, and replay
    “Each one is stored and addressed by an identifier, which is a hash.”
    YouTube
    Unverified1 source· Talk
  • feature
    content-addressed system: Supports replaying requests with the same or a different model
    “you can just replay it exactly the same. You can resend it, use a different model”
    YouTube
    Unverified1 source· Talk
  • metric
    Anthropic: About 20% of events were wrong and rejected by the system
    “about 20% of my events were wrong and rejected by the system.”
    YouTube
    Unverified1 source· Talk
  • feature
    .txt: Deployed 20 agents contributed by non-technical people
    “After a month of deployment, we have 20 agents on the left, contributed by people who aren't just technical.”
    YouTube
    Unverified1 source· Talk

Related talks