Skip to content
All Stories
2026-11-30•7 min read

Agents · Production AI · Multimodal AI backend · Agent State · Pixeltable

Agents work where the world already has git

Martin Casado says production agents still fail on state, memory, and verification once they leave code. I agree. There is no source of truth to hand them, so own the evidence and check it in plain code.

Pierre Brunelle

Pierre Brunelle

Pixeltable Team

View as Markdown

I agree with Martin Casado. General, long-running agents still fail once they leave environments like git. The gap is not a missing prompt file. Most of the world has no source of truth, no rollback, and no reliable way to check that an action actually happened.

Casado builds and uses agent harnesses, including on a house full of devices. On Saturday, November 28, 2026, he wrote that it is hard to overstate how unready these systems are "for generalized, long running tasks": context rot, forgotten instructions, dropped scheduled jobs, flaky third-party integrations, agents that say they finished when they have not, and upgrades that still need a VNC session. On Sunday, November 29, 2026, he quoted himself and answered the replies that this was a skill issue, or just the harness. Coding, he said, "does feel largely solved," because you have structured communication, visible state, and tools like GitHub for coordination and rollback. The work he means is agents doing tasks a person would do "across a lot of third party system of which it has no control."

Coding has git. Most tasks don't.#

In a repo, an agent can diff, test, and revert. dale put it cleanly: coding "just had an unfair infrastructure advantage: Git already solved state consistency, multi-agent coordination, and rollback before LLMs existed." Omry Hazak made the same point, and Casado agreed. Autonomy needs an environment designed for it. A better model does not invent that environment.

Shannon Sands added a training angle Casado liked. Models got good at code because the work is verifiable. Most other tasks are not, unless a person has already labeled what "done" means.

A few people pushed on the "coding is solved" line. Ben Mathes noted that a new product with real users immediately adds an out-of-band system: the user's needs. He was saying code is where the environment already looks like a system.

The house is a better test than the repo#

His own project makes the gap concrete. He is running Grok bot on a Mac mini, with Home Assistant talking to a few dozen devices, iPads around the house, and a talking avatar. In one reply he said the bot had been up for three weeks since he last had to dislodge it. He also described wedged states, reward hacking, no picture of which lights should be on, and APIs that are not idempotent.

He wrote that the agents cannot manage "a representation of canonical state (eg which lights are supposed to be on)" or provide guarantees on updates. Later he added a camera so the agent could see whether a light actually turned on. "So janky," he said. It is also the honest design. If the device cannot be trusted to report state, you need evidence from the world.

That is why a checklist in a markdown file does not close the loop. The Sunday post is blunt: "you're trying to reduce human / organizational needs to a markdown file, which aint happening." CLI tools and MCP do not fix it either. "No, cli and MCP don't express enough for distributed transactional consistency. Especially with no canonical state at the agent and non idempotent end points." If one light fails in an "all on" request, there is no transaction to roll back. You can build a control plane that owns those devices. As he put it, that "makes using an agent sorta pointless."

The useful replies move state out of the model#

A lot of the thread was people selling a fix. Casado noticed. I would keep the replies that take state away from the model. Steffen Hoellinger argued that state consistency is a data problem and has to be solved outside the agent. Casado called that "very much the right direction," with the caveat that agents still lack an obvious canonical state to check against. Hammad Tariq suggested an explicit state machine where the model only picks transitions. That does not fix a third-party system that drifts, but at least you know what state you think you are in. Nasser Ghanemzadeh had the line I would print: "stop asking the agent whether it finished. Check the result where it should have landed, in the CRM or the ledger, with plain code."

Omar Khattab described a different failure that still fits: current agents "can't own a new/messy problem, conditioned on a long history of specific tastes & constraints." Casado called the context problem fundamental: not a size issue, but prioritization, which depends on human and business need.

Snehal Antani, a former enterprise CIO, argued that many enterprise workflows are deterministic on purpose, and that agents are a poor fit there. Narrow jobs are already worth shipping. The general, long-running agent Casado is talking about is a different product.

Own the evidence, not the third-party system#

Pixeltable is a multimodal AI backend for apps and agents. Images, video, audio, and documents live in tables. A transform can be a computed column. You can declare indexes and HTTP routes, and an agent can call a query as a tool. That replaces the usual glue stack of an object store, an orchestrator, a vector database, and hand-written FastAPI. It does not give you distributed transactions over Home Assistant or any other system with a flaky, non-idempotent endpoint. If you need that, you still have to build a control plane, or use a system that already has one.

Where we do belong is the part Casado had to invent with a camera. If the evidence that a step finished is a frame, a transcript, a document, or a log row, that evidence can live in a table you own. The agent can query it. You can version it, and you can write the check in ordinary code so the model is not the source of truth. The agent state machine post shows that pattern as a table and a check function you can run. We have written about this as an agent data plane and as a session log you can query, and we shipped how-tos for giving an agent search tools over video, images, and PDFs and for building an MCP server over files you own. Those pages do not turn a third-party device into git. They give the agent a place to look that is not its own memory.

Casado ended the Sunday post still bullish, and unwilling to pretend we have arrived. I would rather have an agent that can check a camera frame, or a ledger row, than one that writes "done" into a markdown file and waits for you to notice.

Try it with: npx skills add pixeltable/pixeltable-skill, or pip install pixeltable and then pxt new for a free database. The backend for AI agents page is a starting point.

Frequently asked questions

Did Casado say coding agents are finished?

No. He said coding "does feel largely solved" compared with agents that act across third-party systems they do not control. Replies pointed out that new products with real users reintroduce the same mess. A repo still gives you diff, test, and rollback. A light switch often does not.

Is this just a better agent harness?

Casado's Sunday post says no, and a later reply explains why. A harness can retry, compact context, and schedule work. It cannot invent a canonical state for systems that do not have one, and it cannot offer transactional guarantees over non-idempotent APIs. Treat the harness as the loop. Put the evidence and the checks somewhere the model does not own.

Does Pixeltable fix consistency across third-party APIs?

No. We store and transform media and structured data you own, version it, and serve queries an agent can call as tools. We do not run a distributed transaction across Home Assistant, a CRM, or a booking provider. If those systems cannot be read back or rolled back, you still need a control plane, or you need to narrow the task until a check is possible.

What if I only need an agent to search files I already have?

That is a narrower job, and it is one we can help with. Start with How do I let an AI agent search my video library, images, and PDFs? or How do I build an MCP server over my documents and media? The tools should return titles, timestamps, or passage text, not the files themselves.

Declarative. Multimodal. Incremental.

One Python file for tables, indexes, and HTTP. Start locally, or sign up for Cloud.

Get started

Docs quickstart · 10-minute tutorial · GitHub · Discord