Shape Agent Behaviour with SOUL.md, USER.md and AGENTS.md
Intermediate · 30 minutes · 5 tasks, checked automatically · 100 points
Hermes Agent reads three plain-text files at startup to decide *who it is*, *who it is talking to*, and *how it should coordinate with other agents*. In this lab you will install Hermes, write all three persona files, and prove that the same prompt produces measurably different answers depending on which persona is active — all against a local qwen2.5:3b model, no API keys required.
What you’ll learn
- Install Hermes Agent inside the toolbox container and verify it can reach the local qwen2.5:3b model
- Author SOUL.md, USER.md and AGENTS.md to define a concrete persona, user context and agent role
- Run a non-interactive Hermes query under two different personas and capture the outputs, demonstrating that the persona files change the agent's tone and framing
How this lab works
- Start the lab: One click starts a sandbox with a local model and the agent’s toolbox: no API key and no token bill.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work inspects the agent, its config and its output, and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: Locally, against a model on your computer: no API key, no tokens
- Model: qwen2.5:3b
- Open source: github.com/NousResearch/hermes-agent
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A model sandbox started in the Agent Playground
Topics: hermes-agent, persona, SOUL.md, USER.md, AGENTS.md, ollama, qwen2.5, local-llm, agent-configuration, multi-agent
Create a free account to start this lab.
Keep going
- Install, Inspect, and Disable an OpenClaw Plugin from ClawHub
- OpenClaw Message Queue Channel: Agent-Powered Request/Reply
- Hermes Session Memory: Full-Text Search and Fact Recall
- Hierarchical CrewAI: Manager Agent Delegating to Specialists
- CrewAI Memory: Persistent Recall Across Executions
- Human-in-the-Loop: Interrupt Before a Destructive Step