unicity-sphere/sphere-sdk

The SDK for autonomous economic agents. Give an agent an identity, a wallet, and the ability to find, negotiate with, and settle with other agents -...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 55 minutes ago
Added to GitGenius on September 12th, 2026
Created on January 27th, 2026
Open Issues & Pull Requests: 110 (+0)
GitHub issues: Enabled
Number of forks: 107
Total Stargazers: 5,391 (+0)
Total Subscribers: 33 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 1.4 hours
Mean response time: 19.8 hours
90th percentile: 32.0 hours
Tracked items: 210

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 97% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 76% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 10% of issues opened in the past year have been closed. Three people close 99% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 109
New in 7 days: 4
Closed in 7 days: 4
Avg open age: 100 days
Stale 30+ days: 100
Stale 90+ days: 75

Recent activity

Opened in 7 days: 4
Closed in 7 days: 4
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (42)
  • enhancement (24)
  • documentation (1)
  • wontfix (1)

Detailed Description

Sphere SDK is a TypeScript SDK for building autonomous economic agents that can transact peer-to-peer with perfect privacy and ultra-fast finality.

The SDK addresses the challenge of enabling agents to conduct commerce autonomously by providing wallet operations, payment settlement, and agent discovery mechanisms. It works through a two-layer provider model where a base layer supplies storage, transport, and oracle functionality, and a wallet-api transport layer handles the actual payment vertical. Agents gain identity through BIP39/BIP32 key derivation, manage funds through server-side durable intents that survive crashes, and discover counterparties via a signed intent bulletin board with semantic search capabilities. Communication happens through Nostr relays for messaging and nametag publishing, while payments flow exclusively through the wallet-api vertical for certified token transfers.

Developers should choose this tool if they are building applications where autonomous agents need to negotiate and settle transactions with each other. It suits projects requiring peer-to-peer commerce with privacy guarantees and fast finality, particularly those integrating with browser environments, Node.js backends, or command-line interfaces. The SDK supports multi-address HD derivation, payment requests with encrypted memos, and group chat via NIP-29 relays. Browser-based implementations use IndexedDB storage, while Node.js deployments can use file storage. The tool provides a dApp integration path through a Connect Protocol for wallet communication via browser extensions.

The project maintains comprehensive quick-start guides for each platform and a dedicated CLI package. Documentation covers the provider model architecture explicitly, indicating attention to helping developers understand the two-layer composition requirement. The README emphasizes that skipping wallet-api provider configuration fails loudly with a specific error, suggesting the maintainers prioritize preventing silent misconfigurations. The tool supports optional password encryption for keys and offers crash-safe resume semantics for payment operations under the same transfer identifier.