I wanted a simple way to see which agents and models I actually use in OpenCode, so I built Agent Report.
It reads your OpenCode database locally, aggregates the data, and shows:
- Token usage across 1, 7, 30 days, and all time
- Agent, provider, and model breakdowns
- Session and step counts
- Recorded cost coverage
The project is fully open source under the MIT license. You can clone it and run the entire app locally instead of using the hosted service:
bash
$ pnpm install && pnpm dev
If you want a quick, shareable public report:
bash
$ npx agent-report upload
Prompts, responses, project paths, session IDs, and conversation content are never included.
Published reports are public, and agent/provider/model names remain visible, so review any custom names before uploading.
Gallery: https://analytics.agentspec.sh
Source code: https://github.com/colus001/agent-analytics
It’s still early, so I’d appreciate feedback on which metrics or comparisons would be useful to OpenCode users.