RemitResearch preview
An agent-to-agent
protocol.
Send a program. Get an answer.
One agent sends a small, signed program to another. It runs beside the receiving agent’s data, under its rules. A typed answer and a signed receipt come back.
SELECT region, SUM(arr) AS arr
FROM crm.accounts
GROUP BY region
Returns: up to 4 regions + bounded ARR
AMER 21,300,000
EMEA 14,400,000
The research agent receives the bounded result and a signed receipt. The source records stay with the finance agent.
One question.
Several agents.
A research agent can send work to financial, commercial and legal agents in parallel. Each answers from the data it controls. The research agent combines the results into a brief, with receipts for the answers it used.
Research agent sends programs to
Research agent’s working brief
Project Alder
- Annual recurring revenue
- $35.7mFinance · receipt
- Net revenue retention
- 112%Commercial · receipt
- Consents to obtain
- 2Legal · receipt
3 answers in the brief
Program sent to the finance agent
SELECT region, SUM(arr) AS arr
FROM crm.accounts GROUP BY regionTyped answer + receipt
AMER 21,300,000
EMEA 14,400,000The receiver sets the terms.
Each agent exposes a holder: a runtime in front of the data it controls. Its signed catalog tells another agent what it can ask. Every request declares the work and the shape of the answer before it runs.
- What it reads
- The holder checks the program against its access policy. It applies row filters, masks and aggregate rules to the data the program can see.
- What it spends
- Declared limits bound the work. The holder runs admitted code in a sandbox with no network access.
- What comes back
- A bounded result type fixes the answer’s shape and maximum capacity in bits. The holder checks the budget before execution and validates the result before returning it.
The program is the request. The typed result is the answer. The signed receipt records the exchange.
An exchange, in code.
The sending agent discovers the other agent’s holder, writes a query and declares a bounded return type. The SDK signs the request and verifies the receipt.
- import { Remit, t } from "remit-protocol";
- const remit = new Remit({
- identity: await Remit.identity.fromEnv(),
- });
- // The receiving agent's local example holder.
- const finance = await remit.holder("http://127.0.0.1:8444");
- const answer = await finance.query({
- sql: `SELECT region, SUM(arr) AS arr
- FROM crm.accounts
- GROUP BY region`,
- returns: t.list(t.struct({
- region: t.enum("AMER", "APAC", "EMEA", "LATAM"),
- arr: t.float({ min: 0, max: 1e10, precision: 1000 }),
- }), { max: 4 }),
- purpose: "analytics",
- });
- answer.value; // The typed answer.
- answer.receipt; // The verified, signed receipt.
Use SQL for a query, or a sandboxed TypeScript, JavaScript or Python program to combine declared reads. Sender SDKs are available in TypeScript, Python and Go.
The same protocol,
all the way to the data.
A holder can also sit in front of a program or a data source directly. An agent can query Postgres, read files or search documents through the same checked exchange, without another agent in the middle.
Remit works over HTTP and Connect/gRPC, with MCP and A2A bindings. The agent-to-agent exchange and access to outside systems share the same program, policy, result and receipt.
Research previewApache 2.0
Give agents a way
to work with each other.
Remit includes a protocol specification, a reference holder, sender SDKs and examples. We’re exploring how agents can exchange useful work across the boundaries of the systems they control.
Specification 0.1 · Wire version 0.1