AI agents tutorials
Step-by-step AI agent tutorials: run OpenClaw, OpenCode, Codex CLI, Claude Code and n8n agents on your own server, and route models through LiteLLM.
8 tutorials
- 13 min read
How to Install and Secure OpenClaw on a VPS (Ubuntu 24.04)
Install OpenClaw (formerly Clawdbot and Moltbot) on an Ubuntu 24.04 VPS as an unprivileged user, keep port 18789 on loopback, and connect Telegram.
Read tutorial - 18 min read
How to Install Hermes Agent on Ubuntu 26.04 and Keep It Running
Install Hermes Agent on an Ubuntu 26.04 server, connect an AI model and Telegram, and keep it running after reboots so it replies while your laptop sleeps.
Read tutorial - 11 min read
How to Install OpenCode on Ubuntu 24.04 with API or Ollama Models
Install OpenCode 2 on Ubuntu 24.04 in 8 steps: run it as a separate user, connect an API key or a local Ollama model, use tmux, and limit shell access.
Read tutorial - 14 min read
How to Install Codex CLI on a Linux Server (Ubuntu 24.04)
Install Codex CLI on a Linux server (Ubuntu 24.04) in 10 steps: a non-root user, the bubblewrap sandbox, device code or API key login, tmux and codex exec.
Read tutorial - 14 min read
How to Run Claude Code on an Ubuntu 24.04 VPS with tmux
Run Claude Code on an Ubuntu 24.04 VPS in 9 steps: native install as a non-root user, headless login, a tmux session, and Remote Control from your phone.
Read tutorial - 18 min read
How to Set Up Claude Code with Ollama on an Ubuntu 26.04 Server
Set up Claude Code with open models from Ollama on an Ubuntu 26.04 server with no GPU: local models that keep code on your server, or cloud models for speed.
Read tutorial - 15 min read
How to Self-Host LiteLLM Proxy with Docker Compose on Ubuntu 24.04
Self-host LiteLLM proxy on Ubuntu 24.04 with Docker Compose and PostgreSQL in 9 steps: a virtual key per app, fallbacks, HTTPS, and Codex and Claude Code.
Read tutorial - 13 min read
How to Build an n8n AI Agent with an API Model or Ollama
Build an n8n AI agent in 9 steps: a Telegram bot with the AI Agent node, an API chat model, Postgres memory, two tools, and an optional Ollama model.
Read tutorial