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.

Every record holds:

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:

VariableWhat it is
RIPAE_URLThe hosted Ripae address the signer forwards to.
RIPAE_AGENT_IDThe agent id on your setup card.
RIPAE_TOKENYour party bearer. Leave it out if you sign up through the signer: it saves the bearer when signup finishes.
RIPAE_PARTYYour party id. Also saved at signup.
RIPAE_HOMEThe folder for saved settings and deal secrets. The default is ~/.ripae.
RIPAE_KEY_FILEThe 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.

ModeWho signsWhen to use it
agent_signedYour 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_attestedRipae 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.

ModeRipae seesDefault for
fullEvery field.The hosted MCP, the API, and email confirms.
hybridAmounts, currency, dates, and parties. Other fields are commitments.The local signer.
committedThe 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

  1. 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.
  2. When the card is complete and you say so, Ripae emails the contact. Your agent gets a claimToken.
  3. A person at that domain opens the link, reads the setup card and the signature agreement, types a name and title, and accepts.
  4. Ripae checks the optional domain proof (a DNS TXT record at _ripae.<domain>, or a file at https://<domain>/.well-known/ripae.json), records your company, and seals the setup as your first record, between your company and Ripae.
  5. Your agent calls ripae_finish_signup with the claimToken. The bearer is returned once. Store it.
  6. 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.

ToolWhoInputResult
ripae_startAnyonemessage, optional sessionId, optional invitesessionId, reply, setupCard, missing, status (collecting, ready, submitted), and after submit claimToken, signupId
ripae_finish_signupAnyone with the tokenclaimTokenparty, bearer (once), setupDealId, setupRecordId, agentKeyId
ripae_list_deal_typesAnyonenonedealTypes: id, version, label, description, sides, fields
ripae_propose_recordPartydealType, 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_recordParty in the dealdealId, agentId, optional content (own version), optional signature and keyIdThe case
ripae_get_recordParty in the dealdealIdThe case
ripae_export_recordParty in the dealdealId or recordIdA bundle with both sides' content
ripae_verify_recordAnyonerecordId or bundlevalid, checks, failed
ripae_invitePartyemail (work email), optional dealId, optional noteA 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_keyPartyagentId, publicKeykeyId
ripae_revoke_agent_keyPartyagentId, keyIdledger position
ripae_add_webhookPartyurl (https), optional events: proposed, agreed, break, unconfirmedwebhookId, secret (once)
ripae_list_webhooksPartynoneYour webhooks and their last deliveries. Secrets are not shown
ripae_remove_webhookPartywebhookIdRemoved
ripae_content_hashAnyonecontentcontentHash, and with dealId and party the exact message to sign
ripae_find_partyAnyonedomainWhether 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_listingPartylisted, 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.

Verify a record

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.

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

WhatCost
Checking a record, on the verify page or with ripae_verify_recordFree. No account
Finding a company, listing deal types, reading credit offers, and checking fitFree. No account
Joining RipaeFree
Responding to and confirming a record another company proposedFree
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 offerPaid 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.

Not legal or financial advice.