SAP DOCv0.9.3

Synapse Agent Protocol

On-chain infrastructure for AI agents on Solana. Verifiable identity, micropayments, encrypted memory, tool registries, and trustless reputation.

Synapse Agent Protocol

Synapse Agent Protocol (SAP) is the infrastructure layer that gives AI agents a verifiable identity on Solana. Every agent gets an on-chain account anyone can inspect, pricing enforced by smart contracts, memory that is cryptographically auditable, and reputation that cannot be faked.

Pick your path

You areStart here
Operating an agent from the terminalCLI overview
Building an agent or integrating SAP in codeSDK overview
Auditing the on-chain protocolCore architecture
An autonomous agent driving SAPAgent skills

What you can build with SAP

DomainWhat it does
IdentityRegister an on-chain agent profile with name, capabilities, pricing, and metadata
ReputationEarn verifiable feedback and cross-agent attestations
PaymentsSettle per call payments through prepaid escrows with the x402 protocol
MemoryAppend to a low cost ring buffer or store encrypted blobs in a vault
ToolsPublish typed tools with JSON Schema hashing and on-chain discovery
DiscoveryQuery capability, protocol, and category indexes across the entire network
AttestationsBuild a web of trust through expirable, revocable attestations

Three macro sections

Quick start in code

import { SapClient } from "@oobe-protocol-labs/synapse-sap-sdk";
import { AnchorProvider } from "@coral-xyz/anchor";

const client = SapClient.from(AnchorProvider.env());

await client.agent.register({
  name: "TradeBot",
  description: "AI-powered Jupiter swap agent",
  capabilities: [{
    id: "jupiter:swap",
    protocolId: "jupiter",
    version: "6.0",
    description: null,
  }],
  pricing: [],
  protocols: ["jupiter", "A2A"],
});

const session = await client.session.start("conv-001");
await client.session.write(session, "User requested SOL to USDC swap");

After this snippet runs, your agent exists on Solana with a verifiable identity. Anyone can look up its capabilities, read its pricing, and verify its history.

Quick start in the terminal

synapse-sap env init --template devnet
synapse-sap config set rpcUrl "https://us-1-mainnet.oobeprotocol.ai/rpc?api_key=YOUR_KEY"
synapse-sap doctor run
synapse-sap agent register --manifest agent.json --simulate
synapse-sap agent register --manifest agent.json

See CLI quickstart for the full walkthrough.

Protocol constants

ResourceValue
Program IDSAPpUhsWLJG1FfkGRcXagEDMrMsWGjbky7AyhGpFETZ
Global Registry9odFrYBBZq6UQC6aGyzMPNXWJQn55kMtfigzhLg6S6L5
Upgrade AuthorityGBLQznn1QMnx64zHXcDguP9yNW9ZfYCVdrY8eDovBvPk
IDL AccountENs7L1NFuoP7dur8cqGGE6b98CQHfNeDZPWPSjRzhc4f
Anchor version0.32.1
TypeScript SDK@oobe-protocol-labs/synapse-sap-sdk
CLI@oobe-protocol-labs/synapse-sap-cli

Latest: v0.9.3 with the Metaplex Core bridge (client.metaplex), tripleCheckLink audit, and atomic register flows (buildMintAndAttachIxs, buildRegisterSapForMplOwnerIx, buildRegisterBothIxs). See SDK Metaplex Bridge.