Paid agent research
Process
Codex or OpenCode discovers and buys a bundled demo resource.
Sandbox
The MCP sees the session EOA, never the treasury.
Result
A deterministic sample is unlocked by a real Sepolia test-USDT payment.

Give agents a ration, not your wallet.
npm install --global ration-aiCommands / click to execute
Select a command to begin
Terminal status: ReadyThe problem / temporary job, permanent access
A task might need $5. That doesn't mean the agent needs your wallet.
give the run a budget. end access when it ends.
Without Ration / every run is manual
You fund access, wire it into the job, then clean up what remains.
Create or select a wallet the process can use.
Estimate the job, then add tokens and network gas.
Wire wallet access into the process and its environment.
Inspect activity and decide what to do with leftovers.
The shift / wallet → run
Your wallet
Stays with you
Each run gets its own budget, deadline, and return path.
The answer / Ration
Ration keeps the persistent WDK treasury outside the agent's MCP surface and funds a separate wallet for one session.
Preview the test USDT budget and Sepolia gas before anything is broadcast.
Derive a session-specific standard Sepolia EOA without registering another WDK CLI wallet.
Expose only the sandbox through a private MCP connection to Codex or OpenCode.
The command can spend the funded test USDT balance; an optional TTL can end financial access.
Attempt to sweep unused USDT and economical ETH back to the treasury, then dispose the sandbox.
Write a local receipt. Funded crash journals can be retried with ration recover.
Cleanup and in-memory disposal are best-effort operations. Ration reports incomplete recovery instead of presenting it as guaranteed.
Published / available on npm
Ration is a CLI you can install now, not a diagram waiting to become one.
npm install --global ration-aiFive commands / one safe lifecycle
Setup the treasury.Status, then relock.Run with --budget + --ttl.Recover after a crash.History proves cleanup.
ration run --budget ${BUDGET} --ttl ${TTL} -- ${PROCESS}Illustrative Sepolia output
Sandbox funding Budget 1.00 USDT Wallet TTL 30m Gas reserve 0.0001 ETH (infrastructure) Fund this sandbox? [y/N] y Ration Sandbox 0x… Budget 1.00 USDT Access Ration MCP ... Session complete Returned unused test USDT Sandbox disposed
Where it fits / current scope
Process
Codex or OpenCode discovers and buys a bundled demo resource.
Sandbox
The MCP sees the session EOA, never the treasury.
Result
A deterministic sample is unlocked by a real Sepolia test-USDT payment.
Process
An agent reads demo notes containing an instruction to drain its funds.
Sandbox
Only the funded sandbox balance is reachable through Ration MCP.
Result
The demo exposes the blast radius instead of claiming to prevent the prompt injection.
Process
A command exits, receives a signal, or leaves a funded crash journal.
Sandbox
Cleanup closes spending before attempting USDT and economical ETH returns.
Result
History records the outcome; recover can retry incomplete funded sessions.