Self-host CrewAI on a no-KYC VPS
Run CrewAI crews 24/7 or on a schedule on your own Linux server, with no laptop or notebook tab left open. Most of the work happens at your model provider, so Blackbox Core runs several crews. Sign up with a generated credential and pay with crypto, card or cash by mail.
- Hosted or local models
- Runs on a systemd timer
- Python 3.10 to 3.13
- No KYC
How much server a crew needs
Where the model runs decides the plan. CrewAI itself needs little.
- Crews on a hosted model
- Blackbox Core: 2 vCPU, 4 GB RAM. A run spends most of its time waiting for API replies, and memory is a small database folder on disk. Several crews fit side by side.
- Crews that drive a browser
- Scraping tools that start a headless Chromium use a few hundred MB per browser. Take Blackbox Plus, with 4 vCPU and 8 GB, when several run at once.
- A local 7B or 8B model through Ollama
- Blackbox Plus, 8 GB. No plan has a GPU, so the model runs on the CPU, and a crew makes many model calls per run. Expect a run to take much longer than it does on a hosted API.
- Larger local models
- Blackbox Max (6 vCPU, 16 GB) for 12B to 14B models, Ultra (8 vCPU, 32 GB) for 24B to 32B models.
A Blackbox server upgrades in place from the control panel. You pay the difference for the days left in the term and the server restarts once with the new specs. There is no downgrade.
Install CrewAI and run a crew every morning
On Ubuntu 24.04, Debian 12 or Debian 13. The crew runs as its own user, and a systemd timer starts it once a day instead of a loop that never stops. Type the first part line by line as the crew user, because the wizard asks questions, then paste the systemd part as root.
# As root: a normal user for the crew. Agents should not run as root.
useradd --create-home --shell /bin/bash crew
su - crew
# uv, then the CrewAI CLI. CrewAI needs Python 3.10 to 3.13;
# uv downloads a matching Python if the system's does not fit.
curl -LsSf https://astral.sh/uv/install.sh | sh
source ~/.local/bin/env
uv tool install crewai
# The wizard asks for your agents, their tasks, a model and your API key,
# and saves the model and key in .env. It reads your answers from the
# terminal, so type these lines one at a time. Answer n to "Run it now?"
crewai create crew research_crew
cd research_crew
crewai install
crewai run
exit
# Back as root: one run every day at 06:00
cat > /etc/systemd/system/crew.service <<'EOF'
[Unit]
Description=research_crew, one run
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
User=crew
WorkingDirectory=/home/crew/research_crew
Environment=PATH=/home/crew/.local/bin:/usr/local/bin:/usr/bin:/bin
Environment=CREWAI_DISABLE_TELEMETRY=true OTEL_SDK_DISABLED=true CREWAI_TRACING_ENABLED=false
ExecStart=/home/crew/.local/bin/crewai run
# Stop a run that hangs or loops after two hours
TimeoutStartSec=2h
EOF
cat > /etc/systemd/system/crew.timer <<'EOF'
[Unit]
Description=Run research_crew daily
[Timer]
OnCalendar=*-*-* 06:00:00
Persistent=true
[Install]
WantedBy=timers.target
EOF
systemctl daemon-reload
systemctl enable --now crew.timer
systemctl list-timers crew.timer
journalctl -u crew.serviceWhat to watch on a crew that runs alone
A loop that runs up the bill
Each agent may take up to 25 steps per task (max_iter) and retries failed calls, and a timer repeats all of it every day. Lower max_iter, set max_rpm and max_execution_time on the agents, and set a spending limit with your model provider.
Memory that calls OpenAI anyway
The wizard turns memory on by default, and memory embeds text with OpenAI's text-embedding-3-large unless you pick another embedder. On Anthropic or a local model with no OpenAI key, memory fails. Ollama works as a local embedder.
A run that stops on a missing input
At a terminal, crewai run asks for any input that has no value. A timer has no terminal, so the run exits with "Missing required input" instead. Give every input a default in the inputs object of crew.jsonc or pass them with --inputs. In the classic layout the inputs live in main.py.
Usage data sent to CrewAI
CrewAI sends anonymous telemetry by default: versions, agent roles, tool names and model names, not prompts. CREWAI_DISABLE_TELEMETRY=true and OTEL_SDK_DISABLED=true stop it, and CREWAI_TRACING_ENABLED=false stops traces to CrewAI's platform. Leave share_crew off, since it sends task content too.
Keys in the project folder
The .env file holds every API key the crew uses. Keep it out of git, and keep the project readable only by the crew user with chmod 700 /home/crew.
Reboots with disk encryption on
With full-disk encryption on Blackbox, the server waits at an SSH prompt for your passphrase after every reboot. The timer cannot fire until you unlock it. Persistent=true then starts the missed run once.
What people run on a CrewAI server
Research digests
A researcher agent searches and reads, an analyst condenses, and a writer drafts a morning report for your inbox or a chat channel.
Watchers
Agents check changelogs, RSS feeds or forums for keywords on a timer and send a short summary when something matches.
Market notes
News and filings summarized into notes for a private Telegram channel. The crew reads and writes text and has no access to a trading account.
Alert triage
A triage agent reads incoming alerts, groups duplicates and suggests a first step, with read-only access to your systems.
Keep the keys on Blackbox
A crew holds an API key for every model and tool it uses, in .env on disk and in memory while it runs. On a Blackbox Linux image the CPU encrypts that memory (AMD SEV-SNP) and the disk can be encrypted with a passphrase only you hold.
- Core has 2 vCPU, 4 GB of RAM and 50 GB of NVMe, enough for several crews on hosted models.
- Plus (8 GB), Max (16 GB) and Ultra (32 GB) leave room for a local model through Ollama.
- No guest agent, so the host has no channel to run commands inside.
- IPv4 plus a routed IPv6 /64, and 2 to 32 TB of transfer per 31 days depending on the plan.
- Any term from 7 to 365 days, prorated by the day.
Questions
Why a VPS instead of running CrewAI on my laptop?
A server stays on when your laptop sleeps, so a crew scheduled for 6:00 runs at 6:00. Long runs that spend minutes waiting on API replies finish without a terminal open, and your API keys live on one machine instead of every computer you work from.
How much RAM do I need?
4 GB (Blackbox Core) when the model is hosted (OpenAI, Anthropic, Gemini, OpenRouter and so on). CrewAI is a Python process that mostly waits for replies. A local 7B or 8B model through Ollama on the same server needs 8 GB (Blackbox Plus), and 12B to 14B models need 16 GB (Blackbox Max).
Can I run CrewAI without OpenAI?
Yes. CrewAI talks to OpenAI, Anthropic, Gemini, Azure and Bedrock through their own SDKs, and reaches Ollama, OpenRouter and many other providers through OpenAI-compatible endpoints or LiteLLM. For a model on the same server, use an ollama/ model name with base_url set to http://localhost:11434. Memory still embeds with OpenAI by default, so give it a local embedder too. The Ollama VPS page shows which models fit which plan.
How do I orchestrate scheduled runs?
With a systemd timer, as in the example on this page. It starts the crew at a set time, runs a missed start once the server is back up (Persistent=true), and keeps each run's output in the journal. cron works as well. Do not wrap crewai run in a service with Restart=always: it starts the crew again the moment a run ends, and you pay for every loop.
Where do agents store memory?
The crewai create crew wizard turns memory on unless you answer no. CrewAI keeps it in a LanceDB database. The docs name ./.crewai/memory in the project, but the 1.15 code writes it to ~/.local/share/<project folder name>/memory for the user that runs the crew (here /home/crew/.local/share/research_crew/memory). Set CREWAI_STORAGE_DIR and it moves to $CREWAI_STORAGE_DIR/memory. Back up whichever of those folders exists on your server, along with the project.
Can I monitor what the crew is doing?
crew.jsonc turns verbose on for the crew by default. Turn it on for the agents too, in their settings, and every step lands in the systemd journal: journalctl -u crew.service shows past runs. For traces and token counts per step, CrewAI works with open-source tools such as Langfuse, Arize Phoenix, MLflow and OpenLIT, which you can also host yourself.
Is it safe to give an agent shell access?
Only with limits. Run the crew as an unprivileged user, as in the example, never as root. Give agents tools that each do one job instead of a general shell, scope API keys to what the crew needs, and put a human check before anything that sends mail, posts in public or spends money. For code that agents write and then run, CrewAI's docs point to a sandbox service such as E2B or Modal.
Does Servury log my CrewAI traffic?
No. We keep no traffic logs for customer servers. A Blackbox has no guest agent, so nothing of ours runs inside it, and the host only counts bytes for the transfer allowance. Your account is a generated credential with no email or name on it.
Guides on this topic
- How to Run Hermes Agent 24/7 on a $10 VPS (Anonymous Setup)Hermes Agent gets smarter the longer it runs, so it needs a host that stays up. How to deploy it anonymously on a $10 VPS in about 10 minutes.
- Why Developers Are Self-Hosting AI Agents and LLMs Instead of Relying on Cloud AI PlatformsWhy developers are moving language models and agents onto their own VPS, keeping prompts, documents, and agent memory private instead of sending them to a...
- Managed vs Unmanaged VPS: Which Do You Actually Need?Managed means someone else has root. Unmanaged means you do. That decides the price, the privacy, and whether you can call anyone at 3 a.m. This guide helps...
- Short-Term VPS: When Hourly, Weekly or Monthly Hosting Makes SenseHourly cloud, daily-prorated VPS, month-to-month with no contract: three different products that all get called short-term hosting. Which one fits a two-day...