LAB / CATATANLAB / DEVLOG·
Enam agen Hermes di satu VPSSix Hermes agents on one VPS
Enam profil pada satu gateway, kunci di .env masing-masing profil, dan dasbor loopback yang menemukan cron yang masih terkunci ke provider yang sudah mati.Six profiles on one gateway, a key in each profile .env, and a loopback dashboard that found cron jobs still pinned to a dead provider.
InfrastrukturInfrastructureOperasi AIAI Ops
HasilOutcome
Enam profil berjalan pada satu gateway. Halaman loopback menemukan sebelas cron yang masih terkunci ke provider yang menolak kuncinya.Six profiles run on one gateway. The loopback page found eleven cron jobs still locked to a provider that no longer accepted the key.
01
Masalah dan batasanThe Problem & Constraints
- Hermes Desktop hanya antarmuka. Agen, memori, dan browser mereka berjalan di VPS.Hermes Desktop is only the UI. The agents, their memory, and their browser run on the VPS.
- Profil baru menyalin pengaturan model dan meninggalkan .env kosong, jadi balasan pertama gagal karena tidak ada kunci API.A new profile copies the model settings and leaves .env empty, so the first reply fails with no API key.
- Kegagalan cron dan kondisi host hanya muncul di log, bukan di satu halaman.Cron failures and host state showed up in logs, not on one page.
02
ProsesEngineering Process
- 01.Satu gateway untuk semua profil. Kunci 9router ditaruh di .env tiap profil, lalu layanan gateway pengguna dijalankan ulang.Kept one gateway for every profile. Put the 9router key in each profile .env, then restarted the user gateway service.
- 02.Perubahan alat WhatsApp memakai --platform whatsapp. Hermes mengabaikan /start, jadi bot yang hanya menerima /start terlihat mati.Changed WhatsApp tools with --platform whatsapp. Hermes ignores /start, so a bot that only received /start looked dead.
- 03.Dasbor Python di 127.0.0.1:19999 lewat tunnel SSH. Ia membaca /proc dan systemd, dan tidak membaca berkas .env atau isi pesan.Served a Python dashboard on 127.0.0.1:19999 through an SSH tunnel. It reads /proc and systemd, and it does not read .env files or message text.
03
KeputusanKey Architectural Decisions
- Satu gateway, folder profil terpisah. Profil bukan sandbox sistem operasi, karena pengguna Linux-nya sama.One gateway, separate profile folders. A profile is not an OS sandbox, because the Linux user is shared.
- Jangan salin kunci cadangan berbayar ke profil baru. Baca berkas SOUL sebelum dipasang.Do not copy a paid fallback key into a new profile. Read a SOUL file before installing it.
- Dasbor tetap di loopback. Swap memperingatkan di 40% agar host ini tidak terus merah.The dashboard stays on loopback. Swap warns at 40% so this host does not stay red.
04
Yang saya pelajariWhat I Learned
- SSH non-interaktif butuh bash -lc untuk menemukan hermes. Cron yang dikunci ke providernya sendiri mengabaikan model bawaan profil.Non-interactive SSH needs bash -lc to find hermes. A cron job pinned to its own provider ignores the profile default.
- Kunci konfigurasinya display.show_reasoning. WhatsApp tidak punya mode baca-saja, jadi pesan yang diterima dibalas.display.show_reasoning is the config key. WhatsApp has no read-only mode, so an accepted message gets a reply.
- Tampilkan GiB agar angkanya sama dengan df dan free. Jangan jalankan cron yang mengirim pesan ke orang lain hanya untuk menguji.Show GiB so the numbers match df and free. Do not run a cron job that messages someone just to test it.