AI Stack Library · Start here

How to build your own central AI operating system: the whole build, in order, for a small team

To build your own central AI operating system, give the AI a computer of its own that stays on, sign it in to the tools your business already runs on, write your business know-how down once in your own files, keep a record of decisions it checks before it works, put the repeat jobs on a schedule, set guardrails so spending money and publishing wait for your yes, and plug the AI model in as one part you can swap. Build it in that order, and pass each step's test before you start the next.

Last checked 2026-11-25

Illustration: one glowing machine in the middle, joined by fine lines to email, a calendar, a folder of files, a customer list, a clock and a checkmark, with a small plug-in model off to one side.
Find your team here. Every row starts in the same place.
If you areStart with
A team of two to five, where everybody does a bit of everythingA dedicated always-on machine, then your know-how file, your email and your calendar, and one scheduled job: a morning summary
A team of six to twenty, with a front desk, a field crew or a sales sideA dedicated always-on machine, then the know-how file the front desk answers from, then your customer list
A team that handles private client filesA dedicated always-on machine with a local model for the private jobs, and an approval step before anything leaves the building
A team already paying for the AI inside several appsA dedicated always-on machine, then move whatever your team keeps pasting into those chats into your own files

What you are building

One computer in the middle of the business. It holds your rules, your know-how and the decisions you have made. It is signed in to the tools you already pay for. Every agent you run, and every person on the team, works from that same system.

A chat app knows the conversation in front of it. The AI inside your customer list knows your customer list. This knows the business.

One system in the middle, your tools around it

A central AI operating system in the middle holds your know-how, decisions, rules, scheduled jobs and guardrails. Around it sit email, calendar, files, website, customer list, your team, and the AI model, marked as a part you plug in and can swap.

Your central AI operating system
  • Know-how
  • Decisions
  • Rules
  • Scheduled jobs
  • Guardrails

Connected around it

  • Email
  • Calendar
  • Files
  • Website
  • Customer list
  • Your teamasks it questions, gets the same answers
  • The AI modelplugged in, swappable

Look where the AI model sits. It is one of the spokes, not the middle. The middle is your files, and that is the part that keeps getting more useful.

The same week, two ways

Most teams start with a chat app, and it helps. Then it hits the same wall: it forgets. Here is what changes when the business runs on one central system instead.

A chat app, and a central AI operating system

Left, the chat-app way: the business is pasted in again every morning, each person's chat holds its own version of the business, all of it still needs somebody sitting there typing, and each app's AI sees only its own corner. Right, the central way: it reads your know-how before it answers, there is one version of the business in your files, jobs run on a schedule overnight too, and it is signed in to every tool so it sees across them.

The chat-app way

  • Somebody pastes in who you are and how you work, every morning
  • Six people, six slightly different versions of the business
  • All of it still needs somebody sitting there typing
  • Each app's AI sees only its own corner

The central way

  • It reads your know-how before it answers anyone
  • One version of the business, kept in your own files
  • The weekly jobs run on a schedule, overnight too
  • Signed in to every tool, so it sees across all of them

The trade-off, before you start

This is more setup than signing up for an app, and it is yours to look after: updates, backups, the odd restart. What you get back is a system that keeps everything it learns, in files you own, working with every tool you use.

Every step below ends with a test. Pass it before you start the next step. A step that looks finished but never passed its test is where a build goes wrong.

Step 1: give the AI a computer of its own

A computer with its own files keeps what it learns. A laptop sleeps when the lid shuts, travels in a bag, and holds your personal email next to the keys to your business. Give the AI a small desktop that does nothing else.

  1. Pick the machine: a Mac mini, or a mini PC running Linux if you are comfortable keeping Linux up to date.
  2. Set it never to sleep and to start again after a power cut. On a Mac both settings are in System Settings, under Energy.
  3. Turn on remote access over a private network, so you can reach it from anywhere with no screen plugged in, and leave no port open to the internet.
  4. Make a user account on it for the AI, separate from yours.
  5. Plug it into a battery backup if you can, so a short power cut does not stop the night's jobs.

Done when: you restart it on purpose, walk away, and a few minutes later reach it from a different network with everything running again.

Step 2: give it its own accounts, and keep the keys in a vault

The AI should sign in as itself, the way a new hire gets their own email address instead of yours. Then you can see what it did, change what it can reach, and switch it off without locking yourself out.

  1. Make the AI its own account at your email provider. Where a tool offers Sign in with Google or Microsoft, use that account, so there is no separate password to lose.
  2. Keep every key and password in a password manager, a vault, never in a chat and never in a file the AI reads.
  3. Let a small helper hand the AI a key only when a job needs it, and keep the key out of anything it writes down.

Done when: you search every file the AI reads and find no key, and the AI can still use one connected tool.

Step 3: sign it in to the tools your business already runs on

