Stateless Workers, Stateful Work: Where Your AI Agent’s Progress Should Live

SF Scott Farrell • September 29, 2026 • scott@leverageai.com.au • LinkedIn

Your AI agent's chat history isn't memory. It's a liability you keep feeding.

The instinct with long-running AI agents is to keep one conversation alive and let it accumulate. Every decision, every result, every correction piles into the context, and the agent supposedly "learns" as it goes.

It doesn't. Ordinary inference doesn't update the model. It rereads whatever you've stuffed into the window, and as the debris grows, the signal gets harder to find. That's why so many sessions start sharp and end with the agent re-asking questions you already answered.

The better pattern flips the assumption. The worker should be stateless. The system around it should be stateful.

Each invocation starts fresh. It gets the current task plus the specific prior results it needs, pulled from somewhere outside the conversation. When it finishes a step, it writes a checkpoint: what's done, what was decided, what's next, how "finished" will be judged. Then its context ends.

A fresh worker is not an uninformed worker. It just isn't dragging the whole history behind it.

The real payoff isn't longer sessions. It's that progress stops depending on one conversation surviving. The worker crashes, the context resets, you swap the model next quarter, and the job keeps going, because the continuity never lived in the worker.

There's a simple test for any agent workflow you're paying for. Kill the current session. Could a brand-new worker read the saved state and tell you what's complete, what remains, and how completion gets checked?

If not, you don't have a long-running agent. You have a long conversation, and it's one crash away from starting over.

This doesn't solve everything. External state is only as good as the checkpoints you write and the retrieval you design, and rerunning a step won't guarantee identical output. But it moves the question to the right place: not "how much can the agent remember?" but "where does our progress actually live?"

So where does yours live?

Originally posted on LinkedIn


Discover more from Leverage AI for your business

Subscribe to get the latest posts sent to your email.

[rpnnrecommend total="5" thumbnails="false" class="recommendedlist" ]

Leave a Reply

Your email address will not be published. Required fields are marked *

© 2026 Leverage AI, Scott Farrell. All rights reserved. This content is made available on a limited, revocable, read-only basis only. No licence or right is granted to copy, reproduce, republish, scrape, store, adapt, summarise, index, embed, or use this content to create derivative works, work product, deliverables, methodologies, training materials, prompts, templates, software, services, research, or commercial outputs, whether by humans or machines, without prior written permission. This restriction includes internal business use, client work, consulting, advisory, implementation, and any use in or for artificial intelligence, machine learning, data extraction, retrieval, evaluation, fine-tuning, or knowledge-base construction.