Bagian K–S
Bagian K–S dari 101 bagian · Belajar 2
K.Delegation vs `execute_code`
Dokumentasi Hermes membedakan dua pola penting:
delegate_task | execute_code | |
|---|---|---|
| Reasoning | loop LLM penuh | eksekusi skrip |
| Context | percakapan terisolasi | tidak ada percakapan |
| Tool access | tool non-blocked yang relevan | tool yang diekspos lewat RPC |
| Paralelisme | beberapa subagent | skrip tunggal |
| Cocok untuk | tugas yang butuh penilaian | pipeline mekanis multi-langkah |
Gunakan delegation ketika Anda membutuhkan penalaran independen. Gunakan execute_code ketika yang dibutuhkan adalah pemrosesan terstruktur/mechanical.
Rujukan resmi:
L.Hooks
Hooks adalah callback berbasis event untuk menjalankan logika pada titik tertentu dalam lifecycle Hermes. Dokumentasi resmi mencakup contoh seperti hook gateway:startup yang dapat menjalankan checklist agen saat gateway hidup.
Gunakan hooks untuk:
- audit;
- logging;
- notifikasi;
- guardrail tambahan;
- integrasi webhook;
- otomatisasi lifecycle.
Jangan menganggap BOOT.md sebagai fitur bawaan khusus; dokumentasi resmi justru menunjukkan bahwa pola tersebut dibangun dengan hook gateway.
Rujukan resmi: https://hermes-agent.nousresearch.com/docs/user-guide/features/hooks
M.Plugin System
Hermes memiliki sistem plugin untuk menambah tool, hook, integrasi, command, provider model, memory provider, dan context engine tanpa mengubah core.
Kategori plugin utama yang terdokumentasi:
- General plugins — tools, hooks, slash commands, CLI commands.
- Memory providers — satu provider aktif pada satu waktu.
- Context engines — satu engine aktif pada satu waktu.
- Model providers — backend inferensi yang dapat dipilih melalui konfigurasi/provider.
Sumber discovery meliputi plugin bawaan, ~/.hermes/plugins/, plugin proyek (bila diaktifkan), dan entry points Python. Ada juga Plugin Catalog yang menjadi lapisan discovery/review di atas sistem plugin.
Rujukan resmi:
N.Messaging Gateway dan Bot Mode
Gateway adalah proses latar belakang yang dapat menghubungkan Hermes ke banyak platform pesan dan menangani session, cron, serta pengiriman voice.
Dokumentasi resmi mencantumkan platform seperti Telegram, Discord, Slack, WhatsApp, Signal, SMS, Email, Home Assistant, Mattermost, Matrix, DingTalk, Feishu/Lark, WeCom, Weixin, BlueBubbles, QQ, Yuanbao, Microsoft Teams, LINE, ntfy, dan platform lain.
Bot Mode memperkenalkan bot bernama dengan model, memory, skill, routine, dan chat yang dapat bekerja sebagai tim.
Gunakan gateway ketika kebutuhan utama adalah transport/pesan. Gunakan Bot Mode ketika kebutuhan utama adalah beberapa agen bernama dengan identitas dan lifecycle persisten.
Rujukan resmi:
O.Dashboard Web
Dashboard Web menyediakan antarmuka administrasi untuk profile, model, SOUL, skill, toolset, serta status konfigurasi tertentu.
Rujukan resmi: https://hermes-agent.nousresearch.com/docs/user-guide/features/web-dashboard
P.Arsitektur Belajar Hermes dari ujung ke ujung
┌────────────────────────────┐
│ CLI / TUI / Desktop / ACP │
│ API Server / Messaging │
└─────────────┬──────────────┘
│
▼
┌─────────────────────┐
│ Session / Context │
│ SOUL / AGENTS / Mem │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ AIAgent │
│ model + loop + ctx │
└──────┬──────┬───────┘
│ │
tools / skills / MCP
│ │
┌─────────────┘ └─────────────┐
▼ ▼
execution/tool layer subagents
│ │
terminal/browser/MCP/etc. delegation
│ │
└─────────────┬────────────────────┘
▼
result / observation
│
▼
next iterationModel mental yang perlu dikuasai:
Hermes bukan satu fitur. Hermes adalah runtime/orchestration layer yang menghubungkan model, konteks, tools, memory, skills, sessions, external integrations, dan execution backends dalam satu agent loop.
Q.Jalur Belajar Hermes yang Direkomendasikan
Jalur 1 — Pemula
- Instalasi
- Quickstart
- CLI
- Configuration
- Satu provider model
- Tool dasar
Jalur 2 — Pengguna tingkat lanjut
- Session
- Context files
- Skills
- Memory
- Browser
- Cron
- Gateway
Jalur 3 — Pembangun Agent
- MCP
- Delegation
execute_code- API Server
- ACP
- Plugins
- Fallback/Provider routing
- Hooks
Jalur 4 — Research/Production
- Batch Processing
- Trajectory
- Evals
- Observability
- Security model
- Provider resilience
- Deployment
- RL/Atropos
Rujukan learning path resmi: https://hermes-agent.nousresearch.com/docs/getting-started/learning-path
R.Verifikasi Versi
Repository main saat audit ini mendeklarasikan version = 0.21.4 pada pyproject.toml. Untuk lingkungan produksi, jangan menganggap branch main identik dengan release tag yang Anda gunakan. Verifikasi versi lokal dengan command yang tersedia pada instalasi Anda dan cocokkan dengan release/tag yang digunakan tim.
Rujukan:
S.Aturan keamanan minimum saat belajar
- Mulai dari terminal yang terisolasi bila agent diberi hak eksekusi.
- Jangan memberikan kredensial produksi pada eksperimen awal.
- Perlakukan MCP server dan tool eksternal sebagai trust boundary.
- Gunakan approval untuk tindakan destruktif.
- Pisahkan profile eksperimen dari profile produksi.
- Simpan konfigurasi dan secrets secara terkontrol.
- Uji prompt injection pada file konteks, halaman web, dan MCP resource sebelum dipakai di lingkungan sensitif.
Rujukan resmi: https://hermes-agent.nousresearch.com/docs/user-guide/security
DAFTAR SUMBER PRIMER HERMES AGENT
- Dokumentasi utama: https://hermes-agent.nousresearch.com/docs/
- Learning Path: https://hermes-agent.nousresearch.com/docs/getting-started/learning-path
- Installation: https://hermes-agent.nousresearch.com/docs/getting-started/installation
- Quickstart: https://hermes-agent.nousresearch.com/docs/getting-started/quickstart
- Configuration: https://hermes-agent.nousresearch.com/docs/user-guide/configuration
- Features Overview: https://hermes-agent.nousresearch.com/docs/user-guide/features/overview
- Tools: https://hermes-agent.nousresearch.com/docs/user-guide/features/tools
- Skills: https://hermes-agent.nousresearch.com/docs/user-guide/features/skills
- Memory: https://hermes-agent.nousresearch.com/docs/user-guide/features/memory
- Context Files: https://hermes-agent.nousresearch.com/docs/user-guide/features/context-files
- MCP: https://hermes-agent.nousresearch.com/docs/user-guide/features/mcp
- Browser: https://hermes-agent.nousresearch.com/docs/user-guide/features/browser/
- Delegation: https://hermes-agent.nousresearch.com/docs/user-guide/features/delegation
- Code Execution: https://hermes-agent.nousresearch.com/docs/user-guide/features/code-execution
- Cron: https://hermes-agent.nousresearch.com/docs/user-guide/features/cron
- Messaging Gateway: https://hermes-agent.nousresearch.com/docs/user-guide/messaging
- API Server: https://hermes-agent.nousresearch.com/docs/user-guide/features/api-server
- ACP: https://hermes-agent.nousresearch.com/docs/user-guide/features/acp
- Voice: https://hermes-agent.nousresearch.com/docs/user-guide/features/voice-mode
- Hooks: https://hermes-agent.nousresearch.com/docs/user-guide/features/hooks
- Plugins: https://hermes-agent.nousresearch.com/docs/user-guide/features/plugins
- Plugin Catalog: https://hermes-agent.nousresearch.com/docs/user-guide/features/plugin-catalog
- Fallback Providers: https://hermes-agent.nousresearch.com/docs/user-guide/features/fallback-providers/
- Provider Routing: https://hermes-agent.nousresearch.com/docs/user-guide/features/provider-routing
- Batch Processing: https://hermes-agent.nousresearch.com/docs/user-guide/features/batch-processing
- Dashboard: https://hermes-agent.nousresearch.com/docs/user-guide/features/web-dashboard
- Security: https://hermes-agent.nousresearch.com/docs/user-guide/security
- Python Library: https://hermes-agent.nousresearch.com/docs/guides/python-library
- Repository: https://github.com/NousResearch/hermes-agent
- Releases: https://github.com/NousResearch/hermes-agent/releases
Sumber protokol/AI yang berkaitan
- Model Context Protocol: https://modelcontextprotocol.io/specification/latest
- OWASP Top 10 for Agentic Applications 2026: https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/
- NIST AI RMF: https://www.nist.gov/itl/ai-risk-management-framework
- NIST Generative AI Profile: https://www.nist.gov/publications/artificial-intelligence-risk-management-framework-generative-artificial-intelligence