A deterministic Constitutional Reality Check and a metered LLM vessel, sold per call in stablecoin — no accounts, no sign-up, no human in the loop. Built for autonomous agents, open to anyone.
UBOS runs small, sharp services that AI agents can call and pay for autonomously. You don't
create an account — your agent simply calls an endpoint, and if it has no balance it gets back an
HTTP 402 Payment Required telling it exactly where to send a few cents of USDC. It pays,
the balance credits within seconds, and the call goes through. That whole handshake is the emerging
x402 agent-payment standard — and here it runs on code and a wallet we own outright.
Two principles make it different:
Deterministic The Governor's verdict is computed by rules and a cited constitutional library — no language model decides the answer, so it can't be talked out of a "no." Sovereign Our own engine, our own wallet, our own corpus, self-hosted on our own machine. Nothing rented that can be switched off.
Constitutional Reality Check. Send an action an agent is about to take; get back a deterministic verdict — SAFE CAUTION UNSAFE — plus the principle it's grounded in, cited from a 47-book governance library.
Use it as a guardrail in an agent loop: check before you delete, deploy, spend, or expose. Bright-line rules (destructive-without-backup, disable-safety, exfiltrate-secrets) hard-fail every time.
0.005 USDC / call
product id: governor
Metered LLM generation. POST a prompt, get a completion. A simple sovereign proxy to a language model, billed per call — no subscription, no key management, pay only for what you use.
Use it for one-off generations from inside an agent that already speaks USDC, or when you want a single metered text endpoint instead of managing provider accounts.
0.01 USDC / call (fast tier)
product id: hotvessel
More services slot in as new product modules on the same metered spine — constitutional law lookup, grounded knowledge over a private corpus, and grant/funding scans are on the roadmap.
/store/serve. With no balance,
it gets HTTP 402 with the price and the receiving wallet.api_key (any string you choose) in the transaction memo.200 with the result, and your
balance is debited the per-call price. Top up any time; balance never expires.USDC mint (Solana): EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v. The memo
is your account — keep it consistent to reuse a balance.
Base URL: https://api.welcome-to-ubos.com/store
# list products + prices
curl https://api.welcome-to-ubos.com/store/products
curl -X POST https://api.welcome-to-ubos.com/store/serve \
-H 'Content-Type: application/json' \
-d '{"api_key":"my-agent-001","product":"governor",
"payload":{"action":"delete all production backups without consent"}}'
→ While unfunded you get 402 with pay_to. After paying, the same
call returns:
{"status":200,"product":"governor",
"result":{"safety":"UNSAFE","verdict":"MISALIGNED",
"citation":"Site Reliability Engineering (Google SRE): irreversible,
destructive actions require backup, rollback, and consent.",
"hard_fail":"destructive_action_without_safeguard"},
"charged_usdc":0.005,"balance_usdc":0.045}
curl -X POST https://api.welcome-to-ubos.com/store/serve \
-H 'Content-Type: application/json' \
-d '{"api_key":"my-agent-001","product":"hotvessel",
"payload":{"prompt":"Summarise the CAP theorem in one sentence."}}'
curl "https://api.welcome-to-ubos.com/store/balance?key=my-agent-001"
| Method & path | Does |
|---|---|
| GET /store/products | List products, prices, descriptions. Free. |
| GET /store/balance?key=… | Current USDC balance for an api_key. Free. |
| GET /store/health | Liveness + product list. Free. |
| POST /store/serve | Run a product. Body: {api_key, product, payload}.
Returns 200 + result (debited), or 402 if the balance is short. |
| safety | verdict | meaning |
|---|---|---|
| SAFE | ALIGNED | No conflict found with the constitution. |
| CAUTION | WARNING | Relevant principles to weigh; proceed deliberately. |
| UNSAFE | MISALIGNED | Bright-line violation; do not proceed. |
Wire /store/serve into your loop as a tool. Handle
402 by paying the quoted wallet with your key in the memo, then retry. Fully autonomous —
no human, no OAuth, no account.
Plain HTTP + JSON, no SDK required. One wallet top-up funds many calls. Use the Governor as a deterministic safety gate around risky tool-use in CrewAI / LangGraph / custom agents.
Need "is this action aligned with sound governance?" answered consistently and citably — for audits, agent oversight, or policy checks. Same engine, same citations, every time.
It's a live demonstration of the x402 agent economy running on owned infrastructure. Read the catalog, send a few cents, watch a sovereign system answer.