My AI Workflow Stack Going Into 2026
One agent in the terminal, a project instructions file, a handful of MCP servers, hooks that format after every edit, and a review step that never moves. What each layer does and why it's there.
A year ago my AI setup was a chat window and a lot of copy-paste. Now it's a stack with layers, and each layer exists because something went wrong without it.
Update, November 2026: the bottom layer changed. I now drive these agents through T3 Code instead of a bare terminal; everything else below still holds. Why I switched.
The layers
1. One agent, in the terminal
I use Claude Code as the main agent. It lives where the code is: it reads files, runs the type checker and tests, and fixes its own mistakes before I see them. I tried running two or three agents from different vendors side by side. The context switching cost more than any model difference saved.
2. A project instructions file
Every repo has a CLAUDE.md at the root, with an AGENTS.md alongside for tools that read that name instead. It holds what a new teammate would need on day one:
## Commands
pnpm typecheck # run before calling anything done
pnpm test
## Architecture
- Routes stay thin; logic lives in feature folders.
- All HTTP goes through the shared API client, never raw fetch in a component.
## Don't
- Don't add a dependency without asking.
- Don't edit generated files.The "Don't" section is the most valuable part. Each line in it is a mistake the agent made once.
3. MCP servers, mostly read-only
Three servers do most of the work:
- API docs. The agent looks up the real endpoint shape instead of guessing field names.
- Library docs. Current documentation for the version we actually run, not whatever was in the training data.
- Error tracking. "Check the latest issue and fix it" works because the agent can read the stack trace itself.
All three are read-only. Anything that writes to an external system asks me first.
4. Skills for repeatable procedures
Some tasks have a procedure: writing a PR body, adding a feature folder, running the release flow. Those live as skills, a folder with a SKILL.md the agent loads only when the task matches. More on those in a separate post.
5. Hooks for the boring guarantees
A hook runs the formatter after every file edit. Another blocks commits to main. Instructions can be ignored; hooks can't. Anything that must always happen belongs in a hook, not in a sentence in CLAUDE.md.
6. Me, reading the diff
The one layer that never moves. Every change gets read before it's committed. The agent's checks prove the code does what the tests say. They don't prove the tests asked the right question.
What I removed
- Autocomplete in the editor. With an agent drafting whole changes, ghost text became noise. I turned it off.
- Long prompt templates. The instructions file and skills replaced them. A prompt now is two or three sentences plus a pointer to an example.
- Pasting code into chat. If the agent can't read the file itself, the setup is missing something.
The rule that ties it together
Put knowledge where the agent will find it at the moment it needs it. Conventions go in the instructions file, procedures in skills, facts behind MCP, guarantees in hooks. My prompts got shorter as the stack got better, which is the opposite of what I expected.
Keep reading
All posts2026
7 min
Code Is Cheap Now. Guardrails Are the Bare Minimum
An agent writes a feature in minutes. Whether it still works next week depends on what checks it the moment it changes. What I treat as non-negotiable now, on the backend, on the web, and on mobile.
testingaiworkflow5 min
Why T3 Code Replaced the Terminal as My Daily Agent Setup
Same agents, same subscriptions, one interface. Threads with their own worktrees, review before commit, approvals from my phone, and a second model one click away. What changed in my day, and what it still doesn't solve.
aiworkflowtooling