Skip to content
Ration/
Built withTether WDK

GiveEveryProcessIts ownMoney

Give agents a ration, not your wallet.

npm install --global ration-ai

ration@local:~Ready

Commands / click to execute

Select a command to begin

Terminal status: Ready

The problem / temporary job, permanent access

Agents have temporary jobs. Their wallet access shouldn't be permanent.

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

A small payment becomes a wallet problem.

You fund access, wire it into the job, then clean up what remains.

  1. 01

    Create

    Create or select a wallet the process can use.

  2. 02

    Provision

    Estimate the job, then add tokens and network gas.

  3. 03

    Connect

    Wire wallet access into the process and its environment.

  4. 04

    Reconcile

    Inspect activity and decide what to do with leftovers.

The shift / wallet → run

Fund the run, not the agent.

Your wallet

Stays with you

Each run gets its own budget, deadline, and return path.

The answer / Ration

The command becomes the boundary.

Ration keeps the persistent WDK treasury outside the agent's MCP surface and funds a separate wallet for one session.

Human-held WDK treasury
approved test USDT + gas
Session EOA
Private Ration MCP
Codex / OpenCode
Return + receipt
Sepolia today/test USDT/standard EOA
  1. 01

    Approve

    Preview the test USDT budget and Sepolia gas before anything is broadcast.

  2. 02

    Isolate

    Derive a session-specific standard Sepolia EOA without registering another WDK CLI wallet.

  3. 03

    Attach

    Expose only the sandbox through a private MCP connection to Codex or OpenCode.

  4. 04

    Run

    The command can spend the funded test USDT balance; an optional TTL can end financial access.

  5. 05

    Return

    Attempt to sweep unused USDT and economical ETH back to the treasury, then dispose the sandbox.

  6. 06

    Record

    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

The idea ships as a command.

Ration is a CLI you can install now, not a diagram waiting to become one.

  1. RationProduct
  2. CLITool
  3. npmPublished
npm / registry Published
npm install --global ration-ai

Five commands / one safe lifecycle

Fund.Run.Recover.

Setup the treasury.Status, then relock.Run with --budget + --ttl.Recover after a crash.History proves cleanup.

ration / cliReady
Command
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

Use the boundary where money meets uncertain work.

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.

Hostile input demo

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.

Interrupted work

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.

Ready / execute

Put a hard limit on software.

Money, but with boundaries.