← Build an AI Team Lesson 12 of 12

Run it every day

What keeps it running

Everything your team does, chats and scheduled jobs, runs inside each bot's gateway. If a gateway stops, that bot goes quiet. In Lesson 9 you installed each gateway as a service: the computer restarts it if it crashes, and starts it again when the computer starts. A service can't wake a sleeping laptop, though.
gateway stops β†’ bot goes quiet

Something happens. Does the team come back by itself?

Check a bot any time with marketing gateway status.

And when it's running, but something's off?

Is it healthy?

Three commands answer most questions. status: is it running? logs: what did it do, and what went wrong? doctor: is the setup itself OK? Start with status, then read the logs. Logs are the bot's diary: every message, job and error, with the time.
status β†’ logs β†’ doctor

Which command do you run first?
marketing gateway status   # running?
marketing logs             # what happened, and errors
hermes doctor              # config, keys and services OK?

Now, the day a disk dies.

Back it up

hermes backup saves all of ~/.hermes into one zip: every bot, its memory, SOUL.md, schedules and keys. Because it holds keys, treat the zip like a password. Two more things: your business files live in the shared folder, not in Hermes, so copy that too; and a backup on the same laptop dies with the laptop.
back up Hermes and the shared folder Β· keep it off the laptop

Choose your habits. Then the laptop's disk dies.
hermes backup                    # β†’ ~/hermes-backup-<date>.zip
hermes import hermes-backup-….zip # on a new machine, gateways stopped

Backups also make updates safe.

Update safely

Hermes gets a new version almost every week: fixes, and sometimes new settings. hermes update pulls it in and restarts the gateways. Update when you're around to check, never right before a busy sale day, and take a backup with it, so you can go back.
quiet time Β· backup Β· update Β· check

Tap the steps in the right order.

    One last choice: where the team lives.

    Laptop or server?

    A laptop is fine if it stays on when jobs run. If it sleeps at night, or travels with you, move the team to a small server: a computer you rent online, about $5 a month. The gateway only calls out to Telegram and the model, so you open nothing on it except your login. A server that small can't run a local model, so bots there use an online one.

    Answer three questions about your business.
    # moving: back up on the laptop, then on the server
    hermes import hermes-backup-….zip
    marketing gateway install
    sudo loginctl enable-linger "$USER"   # keep running after you log out

    Count it on new numbers.

    ✏️ Practice 12.1

    Remember:
    gateway stops β†’ bot goes quiet
    back up Hermes and the shared folder Β· keep it off the laptop
    Since your last backup, everything new can be lost.

    Work each one out. Type the answer, press Check.
    A small server costs $5 a month. What does it cost for a year?
    The laptop sleeps from 11 PM to 7 AM. Jobs run every day at 9 AM, 2 PM, 8 PM and 3 AM. How many jobs are missed in a week?
    You back up every Sunday night. The disk dies the next Saturday night. How many days of new work are lost?
    The business gets 80 orders a month. The Analyst projects 25% more in a year. How many orders a month is that?

    Now, the final project.

    Final project: the whole team

    Here is Amal Designers with every lesson switched on: four bots in sandboxes, on Telegram, with schedules, approvals and backups. Marketing doesn't just plan: it gives the social media manager one task each morning and checks in each evening.
    bots plan, draft and follow up Β· people decide

    Step through one Monday.

    marketing cron create "0 9 * * *" "Give the social media manager today's one task, with a draft caption." --name "Daily task" --deliver telegram
    marketing cron create "0 19 * * *" "Check whether today's task is done. If not, ask the social media manager what's stuck. Report to the CEO in one line." --name "Check-in" --deliver telegram
    # all five jobs: jobs.sh in the starter kit

    And the Analyst looks further ahead.

    The Analyst's projection

    Each Monday the Analyst also shows where today's pace leads in 1, 2 and 3 years. That's a projection: it assumes the same growth every month. It's useful for planning fabric, money and help, but it is not a promise. Its SOUL.md says: β€œLabel every future number as a projection, and say what it assumes.”
    in n months = today Γ— (1 + growth)ⁿ
    60 orders, 3% a month: 60 Γ— 1.03ΒΉΒ² β‰ˆ 86 in a year.

    Set today's numbers. Watch the projection.

    What if the team stops working one day?

    When it goes wrong

    Running for real means things break. Start with status and logs, and keep your last backup somewhere safe.

    Match each problem to its fix.

    Checked against Hermes Agent v0.23 (November 2026). See the Hermes command list for every option.

    Quick check: did it all make sense?

    Lesson 12 test

    5 questions, one for each big idea in this lesson. Answer them all right to pass. A wrong answer tells you why, and which page to look at again.

    1. PredictThe gateways are installed as services. The laptop restarts at night for an update. What happens?
    2. DecideWhere should the backup zip live?
    3. PickA new Hermes version is out on Friday. Your big sale starts Saturday. When do you update?
    4. ChooseYour laptop goes in a bag every night, and the Operations check runs at 3 AM. What fits?
    5. Read itThe report says β€œabout 170 orders a month in 3 years.” How should the CEO read it?

    The end of the course.

    Your team, for real

    You started with one question: why a team? Now you run one, as its CEO. Tick what you've really done:

    Monday's task is ready for the social media manager. Anything you want to change, CEO?

    The course ends here
    Your business doesn't. What will your team do first?
    Back to the course map

    Every file from Lessons 7–12 is in the starter kit. Start with bash setup.sh.

    Final project, for your business: write your team's one-page plan. For each bot: its job, its schedule, what it drafts, and which person decides. Then build it, one bot at a time.