Akademiacademy / hermes-101 / easy-local-docker-safety

Where actions run

Local vs Docker vs VPS

The more separation between Hermes and your real files, the safer the experiment. Safer is never risk-free.

Local laptop

Closest to your real files

  • Easiest to start
  • Actions can touch your machine
  • Use carefully

Docker container

Workshop safety box

  • Commands and files run inside a container
  • Better containment
  • Not magic if misconfigured

VPS cloud computer

Separate rented machine

  • Disposable and rebuildable
  • Supports always-on use
  • Costs money to run

Safer does not mean risk-free. Always check what Hermes is allowed to access.

Safety Mode — Local vs Docker

Station 5 — Where actions run. Masa: 12 min. Pass bila kamu boleh sebut sama ada Hermes bertindak atas laptop kamu, dalam Docker, atau atas VPS.

Apa benda ni

Bila Hermes guna tools, ia penting di mana tindakan itu berlaku. Diagram di atas tunjuk tiga layer separation antara agent dan fail sebenar kamu.

  • Local laptop — paling dekat dengan fail sebenar kamu. Paling mudah, tapi tindakan boleh sentuh mesin kamu.
  • Docker container — kotak safety workshop tempat command dan fail run dalam container.
  • VPS cloud computer — mesin sewa berasingan, disposable dan boleh rebuild.

Kenapa penting

Agent yang boleh run command dan edit fail itu powerful. Tahu di mana tindakan itu mendarat adalah beza antara eksperimen selamat dan kemalangan atas fail peribadi kamu.

Apa nak buat

Untuk demo beginner hari ini:

  • Utamakan Docker backend kalau ada, atau tengok facilitator run ia.
  • Jangan sekali-kali arahkan Hermes ke folder sensitif masa practice.
  • Baca approval prompt sebelum kamu benarkan tool bertindak.

Ingat peraturan ini di setiap layer:

Reference

Safer does not mean risk-free. Always check what Hermes is allowed to access.

Common mistakes

  • Anggap Docker atau VPS "selamat" tak kira macam mana ia di-configure.
  • Mount folder peribadi atau kerja ke dalam demo sandbox.
  • Approve satu tindakan tanpa baca apa yang ia akan buat.

Next step

Pergi ke Connect the Office API Key.