AI systems & workflowsblog 26

How I Organize My AI Systems

everything has a home, and rules for what gets in

AAuny ยท Sep 2026 ยท 7 min read
How I Organize My AI Systems

Your AIs can find their way around your whole setup without you explaining it to them every single session.

Not always. Even a setup built this way drifts: one check in a single week caught 3 docs that were out of date, and they got fixed the same day.

But most days it works. And there's no fancy tool behind it. Everything just has a home, and there are rules for what gets in.

This is how to set it up, by what each part is for rather than by anyone's exact folder names. And you don't have to build any of it by hand. Your agent can do all of it, you just have to tell it what you want.

Start With 7 Zones

Have your agent sort your top level into zones. Each one gets ONE job:

  1. start here: a map of everything + the rules you work by
  2. charter: what your system does, who it's for, and what it should never ever do
  3. components: your agents, data, services, interfaces
  4. resources: models, providers, compute, datasets, budgets
  5. operations: anything that runs on a schedule, and how you fix it when it breaks
  6. library: research, docs, and the source code of the tools you use (so your AI reads the real thing instead of guessing)
  7. records: decisions you made, what changed, what broke, plans you're working on

Here's what that looks like as folders:

copy this
workspace/
โ”œโ”€โ”€ _index                  # the main map
โ”œโ”€โ”€ start-here/
โ”‚   โ”œโ”€โ”€ _index
โ”‚   โ”œโ”€โ”€ working-rules
โ”‚   โ””โ”€โ”€ status              # what's open, what's stale
โ”œโ”€โ”€ charter/
โ”‚   โ”œโ”€โ”€ _index
โ”‚   โ”œโ”€โ”€ purpose-and-users
โ”‚   โ”œโ”€โ”€ boundaries          # what it must never do
โ”‚   โ””โ”€โ”€ data-classes        # public / internal / private
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ _index
โ”‚   โ”œโ”€โ”€ agents/             # one doc per agent
โ”‚   โ”œโ”€โ”€ data/               # one doc per table
โ”‚   โ”œโ”€โ”€ services/
โ”‚   โ””โ”€โ”€ interfaces/
โ”œโ”€โ”€ resources/
โ”‚   โ”œโ”€โ”€ _index
โ”‚   โ”œโ”€โ”€ models/             # one note per model
โ”‚   โ”œโ”€โ”€ providers/
โ”‚   โ”œโ”€โ”€ compute/
โ”‚   โ”œโ”€โ”€ datasets/
โ”‚   โ””โ”€โ”€ budgets/
โ”œโ”€โ”€ operations/
โ”‚   โ”œโ”€โ”€ _index
โ”‚   โ”œโ”€โ”€ jobs/               # one end-to-end doc per job
โ”‚   โ”œโ”€โ”€ runbooks/
โ”‚   โ””โ”€โ”€ guards/
โ”œโ”€โ”€ library/
โ”‚   โ”œโ”€โ”€ _index
โ”‚   โ”œโ”€โ”€ research/
โ”‚   โ””โ”€โ”€ vendor-docs/
โ””โ”€โ”€ records/
    โ”œโ”€โ”€ _index
    โ”œโ”€โ”€ decisions/          # dated, with the reason
    โ”œโ”€โ”€ change-log/         # one note per week
    โ”œโ”€โ”€ incidents/
    โ””โ”€โ”€ plans/              # deleted once the work ships

Tell it: if a new folder doesn't fit any of these, come to me and we fix the zones. Don't force the folder in.

Then have your agent write the charter first, and make every agent read it before they start anything. If your AI doesn't know what it's never supposed to do... it'll find out the hard way (and so will you).

Infographic 1: the top level: 7 zones and an index
โ†‘ the top level: 7 zones and an index

Every Folder Gets an Index

A vault with 39 folders at the top level is a lot. So how does an agent not get lost?

Every folder has an index. Why does that matter? The index provides the map. So anyone or any agent reading your system knows where to find what, without opening every single file to figure it out.

Have your agent set it up like this:

  • one main map that only points to each folder's index
  • each index only points to what's inside that folder and talks about what it's for

Be strict about indexing: every time you add, change or delete a file, update that folder's index too.

An outdated index is worse than having none at all. You trust it, your AI trusts it, and you both end up in the wrong place, reading the wrong file.

Then have your agent put the same 4 labels at the top of every note: type, status, domain and when it was last updated.

Your Database Needs Its Own Rules

