agent-rewards
π€ Agent Rewards
Turn your coding-agent traces into a stablecoin reward.
Agent Rewards is an open-source skill/MCP that installs into your coding agents β Claude Code, Codex, Grok Bot, Hermes Agent, Openclaw β automatically finds, redacts, and uploads your agent sessions, and lets you sell access to those traces to researchers and model trainers for USDC/USDT.
Your agents already generate high-value training data every day (tool calls, multi-turn reasoning, error recovery). You generate that data anyway. Agent Rewards makes it worth something.
Why
Real conversation/trajectory data is the scarcest, most valuable post-training signal for open models. Yet today:
HF Agent Traces gives you the upload pipeline β but it's manual (
hf upload, no incentive).KTH reproducible-trajectories proves "install + share to a DB" β but CLI-only, no reward.
WildChat / LMSYS / ShareChat proved wild conversation data trains better models.
None of them is native, automated, privacy-first, and paid. That's the gap Agent Rewards fills.
β¨ Features
π Find your trace β scans all supported agents' local session dirs, cross-platform.
β¬οΈ Upload / auto-upload daily β incremental sync daemon, sha256 dedup, offline queue.
π₯οΈ View your trace β HF-style timeline viewer: prompts, tool calls, tool outputs, reasoning.
πͺ View your credits β live ledger + token balance.
π Exchange your traces for USDC/USDT β sell access on-chain (Base L2, low fees); pull-based, per-trace licensing (research / commercial / exclusive).
π One-click install
Agent Rewards ships as (a) a shared MCP server and (b) thin per-agent skills so it mounts natively into each runtime.
Agent | Install target | Trace location |
Claude Code |
|
|
Codex |
|
|
Grok Bot | Grok skill |
|
Hermes Agent |
|
|
Openclaw | Openclaw skill |
|
Run the MCP server (working today)
# from a clone
cd agent-rewards
python3 -m pip install -e . # or: pip install -e .[dev] for tests
python3 -m agent_rewards.server # or use the `agent-rewards-mcp` entry pointPoint your MCP client at it. In Hermes (~/.hermes/config.yaml):
mcp_servers:
agent_rewards:
command: "/usr/bin/python3"
args: ["-m", "agent_rewards.server"]
env:
AGENT_REWARDS_DB_DIR: "~/.agent-rewards"Or via Claude Code (.mcp.json):
{
"mcpServers": {
"agent_rewards": {
"command": "/usr/bin/python3",
"args": ["-m", "agent_rewards.server"]
}
}
}The server exposes 5 tools:
Tool | What it does |
| List the newest local agent traces (all supported agents) |
| Read one trace, secrets/PII scrubbed before it reaches the model |
| Redact + register a trace into your credits ledger |
| Show your running credits balance + recent registrations |
| Privacy gate: is a path in an open-source (shareable) repo? |
Coming soon: one-shot
scripts/install.sh(auto-detects agents), HTTP mode, per-agent skills, daily daemon.
π Privacy by default (the moat)
Git-aware scoping β default uploads only traces touching open-source repositories. Private code is opt-in only.
Local redaction β secret/PII/token scrub + LLM review gate before anything leaves the machine.
Provenance β content-addressed (sha256 / IPFS), immutable hash registry.
Clear licensing β every trace is tagged
research/commercial/exclusive; you set the price.
You stay in control of what leaves your machine and who can buy it.
Architecture
[installer]
ββ per-agent skills / MCP (claude Β· codex Β· grok Β· hermes Β· openclaw)
ββ [collector] scan trace jsonl
ββ [redactor] git-aware + secret/PII scrub (local-first)
ββ [sync daemon] upload daily Β· dedup Β· offline queue
ββ [backend] Postgres + object store + hash registry
ββ [api] REST / MCP read API
ββ [dashboard] view traces Β· credits Β· listings
ββ [ledger] USDC/USDT settlement (Base L2)
ββ [marketplace] buy / sell accessRoadmap
M0 β repo + README + demo landing page β
M1 β MCP server:
find_trace/view_trace/upload_trace/get_credits/scope_ofβ (working stdio server; HTTP + installer pending)B0 (Beta) β one-click install + hosted backend + dashboard + privacy hardening β public preview (see gap table below)
M2 β per-agent skills (Claude Code, Codex, Hermes first) + redactor + daily daemon
M3 β backend + dashboard + hash registry + decontamination
M4 β ledger + USDC/USDT settlement + marketplace
M5 β open-sourcing contributor rewards / token incentives
See docs/ROADMAP.md for milestones with acceptance criteria and docs/CHECKLIST.md for the release checklist. Full project status is tracked there.
Getting started (contributors)
git clone https://github.com/josecookai/agent-rewards.git
cd agent-rewards
# landing page (demo)
python3 -m http.server --directory landing 8000 # β http://localhost:8000Related work
HF Agent Traces β trace upload + viewer infra
KTH reproducible-trajectories β share-to-DB
ShareChat β multi-platform wild conversation dataset (incl. Grok)
WildChat β 1M real userβChatGPT conversations
License
MIT. Traces contributed by users remain under their chosen license and are only accessible to buyers you approve.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/josecookai/agent-rewards'
If you have feedback or need assistance with the MCP directory API, please join our Discord server