This is the step that turns a smart chat into a member of the business. Your email. Your calendar. Your files. Your website. Your customer list. Once it can see them, it can read the email that came in this morning, check Thursday's calendar and open the contract before it answers anyone.

Most tools connect in one of three ways: a ready-made connector (MCP, the Model Context Protocol, is the common open standard for these), the tool's own command-line program, or an access key made on the tool's settings page. Prefer the one the tool's maker publishes.

  1. Start with read access. It reads the inbox, the calendar and the customer list before it can change any of them.
  2. Add write access one job at a time, on the day you can name the job that needs it.
  3. Use the AI's own account wherever the tool allows another user, so every change it makes carries its name.
  4. Connect one tool, test it, then connect the next.
What to switch on first, and what to add later

A table of five tools. Email: read the inbox first, later draft replies for your approval. Calendar: read it first, later hold or book times. Files: read the shared folder first, later save into one folder. Website: read pages and form entries first, later publish changes after your yes. Customer list: read contacts and notes first, later add notes, tag leads and start follow-ups.

ToolSwitch on firstAdd later, for a named job
EmailRead the inboxDraft replies that wait for your approval
CalendarRead itHold or book times
FilesRead the shared folderSave new files into one folder
WebsiteRead the pages and the form entriesPublish a change, after your yes
Customer listRead contacts and notesAdd notes, tag leads, start follow-ups

Read first. Write access waits until a named job needs it.

Done when: you ask what came in this morning, what is on Thursday's calendar, and what the customer list says about the person who emailed, and it answers all three from the real tools.

Step 4: write your business know-how down once, in your own files

Your prices, your trip fee, the towns you drive to and the ones you will not, how you talk to a homeowner whose air conditioning just quit in July. Today that lives in the owner's head, or on a sheet taped up in the office. Paste it into a chat and it lives in one person's chat.

Put it in one folder in the company's own files instead. At the top sits a rules file that every agent reads first, before it answers anybody. AGENTS.md is a common name for it, an open format many agent programs look for. Next to it, one topic to a file: prices and fees, where you work, how you talk to customers, what you never do, who handles what.

Write down the thing you are tired of repeating first. For a lot of owners it is a price they never want guessed at over the phone.

A know-how file for a heating and cooling companyExample

An example know-how file for a heating and cooling company, with fields for the trip fee, the towns served, the towns not served, how to talk to a customer with no air conditioning, what is never done, and who to hand a call to.

Trip fee
The amount, and when it is waived. Changed only here.
Towns we serve
The list, by name
Towns we do not serve
The list, and the company we refer them to
No cooling in summer
Ask whether anyone at home is elderly or unwell, and offer the earliest slot first
Never
Quote a repair price over the phone
Hand to a person
Gas smell, a complaint, anything about a refund

Example.

When the trip fee changes, somebody changes it in that one file, and every agent and the newest person on the phones are reading the same line.

Done when: you ask two different agents the same customer question and get the same answer. Change the file, ask again, and both answers change.

Step 5: keep a memory of decisions

A chat forgets what was decided last month. Your system should not. Give it a decisions folder: one decision to a file, with the date, what was decided, who decided it, why, and what it replaces. Before it starts any work, it checks what has already been decided.

Corrections go there too. When it gets something wrong, save the fix as a rule or a decision, not as one more reply in a chat. That is how it gets a little better each time you correct it.

Plain files are enough to start. Add a search index once the folder grows too big to read in one go.

One decision, written downExample

An example decision record for a design agency: the date, the client, the decision that the logo is navy, that the client decided it in round two, why, and that it replaces the green version.

Date
The day it was decided
Project
A client's logo
Decided
The logo is navy. The green version is off the table.
Who
The client, in round two of revisions
Why
Green read as a different company next to their main competitor
Replaces
The round one shortlist

Example.

Done when: you start a fresh session, ask why the green logo is off the table, and it answers from the record, with the date.

Step 6: put the repeat jobs on a schedule

The jobs worth scheduling first are the ones that get done at ten on a Friday night, if they get done at all. Sorting new orders. Flagging stock that is running low. The weekly sales summary. Following up with someone who left something in their cart.

A scheduler on the machine starts each job at its time, whether or not anyone is at a desk: launchd on a Mac, a systemd timer on Linux. Each job is a small script that calls the agent, not a chat window left open.

  • Make every job safe to run twice. Machines wake up and catch up on a missed run, and somebody will start one by hand while it is already running.
  • Anything that reaches a customer stops for a person, unless you have approved that one job to send on its own.
  • Every job says when it fails, and you hear about a job that quietly stopped running.
One night at an online storeExample

An example timeline for an online store. Late evening the owner goes to bed. Overnight the system sorts new orders, flags low stock, sends an approved refill request, drafts the weekly sales summary and drafts follow-ups to shoppers who left items in their cart. In the morning the owner reads the summary and says yes to two things.

