Guides · For solo founders

Scoping an AI agent with tags, not folders

By Ricardo Cardona · · Updated

Tag every file by what it is, such as business, client, money or journal, and give each agent a list of the tags it may read instead of a folder to stay in. Folders and rules files get you part of the way, but a boundary only holds when something checks the tag before the agent sees the file.

Why folders are the wrong unit

A folder records where a file lives. Scope is about what a file is, and the two drift apart all the time: a meeting that’s half client work and half personal, a receipt that belongs to both sides, a journal page saved in the inbox by mistake. Scope by folder and each of those is either missed or leaked.

A tag travels with the file. Tag a page Journal and it stays out of a business agent’s reach wherever it’s saved:

# clients/acme-corp/2026-09-11-pilot-call.md
type: Meeting
tags: [Meeting, Business]

# inbox/2026-09-12.md, saved in the wrong folder
type: Journal
tags: [Journal, Life]

Write the scope per job

Before any setup, write down each agent’s job and the tags that job needs. A plan for a company of one might look like this:

Agent        Job                               Allowed tags
Business     invoices, follow-ups, updates     Business, Client, Money, Shared
Marketing    posts from notes and ideas        Notes, Ideas, Resources
Acme Corp    one design partner, nothing else  Acme Corp
Personal     training, meals, the week         Life, Shared

Written down, each list is short, and the journal is on no business list at all. The plan also tells you which tags every file needs, which is the part to get right first.

The do-it-yourself options, and where each stops

Open the agent in a subfolder. Start Claude Code, Codex or Cursor inside business/ and it works there. That’s a sensible default, not a wall. Claude Code’s own docs are candid about it: its file tools ask before reading outside the start folder, but its read-only shell commands reach further unless you turn on a stricter setting or its sandbox. And a file saved in the wrong folder is in scope by accident.

Rules in a context file. A line in CLAUDE.md or AGENTS.md, such as “Never read journal/.” That’s an instruction, not enforcement: Claude Code’s docs describe CLAUDE.md as context rather than enforced configuration. A long session, or a new model, can drift past it.

A separate folder per agent. Business in one folder, life in another, each opened by its own agent. It’s the strongest wall you can build by hand, and it costs the most. The questions that matter cross it: whether you can take August off needs both the ledger and your plans. You also keep two structures, and files both sides need get copied and drift apart.

All three draw the line by location. None of them knows what a file is.

Tags as the boundary, done by hand

If you build tag scope yourself, four rules keep it honest:

  • A short, closed list of scope tags. Business, Client, Money, Shared, Life. An invented tag is how a file slips through.
  • Tag at creation. A file with no scope tag stays out of every agent’s reach until it gets one.
  • Allow lists, not deny lists. A business agent gets Business, Client, Money and Shared. A new tag stays dark until you add it.
  • Enforce it outside the agent. Asking an agent to skip Life files is a request. A script that copies only the allowed tags into a folder, with the agent run in a sandbox or container that sees only that folder, is a boundary.

That last rule is where doing it yourself gets expensive. Each agent needs its own filtered copy, rebuilt before every session, and whatever the agent writes lands in the copy, not the original.

Where Oknola fits

Oknola scopes its own agents by tag, never by folder (how it works). It types, tags and files what lands in the folder, so every file carries its tags from the start. Once the planned AI agent add-on ships, each of Oknola’s sub-agents will get only the tags you switch on for it: a business sub-agent will get your clients and your projects and, with the Finance app, the business side of your money, and your journal will stay dark, whatever folder it sits in. Run one sub-agent per job, each with its own tags, and a locked note stays dark to every one of them. In the demo, the Business sub-agent answers which design partner is stalling, and a question about your sleep goes to Personal, the only sub-agent that holds Daily_Log. Switch Daily_Log off for Personal and the same question is refused, by tag.

An agent you run yourself on the folder Oknola can mirror to your laptop (Mac app, in preview), such as Claude Code, is different: it reads what your computer lets it, a lock is only a request to it, and the do-it-yourself boundary above still applies.

Your notes live in Oknola’s cloud, encrypted at rest. Oknola’s systems read them only to run what you use: the tidy-up, search, views, the apps you add and the agents you turn on. They are never sold and never used to train models, and the legal page names each AI provider before your notes reach it. What ships, and in what order, is on the roadmap.

Questions people ask

Is a rule in CLAUDE.md enough?

For low stakes, it’s a fair start. It’s still a request the agent can miss. Files that must stay private need a boundary that doesn’t depend on the agent’s attention.

What if a file belongs to both sides?

Give it a shared tag, and decide per agent whether shared is allowed. Keep that list short: a calendar and the odd receipt, not whole projects.

Does the model provider see what the agent reads?

Yes. What an agent reads goes to the model behind it, which is the best reason to scope it. In Oknola, a sub-agent’s model sees only the notes inside its tags, and never a locked one. Your notes are never used to train models.

Can one person run several agents?

Yes, and one per job is cleanest: one for the business, one for your life, one per client, each with its own tags. An agent for one client only walks through the last one.

How Oknola works for solo founders

Free trial

Start with the folder.

One plan for the whole Core: 14 days free, then $30 a month or $270 a year. Cancel any time.

Start your free trial See it work

Not offered yet to consumers in the EU or UK.