project 3 of 4
ai office
ten ai agents in a cartoon office turn a business problem into a tested n8n automation package.
- role
- solo developer
- year
- 2026
- Next.js
- TypeScript
- SQLite
- server-sent events
- Zod
- Anthropic API
- n8n
- React Three Fiber
the problem
I built AI Office for my AI automation agency. Every job there starts the same way. A business owner describes a manual process, and I turn it into a working automation in n8n.
Between those two points there is a lot of careful work: a brief, requirements, a design, the build, tests, a security check, a setup guide and a proposal. Doing all of it by hand is slow. Skipping any of it is risky.
One large AI prompt does not solve this. It loses details, and nobody can see what it did or why.
So AI Office splits the work the way a real team would. I describe the problem by chat or by voice, in English, Hindi or Gujarati. Ten agents, each with one role, then work on it in order. They are drawn as original cartoon characters in an office, so I can see at a glance who is working, who is waiting for me, and what each one has produced.
These automations touch a real business: its email, its calendar, its customer data. That is why the rules matter as much as the agents:
- Nothing is switched on automatically.
- Tests run on copies, never on the real workflow.
- Every job has a cost cap.
- The app runs only on my own computer, and my keys are never shown.
the demo




there is no live demo, because the app runs only on my computer. these views show the sample job that is built into the app, with made-up data.
how it works
The team. Each agent has one job, its own written instructions, and a fixed shape for its answer.
- Maya, receptionist. She asks at most three questions at a time, then writes the brief.
- Arjun, business analyst. He writes the requirements, the acceptance criteria and a return-on-investment estimate, with his assumptions labelled.
- Lena, solutions architect. She designs the workflow step by step and flags anything that cannot be automated reliably.
- Kai, n8n builder. He builds the workflow. He may only use the kinds of step that exist in my own n8n, and he never puts a password inside a workflow.
- Rosa, QA engineer. She runs automatic checks first, then reviews the build against the acceptance criteria and writes the tests.
- Omar, security reviewer. He checks personal data, logins, webhooks, and what happens when another service is down.
- Priya, documentation. She writes the setup guide, the handover notes and a short video script.
- Leo, proposals. He writes the proposal from my own price list. He never invents a price.
- Sam, office manager. He runs the pipeline in order, gives each agent only the files it needs, keeps the job log and tracks the cost per agent.
- Hana, the fixer. She is not part of the job pipeline. She watches the workflows that are already running and helps me fix them when they break.
In plain words:
- I describe the problem, by typing or by voice. Maya asks her questions and writes the brief. I approve it or ask for changes.
- Arjun and Lena turn it into a plan. I approve the design before anything is built.
- Kai builds and Rosa checks. If Rosa finds a problem, she sends the exact fix back to Kai. They get at most three rounds, and then they must ask me.
- The tests run in n8n by themselves, on a switched-off copy whose name starts with [TEST]. When a test fails, the office first looks at the step where it went wrong, Rosa names the cause from those facts, Kai fixes the build, and the same test runs again.
- Omar reviews security. Then Priya and Leo write the documents.
- I get a package: the workflow, the tests and their results, the guides, the proposal and a log of everything that happened, with the cost per agent.
- The workflow goes into n8n switched off. I connect the real accounts, run one real test, and switch it on myself.
While the team works, each agent’s progress streams to the screen, so the office is live. Every answer an agent gives must fit a fixed shape. If it does not, the agent is asked once more with the error, and after that the problem is shown to me.
key decisions
a team of small roles, not one big prompt
Each agent does one thing and sees only the files it needs.
Why: small jobs are easier to check and cheaper to run. When something is wrong, I know whose desk to look at.
every answer is checked before it moves on
Each agent’s output is checked against a fixed shape. Rosa’s first checks are plain code, not AI. Kai may only use the kinds of step found in my own n8n.
Why: an AI can invent a step or a field that does not exist. Code checks catch that at no cost.
a person approves, and nothing switches itself on
There are two approval gates. Workflows are uploaded switched off, tests run on copies, and a fix is applied only after it passes and I approve it. The old version is kept for roll back.
Why: these workflows act for a real business. The safest rule is one the code cannot break: it has no function that could switch a workflow on.
a cost cap on every job
A job pauses when it reaches US$2.00, and I decide whether to raise the cap. The cost is shown while the job runs, and per agent afterwards.
Why: agents can loop. A cap turns “I hope it stops” into a known worst case.
what was hard
A builder that does not invent things. An AI will happily write a step that n8n does not have. Kai works from a catalogue taken from my own n8n, and the office only sends n8n the fields its own description accepts. Before any test, Kai’s build is checked in code: no value left unfilled, a real saved login on every step that needs one, and every sheet, channel and column really there in the connected account.
Testing without touching anything real. In a test copy, any step that would message a person is switched off unless I name a test channel. Test emails only go to my own address, and each job gets its own tab in a test sheet. Some things cannot be tested safely, such as a workflow that waits for a person. The report says so plainly and gives me one test to do by hand.
Finding the true cause of a failure. A failed run often ends at a step that only reports the error. The office traces it back to the step that caused it and checks three things before any AI is asked: what the run shows, how n8n defines that step, and what the connected account really contains.
One fixer for any app. Hana is not written for particular apps. She reads n8n’s own error messages, step types and logins, so she covers whatever n8n supports. She looks for thirteen kinds of problem, from failed runs and expired logins to runs that finish without errors but do nothing. The same problem seen again adds to one card instead of opening a new one.
Two offices. The first office was a flat 2D drawing. I later built a 3D office that shows the same jobs. The app can fall back to 2D by itself when a computer is too slow for 3D.
results
- 10agents, each with one role
- 2points where a person must approve
- 3build-and-review rounds at most, then the team asks me
- $2.00cost cap per job, in US dollars
- $0.85–$1.70what a full job cost in my tests
- 13kinds of problem Hana looks for
- It is a working tool, not a public product. It runs on my computer and its code is private, so there is no link to try.
- I am not quoting client results here. The numbers above describe the tool itself.
- A chat message with an agent costs about a cent or less. Checking for problems costs nothing; only explaining and fixing them uses the AI.
what i learned, and what’s next
What I learned
- Roles and approval gates beat one clever prompt. The work became easier to trust because each step is small and visible.
- Cheap checks should come first. Most mistakes are caught by plain code before an AI is asked anything.
- The strongest safety rule is one the code cannot break.
- It is better to say what the tool cannot do yet than to hide it. The office keeps its own list of the things it could not handle.
What’s next
- Test workflows that wait for a person, which the office cannot run by itself today.
- Test an app’s real trigger, instead of standing in for it with sample data.
- Add views of the 2D office to this page.