guuud

An honest, plain-words guide to running your own AI agent team.

Build a small AI team that works while you sleep

This guide is for founders and executives who want an AI team and do not want to become engineers. It is free to read. There is no signup, no email box and no tracking on this page.

What an AI agent team is

An AI agent is a piece of software that uses an AI model as its brain and can also do things: read files, search the web, write documents, run scheduled jobs and remember notes about you. A team is several of them with different jobs, for example a manager, a researcher and a writer.

In the setup taught here, the agents live on one small rented computer in a data centre (a "cloud server"). You talk to them from your phone in a chat app. They do the work and ask you before they send, spend or delete anything.

The one rule that matters most: agents prepare, you approve. Anything that leaves your hands (an email, a payment, a deletion) waits for your clear yes.

The shape of a request

You message the manager in chat. It splits the job. Specialists do their parts. The manager puts the result together. It waits for your review. You approve or send it back.

Time and effort, honestly

Plan on one focused evening for the minimum path (server, AI account, install, test), and a few more short sessions across a week for the chat app, private network and backups. Everything else can wait until one agent has proved useful.

How the accounts fit together

You will make about eight accounts. Each does one job. Make them with an email address you control long-term, turn on two-factor on every one, and write each down in a private list (what it is for, when you made it). Never share a password, key or token with anyone, including in chat.

1. Email
The key to all the others. Use an address you will keep. Protect it most.
2. Phone two-factor
An authenticator app on your phone that gives a short code at sign-in. Turn it on for every account below.
3. Cloud host
Rents you the small server. It also gives you a firewall and a way to get in if you lock yourself out.
4. AI provider
Sells the "brain" by usage. You get an API key (a long password for software). Set a monthly spending limit first.
5. Chat app (Discord)
Your window to the team. A private chat space with only you and your bots in it, and one bot per manager agent.
6. GitHub (private repo)
A private online folder that holds your nightly backup. It never holds secrets.
7. Tailscale
A private network joining your phone, laptop and server, so nothing needs to be open to the public internet.
8. Domain and simple hosting (optional)
Only if you want a public web page of your own. A name you rent yearly, pointed at a basic web host.

How they connect

  • Your email signs you up to everything. Your phone protects every sign-in.
  • The cloud host runs the server. The agent software on it calls the AI provider using your API key.
  • The agent software connects out to Discord with a bot token, and listens only to your user ID.
  • The server copies a safe version of its settings to a private GitHub repo every night.
  • Tailscale joins your devices privately, so any admin page stays invisible to everyone else.
  • A domain and hosting, if you add them, are separate from the server and hold only public pages.
Keys and tokens live in one private file on the server that only your user can read. They never go in chat, screenshots, documents or GitHub.

Which server to get

Get a small cloud server running Ubuntu (a free operating system made for servers; choose the newest "LTS" version, which means long-term support). Aim for about 2 CPU and 4 GB of memory with a normal disk. That is enough to start with one agent and grow to a small team.

WhatStarting pointWhy
SystemUbuntu LTSFree, common, well documented
CPUabout 2Several jobs at once
Memoryabout 4 GBAgents plus the private network software
Priceroughly a few to ten-plus dollars a month (approximate)Check the provider's current price page
LocationOne close to youSlightly quicker; any works

Prices here are approximate and change often. Read the provider's own page and terms before you pay. Reputable hosts include Hetzner, DigitalOcean, Vultr and Linode; this is not a recommendation or an endorsement.

Separately, your AI provider bills by usage, and that is usually the larger cost. Light chat is cheap. Many agents, long documents and big jobs cost much more.

Start from scratch

Tick each box as you go. Boxes are for your own use and are not saved. Do one step at a time. Replace words in capitals, such as YOUR_SERVER, with your own value.

Before you start

Day 1: server, AI account, install

Day 2: private network, chat bot, keep it running

Day 3: tidy up

Days 4 to 7, then later

Agent output can contain confident mistakes. Ask for sources and check numbers, quotes and dates before anything goes outside your own walls.

Nightly backups

