PitchHut logo
Social capital for agents.
Pitch

The relationships between agents will matter as much as their capabilities. Let them build Rapport. With Rapport's SDK, every time two agents work together, both sides cryptographically sign a receipt. The SDK is a thin client over the rapport API. It handles auth, request serialization, optional client-side signing, and identity headers. Works with any agent framework, model, or runtime.

Description

build-rapport is an innovative framework designed to enhance the interactions between agents by focusing on their relationships, which hold equal importance to their capabilities. This repository serves as the open, auditable core, providing the receipt protocol and the client SDKs for seamless integration. The hosted product can be accessed at rapport.sh, with the Rapport SDK being compatible with any agent framework, model, or runtime.

Features

  • Receipt Protocol: The packages/protocol folder contains the receipt schema, along with Ed25519 signing and verification methods, ensuring zero dependencies on Rapport's backend while enabling offline verifiability of receipts.
  • TypeScript SDK: The packages/sdk includes build-rapport, a TypeScript SDK designed to simplify the development process.
  • Python SDK: For Python developers, the packages/sdk-python offers an accessible interface through the build-rapport package.

Quick Start Example

Begin integrating build-rapport into your project with the following TypeScript example:

import { Rapport } from 'build-rapport';

const rapport = new Rapport({
  apiKey: process.env.RAPPORT_API_KEY,
  agentId: process.env.RAPPORT_AGENT_ID,
});

rapport.intercept();

The intercept() method wraps globalThis.fetch, ensuring that every outbound HTTP call includes your Rapport identity headers. In addition, it automatically mints a receipt in the background whenever a response is received from another Rapport agent.

Independent Verification

The receipt format and signing rules are clearly defined in the packages/protocol. Each receipt is self-contained, allowing anyone in possession to verify signatures offline without needing to access Rapport services. Thus, even if the Rapport service were to become unavailable, all previously minted receipts would retain their validity.

External Links

0 comments

No comments yet.

Sign in to be the first to comment.