Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

## 1. What is SAP v2?

**Solana Agent Protocol** is an on-chain infrastructure layer for autonomous AI agents.
**Synapse Agent Protocol** is an on-chain infrastructure layer for autonomous AI agents.
It provides:

- **Identity** — Deterministic PDAs for agent registration, metrics, and lifecycle.
Expand Down
4 changes: 2 additions & 2 deletions docs/00-overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @synapse-sap/sdk — Developer Documentation

> **Version**: 0.3.1
> **Version**: 0.4.0
> **Program**: `SAPpUhsWLJG1FfkGRcXagEDMrMsWGjbky7AyhGpFETZ`
> **Anchor**: 0.32.1 · **TypeScript**: 5.7+ · **Solana Web3.js**: ≥1.90

Expand All @@ -17,7 +17,7 @@

## What is SAP?

The **Solana Agent Protocol (SAP)** is a fully on-chain infrastructure layer for AI agents. Every agent gets a verifiable, permissionless identity (PDA) that encodes its capabilities, pricing, reputation, tool schemas, and memory — all without any centralized registry.
The **Synapse Agent Protocol (SAP)** is a fully on-chain infrastructure layer for AI agents. Every agent gets a verifiable, permissionless identity (PDA) that encodes its capabilities, pricing, reputation, tool schemas, and memory — all without any centralized registry.

This SDK is the official **TypeScript** client for building on top of SAP. If you're integrating agents on Solana, this is your starting point.

Expand Down
2 changes: 1 addition & 1 deletion docs/03-agent-lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Overview

Every AI agent on the Solana Agent Protocol starts its life as a PDA derived from its owner's wallet. Registration creates three things in a single transaction:
Every AI agent on the Synapse Agent Protocol starts its life as a PDA derived from its owner's wallet. Registration creates three things in a single transaction:

1. **AgentAccount** — the agent's on-chain identity (name, description, capabilities, pricing, protocols)
2. **AgentStats** — a lightweight companion PDA for hot-path metrics (calls served, active status)
Expand Down
4 changes: 2 additions & 2 deletions docs/08-plugin-adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const plugin = createSAPPlugin({ provider });
console.log(plugin.meta);
// {
// id: "sap-v2",
// name: "Solana Agent Protocol",
// name: "Synapse Agent Protocol",
// version: "0.1.0",
// description: "52 tools across 8 on-chain SAP v2 protocol domains …",
// tags: ["solana", "agent", "sap", "x402", "escrow", "vault", …]
Expand All @@ -87,7 +87,7 @@ console.log(plugin.meta);
| Field | Value |
|-------|-------|
| `id` | `"sap-v2"` |
| `name` | `"Solana Agent Protocol"` |
| `name` | `"Synapse Agent Protocol"` |
| `version` | `"0.1.0"` |
| `tags` | `solana`, `agent`, `sap`, `x402`, `escrow`, `vault`, `memory`, `reputation` |

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oobe-protocol-labs/synapse-sap-sdk",
"version": "0.3.0",
"version": "0.4.0",
"description": "TypeScript SDK for the Synapse Agent Protocol (SAP v2) on Solana",
"license": "MIT",
"main": "dist/cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/core/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type SapProgram = Program<any>;

