Install Hermes Agent dari Nol
Panduan lengkap โ dari VPS $1.50 sampai connect Telegram. Semua OS. Gak perlu skill coding.
Apa itu Hermes Agent?
Hermes Agent adalah autonomous AI agent dari Nous Research. Bukan chatbot wrapper โ dia bisa jalanin terminal, buka browser, baca/tulis file, self-improve, dan connect ke 20+ platform messaging.
| Fitur | Detail |
|---|---|
| ๐ง Self-Improving | Bikin skill dari pengalaman, improve sendiri |
| ๐ฌ Multi-Platform | Telegram, Discord, Slack, WA, Signal, 20+ |
| โ Run Anywhere | Lokal, VPS $1.5, Docker, Termux Android |
| ๐ง 60+ Tools | Terminal, browser, web search, image gen, TTS |
| ๐ Memory & Cron | Ingat lintas sesi, scheduled task |
| ๐ MCP Support | Extended capabilities via MCP server |
Prasyarat
Satu-satunya prerequisite wajib: Git. Installer auto-detect + install sisanya (Python, Node.js, ripgrep, ffmpeg).
| Item | Wajib? | Keterangan |
|---|---|---|
| Git | โ Wajib | apt install git |
| Python / Node.js | โ Otomatis | Installer auto-detect via uv |
| Server / Laptop | โ | Linux, macOS, WSL2, Windows, Termux |
| API Key Provider | โ | OpenRouter, Anthropic, OpenAI, Nous Portal |
| Waktu | โฑ ~5 menit | Dari 0 sampai chat pertama |
Daftar VPS Budget (Update Juni 2026)
Pilih lokasi Singapore/Hongkong untuk latency rendah ke Indonesia.
| # | Provider | Spec | Harga | Catatan |
|---|---|---|---|---|
| 1 | Contabo | 4 vCPU, 8GB, 75GB NVMe | ~โฌ4.40/bln | Value terbaik |
| 2 | RackNerd | 1 vCPU, 1GB, 20GB | ~$1.50/bln | Termurah |
| 3 | IONOS | 1 core, 1GB, 10GB | ~$2/bln | Entry level |
| 4 | Tencent Cloud | 2 vCPU, 2GB, 40GB | ~$4.20/bln | Latency rendah ke Indo |
| 5 | Hetzner | 2 vCPU, 4GB, 40GB | ~โฌ3.99/bln | Developer favorite |
| 6 | OVHcloud | 2 vCore, 4GB, 40GB NVMe | ~$4.54/bln | Anti-DDoS kuat |
| 7 | DigitalOcean | 1 vCPU, 1GB, 25GB | ~$4/bln | Snapshot mudah |
| 8 | Vultr | 1-2 vCPU, 1-2GB | ~$5-6/bln | Banyak lokasi Asia |
| 9 | Hostinger | Promo bervariasi | ~$2-4/bln | Panel mudah, pemula |
| 10 | Kamatera | Custom config | ~$4-6/bln | Fleksibel |
๐ฑ Termux (Android) โ Gratis, Tanpa VPS
Yang Didukung
โ
Hermes CLI โ core agent | โ
Cron โ scheduled task | โ
Telegram gateway (best-effort) | โ
MCP/ACP/Honcho | โ
File + Code Ops
โ Docker backend | โ Voice transcription (faster-whisper) | โ Browser automation
Install โ Option 1: One-line
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
Install โ Option 2: Manual Step-by-step
# Step 1: Update + install packages pkg update && pkg upgrade -y pkg install python git build-essential # Step 2: Clone repo git clone https://github.com/NousResearch/hermes-agent.git cd hermes-agent # Step 3: Create virtual environment export ANDROID_API_LEVEL="$(getprop ro.build.version.sdk)" python -m venv venv source venv/bin/activate python -m pip install --upgrade pip setuptools wheel # Step 4: Install tested Termux bundle python -m pip install -e '.[termux]' -c constraints-termux.txt # Step 5: Permanent PATH ln -sf "$PWD/venv/bin/hermes" "$PREFIX/bin/hermes" # Step 6: Verify hermes version hermes doctor
Troubleshooting Termux
| Error | Solusi |
|---|---|
"No solution found" pas install .[all] | Pakai .[termux] |
uv pip install gagal | Pakai stdlib venv + pip |
jiter/maturin complain | export ANDROID_API_LEVEL="$(getprop ro.build.version.sdk)" |
| ripgrep/Node missing | pkg install ripgrep nodejs |
| Build failures | pkg install clang rust make pkg-config libffi openssl |
Install โ Linux / macOS / WSL2
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
Setelah install, reload shell:
source ~/.bashrc # atau: source ~/.zshrc
Verifikasi: hermes --version
Apa yang Installer Lakukan?
- Deteksi OS + install dependencies (uv, Python 3.11, Node.js 22, ripgrep, ffmpeg)
- Clone repo ke
~/.hermes/hermes-agent/ - Setup virtual environment Python + install semua package
- Bikin global command
hermesdi PATH - Prompt setup provider AI (bisa di-skip)
Install โ Windows
PowerShell
iex (irm https://hermes-agent.nousresearch.com/install.ps1)
Alternative: WSL2 (Recommended)
wsl --install -d Ubuntu wsl sudo apt update && sudo apt install python3 python3-pip -y curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
macOS / Windows Desktop
Download Hermes Desktop installer โ ada GUI.
Setup Provider AI
hermes model # Interactive wizard
| Provider | Kelebihan | Cara Setup |
|---|---|---|
| โ Nous Portal | 300+ model + search, image gen, TTS, browser | hermes setup --portal (OAuth) |
| OpenRouter | Multi-provider routing, model terbanyak | OPENROUTER_API_KEY=sk-or-... |
| Anthropic | Claude โ reasoning terbaik | ANTHROPIC_API_KEY |
| OpenAI | GPT models | OPENAI_API_KEY |
| Google AI Studio | Gemini โ gratis tier generous | GEMINI_API_KEY |
| Ollama | Model lokal 100% gratis | ollama pull llama3.1 |
hermes setup --portal โ login OAuth ke Nous Portal, 1 command, langsung bisa chat.โ Minimum context: 64K tokens. Model di bawah 64K akan di-reject.
Chat Pertama
hermes # CLI klasik hermes --tui # Modern TUI (recommended!)
Test prompt pertama kamu:
Check my current directory, list files, and tell me the 5 largest ones.
Kalo agent balas + bisa pake tool โ setup berhasil. โ
Slash Commands (dalam chat)
Ketik / buat liat semua: /help, /tools, /model, /save, /reset
Resume sesi terakhir: hermes --continue atau hermes -c
API Key Gratisan & Router Murah
Gak mau bayar provider? Ini caranya:
| Provider | Gratis | Limit | Model |
|---|---|---|---|
| Google AI Studio | โ | 1,500 req/hari | Gemini 2.5 Flash/Pro |
| Groq | โ | 30 req/menit | Llama 3.3, Mixtral |
| OpenRouter Free | โ | 20 req/hari | Gemma, Llama, Mistral gratis |
| SambaNova | โ | Unlimited | Llama 3.1 70B/405B |
| DeepSeek | โ | Generous | DeepSeek-V4, DeepSeek-R1 |
9Router โ AI Model Router Gratis
Route traffic ke 40+ provider lewat 1 endpoint. Gratis, open-source.
Self-host di VPS sendiri atau localhost. Pooling model gratis + berbayar jadi 1 API endpoint.
# Install cepat curl -fsSL https://9router.com/install.sh | bash docker run -d -p 20128:80 --name 9router your-image # Atau dari source git clone https://github.com/nousresearch/9router.git cd 9router && docker compose up -d
42+ Provider Supported
OpenAI, Anthropic, Google, Groq, SambaNova, DeepSeek, OpenRouter, Ollama, Together AI, Mistral, Cohere, Fireworks, Perplexity, xAI, Replicate, HuggingFace, Cerebras, dan banyak lagi.
Connect Telegram
Step 1: Bikin Bot di @BotFather
Chat @BotFather โ /newbot โ isi nama & username (akhiran bot) โ simpan bot token (format: 123456:ABCdef...)
/revoke di BotFather.Step 2: Cari User ID
Chat @userinfobot โ simpan numeric user ID.
Step 3: Setup di Hermes
hermes gateway setup # Interactive wizard
Atau manual via ~/.hermes/.env:
TELEGRAM_BOT_TOKEN=123456789:ABCdefGHIjklMNOpqrSTUvwxYZ TELEGRAM_ALLOWED_USERS=123456789
Step 4: Start Gateway
hermes gateway # Bot online dalam hitungan detik
Platform Lainnya
20+ platform via command yang sama: hermes gateway setup โ Discord, Slack, WhatsApp, Signal, Email, dan lainnya.
SOUL.md โ Personality Agent
File ~/.hermes/SOUL.md mengubah tone, style, dan aturan agent. Dari "chatbot penurut" jadi "autonomous operator".
# Edit SOUL.md nano ~/.hermes/SOUL.md # Restart Hermes โ personality langsung aktif
4 Tier SOUL.md
| Aspek | Basic | Pro | Expert | Super |
|---|---|---|---|---|
| Cocok untuk | Pemula | Developer | Founder | Power user |
| Tone | Penurut | Tactical | Autonomous | Full autonomous |
| Konfirmasi | Selalu | Risk gate only | Risk gate only | Hampir gak pernah |
| Disclaimer policy | Mungkin ada | No disclaimer | Hard block | Hard block |
| Flexibility | Limited | Moderate | High | Maximum |
Cheat Sheet
| Command | Fungsi |
|---|---|
hermes model | Ganti provider/model |
hermes gateway | Start messaging gateway |
hermes gateway setup | Setup platform messaging |
hermes --tui | Modern terminal UI |
hermes --continue | Resume sesi terakhir |
hermes doctor | Diagnostik: cek apa yang broken |
hermes tools | Atur tools yang enabled |
hermes skills | Browse & install skills |
hermes config set KEY VALUE | Set individual config |
hermes cron list | Lihat scheduled tasks |
hermes run -p "prompt" | One-shot mode (non-interaktif) |
hermes desktop | Launch Desktop GUI |
Troubleshooting
| Masalah | Solusi |
|---|---|
hermes: command not found | Reload shell: source ~/.bashrc |
| API key not set | Run hermes model atau hermes config set OPENROUTER_API_KEY ... |
| Missing config after update | hermes config check lalu hermes config migrate |
| ModuleNotFoundError | Pastiin pake venv Hermes, bukan system Python |
| Telegram bot gak respon | Cek hermes gateway running, token valid, user ID bener |
| Browser tools error | sudo npx playwright install-deps chromium (Linux) |
FAQ
Berapa biaya total?
VPS ~$1.50-5/bulan (opsional). Provider AI: mulai $0 (Gemini gratis) atau $5-20/bulan. Hermes Agent sendiri gratis open-source.
Harus VPS? Gak bisa di laptop?
Bisa! Tiga opsi: Laptop/PC (mati kalo shutdown), HP Android (Termux) โ gratis tanpa VPS, VPS murah โ mulai $1.50/bln paling stabil 24/7.
Butuh skill coding?
Gak wajib. Install tinggal copy-paste command. Chat + tools pake natural language.
Apa beda Hermes Agent dengan ChatGPT?
Hermes adalah agent, bukan chatbot. Dia bisa jalanin command, buka browser, baca/tulis file, connect ke 20+ platform, memory lintas sesi, self-improve. ChatGPT cuma chat.
Bisa pake model lokal?
Bisa. hermes model โ pilih "Custom Endpoint" โ masukin URL + API key. Pastiin model punya context min 64K tokens.
built by rachmad ยท 2026 ยท update: Juni 2026