For agents and the people who build them
Connect your agent.
Your agent and the other company's agent agree a deal wherever they already talk. Then one of them calls Ripae to record it, and both confirm. Every door below calls the same operations.
What gets recorded
Ripae records any business agreement that your agent and another company's agent have agreed. It is not only for loans. A record is the deal both sides confirmed, sealed so that anyone can check it later.
These are the deal types on offer now. Call ripae_list_deal_types for the current list and the fields each one needs.
- Purchase order. The lines (what was ordered, the quantity, and the unit price), the currency, and the total. The due date is optional. Buyer and supplier.
- Supplier terms. The agreement both sides read, kept as a digest, the payment terms, and the date they start. A price list is optional. Buyer and supplier.
- Service completion. The work order, what was delivered, when, and how it was accepted. An amount is optional. Provider and customer.
- Payment. The amount, the currency, the rail, the rail reference, and when it was paid. The rail is whatever text both sides write. Payer and payee.
- API, data, or compute usage. The usage lines and the total for a period. Provider and customer.
- Loan repayment. The amount split into principal, interest, and fees, and when it was paid. This type names no roles. The two companies are the parties on the case.
Every record holds:
- The two companies, each named by its domain. A person at that domain accepted the company. A DNS or file proof of the domain is optional, and the sealed record does not store that proof
- The terms, in full or as sealed commitments (
commit:sha256:…), depending on the mode (full,hybrid, orcommitted) - Amounts, currency and dates (visible to Ripae in
fullmode; inhybridmode, visible when they are their own fields and sealed when they sit inside a list; sealed incommittedmode) - Each side's confirmation, marked
agent_signedorripae_attested - The outcome, on the case:
agreed,break(the two sides' versions don't match) orunconfirmed(one side never answered). Only anagreedcase is sealed - Ripae's seal and ledger entry, so a bank, insurer or auditor can check the record without an account
Ripae records what both sides confirmed. It does not decide deals and it does not move money.
Four ways in
Hosted MCP server
One URL. Add it to any agent or assistant that speaks MCP. The agent's own model reads the tool descriptions and decides when to record a deal.
https://record.ripae.ai/room/mcp
Streamable HTTP with JSON responses. Sign in with OAuth 2.1 (dynamic client registration is supported), or send your party bearer in the Authorization header. No keys to manage: Ripae attests each confirmation, and the record says so.
Not signed up yet? The public server needs no sign-in and offers signup, deal types, hashing, and verifying:
https://record.ripae.ai/room/public/mcp
Both are in the official MCP Registry: ai.ripae/join is the public server, where an agent starts, and ai.ripae/room is the signed-in one. Other directories are not listed yet.
Local signer
For the strongest evidence, your agent signs every confirmation with its own key. The local Ripae MCP server holds that key on your machine, signs, and forwards each call to the hosted API.
The local signer is not released yet. Until it is, use the hosted MCP server, where Ripae attests each confirmation. This page will give the install command once the package is published. It will read these settings:
| Variable | What it is |
|---|---|
RIPAE_URL | The hosted Ripae address the signer forwards to. |
RIPAE_AGENT_ID | The agent id on your setup card. |
RIPAE_TOKEN | Your party bearer. Leave it out if you sign up through the signer: it saves the bearer when signup finishes. |
RIPAE_PARTY | Your party id. Also saved at signup. |
RIPAE_HOME | The folder for saved settings and deal secrets. The default is ~/.ripae. |
RIPAE_KEY_FILE | The file that holds your agent's private signing key, created on first run if missing and readable only by you. It never leaves your machine. The default is ~/.ripae/agent-key.json. |
By default the signer keeps most deal values from Ripae. It sends amounts, currency, dates, and parties in full, and a salted commitment for every other field, such as a PO number, line descriptions, or a delivery address. A proposal returns a deal secret. Give it to the other company's agent yourself; never send it to Ripae. See what Ripae sees.
Skill
An instructions file your agent reads once. It teaches one habit: when you reach an agreement with another company, record it with Ripae. It uses the MCP server; there is no other code. Ripae serves it at https://record.ripae.ai/skill.md.
HTTPS API
The same operations, called directly. The operation is the tool name without ripae_. Send JSON in, get JSON back, with your bearer in Authorization.
POST https://record.ripae.ai/v1/<operation>
Authorization: Bearer [your party bearer]
Content-Type: application/json
Results are { "ok": true, "data": … } or { "ok": false, "error": "<code>" }. For example, ripae_propose_record is POST /v1/propose_record.
No agent yet? Copy record@ripae.ai on an email thread. Ripae drafts what was agreed and emails each side a link to confirm. Drafting may use a model; confirming and sealing never do.
Two ways to confirm
A company picks one at signup. Every signature in a record says which mode it used.
| Mode | Who signs | When to use it |
|---|---|---|
agent_signed | Your agent, with its own key, through the local signer. | The strongest evidence. A company in this mode cannot confirm without a signature, so a stolen bearer cannot sign for it. |
ripae_attested | Ripae signs that your signed-in agent confirmed this content. | The hosted MCP with no key handling. The record says plainly that it is attested. |
Whether an agent's confirmation in either mode counts as an electronic signature under the law that applies to your deal is a question for your counsel. This is not legal advice.
What Ripae sees
Each record says how much of the deal Ripae saw.
| Mode | Ripae sees | Default for |
|---|---|---|
full | Every field. | The hosted MCP, the API, and email confirms. |
hybrid | Amounts, currency, dates, and parties. Other fields are commitments. | The local signer. |
committed | The parties only. | Nothing. Pass contentMode: "committed" to the local signer. |
A commitment is commit:sha256:… over the field's value and a salt drawn from the deal secret both companies share. Ripae still matches the two sides: two commitments match only when they are the same, so both sides must record a committed field exactly alike. Fewer fields in the clear means Ripae can say less about a break. A committed record cannot be confirmed from an email link, because a person there cannot see the hidden values. To show one field to an auditor or a court later, the local signer's ripae_local_disclose returns that field's value and salt; the verify page checks it against the record and keeps the other fields hidden.
Sign up
- Your agent, or a person, talks to the onboarding agent (
ripae_start). It asks questions and fills a setup card: company, domain, a contact email at that domain, agent id, signing mode and public key, deal types, and counterparties. It can only pick from an approved menu. - When the card is complete and you say so, Ripae emails the contact. Your agent gets a
claimToken. - A person at that domain opens the link, reads the setup card and the signature agreement, types a name and title, and accepts.
- Ripae checks the optional domain proof (a DNS TXT record at
_ripae.<domain>, or a file athttps://<domain>/.well-known/ripae.json), records your company, and seals the setup as your first record, between your company and Ripae. - Your agent calls
ripae_finish_signupwith theclaimToken. The bearer is returned once. Store it. - Each counterparty on the card gets an invitation. With an email, Ripae sends it. Without one, your agent gets the link to pass on.
Free email domains are refused. One domain is one company.
Tools
Inputs are JSON objects. A party's id is its domain with dashes: acme.com is acme-com.
| Tool | Who | Input | Result |
|---|---|---|---|
ripae_start | Anyone | message, optional sessionId, optional invite | sessionId, reply, setupCard, missing, status (collecting, ready, submitted), and after submit claimToken, signupId |
ripae_finish_signup | Anyone with the token | claimToken | party, bearer (once), setupDealId, setupRecordId, agentKeyId |
ripae_list_deal_types | Anyone | none | dealTypes: id, version, label, description, sides, fields |
ripae_propose_record | Party | dealType, counterparty, content, confirmBy (UTC), optional dealId (to sign in the same call), optional agentId, optional signature and keyId, optional confirm (default true) | The case. The proposer confirms in the same call unless confirm is false |
ripae_confirm_record | Party in the deal | dealId, agentId, optional content (own version), optional signature and keyId | The case |
ripae_get_record | Party in the deal | dealId | The case |
ripae_export_record | Party in the deal | dealId or recordId | A bundle with both sides' content |
ripae_verify_record | Anyone | recordId or bundle | valid, checks, failed |
ripae_invite | Party | email (work email), optional dealId, optional note | A confirm link for a deal's other side, a signup invitation for a company not in Ripae, or a new contact at your own domain |
ripae_register_agent_key | Party | agentId, publicKey | keyId |
ripae_revoke_agent_key | Party | agentId, keyId | ledger position |
ripae_add_webhook | Party | url (https), optional events: proposed, agreed, break, unconfirmed | webhookId, secret (once) |
ripae_list_webhooks | Party | none | Your webhooks and their last deliveries. Secrets are not shown |
ripae_remove_webhook | Party | webhookId | Removed |
ripae_content_hash | Anyone | content | contentHash, and with dealId and party the exact message to sign |
ripae_find_party | Anyone | domain | Whether that company is on Ripae and chose to be found: its party id, legal name, deal types, and agent card. Otherwise listed: false |
ripae_set_listing | Party | listed, optional agentCard (https, on your own domain) | Your listing, or listed: false. Off until you turn it on |
A case is in one of these states: awaiting_counterparty (one side has confirmed and the confirm-by time has not passed), agreed, break (every differing field is listed), unconfirmed (the confirm-by time passed with one side, whose version stays on file), or unconfirmed_with_break (the confirm-by time passed and the two versions differ). Only an agreed case is sealed.
Find the other company
Before proposing, your agent can ask whether the other company is on Ripae: ripae_find_party with its web domain, or POST https://record.ripae.ai/v1/find_party. No sign-in. Ripae says yes only for a company that turned its listing on. For every other domain the answer is the same listed: false, so a lookup never reveals a customer that did not choose to be found. You can still propose to a company by its domain, or invite it.
To be found, call ripae_set_listing with listed: true. If your company has its own agent card, add Ripae's marker to it, with your party id, so agents that read your card know deals with you can be recorded here. The marker is described on the party extension page.
Ripae's own agent card is at https://record.ripae.ai/.well-known/agent-card.json. It follows the A2A 1.0 standard and is signed with Ripae's key; the key set is at https://record.ripae.ai/.well-known/ripae/jwks.json.
Webhooks
Register up to ten HTTPS URLs with ripae_add_webhook. Ripae posts a notice when one of your deals is proposed, agrees, breaks, or closes unconfirmed. A notice names the deal, its state, and the paths of any differing fields, plus the record id and verify link once agreed. It carries no field values; read the case with ripae_get_record.
{ "kind": "ripae-notice@v1", "event": "break", "dealId": "deal-…", "state": "break",
"differing": ["total.value"], "recordId": null, "verifyUrl": null, … }
Each POST carries Ripae-Event, Ripae-Delivery (the same on every retry, so you can drop repeats), and Ripae-Signature: t=<unix seconds>,v1=<hex>. The v1 value is HMAC-SHA256 with your webhook secret over <t>.<raw body>. Refuse a signature that does not match or is more than five minutes old. Answer 2xx within ten seconds. Anything else is retried after 1, 2, 4, up to 256 minutes, ten attempts in all.
Checking a record
An agreed record exports as a bundle: everything needed to check it with no Ripae account and no network. Anyone can check one on the verify page, which runs in your browser and sends nothing anywhere. The bundle runs seven checks: the ledger entry, Ripae's seal, both sides' signatures, each side's content, the record's place in the public ledger, the ledger checkpoint, and whether Ripae's keys are ones you pinned.
The record bundle format, with its encoding and the exact steps of each check, is served at https://record.ripae.ai/record-format.md.
A checkpoint you saved earlier can be checked against a later one. GET https://record.ripae.ai/v1/consistency?from=<saved size>&to=<later size> returns a proof that the later ledger keeps every earlier entry, unchanged and in order. The verify page checks it, with no network calls.
Credit offers (optional)
Once your company has agreed records, it can also read credit offers from Ripae's lending partner. You don't need credit offers to use Ripae.
No offer is open yet. This section describes what an agent can do once one is. The offer index says whether one is open.
Ripae will publish credit offers from its lending partner, [partner bank], as signed files an agent can check. An offer is an invitation to ask for a quote. It is not a quote and not credit. While offers are in testing, each one is marked sandbox: true.
GET https://record.ripae.ai/.well-known/ripae/offers.jsonlists the open offers. Each links to its signed file at/.well-known/ripae/offers/<offerId>/<version>and its page at/offers/<offerId>. A version never changes once published.- Check an offer's signature against Ripae's published keys: Ed25519 over the offer's canonical JSON without
keyIdandsignature, described inhttps://record.ripae.ai/credit-offers.md. The@ripae/verifypackage that does this is not published yet. - A person at your company sets the limits your agents look for credit within: amount, APR, term, kinds of credit, and which steps need a person. Signing always does. Your agent asks for the link with
ripae_mandate_link; it goes to your contact email, never to the agent. ripae_check_fitsays whether an offer fits those limits, and if not, which limits miss and by how much. Once the local signer is released, itsripae_local_check_fitwill run the same check on your machine, so limits you pass in never reach Ripae.
People can see the open offers on the credit offers page, generated from the same signed files.
The full description is served at https://record.ripae.ai/credit-offers.md, and a short guide for language models at https://record.ripae.ai/llms.txt. Not legal or financial advice.
What it costs and what limits apply
| What | Cost |
|---|---|
Checking a record, on the verify page or with ripae_verify_record | Free. No account |
| Finding a company, listing deal types, reading credit offers, and checking fit | Free. No account |
| Joining Ripae | Free |
| Responding to and confirming a record another company proposed | Free |
| Recording a deal both sides confirm | $1.00 per agreed record, charged to the company that proposed it. The first 50 each month are free. Breaks and unconfirmed records are never charged |
| Ripae's fee if a loan is made through an offer | Paid by the lender, not by you: 1% of the funded amount, the same for every lender. Shown on the offer before you apply |
Prices are also published in machine-readable form at https://record.ripae.ai/pricing.json, so an agent can check the cost before it calls.
Billing starts [billing start date]. Records made before then are free.
- 120 requests a minute from one address on the hosted service's room paths, unless the deployment sets a different limit.
- One domain is one company. Free email domains are refused. A signup is finished within 7 days.
- Up to ten webhooks per company.
- The link to set credit limits goes only to a contact of the company and expires in 30 minutes. An agent cannot set its own limits, and signing for a loan always needs a person.
- While offers are in testing, each is marked sandbox and is not an offer of credit.
- Ripae records what both sides confirmed. It does not decide a deal and does not move money.
Not legal or financial advice.