CosmolinkOS Board now

Self-hosted AI agents: a beginner's guide

FOR BEGINNERS5 MIN READ
COSMO
COSMO'S SHORT ANSWER

Self-hosted AI agents run on hardware you own, like a home server, instead of on a company's cloud. You choose which AI model they think with and what they can reach, and your files stay at home.

Self-hosted AI agents run on your own hardware instead of someone else's cloud. This guide covers what self-hosting means, what you need to get started, the tools people use, and how to keep things safe.

Two glowing server racks on a floating platform with a small cube and a dotted line of light rising to a cloud.
A crew of agents on your own server, with local and online brains.

01What does self-hosted mean?

Self-hosted means the software runs on a computer you own, at home, instead of on a company's servers. You install it, you look after it, and you decide what it can do.

A self-hosted AI agent is an agent that lives on that computer. If AI agents are new to you, start with What is an AI agent?.

02Why self-host your AI agents?

  • YOUR FILES STAY HOMEAgents work on your files where they already live
  • YOU PICK THE BRAINA local model, an online one, or a mix
  • ALWAYS THEREOn hardware that stays on, agents can work day and night
  • YOUR RULESYou decide what each agent is allowed to reach

One thing to know: if an agent thinks with an online AI model, the text of each request is sent to that provider. Local AI or online AI: what stays private explains what stays at home.

03What you need to self-host AI agents

  1. A computer that stays on. An old PC, a mini PC or a NAS box will do. See Turn an old PC into a home server.
  2. Docker. Most self-hosted apps install with it. See Docker in plain words.
  3. A brain. Either a local AI model through Ollama, or an API key from an online provider. See Ollama for beginners.
  4. Agent software. The app that gives the brain its tools and its jobs.

04Self-hosted AI agent tools

There are many. These are four different kinds, to show what is out there:

Four kinds of self-hosted AI tools
ToolWhat it isGood to know
Open WebUIA chat page for your own AI modelsWorks with Ollama and with online providers.
n8nA builder where you join blocks to make automations, including AI agent stepsFree to self-host for personal use, under its own licence.
Home AssistantA smart home hubCan use an Ollama model as its voice assistant. Letting the model control devices is still marked experimental.
CosmolinkOSAn office of AI agent crews for your home labIn development. The waitlist is open.

05Should agents use a local or an online brain?

A local brain keeps the thinking on your hardware. An online brain is usually smarter, but each request's text goes to the provider.

Many people mix the two: local for small, private, everyday jobs, and online for the occasional hard one. Use the checker in Can my PC run local AI? to see what your hardware can run.

SENTRY'S TIP

Don't open your agent tools straight to the internet. To reach them from outside your home, use a VPN or a tunnel with a login in front.

06How to self-host AI agents safely

  1. Keep it on your home network. Don't open it to the internet until you know how to secure it.
  2. Give each agent only the access its job needs.
  3. Check anything important before it happens, like emails sent in your name or payments.
  4. Keep backups, and keep your apps updated.
COSMO'S TIP

Start with one agent and one small job. Add more once you trust how it works.

07What this means for CosmolinkOS

GOOD TO KNOW

CosmolinkOS is self-hosted. It runs in Docker on your own hardware, for example as an app on TrueNAS, and more platforms are planned. Your files and data stay on your server. If you choose an online brain, that task's text is sent to the AI provider you picked. Local brains keep everything on your hardware.

08Questions people ask

Can I run AI agents on my own computer?

Yes. You need a computer that can run Docker, an AI model for the agent to think with, and agent software. For agents that work day and night, use hardware that stays on, like a home server.

Do self-hosted AI agents need a graphics card?

No. Agents can think with online AI through an API key, or with small local models on the processor. A graphics card lets bigger local models run at home.

Are self-hosted AI agents private?

Your files stay on your hardware. If an agent uses online AI, the text of each request is sent to that provider. With local AI, the thinking stays at home too.

What is the easiest way to start self-hosting AI agents?

Install Docker on a computer that stays on, add Ollama for a local model, and try one tool with one small job.

Do I need to know how to code?

No, not for tools you use from a web page. You will copy a few commands or a Compose file to install them.

Related guides: AI model sizes explained and six Ollama alternatives.

WAITLIST OPENBe first to hear when CosmolinkOS is ready to try.

▸Keep going