If your system has a database, it has a code side too. Give the repo the same treatment, one home per job:

copy this
your-system/
โ”œโ”€โ”€ README
โ”œโ”€โ”€ agents/
โ”‚   โ””โ”€โ”€ agent-name/
โ”‚       โ”œโ”€โ”€ prompt          # versioned
โ”‚       โ”œโ”€โ”€ tools           # what it may call
โ”‚       โ””โ”€โ”€ config          # model tier, limits
โ”œโ”€โ”€ routing/                # which task goes to which model
โ”œโ”€โ”€ memory/
โ”œโ”€โ”€ ingestion/              # load, chunk, embed
โ”œโ”€โ”€ db/
โ”‚   โ”œโ”€โ”€ migrations/         # numbered, one change each
โ”‚   โ”œโ”€โ”€ policies/           # who can read what
โ”‚   โ””โ”€โ”€ schema-snapshot     # generated, never edited
โ”œโ”€โ”€ jobs/                   # each one has a doc in operations/
โ”œโ”€โ”€ guards/
โ”œโ”€โ”€ evals/
โ”œโ”€โ”€ tests/                  # including the ones that should say no
โ””โ”€โ”€ .env.example            # names only, never real keys

Then give your agent these before it touches anything:

  1. Pick ONE source of truth. Have your agent rebuild everything else (embeddings, search indexes, caches) from it automatically. Nobody edits those by hand.
  2. Look before you touch. Before it changes a table, have your agent make sure it knows (have it deep research): how it's set up, how many rows, which account your app connects with, and everywhere in your code that uses it.
  3. One change at a time. Have your agent make small, numbered changes and run a security check and a performance check after every single one. If either one throws an error, that change doesn't go through.
  4. Don't let it blindly apply suggested fixes. Database warnings come with a "here's how to fix it" and it's not always right. Turn on row level security by itself and suddenly nobody can read anything. Add an "allow everyone" rule and the warning goes away... but everyone still has the exact same access as before. Have your agent read what the fix does first.
  5. Measure the real problem. Have your agent check the thing you're worried about, not something next to it. A search table can be 100% embedded, look healthy, and still scan the whole table on every single search. Once the index was added on one, 3,245ms went down to 10.5ms.
Infographic 2: same table: 3,245ms with no index, 10.5ms with one
โ†‘ same table: 3,245ms with no index, 10.5ms with one

Keep a List of Everything You Use

Have your agent give every model, provider, GPU and dataset its own note: what it costs, its capabilities, limitations, and whether you're using it or not. That's your "Stack".

Then tell it:

  • new stuff starts as "pending". you can suggest a tool, but it doesn't go on the list until I say yes
  • send every task to the cheapest model that can handle it. sorting a bunch of stuff? cheap model on low effort. hard design decisions? go frontier

Example: a search through the grok CLI on an X Premium+ plan = $0 extra. The same search through the xAI API = paid.

model-orchestrator does this automatically. It sets up routing rules for the AIs you already pay for, so you save on tokens, and $$. It's free and open source on GitHub:

github.com/aunysillyme/model-orchestrator

Or run this in your terminal:

copy this
npx model-orchestrator

Anything That Runs on Its Own Gets a Doc

A setup with 16 scheduled jobs has 16 docs. Have your agent write one end-to-end doc for every job or automation you run.

2 more rules to give your agent:

  • don't tell me "done" without proper evidence
  • if something breaks once, fix the instructions. if it breaks 3x, build a guard that stops it from happening again
Infographic 3: 1 job, 1 doc
โ†‘ 1 job, 1 doc

My Stack

Do This Tonight

Open your agent, tell it to read this post and paste this in:

set up my workspace using the structure in this article, in whatever i already use (folders on my computer, a notes app, Notion, Google Drive, a code repo, anything). sort the top level into 7 zones: start here, charter, components, resources, operations, library, records. give every folder or section an index page that lists what's inside it. from now on, update that index every time you add, change or delete anything. if something doesn't fit a zone, ask me before you make a new one.

That's it. Everything else can wait until something breaks twice.

stuck on this?

AI Workflows for Creators call

1 hour, your account open. $250.

Book it

1:1 call ยท matches this post

AI Workflows for Creators

want your own setup mapped into zones, indexes and routing, with every job documented? That's the AI Workflows for Creators call.

60 minrecordingnotes after
last checked 2026-09-17AI systems & workflows ยท blog 26