TimeYouYour central AI operating system
11 p.m.You go to bed
MidnightNew orders sorted
1 a.m.Low stock flagged; the refill request you approved goes out
3 a.m.Weekly sales summary drafted
5 a.m.Follow-ups to shoppers who left something in their cart, ready for your yes
8 a.m.You read the summary and say yes to two things

Example.

Done when: you run one job twice by hand and nothing doubles, and you stop it on purpose and hear about it.

Step 7: set the guardrails, then let it work

Without rails, even the smartest model stops to ask about every little question a job throws up. With them, it knows its lane and keeps going. The guardrails are what let it work without you.

  • Give each agent the tools its job needs and nothing more.
  • Back the rules that must never be broken with a check that runs before the agent acts, not with a line asking it to be careful.
  • Send the few calls that are yours, spending money and publishing anything, to your desk as a request ready for a yes.
  • Have a second agent check the first one's work before anything ships.
Does this need your yes?

Three questions asked in order. Does it spend money? Then it waits for your yes. Does it publish or send something new to the public? Then it waits for your yes. Does it delete something that cannot be rebuilt? Then it waits for your yes. Otherwise it does the job and logs what it did.

  1. Does it spend money?Yes It lands on your desk, ready for a yes
  2. Does it publish or send something new to the public?Yes It lands on your desk, ready for a yes
  3. Does it delete something that cannot be rebuilt?Yes It lands on your desk, ready for a yes
  4. None of the aboveIt does the job and logs what it did

Done when: you ask it, on purpose, to buy something or publish something, and it arrives as a request waiting for your yes. Nothing goes out until you give it.

Step 8: plug the AI model in as one part

The model is where the thinking happens, and for the hardest work you will usually rent it. Your system only goes out to it for the intelligence. Your rules, memory and jobs stay on your machine.

So keep the choice of model in one setting, in one place. Send hard reasoning and customer-facing writing to a cloud model, keep private files and small, frequent jobs on a local model, and set a spend cap on the cloud side. When a better model comes out, change that one setting.

Done when: you change the model in that one setting, ask the trip fee question again, and the new model gives the same answer, because the know-how never moved.

Step 9: own it, back it up, and know when it breaks

Everything that makes the system yours is plain files on a machine you own: the rules, the know-how, the decisions, the schedule of jobs. They move with you when you change models or tools. That only matters if they survive a bad day.

  • Back the machine up every night to a second place, encrypted, so a copy lives outside the building.
  • Restore one file from that backup at least once. A backup nobody has restored is a hope.
  • Have it send an alert to your phone when a job stops or the disk fills up.

Done when: you restore one file from last night's backup into a scratch folder, and one test alert reaches your phone.

The build, on one page

Tick each line only when its test has passed, and write the date beside it.

Central AI operating system build checklist

Nine checkboxes, one per step, each naming the test that proves the step is done.

  • Its own computer: restarted on purpose, reached from another network, everything running again
  • Its own accounts: no key in any file it reads, and one tool still works
  • Signed in to your tools: answers about this morning's email, Thursday's calendar and the customer from the real tools
  • Know-how written once: two agents give the same answer, and both change when the file changes
  • Decisions remembered: a fresh session explains an old decision, with the date
  • Jobs on a schedule: run twice, nothing doubles; stopped, you hear about it
  • Guardrails set: a purchase or a publish waits for your yes
  • Model plugged in: swapped in one setting, same answer to the trip fee question
  • Owned and backed up: one file restored, one test alert received

What goes wrong

  • Connecting every tool on the first day, with full access, instead of one tool at a time with read access first.
  • Keeping the know-how in a chat. It gets used once and lost.
  • Turning on scheduled jobs before the guardrails, so a job runs at night with nobody watching and nothing to stop it.
  • Treating one model as the whole system, so changing it means starting over.
  • Backups that nobody has ever restored from.
  • Calling a step done because it looks done, without running its test.

Questions

Do we need a developer to build this?

Not for most of it. The steps are a checklist you work through once, and the hardest parts are business decisions: what goes in the know-how file, and which calls wait for your yes. Some owners have it built for them and then run it themselves.

Can the team keep using ChatGPT or Claude?

Yes. People can keep the chat apps they like. The business's know-how, decisions and jobs live on the central system, so the answer to a customer question no longer depends on whose chat it was typed into.

How is this different from the AI built into our CRM or email tool?

That AI knows its own tool and nothing else. The system in this guide is signed in to every tool you use, reads your know-how first and remembers your decisions, so it can work across the whole business.

What does it cost to run?

One machine you buy once, its electricity, and whatever you spend on the cloud models you choose. Prices change too often to print here, so compare them on the vendors' own pages on the day you buy.

Is it safe to give an AI the keys to our tools?

It is a real decision, and the build is designed around it: the AI has its own accounts, reads before it writes, keeps keys in a vault, and checks run before risky actions. Spending money and publishing still wait for your yes. No setup is risk-free, which is why each step has a test.

Build your central AI operating system · Hatched Stacks