Free beta · by invitation

Set up Sayso

Add Sayso to your agent wallet in about 15 minutes. It starts in shadow mode: it watches every transaction and tells you what it would have stopped, without blocking anything.

  • Agent wallets start in shadow mode
  • Never holds your keys or money
  • Turn it off any time

You need an invite code from us. No code yet? Request an invite.

Paste this into your coding agent

One step for builders. Paste the block into Claude Code, Cursor, Codex or OpenClaw inside your agent’s project. The coding agent reads saysoio.com/skill.md and does the setup: it finds where the wallet is created, installs the SDK, registers the wallet once, wraps it, runs one test check, then tells you to sign the rules in the dashboard. It never holds or uses the owner’s key.

Add Sayso to this agent’s wallet. Follow https://saysoio.com/skill.md exactly, step by step.
Ask me for two things only: the invite code and the owner’s wallet address. Never ask for, hold or use the owner’s key.
Leave mode out of the code: the wallet starts in shadow mode and the owner switches it in the dashboard.
Put the API key in the project’s secrets and never print it.

Then you, the owner: sign the rules at app.saysoio.com/setup with your own wallet (free, moves no money), link Telegram when you want notices, and turn enforce on from the wallet’s page when you trust it. Prefer to do it by hand? Every step is below.

Pick your setup

Agent wallet

