← All articles

An HQ run by AI agents: how I manage 22 projects solo

· 6 min read · Anton Tkachev

Translated from Russian. Read the Russian original.

I have 22 projects. A bot for employees with cash and inventory, my own CRM, an online library, a city guide, an education project, and a few ideas taking off. There's no team for all of this. There's me and AI agents.

Over the summer it looked like this: you open a chat with an AI, spend half an hour explaining the context, get a good answer — and tomorrow you start from scratch. Half my time went not into work, but into "reminding myself and the model where we left off."

The fix turned out to be boring: not a smarter model, but an HQ — one folder the agent goes through to get into any task. Here's how it's set up and what I've learned in 4.5 months.

What the HQ is

It's an ordinary folder on my computer with four main files:

File What's in it
AGENTS.md Rules for the agent: what to read first, where it can write, what's off-limits, how to report
me.md Who I am, how to work with me, my standing preferences
tasks.md Today's focus — no more than 10 tasks. Anything closed goes straight to the archive
projects.md The project map: where each one lives, what it does, who has access

Each project has its own folder and its own rules file. The HQ doesn't copy their contents — it only knows where things are. When the agent gets a task, it reads the HQ rules, finds the project on the map, and then reads that project's rules.

The main boundary: from the HQ into projects — read-only. The agent can write to a project only if I explicitly named the project and the action. "Take a look" or "figure it out" doesn't give it permission to change anything.

Sounds bureaucratic. In practice, it removed the biggest fear of working with agents — that while "helping" with one thing, it breaks another.

Two agents: at the desk and on the phone

At the computer — an AI agent in the terminal for deep work: code, deploys, investigations, long tasks. It sees every folder and every rule.

On the phone — a Telegram bot backed by the same kind of agent on a server, with access to the repositories of all 22 projects. Through it, from my phone, wherever I am, I create a task, ask for a status, or request a short report.

Both agents read the same rules. So it doesn't matter where a task comes from — they behave the same way.

43 scheduled jobs, and 33 of them have no AI

The least obvious part: most of the "agentic" system isn't AI at all.

The server runs 43 scheduled jobs. 33 of them are plain scripts:

  • every 30 minutes, each project syncs with GitHub — so edits from the phone and the computer don't drift apart;
  • the morning focus of the day in Telegram: what's on fire, what's in progress, what's next;
  • a rules hygiene check on weekdays: are the project cards out of date, has the calendar drifted;
  • archiving closed tasks, checking token expiration, delivering reports.

AI gets woken up in only 10 jobs — where thinking is needed: translating, writing, reviewing the week. And even there, a watchdog script sits in front of the model: if there's no work, the model doesn't run.

The rule I wrote into the HQ: everything deterministic goes to a script; AI only where a decision is needed. A script doesn't get tired, doesn't hallucinate, and costs zero tokens.

Rules born from things breaking

Almost every rule in my AGENTS.md is a scar. Here are my three favorites.

"Done" only with a live fact. Once, the sync script marked a task as "done" on its own because the files had been deployed. The service, meanwhile, had never run once. I found out a week later at the retro. Now "done" is set only with a link to a live check: the service responds, the record is in the database, the post is published. Deployed but not running means "in progress."

The calendar is calculated, not remembered. The agent took the week number from the previous report, and that one was off by a day. The error quietly copied itself into five weekly reports in a row — each one took its dates from the one before. Now week boundaries come only from a script reading the clock, and a daily check cross-checks all the reports.

Unverified stuff doesn't stay in the chat. If the agent writes "I didn't check this," that line has to go into a separate log with ready-made instructions on how to check it and what counts as success. Otherwise "I'll check later" sinks two messages down.

What breaks

Honestly: things break regularly. In 4.5 months, the incident log has about 20 entries. The most instructive ones:

  • For a week, sync wasn't pushing changes — and for a week I worked off an outdated task list. The cause: three failures in a row, each hiding the next. The sneakiest one: the check that was supposed to catch this was silently checking nothing and giving a false sense of control. Now a sync failure messages me in Telegram on its own, and I hunt for dead checks the same way I hunt for bugs.
  • The model access token expired twice — the second time, the bot on the server was down for more than two days. Now there's a daily token expiration check with an early warning.
  • A mirror script deleted tasks the bot had created: it treated a different folder as the source of truth and "tidied up." Now every task has exactly one source of truth, and copies are read-only.

The common pattern: no incident ends with "I'll be more careful" — it ends with a line in the rules or a safety-net script. Carefulness doesn't scale; scripts do.

The numbers

  • The HQ is 4.5 months old, with more than 2,000 changes in its history.
  • 22 projects across 8 departments, each with its own rules and its own tasks.
  • 43 scheduled jobs, 33 of them scripts with no AI.
  • 14 weekly retros: what got done according to the facts, what broke, what to automate with a script next week.

What to do today

You don't need 22 projects and a server to take away the main idea. Create one file in your working folder — AGENTS.md — and answer four questions in it:

  1. What should the agent read first?
  2. Where is the source of truth for tasks?
  3. What can it change, and what is read-only?
  4. How should it report at the end: what it changed, what it verified, what it didn't verify?

Put a tasks.md next to it with the rule "no more than 10 tasks." Starting with your next conversation, the agent will stop starting from zero — and you'll feel the difference on day one.