Dari user biasa jadi power user โ kuasai tools yang kamu pake setiap hari
Hermes Agent adalah AI agent framework open-source oleh Nous Research yang jalan di terminal, desktop app, messaging platforms, dan IDE. Satu kategori dengan Claude Code (Anthropic), Codex (OpenAI), dan OpenClaw โ agent otonom yang pake tool calling untuk berinteraksi dengan sistem kamu.
Setiap kali kamu kirim pesan, Hermes menjalankan conversation loop yang kurang lebih gini:
run_conversation(): 1. Build system prompt โ gabungin SOUL.md + AGENTS.md + skills + memory 2. Loop while iterations < max: a. Call LLM (OpenAI-format messages + tool schemas) b. If tool_calls โ dispatch each via handle_function_call() โ append results โ continue loop c. If text response โ return to user 3. Context compression triggers automatically near token limit
Setiap sesi, Hermes menyusun system prompt dari:
Sesi bisa kepanjangan โ Hermes otomatis compress context saat mendekati batas token.
Ini commands yang paling berguna buat kamu. Yang bold = paling sering dipake.
| Command | Fungsi |
|---|---|
| hermes | Start interactive chat (default) |
| hermes chat -q "query" | One-shot query (non-interactive) |
| hermes --resume SESSION | Resume session by ID |
| hermes --continue | Resume most recent session |
| hermes -s skill1,skill2 | Preload skills |
| hermes --profile NAME | Gunakan profile tertentu |
| hermes --yolo | Skip approval prompts |
| Command | Fungsi |
|---|---|
| hermes setup | Wizard setup interaktif |
| hermes model | Pilih model & provider |
| hermes config show | Lihat config.yaml |
| hermes config edit | Edit config.yaml di editor |
| hermes config set KEY VAL | Set config value |
| hermes config path | Print path config.yaml |
| hermes doctor | Cek dependencies & config |
| hermes status | Lihat status semua komponen |
| Command | Fungsi |
|---|---|
| hermes tools list | Semua tools & statusnya |
| hermes tools enable/disable | Aktifkan/nonaktifkan toolset |
| hermes skills list | List installed skills |
| hermes skills search | Cari skill di registry |
| hermes skills install | Install skill baru |
| hermes cron list | List scheduled jobs |
| hermes cron create | Buat job baru |
| hermes cron run | Trigger job sekarang |
| hermes send --to telegram | Kirim pesan ke platform |
| Command | Fungsi |
|---|---|
| hermes profile list | List semua profiles |
| hermes profile create NAME | Buat profile baru |
| hermes sessions list | Recent sessions |
| hermes sessions export | Export ke JSONL |
| hermes gateway run | Start messaging gateway |
| hermes gateway restart | Restart gateway |
| hermes gateway setup | Configure platforms |
Ctrl+Enter = newline di Windows. /reset = session baru. /retry = ulang pesan terakhir. /undo = hapus exchange terakhir.
Semua slash command ini bisa kamu ketik langsung selama chat. Yang bold paling sering dipake.
/new โ session baru
/retry โ ulang pesan terakhir
/undo โ hapus exchange terakhir
/title [name] โ kasih nama sesi
/compress โ manual compress context
/stop โ kill background processes
/rollback [N] โ restore checkpoint
/background [prompt] โ run di background
/goal [text] โ set standing goal
/model [name] โ ganti model mid-sesi
/reasoning [level] โ set reasoning effort
/personality [name] โ set personality
/verbose โ cycle verbosity
/yolo โ toggle approval bypass
/voice [on|off] โ voice mode toggle
/skills โ search/install skills
/skill [nama] โ load skill ke sesi
/tools โ manage tools
/cron โ manage cron jobs
/plugins โ list plugins
/reload-skills โ re-scan skills
/usage โ token usage
/insights [days] โ usage analytics
/status โ session info
/profile โ active profile info
/history โ conversation history
/debug โ upload debug report
/approve โ approve pending command (gateway)
/deny โ deny pending command (gateway)
/restart โ restart gateway
/sethome โ set current chat as home channel
/platforms โ show platform connection status
/handoff [platform] โ hand session ke platform lain
Config.yaml di ~/.hermes/profiles/belajar-ai/config.yaml. Edit lewat hermes config edit.
| Section | Key Options | Di Kamu? |
|---|---|---|
| model | default, provider, base_url, api_key | โ deepseek-v4-flash |
| agent | max_turns (60), tool_use_enforcement (auto) | โ default |
| terminal | backend (local), cwd, timeout (180) | โ local |
| web | backend, search_backend, extract_backend | โช kosong |
| browser | inactivity_timeout, engine (auto) | โ default |
| compression | enabled, threshold (0.50), target_ratio (0.20) | โช default |
| display | skin, interface, language, show_reasoning | โช default |
| stt | enabled, provider (local/groq/openai) | โช default |
| tts | provider (edge/elevenlabs/openai) | โช default |
| memory | memory_enabled, user_profile_enabled | โ ON |
| security | tirith_enabled, redact_secrets, website_blocklist | โ ON |
| delegation | model, provider, max_iterations (50) | โช default |
| checkpoints | enabled, max_snapshots (50) | โ OFF |
| curator | enabled, consolidate, interval_hours | โช default |
| approvals | mode (manual/smart/off) | โช manual |
approvals.mode: smart โ auto-approve low-risk commands, tanya kalo berbahaya. Hemat waktu!
checkpoints.enabled: true โ enable filesystem checkpoint buat rollback kalo error
web.backend: set search_backend biar bisa web_search
Hermes bisa pake 20+ provider berbeda. Kamu bisa ganti kapan aja, bahkan mid-sesi.
| Provider | Auth | Envy Var |
|---|---|---|
| DeepSeek | API key | DEEPSEEK_API_KEY โ |
| OpenRouter | API key | OPENROUTER_API_KEY |
| Anthropic | API key | ANTHROPIC_API_KEY |
| OpenAI Codex | OAuth | hermes auth add openai-codex |
| Nous Portal | OAuth | hermes auth |
| Google Gemini | API key | GOOGLE_API_KEY |
| xAI / Grok | API key | XAI_API_KEY |
| Hugging Face | Token | HF_TOKEN |
| GitHub Copilot | OAuth | COPILOT_GITHUB_TOKEN |
| Custom endpoint | Config | model.base_url + api_key |
Kalo primary provider error/rate limit, Hermes bisa otomatis fallback ke provider lain:
Multiple API key per provider โ otomatis rotate dan skip yang exhausted:
Tools di Hermes dikelompokkan dalam toolsets. Kamu bisa enable/disable per platform.
| Toolset | Fungsi | Active? |
|---|---|---|
| terminal | Shell commands + process management | โ |
| file | Read/write/search/patch files | โ |
| web | Web search + content extraction | โ (no backend) |
| browser | Browser automation (Browserbase/Camofox) | โ (auto) |
| code_execution | Sandboxed Python execution | โ |
| memory | Persistent cross-session memory | โ |
| session_search | Search past conversations (FTS5) | โ |
| delegation | Subagent task delegation | โ |
| cronjob | Scheduled task management | โ |
| skills | Skill browsing & management | โ |
| vision | Image analysis | โ |
| image_gen | AI image generation | โ |
| clarify | Ask user clarifying questions | โ |
| todo | In-session task planning | โ |
| tts | Text-to-speech | โ |
Skills = procedural memory. Hermes bisa nyimpen cara ngelakuin sesuatu sebagai skill, dan pake lagi di sesi berikutnya. Skills accumulate โ makin sering dipake, makin pinter.
Instruksi, langkah-langkah, kode, peringatan โ semuanya markdown biasa. Ditulis sebagai instructions ke agent.
Skill bisa punya file pendukung di folder-nya sendiri: references/, templates/, scripts/, assets/
| Command | Fungsi |
|---|---|
| hermes skills list | List installed skills |
| hermes skills search QUERY | Cari di skills hub |
| hermes skills install ID | Install skill |
| hermes skills browse | Browse semua available skills |
| hermes skills check | Cek update skills |
| hermes skills update | Update outdated skills |
| /skill nama-skill | Load skill ke sesi (in-session) |
| /reload-skills | Re-scan folder skills |
| hermes -s skill1,skill2 | Preload skills pas startup |
Apple, autonomous-ai-agents, blog-publisher, computer-use, creative, data-science, devops, dogfood, email, github, media, mlops, note-taking, productivity, research, smart-home, social-media, software-development, yuanbao. Makin banyak kamu pake, makin optimal!
Hermes bisa spawn subagent untuk ngerjain task paralel. Ini bedanya Hermes sama chatbot biasa.
Kirim task, langsung lanjut kerja. Hasil masuk sendiri pas selesai. Gak perlu nunggu!
| Aspek | delegate_task | Spawning hermes |
|---|---|---|
| Isolasi | Separate conversation, shared process | Fully independent |
| Durasi | Menit (bounded by parent loop) | Jam/hari |
| Tool access | Subset parent tools | Full tool access |
| Interaktif | Tidak | Ya (PTY mode) |
| Guna | Quick parallel subtasks | Long autonomous missions |
Di Agent Factory, setiap agent (Absensi-8581, Chatbot-8582, Finance-8584, dll) adalah Hermes profile terpisah dengan tugas spesifik. Ini multi-agent beneran! Pake delegate_task untuk koordinasi antar agent.
Buat task yang jalan otomatis setiap jam/hari/minggu. Kirim hasil ke Telegram, WhatsApp, atau simpan lokal.
| Parameter | Deskripsi |
|---|---|
| schedule | "30m", "every 2h", "0 9 * * *", atau ISO timestamp |
| prompt | Self-contained prompt yang jalan tiap tick |
| skills | Skills yang di-load sebelum eksekusi |
| deliver | Kirim hasil ke: telegram, discord, local, all, dll |
| model | Override model untuk job ini |
| script | Pre-run script untuk data collection |
| no_agent | True = skip LLM, langsung deliver script output |
| workdir | Working directory untuk project context |
| context_from | Chain output dari job lain |
Telegram bot kamu aktif โ DM policy: open. Kamu bisa chat sama Hermes dari HP via Telegram.
Bot token: terkonfigurasi
DM policy: open
Chat ID: USER_CHAT_ID
Bot + gateway support
Requires: bot token + intents
Bot + app support
Requires: bot token setup
Baileys bridge + Business API
Requires: setup
Signal, Email, SMS, Matrix,
Teams, LINE, Google Chat,
Home Assistant, WeChat, dll
Pake MEDIA:/path dalam message text โ Hermes otomatis upload file sebagai dokumen/gambar.
Profile mengisolasi: config, sessions, skills, memory, cron, plugins. Setiap agent di Agent Factory punya profile sendiri!
| Command | Fungsi |
|---|---|
| hermes profile list | List semua profiles |
| hermes profile create NAME | Buat baru (--clone untuk copy) |
| hermes profile use NAME | Set sebagai default |
| hermes profile show NAME | Detail profile |
| hermes profile rename A B | Rename profile |
| hermes profile export NAME | Export ke tar.gz |
| hermes profile import FILE | Import profile |
| hermes -p NAME | Gunakan profile tertentu |
| Agent | Folder | Port | Profile? |
|---|---|---|---|
| Belajar AI | agents/belajar-ai/ | 8591 | โ belajar-ai |
| Absensi | agents/absensi/ | 8581 | โ punya sendiri |
| Finance | agents/finance/ | 8584 | โ punya sendiri |
| Akunbiz | agents/akunbiz/ | 8590 | โ punya sendiri |
Memory membuat Hermes tahu preferensi kamu, lingkungan, dan fakta penting โ meskipun udah ganti sesi atau login besok.
Nama, preferensi, role, constraints. Di-save via memory(action='add', target='user', ...).
Fakta lingkungan, tool quirks, konvensi. Di-save via memory(action='add', target='memory', ...).
SQLite + FTS5 โ bisa dicari pake session_search(). Full-text search!
Lupa pernah diskusi apa? Pake session_search(query="...") โ FTS5-backed, gratis (gak pake token). Bisa cari: "auth refactor", "Ollama install", "MP Horde deploy".
Tool output di-scan otomatis buat API key, token, secrets โ sebelum masuk context. Gak bisa dimatikan mid-sesi (sengaja โ biar LLM gak bisa flip toggle sendiri).
Command berbahaya (rm -rf, git reset --hard) butuh approval kamu dulu. Mode: manual (selalu tanya), smart (auto-approve low-risk), off (skip semua).
Di gateway, bisa hash user ID + strip nomor HP sebelum masuk context. Aktifkan: privacy.redact_pii: true.
AGENTS.md / CLAUDE.md di-scan buat prompt injection patterns. Yang mencurigakan di-replace dengan [BLOCKED: ...]. Aman.
| Masalah | Solusi |
|---|---|
| Tool gak muncul | hermes tools โ cek status โ enable โ /reset |
| Model error | hermes doctor โ cek config + API key โ hermes auth |
| Config gak berubah | /reset (sesi baru) atau restart gateway |
| Skills gak muncul | hermes skills list โ /reload-skills |
| Gateway mati | Log: ~/.hermes/logs/gateway.log โ hermes gateway restart |
| Voice gak kerja | Cek stt.enabled: true โ install pip install faster-whisper |
| 403 Copilot | gh auth login gak cukup โ pake hermes model โ GitHub Copilot OAuth |
| Session kepanjangan | /compress โ manual compress context |
Ini cara-cara konkret pake Hermes untuk bisnis MP Horde, Absensi, dan Srkhorde.id.
cronjob setiap 8 pagi
Cron job tiap pagi yang ngecek database MP Horde dan kirim ringkasan ke Telegram: "Total transaksi kemarin: Rp X, Stok produk Y menipis, Leader Z belum approve absensi."
RAG Telegram
ChromaDB + data MP Horde โ Hermes di Telegram jawab pertanyaan customer otomatis: "Size L harga berapa?", "Proses berapa hari?", "Ada warna merah?"
cronjob content
Cron job mingguan yang generate artikel SEO buat srkhorde.id: "Buat artikel 1000 kata tentang keyword X, tone Y." Tinggal review & publish.
no_agent alert
Cron job script yang cek disk usage, CPU, RAM tiap 30 menit. Kalo di atas 90% โ kirim alert ke Telegram. No_agent mode = gratis, gak pake token.
delegate_task
Multi-agent parallel research. Kirim 3 subagent riset topik berbeda, kumpulin hasilnya jadi satu dokumen. Kayak sesi 2 ini โ di-orkestrasi pake delegation!
cronjob script
Cron job script yang backup database, upload ke cloud. Jalan tiap malam jam 12. Kalo error โ kirim notifikasi.
10 menit Familiar dengan semua CLI commands yang ada
15 menit Coba /model, /skills, /compress, /usage
30 menit Skill kustom untuk assistant MP Horde
20 menit Cron tiap pagi kirim laporan ke Telegram
2 jam Customer service AI via Telegram
3 jam Agent Factory + delegate_task untuk workflow penuh
๐ 24 Juli 2026 โ Sesi 3: Hermes Agent Mastery
Model: DeepSeek V4 Flash | Provider: DeepSeek | Profile: belajar-ai
Sumber: hermes-agent skill (Nous Research) + docs.hermes-agent.nousresearch.com
Kembali ke belajarai.srkhorde.id ยท Kapanpun siap gas, panggil: "Aku mau gas skill MP Horde" ๐