Before you start

  • Two roles, one invite code (often one person). The owner sets the rules with their own wallet; the builder wires the agent. Both use the same code, and it counts once per agent wallet.
  • Node 20 or newer, with viem or Coinbase AgentKit.
  • The agent wallet is a plain key wallet. Smart accounts cannot register yet. The owner’s wallet is a plain wallet too (MetaMask, Rabby or a hardware wallet): a smart wallet cannot sign the rules yet, so sign with a plain one for now. And it is not the agent’s wallet: an agent that owned itself could sign its own rules, so Sayso refuses that.
  1. Owner: sign the rules

    Open app.saysoio.com/setup, sign in with the wallet that will sign the rules (a plain wallet such as MetaMask, Rabby or a hardware wallet; one free signature) and choose My agent’s own wallet. Enter the agent’s wallet address and the invite code, write the rules, read what Sayso understood, then sign with that same wallet. Signing is free and moves no money. Link Telegram at the end (optional in shadow mode; needed before enforce mode).

    Writing good rules

    The setup page helps: start from the wallet’s own history or from a template for its kind of agent, put the limits, tokens and addresses in fields, and read what is always enforced beside what only guides the AI judge before you sign. Think of it as briefing a new employee: the tokens it may use, a limit per trade and per day, where money may go, and the contracts it may call.

    “Trade only ETH, WETH and USDC. At most 0.5 ETH per trade and 2 ETH per day. Money may only be sent to my saved address 0x….”

    If your agent calls contracts of its own, name them with their full function signatures: “my agent may call its own contract 0x… (only addWorker(address))”. A listed call is then allowed when the simulation shows nothing at stake. To change the rules later, open the wallet’s page in the dashboard and press Change rules; you sign again, and the newest set counts.

    Prefer a script?
    // owner.ts: run on YOUR computer, never on the agent's server
    import { privateKeyToAccount } from 'viem/accounts'
    import { compileMandate, setMandate, linkTelegram } from 'saysoio'
    
    const API = 'https://api.saysoio.com'
    const setup = { chainId: 8453, invite: 'oi_…' }
    const owner = privateKeyToAccount(process.env.OWNER_KEY as `0x${string}`)
    const AGENT = '0xYourAgentWalletAddress'
    
    const rules = 'Trade only ETH, WETH and USDC. At most 0.5 ETH per trade and 2 ETH per day. ' +
                  'Money may only be sent to my saved address 0x….'
    const { compiled, shownToOwner } = await compileMandate(API, rules)   // about 20 seconds
    console.log(shownToOwner)                                              // read it: this is what you sign
    if (compiled.unresolved?.length) console.log('Not turned into a rule:', compiled.unresolved)
    await setMandate(API, owner, AGENT, rules, compiled, setup)
    
    const { url } = await linkTelegram(API, owner, AGENT, { chainId: 8453 })
    console.log('Open in Telegram and press Start:', url)                  // works once, for 15 minutes
  2. Builder: install and register the agent once

    npm install saysoio viem
    import { privateKeyToAccount } from 'viem/accounts'
    import { registerWallet } from 'saysoio'
    
    const agentAccount = privateKeyToAccount(process.env.AGENT_KEY as `0x${string}`)
    const API = 'https://api.saysoio.com'
    const { apiKey } = await registerWallet(API, agentAccount, '0xOwnerAddress',
      { chainId: 8453, invite: 'oi_…' })
    // shown once: store it as a secret, e.g. OATHLINE_API_KEY

    Run this once, not on every deploy. The owner a wallet names first is permanent, so check the address.

    AgentKit, or no raw key
    // `provider`: your AgentKit wallet provider, not wrapped yet
    const { apiKey } = await registerWallet('https://api.saysoio.com', {
      address: provider.getAddress() as `0x${string}`,
      signTypedData: (args) => provider.signTypedData(args),
    }, '0xOwnerAddress', { chainId: 8453, invite: 'oi_…' })
  3. Builder: wrap the wallet, in shadow mode

    import { createWalletClient, http } from 'viem'
    import { base } from 'viem/chains'
    import { Oathline } from 'saysoio'
    
    const oathline = new Oathline({
      apiUrl: 'https://api.saysoio.com',
      apiKey: process.env.OATHLINE_API_KEY!,
      chainId: 8453,
      // mode left out: the wallet starts in shadow mode (watches only) and the owner
      // turns enforce on from the dashboard. Do not write mode: 'shadow'.
      // timeoutMs left at its default (10 s): a slower check is refused, in shadow mode too, and Sayso answers a slow
      // check with a signed "ask" at 8 s, so a shorter timeout only adds refusals
      onDecision: (r, tx, d) => console.log(d, r.verdict, r.reason),
    })
    
    // create the client WITH the agent's account: the check is for that address
    const walletClient = createWalletClient({ account: agentAccount, chain: base, transport: http() })
    const wallet = oathline.guard(walletClient)   // the agent now uses `wallet`, never `walletClient`

    Keep the original client private: anything that signs through it, or through a library you give a raw key to (many x402 payment clients do), skips Sayso. On the wrapped wallet, sendTransaction, writeContract and signTransaction are checked; sendCalls, signAuthorization and sendRawTransaction cannot be checked yet, so in enforce mode they are refused and in shadow mode they go ahead and show as “would have blocked”.

    AgentKit
    const walletProvider = oathline.guardWalletProvider(provider)
    const agentkit = await AgentKit.from({ walletProvider, actionProviders: [/* yours */] })
    // give the agent only `agentkit`; keep `provider` private
  4. Check that it works

    const r = await oathline.check(agentAccount.address, { to: '0xYourSavedAddress', data: '0x', value: 0n })
    console.log(r.verdict, r.reason)   // any verdict is fine: it came back signed for this exact transaction

    Then let the agent run as usual. Every decision with its reason is on the dashboard, and if Telegram is linked you also get a notice whenever Sayso would have asked or blocked.

  5. After about a week: enforce. The owner switches, never the code

    • Every wallet starts in shadow. It only watches and reports what it would have asked or blocked.
    • The owner turns enforce on later from the wallet’s page in the dashboard, with one signature of the wallet that signed the rules. It asks for Telegram first, because Sayso’s questions travel there.
    • The builder never sets the mode in code. Leave mode out. The agent follows the switch from its next check.

    In enforce mode a block stops the signature, an ask waits for your Approve or Reject on Telegram, and if Sayso cannot be reached the agent refuses to sign. Before the owner flips the switch, give the agent a longer timeoutMs and a signatures policy for permits, x402 payments and signed logins, which Sayso’s server does not check yet:

    const oathline = new Oathline({
      /* same as above, and: */
      timeoutMs: 30000,
      signatures: 'refuse',   // permits, x402, signed logins: 'refuse', 'ask' + onAsk, or 'allow'
      // mode still left out. A builder who must pin enforce whatever the switch says may write
      // mode: 'enforce'; the switch can raise shadow to enforce, never lower enforce.
    })
    VerdictWhat happens
    allowSigned
    askApprove or Reject goes to your Telegram, for up to 10 minutes. No answer means refused. Without a linked Telegram it is refused at once, unless you set an onAsk hook. Two kinds of ask (a small payment to an address you have not saved, an exact permission to a contract your rules name) exist only with Telegram linked; without it they are blocks, whatever onAsk does.
    blockRefused. A block can never be approved

    Catch OathlineBlocked, OathlineNeedsApproval and OathlineUnavailable in the agent and tell it why. Raise your framework’s tool timeout above 10 minutes so an ask is not cut off.

In enforce mode a tricked agent’s transaction is refused when the check catches it. A hacked agent server is different: it holds the key and can sign without the SDK. For that, the money would sit behind a Safe with Sayso as a cosigner, which is available soon.

Safe cosigner

Available soon. A Safe that needs two of three keys, the agent’s, Sayso’s and yours, so the agent’s key alone moves nothing. It works on the Base Sepolia test network today and is paused while we focus on agent wallets. Join the waitlist and we will tell you when it opens.

Watch a Safe

