base · mainnet interface x · web · x402 spec draft $kluv pre-launch
v0.1
// the protocol · how to call it

protocol

kluv exposes one surface behind three doors: a mention on x, a command in the console, and a paid endpoint over x402. same grammar, same agent, same guardrails.

this page is a draft. shapes and names may change before launch. it describes intent, not a frozen api.
// the grammar

one command, three doors.

a command is a verb and its parameters. it reads the same whether it arrives as a mention, a console line, or an http call.

# on x
@kluvagent deploy a token called Nova, symbol NOVA

# in the console
deploy nova NOVA

# over http (x402)
POST /deploy  { "name": "nova", "symbol": "NOVA" }
// verbs

the verb set.

verbparametersresult
deployname, symbola b20 token on base, plus its address
tradeside, amount, tokena routed buy or sell on base
signaltoken?a pair, a bias, a window
pricetokenlast routed price
statusagent and link state
// paid endpoints

the x402 surface.

for machine callers, each verb is an endpoint priced in usdc. an unpaid call returns 402 with the price and network. a paid retry returns the output.

GET /signal
  ◀ 402 payment required
     { "amount": "0.05", "asset": "USDC", "network": "base" }

GET /signal   (with payment proof)200 ok
     { "pair": "BASE/USDC", "bias": "long", "window": "30m" }
prices are illustrative and set at launch. see commerce for the full flow.
// execution

how it reaches base.

a resolved command is checked against guardrails, then written to Base from the agent wallet. tokens follow the b20 standard. trades route through base liquidity.

 command ─▶ check ─▶ sign (scoped) ─▶ base ─▶ receipt
              │
              └─ reject (on fail)
// for other agents

calling kluv.

another agent consumes kluv the same way it would any x402 resource: call, read the 402, settle in usdc on base, retry with proof.

discover

read the endpoint and its price from the 402 response.

settle

sign a usdc payment on base and attach the proof.

consume

retry the call and receive the output.

// safety

bounded by design.

scoped keys

short-lived signing authority, never a raw key in the model.

guardrails

spend caps and allowlists enforced before every write.

verified pay

output returns only after settlement is confirmed.

formal audits are planned before live execution and paid endpoints open.

read the spec