"AI agents" sound like infrastructure. Orchestration layers, swarms, protocols, things engineers assemble in rooms you're not invited into.

Here's what an agent actually is: a model, pointed at context. That's the whole recipe. The model is rented (Claude, GPT, Gemini, pick one). The context is yours. And the most practical container for context ever invented is one you've used since your first computer: a folder.

I run an AI agents studio and ship my own product with AI every week. The single most valuable thing I've learned is not a prompt technique. It's this: the folder is the agent. The engineer Kieran Klaassen put it best when he described running 44 agents this way, each one "just a model pointed at a folder." Same model everywhere. Different folders. Completely different specialists.

If that's true (and it is), then building an agent is not an engineering task. It's an organising task. And organising knowledge, writing down how you work, deciding what "good" looks like: that's not engineering. That's your job already.

What's actually in the folder

Open a fresh AI session on an empty folder and you get a very confident stranger. Smart, fast, and completely ignorant of your product, your customers, and your standards.

Now open the same model on my product's folder. It knows my naming conventions, my customers' vocabulary, which parts of the app are dangerous to touch, and what every past decision was. Same brain, but now it has my memory. Here's the anatomy:

CLAUDE.md, the rules file. One markdown file the AI reads before every session. Mine covers: how I name things, my definition of done, the folders it may never touch, and when it must stop and ask me instead of guessing. Thirty minutes to write. It's the difference between onboarding a specialist and re-explaining your product every morning.

/docs, the memory. Every spec we've agreed on, every architecture decision, every lesson from a bug that reached a customer. The AI forgets everything between sessions. The folder doesn't. When a new session reads that my orders and proposals must stay in sync when edited, it inherits a decision I made months ago without me repeating it.

/tests, the definition of working. Everything that defines "the product works" lives in one protected folder the AI cannot edit without my approval. (I've written elsewhere about why this one is closed to the AI. Short version: green tests only mean something if nothing could quietly rewrite them.)

/skills, the capabilities. Small instruction files for recurring jobs: how we write a spec, how we deploy, how we generate a test. Written once, reused every session.

None of this is code. It's all writing. If you can write a good onboarding doc for a new hire, you can build this folder.

The permissions trick nobody tells you about

Here's my favourite part, because it solves a problem that sounds deeply technical (permissions, access control) with something anyone can do.

Klaassen runs his product's operations from a second folder that contains no application code at all. It has the runbooks, the monitoring instructions, the incident history. Point the model there and it becomes an ops specialist that physically cannot break the product, because the product isn't in the folder.

Read that again: the agent can't touch what isn't in its folder. That's a permission system with zero infrastructure. One folder that builds, one folder that operates, one folder that writes your marketing. Each agent sees only what its job requires. Separation of powers, implemented with "New Folder."

Build it, use it, trust it, then step back

The mistake is trying to jump straight to autonomy. Klaassen's rule, learned from three months of failed swarm experiments, is the right sequence: build the folder, use it yourself until the results are predictable, and only then let things run without watching.

My version for non-engineers: your folder earns trust one session at a time. Every time the AI does something wrong, don't just fix the output. Ask: what was missing from the folder that allowed this? Then add the rule, the doc, or the example. This is the compounding loop. My folder today encodes a year of my mistakes, which means every new session starts a year ahead of a blank one.

You don't need 44 agents. You need one folder that knows your product better than a new hire would after a month.

This works for more than software

The pattern doesn't care that my folder happens to contain an app. A consultant's proposal folder (past proposals, pricing rules, tone guide, client context) is an agent that drafts proposals in your voice. A folder with your reporting templates and your company's definitions is an agent that builds your monthly report. The formula is always the same: your standards + your examples + your decisions, in files, in one place.

Start this week: the 30-minute version

  1. Create a folder for the thing you work on most.
  2. Write CLAUDE.md (or AGENTS.md, any AI tool can read it): how you like things done, what good looks like, what the AI must never do, when it should ask instead of assume.
  3. Add a /docs folder with one file: the most important decisions you've already made, in plain sentences.
  4. Work from that folder for a week. Every time the AI disappoints you, add the missing rule instead of just correcting the output.

Then look at your generic setup from two weeks ago and notice you can't go back.

You already had the folder. Now you know it's an agent.

The folder-as-agent idea comes from Kieran Klaassen's piece for Every, "The Folder Is the Agent." He built it for engineers running 44 agents. I've been adapting it for the rest of us, who need exactly one.