Hermes Session Memory: Full-Text Search and Fact Recall
Intermediate · 30 minutes · 5 tasks, checked automatically · 100 points
In this lab you will install and configure the Hermes Agent against a local qwen2.5:3b model, then exercise its agent-curated memory system. You will seed a past session fact into MEMORY.md, run a Hermes session that reads and confirms that fact, and finally use Hermes's full-text session-search capability to prove the fact is retrievable across sessions. By the end you will understand how Hermes persists what it learns and how to query that knowledge programmatically.
What you’ll learn
- Install Hermes Agent inside the toolbox container and verify it is functional with the local Ollama sandbox
- Configure Hermes with a local backend, a persona, and a pre-seeded MEMORY.md fact simulating something the agent learned yesterday
- Run a non-interactive Hermes session that reads the seeded fact from memory and writes a confirmation file
- Use Hermes full-text session search to locate the session that referenced the seeded fact and confirm retrieval
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 with qwen2.5:3b pulled
Topics: hermes, memory, session-search, ollama, qwen2.5, full-text-search, persistent-memory, MEMORY.md, local-llm, agents
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
- Shape Agent Behaviour with SOUL.md, USER.md and AGENTS.md
- Hierarchical CrewAI: Manager Agent Delegating to Specialists
- CrewAI Memory: Persistent Recall Across Executions
- Human-in-the-Loop: Interrupt Before a Destructive Step