Available soon. Sayso reads every proposal waiting for signatures in a Safe run by people and warns you on Telegram; it cannot stop anything. Paused while we focus on agent wallets. Join the waitlist and we will tell you when it opens.

Reference

Sayso’s servers and signing addresses
ChainServerFor
Base (8453)https://api.saysoio.comAgent wallets, Watch a Safe. By invitation
Base Sepolia (84532), test moneyhttps://sepolia.saysoio.comSafe cosigner, trials. Open, no Telegram, not on the dashboard

The SDK trusts only these signing addresses, built into it, and refuses a server whose chain is not the wallet’s. You can compare them with GET /health.

ServerSigns verdictsSafe key
Base0x96489eBC8C0ff7FBa482536699B1f78d87f1306d0x7ad359D3E76eCbf460156457cbB61f1643149841
Base Sepolia0x70aA81eB7ED4b1636b50c88E9B0D0CA3107DeE3f0x97d1089DaB43EE469Afd84B0713CdF00FfB08B7d
What Sayso sees, and what it never sees
  • Sees: the wallet address, each transaction before signing (to, data, value) and whatever your optional context() returns. Put no secrets in it.
  • Never sees: any key.
  • Outside services: a chain data node, token data services, the decision model, the rule compiler (OpenRouter), Telegram for approvals and Cloudflare in front of the server see transaction details; the dashboard keeps a copy of the log at Supabase. Details on the privacy page.
  • Every verdict is signed for that wallet, that transaction and that chain, with an expiry, and the SDK checks it.
If a key is lost or leaked
  • The Sayso API key can ask checks for that one wallet and read the answers. It cannot change rules, approve, sign or move money. If it leaks, message @saysoio at once.
  • The agent’s key stolen: the thief can sign without the SDK. Move the funds to a new wallet and register that one. With a Safe cosigner, the agent’s key alone moves nothing.
  • The owner’s key lost: the rules in force stay, but nobody can sign new ones for that wallet. Use a new agent wallet with a new owner.
Known limits of the beta
  • Chain data can be up to 2 minutes old. A transaction that depends on one sent seconds earlier can show as “fails in simulation”.
  • Contracts Sayso cannot read are at best “ask”, never “allow”. For an agent wallet, your rules can name your own contracts and functions; a listed call is then allowed only when the simulation shows nothing at stake.
  • Permits, x402 payments and signed logins are not checked by Sayso’s server yet. In enforce mode they follow your signatures setting.
  • Approvals only on Telegram for now. You sign in to the dashboard with your wallet.
  • Speed: a check took about 1.2 seconds at the median on our benchmark; 1 in 10 took 7.7 seconds or longer.
  • Not externally audited yet.
Troubleshooting
You seeDo this
“an invite code is required”Pass { invite: 'oi_…' }, to setMandate too. No code: request an invite
409 “already registered”Nothing to do: keep the API key from the first time. Register once, not on every deploy
“this wallet is a contract”Use a plain key wallet (smart accounts cannot register yet)
“the agent’s wallet cannot be its own owner”Enter the owner’s address, not the agent’s: the owner is another wallet
409 “this wallet now runs code”The wallet gained code (an EIP-7702 upgrade) after it registered as a plain wallet; remove it, or ask us to register it again as what it now is
“sayso cannot check this kind of call yet”The agent used a batch, a raw send or a deployment in enforce mode; use sendTransaction or writeContract
409 “no owner-signed mandate”The owner signs the rules for this exact address (step 1)
401 “unknown API key”Check OATHLINE_API_KEY; register the wallet
429 “too many requests”About 60 checks a minute per key; retry after retry-after
503 “busy” or “the fork does not answer”Retry shortly; in shadow mode the transaction goes ahead only when the answer carries Sayso’s signed shadow, else it is refused
“receipt signature is not from Sayso”Check apiUrl and chainId; update the SDK
Telegram link does not workLinks work once, for 15 minutes; make a new one
“that invite code is not valid or has been used up”Check the code; ask @saysoio for more places
409 “already linked to another owner”That owner stays; use a new agent wallet
403 “this API key belongs to a different wallet”Use each wallet’s own key
“could not reach Sayso” or “did not say which chain”Check the URL and /health; pin chainId
“could not turn the mandate into rules”The rule compiler is busy; try again in a minute
Turning it off
  • Agent wallet: stop using the wrapped wallet.
  • Safe setups (available soon): you and the agent remove Sayso as an owner; a watched Safe has nothing to undo.

To delete a wallet’s rules and Telegram link, message @saysoio. Signed log entries are kept as the record that a verdict was given; they include the rules’ text and the linked Telegram chat id (Privacy).

Stuck, or something looks odd? Message @saysoio on X.