/**
* @name SapClient
* @description Root entry point for the Solana Agent Protocol v2 TypeScript SDK.
* @description Root entry point for the Synapse Agent Protocol v2 TypeScript SDK.
*
* Each protocol domain is exposed as a lazily-instantiated module:
* `agent`, `feedback`, `indexing`, `tools`, `vault`, `escrow`,
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @synapse-sap/sdk — TypeScript SDK for SAP v2 (Solana Agent Protocol)
* @synapse-sap/sdk — TypeScript SDK for SAP v2 (Synapse Agent Protocol)
*
* Modular architecture:
*
Expand Down
4 changes: 2 additions & 2 deletions src/modules/agent.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @module agent
* @description Agent lifecycle operations for the Solana Agent Protocol.
* @description Agent lifecycle operations for the Synapse Agent Protocol.
*
* Covers: register, update, deactivate, reactivate, close,
* report calls, update reputation metrics, and account fetching.
Expand All @@ -22,7 +22,7 @@ import type {

/**
* @name AgentModule
* @description Manages the full agent lifecycle on the Solana Agent Protocol.
* @description Manages the full agent lifecycle on the Synapse Agent Protocol.
* Provides methods to register, update, deactivate, reactivate, and close
* agent identities, as well as self-report call metrics and reputation data.
*
Expand Down
2 changes: 1 addition & 1 deletion src/modules/attestation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type { AgentAttestationData, CreateAttestationArgs } from "../types";

/**
* @name AttestationModule
* @description Manages on-chain attestations for the Solana Agent Protocol.
* @description Manages on-chain attestations for the Synapse Agent Protocol.
* Provides methods to create, revoke, close, and fetch attestation PDAs
* that form the web-of-trust layer.
*
Expand Down
2 changes: 1 addition & 1 deletion src/modules/escrow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import type {
* @name EscrowModule
* @description Manages x402-compatible escrow accounts for agent micropayments.
* Provides methods to create, fund, settle, withdraw, batch-settle, close,
* and fetch escrow PDAs on the Solana Agent Protocol.
* and fetch escrow PDAs on the Synapse Agent Protocol.
*
* @category Modules
* @since v0.1.0
Expand Down
2 changes: 1 addition & 1 deletion src/modules/feedback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type { FeedbackAccountData, GiveFeedbackArgs, UpdateFeedbackArgs } from "

/**
* @name FeedbackModule
* @description Manages on-chain feedback entries for the Solana Agent Protocol.
* @description Manages on-chain feedback entries for the Synapse Agent Protocol.
* Provides methods to give, update, revoke, close, and fetch feedback PDAs
* that form the trustless reputation layer.
*
Expand Down
4 changes: 2 additions & 2 deletions src/modules/indexing.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @module indexing
* @description Scalable discovery layer — capability indexes, protocol indexes,
* and tool category indexes for the Solana Agent Protocol.
* and tool category indexes for the Synapse Agent Protocol.
*
* Indexes are shared PDA-based registries that map agents and tools to
* discovery dimensions, enabling efficient on-chain lookups.
Expand Down Expand Up @@ -29,7 +29,7 @@ import { sha256, hashToArray } from "../utils";

/**
* @name IndexingModule
* @description Manages on-chain discovery indexes for the Solana Agent Protocol.
* @description Manages on-chain discovery indexes for the Synapse Agent Protocol.
* Provides methods to create, populate, prune, close, and fetch capability
* indexes, protocol indexes, and tool category indexes.
*
Expand Down
4 changes: 2 additions & 2 deletions src/modules/tools.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @module tools
* @description Tool schema registry and session checkpoints for the
* Solana Agent Protocol.
* Synapse Agent Protocol.
*
* Covers: publish, inscribe schema, update, deactivate/reactivate,
* close, report invocations, and session checkpoint management.
Expand Down Expand Up @@ -31,7 +31,7 @@ import { sha256, hashToArray } from "../utils";
/**
* @name ToolsModule
* @description Manages tool descriptors and session checkpoints for the
* Solana Agent Protocol. Provides methods to publish, update, deactivate,
* Synapse Agent Protocol. Provides methods to publish, update, deactivate,
* reactivate, close, and fetch tool descriptors, as well as inscribe
* JSON schemas into TX logs and manage session checkpoints.
*
Expand Down
2 changes: 1 addition & 1 deletion src/modules/vault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import type {

/**
* @name VaultModule
* @description Manages encrypted memory vaults for the Solana Agent Protocol.
* @description Manages encrypted memory vaults for the Synapse Agent Protocol.
* Provides methods to initialise vaults, open/close sessions, inscribe
* encrypted data, manage delegates (hot wallets), rotate nonces, and
* fetch all related account types.
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ export function createSAPPlugin(config: SAPPluginConfig): SynapsePlugin {
return {
meta: {
id: "sap",
name: "SAP v2 — Solana Agent Protocol",
name: "SAP v2 — Synapse Agent Protocol",
version: SAP_PLUGIN_VERSION,
description:
"On-chain agent identity, reputation, tool registry, encrypted memory vault, x402 escrow, attestation, discovery indexes, and unified memory ledger on Solana",
Expand Down
Loading