The agent businesses now pay for is one you can run yourself
Nous Research has raised $90 million at a $1.5 billion valuation. The round was led by Robot Ventures, with NVIDIA, Microsoft's M12, Samsung, Union Square Ventures, Y Combinator and Menlo Ventures among the investors, and TechCrunch reports it as a Series B that brings the three-year-old company's total funding to $158 million. The money will build "Hermes for Businesses", which the company describes as a way for businesses to own their own intelligence stack, choose models on price and keep data private.
The product underneath is Hermes Agent, an MIT-licensed open-source agent released in February 2026. By the company's own estimate, it has been cloned more than 24 million times and drives roughly 2.5% of global AI token usage. The Wall Street Journal reported about $36 million in annualized revenue by mid-September and an expectation of passing $100 million before the end of 2026. For me the valuation is not the interesting part. The interesting part is that investors just paid for a kind of software you can install on your own box today and keep.
What it means to run your own AI agent
An AI agent takes a goal, asks a language model what to do next, runs tools such as a shell or an API call, and loops until the job is done. The agent is the loop and the model is the thing it asks. Owning an agent means owning both ends, or at least knowing which end you rent.
In practice, ownership comes down to four questions:
- The licence. Can you run, modify and keep a copy without asking anyone? An MIT or Apache 2.0 licence says yes, and a copy you have already downloaded stays under the licence it shipped with.
- Where it runs. Is the process, its memory and its files on a machine you control, such as a home server or a VPS in your name?
- Which model it calls. Is it pointed at a model server you run, or at an API key that is yours and that you can swap for another provider?
- Who can pull the plug. If the answer is only you, with
docker stop, you own it. If a vendor, a billing failure or a policy change can also stop it, you share it.
Nous CEO Dillon Rolnick put it in one line in the funding announcement: "The people using an AI system should control it." That is a fair test to hold any agent to, including the one I run myself, which is Hermes Agent on my own server.
A hosted agent is not wrong. It lives in someone else's account, and in return you get uptime, updates, a strong model and support. What it costs you is control: their roadmap, their price list, their terms, and your data on their servers. I wrote about that side today in a separate post on why a cloud AI agent is a rented dependency. An agent on your own box costs you hardware and time instead. Pick the bill you would rather pay.
Open source is not the same as yours
An MIT licence on the agent covers the agent's code. It says nothing about the model the agent talks to. If you point an open-source agent at a closed API, your setup is exactly as private and as durable as that API, no more.
The second gap is between "you can self-host it" and "you did". A self-hostable agent on a vendor's cloud console, using the vendor's model key, is a hosted agent with a nicer licence.
Before I trust any agent with a real job, I check four things:
- The agent's licence. Read the
LICENSEfile in the repository, not the marketing page, and check that plugins you depend on are not under a stricter one. - The model's weights. Can you download the weights for the model you plan to use and run them on hardware you have? Read the model's licence too, because some open-weight models carry use restrictions that the agent's licence does not.
- Whether it works with no outbound network. Cut its internet access and start it. If it fails because it phones home for telemetry, a licence check or a remote config file, you want to know that now, not during an outage.
- Whether its credentials can be revoked. Every key the agent holds should be one you can kill in one place without breaking anything else: a separate, scoped key per agent, never your personal GitHub token.
What a self-hosted agent stack looks like on your own box
This is the shape I use: the agent in a container, a model server or a key in your name, no host mounts, egress through a proxy that allows destinations by name, revocable credentials and logs you read. Start with two networks. The --internal flag means containers on agent-net cannot reach the internet at all.
docker network create --internal agent-net
docker network create egress-netFor a local model, Ollama is the simplest option. Pull the model while the container still has internet access, then move it onto the internal network:
docker run -d --name ollama -v ollama:/root/.ollama ollama/ollama
docker exec ollama ollama pull <model-name>
docker network disconnect bridge ollama
docker network connect agent-net ollamaOllama serves an OpenAI-compatible API at http://ollama:11434/v1, and most open-source agents can be pointed at an endpoint like that. If you use a hosted model instead, put your own API key in the env file and allow that provider's domain in the proxy below.
Next, a small forward proxy that is the only thing allowed out. Here is a minimal squid.conf:
http_port 3128
acl allowed dstdomain api.github.com .example.com
http_access allow allowed
http_access deny alldocker run -d --name egress --network egress-net \
-v $PWD/squid.conf:/etc/squid/squid.conf:ro ubuntu/squid
docker network connect agent-net egressThen the agent itself, locked down:
docker run -d --name agent \
--network agent-net \
--read-only --tmpfs /tmp \
--cap-drop ALL \
--security-opt no-new-privileges \
--memory 2g --pids-limit 256 \
-v agent-data:/data \
--env-file ./agent.env \
your-agent-imageThe agent.env file holds the model endpoint, the keys and HTTPS_PROXY=http://egress:3128, with NO_PROXY=ollama so local model calls skip the proxy. Most HTTP clients honour those variables, but check that yours does. If the agent refuses to start with --read-only, find out which path it writes to and give it a volume for that path, not a blanket mount of your home directory.
Now test the claims instead of trusting them. From inside the agent container, a request to a domain that is not on the list should fail, and the proxy log should show it as denied:
docker exec agent curl -sS --max-time 5 https://example.org
docker exec egress tail -f /var/log/squid/access.logLines marked TCP_DENIED show what the agent tried to reach that you did not expect. Read them, along with docker logs --since 24h agent, on a fixed day each week. Stopping it takes two steps: docker stop agent on your side and revoking the key at the provider.
The honest costs of owning it
Here is what you give up. A model that fits on one consumer GPU is usually behind the best hosted models on hard, multi-step work. Open-source agents are often less polished than paid products, and there is no vendor support line when an update breaks something at 11pm.
The biggest cost is your own evenings. Updates, patches and reading those logs are on you. If you will not do that work, a self-hosted agent becomes an unpatched server with a shell tool attached, which is worse than a hosted one.
Here is what you keep. The workflow keeps running when someone else's funding round, owner, pricing or regulator changes. A copy of an MIT-licensed agent on your disk stays usable under that licence, whatever any company decides later. A model whose weights you have stays the same model until you choose to replace it.
There is a middle path worth starting with: run the agent yourself, point it at a hosted model with your own key, and keep a local model as a fallback. You keep the loop, the tools and the off switch, and rent only the part that is hardest to run at home.
The funding news says businesses will pay to own their agent stack. The same ownership is available to anyone with a spare machine. The difference is that nobody runs it for you.
If you want help setting it up
If you would rather have someone build this stack and harden it for you, with the container, the model server, the egress proxy and the revocable keys done properly, take a look at the services page. You can also find me on Fiverr: hiteshsaini459 · Upwork: hiteshsaini25.
Related reading: Banks Are Blocking AI Agents That Log In With Your Password.
How to host an AI agent on your own server
The stack above is the fiddly part. What's left is picking a box that fits, starting the agent so it comes back on its own, and proving it does.
- Decide where the model runs. A hosted model means the box only runs the agent, the proxy and a few scripts, so CPU is enough. We run six agent profiles on 8 vCPU and 24 GB of RAM.
- Do the memory maths for a local model. Add the weights, the context cache, the OS and the agent, then keep a quarter spare. A CPU runs a small model slowly. Read what a local AI model actually needs before you rent a GPU box.
- Make Docker start at boot.
sudo systemctl enable --now docker. A restart policy does nothing if the daemon stays down. - Bring the agent up under compose. Keep the network and hardening flags from earlier, then add a restart policy and a health check.
services:
agent:
image: your-agent:latest
restart: unless-stopped
env_file: ./agent.env
depends_on:
- ollama
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:8080/health"]
interval: 30s
timeout: 5s
retries: 3
docker compose up -d
docker inspect --format '{{.State.Health.Status}}' agentProve it survives a reboot
Run sudo reboot, wait two minutes, then check again. If it prints healthy without you touching anything, you're done. A starting that never clears usually means a wrong health check URL.
What self-hosted AI costs and what you get
Here's our own invoice: 30 days, six agent profiles, one VPS. We spent $133.64 on model calls, which is $4.31 a day on average. The median day was $2.77 and the worst was $16.27.
The server is a Contabo Cloud VPS 8 (8 vCPU AMD EPYC, 24 GB RAM, 300 GB SSD). It lists at $13.44 a month and we prepaid the year, so it lands near $6.
| Line item | Per month |
|---|---|
| Server (prepaid yearly) | about $6 |
| Workhorse model calls | $91.88 |
| Second provider | $41.77 |
| Flat-rate writing plan and small extras | about $23 |
| All in | about $163 (about $171 paying the server monthly) |
We moved 11.95 billion tokens, and 98 percent were cache reads, which providers bill far below fresh input. The workhorse route carried 98.4 percent of the tokens. The second provider carried 1.6 percent and still cost $41.77, about 27 times more per token. That's where I'd cut first.
Which model you pick decides the bill. On the same workload our cheap workhorse comes to $87. A Sonnet-class model would cost $3,161, which is 36 times more. An Opus-class model would cost $4,182, or 48 times more.
The cheapest call is the one you never make. We run 81 scheduled jobs, and 61 of them are plain scripts that never touch a model.
So what does about $163 a month buy? Your data stays on your own disk, the case for self-hosted AI keeping your data local. You can swap the model endpoint in the env file without a code change. The workflow keeps running when a vendor changes its pricing, and the licence stays yours.
That trade is real. Our workhorse is weaker than a frontier model on long, fiddly reasoning. Local models need a GPU to be fast: a Q4 8B takes about 4.9 GB of weights before the context cache, so 8 GB is the floor for 7B to 9B, and 13B wants 12 to 16 GB.
Self-hosted AI agent setup: the checklist
Tick every line before you call it done.
- Restart policy set.
docker inspect --format '{{.HostConfig.RestartPolicy.Name}}' agentprintsunless-stopped. - One scoped, revocable API key per agent. A key per profile with its own spend cap, so you can kill one and leave the rest running. More in our guide to hardening a self-hosted agent.
- Egress allowlist tested. A request to a domain outside the list shows up as
TCP_DENIEDin/var/log/squid/access.log. - Logs read by a person. Skim
docker compose logs --since 24h agentonce a week for retry loops and odd tool calls. - A spend alert. Set a daily cap at the provider, or alert when a day passes three times your median. Ours would fire at about $8.
- Data volume backed up. Schedule
docker run --rm -v agent_data:/data -v "$PWD":/backup alpine tar czf /backup/agent-data.tgz -C /data .and test a restore once. - A written stop procedure. Keep a
STOP.mdnext to the compose file:docker compose stop agent, revoke the key, then check that the proxy log has gone quiet.