Onboarding guide
2. Before you start
Pick one agent and one action#
Start small. Pick one agent and one action it takes that would hurt if it went wrong. Good first actions:
- move money (a refund, a payout, a credit),
- change something a customer sees (an account, an order, a price),
- send something on your behalf (an email to a customer).
This guide uses one example all the way through: a support agent that
issues refunds. The full example is in
docs/use-case-refunds.md. In plain words, the
rules are:
- Refunds up to $100 go through.
- Refunds over $100 and up to $500 wait for a person in finance.
- Refunds over $500 never run.
- The agent can refund at most $2,000 in a day, and act at most 30 times a minute.
- Anyone on call can stop the agent, or every agent, at once.
Write your own action's rules the same way, in plain words, before you touch any code. If you cannot write them down, the agent should not have the action yet.
Who needs to be involved#
| Person | What they do |
|---|---|
| Platform or risk lead | Writes the rules in plain words. Decides who may approve. Reads the dashboard and the evidence |
| One engineer | Connects the agent with the SDK or the gateway. Runs the quickstart |
| Approvers | The people who answer ask_human requests, for example finance on call for refunds |
| Whoever is on call | Knows where the pause button and the kill switch are (page 7) |
You do not need security or legal to start. Bring them in when you read page 6 (evidence), because that is the part they will ask about.
What data leaves your systems#
Riskbound runs on a server we operate in AWS, in the United States
(us-east-1). Your agent talks to it over HTTPS.
What Riskbound receives, for each action the agent asks about:
| Data | Example | Notes |
|---|---|---|
| Agent name | support-bot | A name you choose |
| Tool name | refund | A name you choose |
| The params you send | {"order_id": "ord_2291", "amount_minor": 48000, "currency": "USD"} | You choose what to send. Send only what your rules need |
| Whether the action ran or failed | executed, or failed with the error message | The SDK sends the error's message text when the action throws |
| Approvals | Who approved, when, and their note |
With the gateway, every argument of a checked tool call is sent as a param, unless the tool is marked read-only. Read-only calls are not sent at all.
What stays with you:
- What the action returns. The SDK never sends it.
- Your tool and API credentials. With the gateway they live in the gateway's environment, which runs in your systems.
- The agent's prompts, conversations and model calls.
- Any customer data you do not put in params.
Where the data goes after that. Params are stored in your tenant's
decision log, which cannot be edited or deleted. If you turn on Slack
approvals, the params of an ask_human request are posted to the Slack
channel you choose. So keep personal data out of params: send an order id,
not a customer's name or card number.
What to have ready#
- The agent and the action, written down.
- The rules in plain words.
- The names of the approvers.
- Your Riskbound URL and an admin key: from us on a hosted Riskbound,
or printed by the API on first start when you run it yourself. You
make the agent key with the admin key, on the dashboard's Keys
page or with
POST /v1/keys. - For the engineer: Node.js 22.18 or later (TypeScript and the gateway) or Python 3.10 or later.
Next: 3. Quickstart with the SDK, or 4. Quickstart with the gateway if your agent uses MCP tools.