Get started
Concepts
A short tour of the words Riskbound uses. Each part links to the page that goes deeper. The full list is in the glossary.
Policy#
A policy is your rules for what agents may do, written in
Cedar, an open policy language. A rule names
a tool, such as refund, and reads the params the agent sends with
its request, such as the amount.
@id("refund-small")
permit (principal, action == Action::"act", resource == Tool::"refund")
when { context.amount_minor <= 10000 };- Policies are never edited in place. Each change is a new version, and one version is live at a time. Every activation is on the record.
- Amounts are whole numbers in minor units:
48000is $480.00. - A tool that no rule mentions is blocked.
Start from a template in the policy library.
Decision#
A decision is Riskbound's answer to one request from one agent. Before the agent acts, it sends the tool and its params. Riskbound checks, in order, whether the agent is known and running, the kill switch, the agent's rate limit and daily spending cap, and then the live policy. The decision holds the outcome, the reasons and the policy version that decided.
The reasons say why: a rule's @id, such as refund-hard-cap, or a word
such as spend_cap or kill_switch. The
glossary lists them all.
Outcome#
Every decision has one of four outcomes.
| Outcome | What happens |
|---|---|
allow | The action runs |
ask_human | The action waits until a person approves it |
dry_run | Only a safe practice version runs, never the real action |
block | The action does not run, and the agent's code gets the reason |
Cedar itself answers only allow or deny. Riskbound gets four outcomes by asking about three Cedar actions in turn. See Four outcomes.
If Riskbound cannot reach a clear allow, the outcome is block. This is
called failing closed, and it is the default everywhere, in the server and
in the SDKs. See Fail closed.
Approval#
When the outcome is ask_human, Riskbound opens an approval. A person
approves or rejects it in the dashboard, with the API or in Slack, with an
optional note. On approve, the action runs. On reject, it does not.
- An approval nobody answers expires after 15 minutes by default, and counts as a no.
- Only admin keys can approve. An agent key can never approve its own request.
- Who answered, when, how and their note go on the record.
See Approvals.
Evidence#
Every decision, approval, result and rule change is written as an event to an evidence log.
- Append-only. Nothing is edited or deleted. A correction is a new event.
- Hash-chained. Each event holds a hash that covers the one before it, so a change anywhere breaks every hash after it.
- Signed. The server signs each event with an Ed25519 key when it is written. Anyone with the export and the public key can check the whole record offline, without trusting Riskbound.
Enterprise can hold the signing key in AWS KMS and seal batches of events to write-once storage Enterprise. See Evidence and Signed evidence.
Risk score#
Watch gives every agent a risk score from 0 to 100, where higher is riskier. It is a fixed, written formula over the decision log, not a model, and it shows its working.
| Part | What it measures |
|---|---|
| Reach | What its tools can touch, including amounts |
| Autonomy | The share of actions allowed with no person |
| Robustness | Blocked attempts, timeouts and errors |
| Controls | What stands between the agent and harm: policy coverage, limits, the gateway |
| Track record | What happened to actions that ran |
Each part shows the numbers it used. A part with too little data says what it needs, and the overall score appears only when all five parts have enough. Scores under 34 are low, under 67 medium, and the rest high. The full formula is in ADR 0010.
Editions#
Riskbound comes in two editions.
- Community is free and open source under the Apache License 2.0. It is a complete product: everything on this page except where it says Enterprise.
- Enterprise and Cloud are commercial. Enterprise adds single sign-on, KMS signing, sealing evidence and Insure, which you run yourself. Cloud is Riskbound run for you.
On a Community server, Enterprise features are off: their API routes answer
402, and settings that ask for them stop the server at boot. Nothing runs
half on. See Editions.