Hermit trains, evaluates and deploys harness adapters: instructions, skills and tools that improve an existing agent without changing its model weights.
hermit/ contains the framework, examples/ task and benchmark integrations,
tests/ regression tests, and docs/ usage and development guides.
Start with the Quick Start or documentation.
Use Python 3.12+ and Git. In an activated environment, run from the repository root:
python -m pip install -e '.[test]'
python -m pytest --changed # the test groups this branch touches (tests/README.md)- Read CONTRIBUTING.md for additional checks, dependencies and platform requirements, and the developer guide for extension points.
- Inspect the relevant implementation, callers and tests to understand current
behavior. Agents follow Model → Base Agent → Acting / Evolver Agent:
reuse shared model and CLI execution through Base Agents; keep task-specific
logic in
examples/. Where an agent runs is the environment its call gives (hermit.environment), never a setting; a benchmark's own agent subclasses a core agent (aReactAgentwith@toolmethods and hooks) in its example folder instead of copying a loop; a different prompt or model is configuration, not a new agent. - For method reproductions, read the reproduction guide and reproduce-method skill.
- Before submitting or updating a PR, follow prepare-pr and perform the applicable local checks.
- After creating a PR or updating its code, use post-pr-audit for independent review against the general and applicable task-specific checklists.