r0x-os
Enables AI agents to interact with Robinhood Chain via USDG payments, offering tools for balance, pricing, trading, and more.
README
r0x-os
The official SDK, Claude Code / MCP plugin, and facilitator docs for r0x, the USDG-native operating system for AI agents, built on Robinhood Chain.
r0x runs the official x402 facilitator for Robinhood Chain. AI agents can use it right now: discover a priced capability, authorize a USDG payment, and invoke it, all in one uninterrupted call. No API keys, no subscriptions, no human approving anything in between.
Live site: projectr0x.dev · Facilitator docs: docs/facilitator.md · Skill reference: docs/skills.md
What's in this repo
- SDK (
src/client): a TypeScript client (R0xClient) that handles the x402 challenge/sign/retry cycle automatically. Published asr0x-oson npm. - Claude Code / MCP plugin (
src/plugin): exposes the full skill catalog as MCP tools, plus local wallet setup and a spend-limit guard. - Virtuals GAME integration (
integrations/virtuals-game): a GAME SDK worker that gives any Virtuals agent the same skill catalog as fifteen callable functions, with optional auto-broadcast of trades and transfers. - Docs (
docs/): how the facilitator works and the full skill reference. - Examples (
examples/): a minimal, dependency-light reference client.
Install
npm install r0x-os
import { R0xClient } from 'r0x-os';
const client = new R0xClient({ privateKey: process.env.R0X_PRIVATE_KEY });
// $0.01 USDG per call, settled automatically
const { data } = await client.price('ETH');
console.log(data.priceUSD);
const balance = await client.balance('0x...');
console.log(balance.data.balances);
See docs/skills.md for every method the client exposes.
Claude Code plugin
/plugin marketplace add nhevers/project-r0x
/plugin install r0x-os
Or add it directly as an MCP server:
claude mcp add r0x -- npx r0x-os
No private key is needed upfront, the agent calls r0x_setup on first use to
either import an existing wallet or generate a fresh one. After that, eighteen
tools are available: r0x_setup, balance, tx, price, wallet, chat,
send, fund, broadcast, spend_limit, trade, quote, pool,
liquidity_add, liquidity_remove, liquidity_positions, yield, and
bridge. trade, quote, pool, and liquidity_* all accept any ERC20
token on Robinhood Chain, not just ETH and USDG — there's no allowlist.
Virtuals GAME agents
Any agent built on the Virtuals GAME SDK can plug straight into r0x. See integrations/virtuals-game for a worker exposing the full skill catalog as GAME functions, with optional auto-broadcast of trades, transfers, and liquidity transactions.
Building from source
git clone https://github.com/nhevers/project-r0x.git
cd project-r0x
npm install
npm run build # compiles src/ -> dist/
npm run example:tx # runs the reference test-transaction script
How the facilitator works
Read docs/facilitator.md for the full protocol walk-through,
or jump straight to examples/test-transaction.js
for a working ~80-line client.
License
MIT, see LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.