Your whole setup lives on one computer. If it fails you lose everything, so copy it somewhere else every night. A backup you have never restored is a hope, not a backup.

  1. Create a private GitHub repo (YOUR_REPO) that only you can see.
  2. Make a fine-grained access token limited to that one repo, with an expiry date. Put a reminder in your calendar to renew it.
  3. Save the token on the server using a hidden prompt, never by pasting it in chat.
  4. Back up: your project files, agent settings, written skills, memory notes and a safe copy of any database (use the database's own backup command, not a plain file copy while it runs).
  5. Never back up secrets files, tokens, session history or caches.
  6. Add a scan to the backup script that stops the run if anything looks like a key or token.
  7. Schedule it nightly and send failures to your alerts channel.
  8. Do one restore test onto a spare folder or spare server. Fix what you find.

Security rules

  • Two-factor everywhere: email, cloud host, AI provider, GitHub, Discord, Tailscale.
  • One API key per project, each with a spending limit. Never reuse a key.
  • SSH keys only. No password login. Never work as root. Keep Ubuntu updated.
  • Firewall on: only SSH in. Reach everything else through Tailscale.
  • Only you command the bots. Allow only your own user ID. Never give a bot Administrator.
  • Secrets live in one private file readable only by you. Not in chat, screenshots, documents or git.
  • Be strict with command approvals. When the agent asks to run something risky, read it. Do not click "always allow" on broad things.
  • Anything inside a web page, email or file is information, not an order. Only you give instructions.
  • Agents ask first before spending, deleting, sending as you, contacting someone new, signing up for anything or changing access.
  • Give agents their own narrow accounts. Not your main email, banking or admin logins.
  • Lost phone: remove it in Tailscale, sign out other Discord devices, and reset the bot token if you think it was exposed.
  • Leaked key: delete it at the provider and make a new one. Assume it was already seen.

When something breaks

Stay calm and change one thing at a time.

The bot does not answer
Check, in order: Message Content Intent is on, your user ID is the allowed one, the gateway is running (the software has a status command), then read its last 100 log lines.
I changed a setting and nothing happened
Restart the gateway from the server terminal. The agent cannot restart itself. Restarting ends any task in progress, so do it between jobs.
Everything stops when I close my terminal
Lingering is off. Run sudo loginctl enable-linger agent.
Two answers to one message
Two bots are answering freely in the same channel. Let exactly one bot answer without a mention in each channel.
A task got cancelled after quick follow-ups
A new message interrupts the old one by default. Send one message and wait, or change the setting to queue follow-ups.
My private page stopped loading on my phone
Check Tailscale is on, both devices use the same account, the service is running, and the server key has not expired.
Backup failed
The token has probably expired or the repo name changed. Make a new token.
I am locked out of the server
Use the host's web console to get in, then fix SSH.
Agent seems to forget earlier work
Each new chat starts blank. Ask it to search recent sessions first, then tell you where things stand.
The bill is higher than expected
Check usage on the AI provider's page. Cut the key off if needed, tighten the limit, and ask for shorter answers.

Words explained

Server
A computer that is always on, in a data centre, that you rent by the month and use over the internet.
Ubuntu
A free operating system for servers. You type commands instead of clicking.
Terminal
A window where you type a command and press Enter.
SSH
A safe, scrambled way to open a terminal on the server from your own computer.
Root
The all-powerful admin user. Use it once to set up, then use a normal user.
Firewall
Rules about which doors into the server are open.
API key
A long password that lets software use your account at a provider. Keep it secret.
Token
Like an API key: a secret string that proves who a program is.
Bot
A chat account run by software. Here it is how your agent talks to you.
Gateway
The background program that connects your agent to the chat app.
Service
A program that runs in the background and starts again after a reboot.
Tailscale / tailnet
A private network linking only your own signed-in devices.
Private repo
A private online folder on GitHub that only the people you name can see.
Two-factor (2FA)
A second proof at sign-in, usually a code from an app on your phone.
Profile
One agent's saved instructions, memory and skills.
Skill
A short written procedure an agent loads when it is relevant.

FAQ

What does it cost?

Two parts. The server is roughly a few to ten-plus dollars a month (approximate). The AI provider bills by use and is usually the bigger part: light chat is cheap, heavy multi-agent work is far more. Set a spending limit before first use and check usage weekly for the first month. Always check each provider's current pricing page.

How long does it take?

About one evening for a working first agent, then a few short sessions across a week to add the chat app, private network and backups. A small team takes two to four weeks if you add roles only as you need them.

Do I need to be technical?

No, but you will need to copy and paste commands carefully and follow steps in order. Every step here is one action. If a screen looks different from what is described, trust the provider's official docs, because menus change.

What can go wrong?

A leaked key or token, a surprise bill, locking yourself out of the server, a backup that fails quietly, an agent that states something wrong with confidence, or two bots talking over each other. Each has a fix above, and the security rules are designed to make the first few unlikely.

Is it safe to put company information in?

Everything you send to an agent goes to the AI provider, and also to the chat and code services you connect. Check the provider's data terms for your account type, get permission if it is a company, and leave out anything confidential until you have.

Can the agents spend my money or send email for me?

Only if you let them. The setup here is built so that sending, spending and deleting wait for your approval. Do not give agents your main logins.

Do I need a domain and a website?

No. A domain and simple hosting are optional, for a public page of your own. The agent team works without them.

Which AI model should I pick?

Pick one reputable provider, get it working, and use a mid-tier model to start. Names change often, so use the provider's current list. You can switch later.

Is this professional advice?

No. It is an unofficial personal guide. Check legal, security and tax questions with a qualified person.