Article

Stop asking agents to work like humans

Green grass in the foreground
Green grass in the foreground

Background

To start, I want to go back to when we developers discovered ChatGPT, around the GPT-3.5 generation and the transition to GPT-4.

We began to realize that, in addition to writing code for us, which we copied and pasted from ChatGPT back then, it could also handle other documentation work we used to do: generating reports, making presentations, filling out documents for managers and other teams, and writing project documentation, technical documentation, and technical designs.

I remember several people on the team starting to write user stories and epics that might originally have been vaguely defined. Many people wanted highly specified user stories. Although the original authors of these Agile techniques might consider that bad practice, development teams were asking for very extensive definitions within user stories.

And that's where one of the great abilities of LLMs comes in: writing a lot, right? To this day, that's also one of the biggest points of controversy. You ask one thing, and it ends up giving you a mini-article for every answer.

The next natural step was to start bringing agents into the workflow. Many applications began integrating their own chatbots. You'd open the chatbot and suddenly have something very similar to ChatGPT inside a company's website.

The supposed advantage of these agents inside those applications was that they were connected to the company's information. They could solve problems or perform tasks for you related to that context.

Context is basically always king when we talk about agents. Anything that helps give an agent the most appropriate context will help it do its best work.

When the agent imitates our work

That's where we began delegating work to agents that imitated other humans. We had little agents that acted as our project managers, product managers, technical writers, and so on. All the work the human didn't want to do writing extensive documentation ended up being done by the agent.

And we've reached the point where today we even refuse to read agent-generated text. Writing remains one of the ways we communicate with other humans. So when someone sees that another person is offering them AI-written content, they may reject it. We don't all react the same way, but for some people, reading the first few sentences of an article written 100% by AI is enough to trigger immediate rejection.

Documentation as part of the workflow

Two agents exchange work through people and a stack of documents.

This is where a turning point appears in how we write code or work with agents. We start to reconsider what the agent should be doing for us if, in the end, we're using its output as a crutch to make it behave like a human.

Let me explain. To carry out a programming task, for example, your organization probably uses the agent to define user stories, epics, or whatever framework you use to work. You have it write technical designs to present to a manager, seek approval, share with the team, and begin implementation, which the agent will once again be doing.

All that intermediate documentation was created as a crutch to introduce the agent into your workflow. Some people use it as an excuse to call it human in the loop.

My argument, or my thesis, is that it's wrong to put the agent to work as a crutch for doing what humans are doing. What we should actually be doing is eliminating processes that no longer need a human in the middle, or stop forcing ourselves to interfere in the agent's work.

Agent work has changed dramatically since the beginning of 2026. Reading the last article I wrote about how I work with agents, I can see that it became completely outdated in less than a year. And that was the second time I'd written that article.

This time, then, I want to rethink what we ask the agent to do in imitation of humans, as a crutch for things we still don't know how to remove from our process. This is one of the most significant changes we'll soon be seeing. When I read this article again in about six months, I'll probably realize these practices have also become outdated.

Comments and explanations that repeat the code

Among these practices, we can also talk about how we used to write code. I remember asking an agent to take a class and fill it with lots of documentation, JSDoc comments or XMLDocs in the case of .NET, simply because I liked how it looked and found that kind of code more readable, not because I was actually reading those comments. Comments that quickly become outdated when they merely imitate or describe what the code does.

Here's a very important point. When we ask an agent to explain a class or a program, it usually does so in a very tautological way. It's basically what's written in the code, but in whatever language you speak, English or Spanish. If the code changes, the narrative changes. If you ask the agent to explain code, it won't give you a great explanation. It will just repeat what's written in the code. You need to find techniques that get the agent to give you an explanation with real value.

A great explanation doesn't imitate what the code does. I might as well read the code directly. The same is true of good tests: they don't need to imitate the implementation.

That's where good test design also comes in, because if the code changes through a refactor, the tests shouldn't change, just as the explanation shouldn't change.

So everything we wrote in agent-generated XML documents was also just tokens burned during development. Let's rethink our programming practices, because it starts to make less sense for the code itself to include those XML comments, documentation headers, and so on, when you can simply ask the agent directly.

I was really excited about a project called OpenWiki, which you could give a codebase and it would generate documentation for it. But now that I think about it, even those projects lose their purpose. After all, who's going to read that documentation? Absolutely nobody. It's even better for the agent to read the code directly.

If you want to ask the agent to implement a library, give it the repository.

Documentation that provides context

One explanation repeats the code; another connects it to business rules.

That doesn't mean we should eliminate all documentation, comments, and other artifacts around the code, such as technical designs. Again, it's about rethinking them.

Something that is well justified, as in the example above: if the code changes and the explanation doesn't, then the explanation makes sense. Often, the explanation needs to accompany the code to make sense of how different components can fit together.

This might be domain or business context: things the agent can't simply look up and see because they live in the minds of stakeholders and business owners. So you give the agent that additional context so it understands the purpose of its work.

Planning and artifacts for agents

Among other practices, Matt Pocock has a pack of skills. It includes a process for generating specifications, tickets, and other artifacts for an agent to work from.

As I said, that doesn't mean we eliminate all the Jira tickets we had on our board. But today, planning and refinement practices may lose their purpose, because you can give the agent extremely complex work, refine it using modern agentic development practices like those in pstack by poteto or those by Matt Pocock, clarify the agent's assumptions, and finally let it execute.

Even the artifacts generated by these skills aren't necessarily meant for humans to read. They're made to give the agent context for its execution and ultimately end up being disposable. In some cases, again, there is context and documentation that will accompany the code long term, but not necessarily all these explanations.

So having the agent act like a person, creating tickets, documentation, and technical designs, loses its purpose and just burns money. It still makes sense to write human things for other humans.

Verification and reusable tools

Three agents use a shared tool to verify an application.

But keeping ourselves from interfering in agents' work also means giving them what they need to work. As Lauren explains with pstack, if the agent has no way to verify what it did, the human ends up becoming the verification mechanism for every change.

That's where we can start thinking about reusable tools and knowledge: something we build once and the agent can then reuse to understand the project, run the application, and check its work.

And I think that's the point. We don't need to keep every step in our process just because that's how we worked before. We need to understand what problem it solved and find a way to solve it now that we're also working with agents.


Cover: Frutiger Aero Archive.

Illustrations generated with artificial intelligence using shapeup-illustrations, with visual references from Shape Up by Ryan Singer and Basecamp.