Hermes Agent: Search, Branch, and Test a Real Git Repository
Intermediate · 30 minutes · 5 tasks, checked automatically · 100 points
Put Hermes Agent to work on a real git repository that lives on your own machine. You will install Hermes, initialise a sample Python project with tests, then drive the agent through three realistic developer tasks: searching the codebase with natural language, making a coordinated multi-file change on a feature branch, and running the test suite to confirm nothing broke. Because Hermes runs directly on your machine it can read your actual files, call git, and execute your tests — things a sandboxed container could never do.
What you’ll learn
- Install Hermes Agent into the LearnXops managed tooling location and verify it is operational
- Bootstrap a small Python project with a git repository and a pytest test suite inside the lab directory
- Use Hermes to search the codebase, identify a function to extend, and apply a coordinated multi-file change on a feature branch
- Run the test suite through Hermes and confirm all tests pass on the feature branch
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: claude-sonnet-4-6
- Open source: github.com/NousResearch/hermes-agent
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Anthropic API key set as ANTHROPIC_API_KEY in your shell environment
- git installed and available on PATH
- python3 and pip available on PATH
Topics: hermes-agent, git, pytest, codebase-search, multi-file-edit, automation, python, host-agent
Create a free account to start this lab.
Keep going
- Build and Invoke a Custom OpenClaw Shell-Out Skill
- OpenClaw Filesystem Access: Read, Summarise and Rewrite a Project File
- Teach Hermes to Remember: Generate, Review, and Re-Run a Custom Skill
- Build a Custom CrewAI Tool with @tool and Let an Agent Decide When to Use It
- Force Structured Output from a CrewAI Task with a Pydantic Model
- Build a Tool Node by Hand in LangGraph