Skip to content

Add Hermes Agent provider#386

Open
iquantecho wants to merge 9 commits into
getagentseal:mainfrom
iquantecho:feat/hermes-provider
Open

Add Hermes Agent provider#386
iquantecho wants to merge 9 commits into
getagentseal:mainfrom
iquantecho:feat/hermes-provider

Conversation

@iquantecho
Copy link
Copy Markdown

Hey! I added Hermes Agent support to CodeBurn because I wanted to use it with my own Hermes sessions, and figured I’d share it in case it’s useful here too. No pressure at all if this isn’t the direction you want to take it.

Summary

  • Adds a Hermes Agent provider that reads session-level usage from Hermes SQLite state databases.
  • Discovers both root and profile Hermes databases.
  • Tracks input, output, cache read/write, reasoning tokens, stored costs, tools, shell commands, and inferred projects.
  • Includes fixture-style provider tests for normal, legacy, root/profile, tool mapping, and path parsing cases.

Testing

  • npm test -- tests/providers/hermes.test.ts

I also checked it against my real local Hermes data before opening this.

Closes #368

- Add Hermes Agent feature entry under Added (CLI) in CHANGELOG
- Map delegate_task → Agent, vision_analyze → Vision, process → Bash,
  browser_get_images → Browser, skills_list → Skill
- Add comment explaining composio MCP prefix precedence in mapToolName
buildPeriodData and per-session output use raw totalOutputTokens without
adding reasoning tokens. buildJsonReport already handles this correctly
via billableOutputTokens(). This is a pre-existing gap that also affects
Claude — not introduced by the Hermes provider.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support for Hermes-agent CLI

1 participant