Skip to main content
Glama

πŸ€– 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.

GitHub release License Platforms


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.


Related MCP server: AI Proof of Us MCP Server

✨ Features

  1. πŸ” Find your trace β€” scans all supported agents' local session dirs, cross-platform.

  2. ⬆️ Upload / auto-upload daily β€” incremental sync daemon, sha256 dedup, offline queue.

  3. πŸ–₯️ View your trace β€” HF-style timeline viewer: prompts, tool calls, tool outputs, reasoning.

  4. πŸͺ™ View your credits β€” live ledger + token balance.

  5. πŸ” 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

~/.claude/plugins/ skill

~/.claude/projects/**/*.jsonl

Codex

~/.codex/ skill

~/.codex/sessions/**/rollout-*.jsonl

Grok Bot

Grok skill

~/.grok/**

Hermes Agent

~/.hermes/skills/ + MCP server

~/.hermes/sessions/**

Openclaw

Openclaw skill

~/.openclaw/**

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 point

Point 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

find_trace

List the newest local agent traces (all supported agents)

view_trace

Read one trace, secrets/PII scrubbed before it reaches the model

upload_trace

Redact + register a trace into your credits ledger

get_credits

Show your running credits balance + recent registrations

scope_of

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 access

Roadmap

  • 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:8000


License

MIT. Traces contributed by users remain under their chosen license and are only accessible to buyers you approve.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to sign decisions with post-quantum cryptographic proofs and maintain secure audit trails for compliance. It provides tools for stamping events, verifying chain integrity, and exporting audit data across industries like finance and healthcare.
    4
    32
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Records privacy-preserving receipts for AI-assisted tasks and enables optional onchain reward claiming via AIPOU tokens. Integrates with MCP-compatible clients like Claude and Cursor.
    9
    4
    MIT

Latest Blog Posts

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