An essay on working with agents

Why I built Tacticyl

Agents can hold your whole codebase and still miss what's different about it. Tacticyl decides what they see.

GUESSESsign-in?database?DECIDEDAuth0PostgresSET UPbeta deployStripeVERIFIEDbeta

The first limitation everyone noticed in AI agents was memory, and it was thought that this was the limitation. Context windows were small, so the agent couldn't hold your codebase, your notes and your requirements all at once. That isn't the limitation anymore. An agent can now hold several novels' worth of context: effectively the whole codebase, every note, every document, every requirement.

And it is still going to be overfit to convention anywhere your project deviates from it.

LeagueSpring had a custom test runner. Its tests needed a real database, so the runner had to create one, load it with Flyway, run all of the tests, and tear it down. No amount of commentary in various files would get an agent to call it correctly, instead of running the tests the way most other apps do.

§1A record of the record

So I wrote more down. Not only did I end up with a huge number of markdown files and memories, I started to have markdown files describing how the memories should be recorded. You have the record. Then you have a record of the record. Then you have a record describing how to create records.

It became a snarled mess, because everything in it was so general. You can load all of these text rules into an agent, and it applies them all together, all at once, rather than in any way that's procedural or deterministic. The more you add, the more each one is just another voice in the room.

What the agent sees when it starts a taskFig. 1 · Interactive

Illustrative. The task is a schema change. Three facts matter: which test runner to use, what the database is, and that the worker reads the same table. Everything else is true, or was once, and competes for the same attention.

§2Yelling doesn't help

I think people struggle with this, because when it doesn't work they don't really know what to do. As I argued in The Riverboat and the Airliner, we model the agent as a person being careless. So we yell at it.

That doesn't work, because the model is fitting on the conversation. When you yell at it, it adopts the persona of a person who's been yelled at. It demonstrates less curiosity and more defensiveness, because that's how people handle that situation. It does reduce the yelling. It doesn't increase the quality.

§3Only what it needs

What lets this scale is making sure the agent has the information it needs, and only the information it needs: nothing that will pull at the weights and, for lack of a better word, confuse it.

The hardest cases aren't missing information. They're information that is true in one tense and false in another. Azure came up first in my project, so it's in the notes. It's also where I'm headed, once the credits are worth starting. Right now the beta runs on DigitalOcean. To an agent reading everything, Azure is both the past and the future, and it outnumbers the present.

"Where do we deploy?"Fig. 2 · Interactive
In notes, "now" and "later" are tenses scattered across files. On the map they're separate fields, so the agent never has to guess which one it's reading.

The same thing happens with a single decision. Say a codebase is written entirely around one platform, and in one conversation you decide, for whatever reason, that you're not using it anymore. Maybe you've just found out your ex works there. A person gets that in one sentence. Every agent that opens the code afterwards feels the pull of everything already written, against your one document saying no.

§4We know the shape

So instead of piles of text, Tacticyl keeps structure, and it can, because we know the shape of what's being built. We are not writing a novel. We are not planning a party. We are not building a house. We are developing an application for a business, and applications have a shape, and so do businesses: surfaces people use, the code behind them, the services and accounts they depend on, and the company, domain and bank account underneath all of it.

That's why Tacticyl is opinionated, but about shape, not about choices. Before AI, the answer for anyone who didn't know how to make these decisions was an app in a box: you can have a working product, you just need to have made all of our choices (all of them, in advance, before you knew what you were building). A specific database, edge functions in a specific language, a specific authenticator. The good thing about that is it works. The bad thing is that it collapses what your application can be into a very constrained space.

Tacticyl doesn't care whether your object storage comes from Amazon or Microsoft, or whether you built your own. It cares that it's object storage, what it does, what depends on it, where it runs now and what it becomes. Knowing the shape, without dictating the contents, is what makes it possible to say something definite.

§5Every fact has one place

In notes, any document can say anything about anything. When an agent asks what the database is, it has to read everything, and even after it has, it can't know that nothing else disagrees. Silence proves nothing either: if no note mentions payments, maybe nobody wrote it down.

Because Tacticyl's facts have a shape, we can say more than that a piece of information is correct. We can say that if you have a question about a certain part of the app or the business, there is only one place the answer could be. So there's nothing to disagree with it, and its absence means something.

Search the notes, or ask the mapFig. 3 · Interactive
Searching the notes

Asking Tacticyl

Illustrative file names and contents. The point is the shape of the answer: a pile to reconcile, against one place that either holds the fact or definitely doesn't.

§6The same structure is how you see it

The structure isn't only for agents. They get it a piece at a time, never the whole thing, presented in the way that makes sense for the task in front of them. But once the business is structured, the same structure is the interface for you, and it can be inspected, displayed and operated on.

It becomes a map of every component hanging off your app. It becomes a plan with dependencies, where every step knows what it's waiting on and how long that takes, so the slow ones start first and milestones have real estimates. You want an iOS app; that needs a developer account; that needs a D-U-N-S number; that needs a company. Some of those take days. Some of them you may already have.

Shipping an iOS appFig. 4 · Interactive
Work you doWaiting on someone else
Illustrative durations. Nobody thinks about a D-U-N-S number until the developer account asks for one. The plan knows before you do, because the chain is part of the map.

And because it's structured, Tacticyl can see the negative space. An agent records that you use Sentry. Tacticyl knows what Sentry does, so it can set that against everything your app needs and notice that you're also paying for another tool that does the same job. It can see the components that were never registered, the account a payment provider needs behind it, the step nobody has started. A folder of notes can't tell you what isn't in it.

What's missingFig. 5 · Interactive
SurfaceWeb app
SurfaceiOS appNeeds a developer account. Not started.
CodeAPI
CodeWorker
ServiceManaged Postgres
ServiceStripe
BusinessBank accountStripe pays out to one. None registered.
ServiceSentry, and a second error trackerTwo tools doing one job.
ServiceEmail deliveryThe API sends sign-in emails. Nothing registered sends them.
Illustrative. Notes only hold what someone thought to write down. A map with a shape shows the holes in it.

§7So the agents can do the work

An agent could do all of this bookkeeping itself, in a single session. It would spend the whole session doing it, none of it on the thing you actually wanted, and it would do it differently every time, and none of it would stay true after the session ended.

That's what Tacticyl takes off their hands. The agents aren't reinventing how your business is recorded every time they start. They're not reconciling fourteen notes or guessing which tense they're in. They're told what matters, what their change will reach, and what's been decided, and then they get on with building your business.

Stop briefing your agents.

Tacticyl is in beta at tacticyl.com.