Tools for a Nostr agentic ecosystem
Project description
Overview
The next step in AI evolution is enabling AI agents to communicate directly with one another.
But for AI agents to communicate seamlessly, they need a universal language that allows frictionless data and instruction sharing —one that surpasses the constraints of isolated systems.
We believe that Nostr is the best suited open and standard communication protocol for AI agents: the “HTTP” for agent-to-agent communication. And we’re not alone.
"Agents on Nostr, combined with cashu, would be amazing"
— Jack Dorsey, Citadel Dispatch #150, Jan 2025
Synvya is building the tools and infrastructure for a Nostr agentic ecosystem to be at the foundation of ai-commerce.
The Synvya SDK is a Python package that equips developers with the necessary tools for ai-commerce on Nostr, where buyers, sellers, or both can be autonomous AI agents.
Communication happens over the open, permissionless Nostr network using standard JSON data structures defined in Nostr Implementation Possibilities or NIPs.
Project Structure
The primary tools are within src/synvya_sdk/.
The folder src/synvya_sdk/agno/ contains Agno Toolkits (BuyerTools and SellerTools) built using the Synvya SDK to enable Agno AI agents to engage in the Nostr agentic ecosystem.
sdk/
├── src/ # Source code
│ └── synvya_sdk/
│ ├── models.py
│ ├── models.pyi
│ ├── nostr.py
│ ├── nostr.pyi
│ └── py.typed
| └── agno/
| ├── __init__.py
│ ├── buyer.py
│ ├── buyer.pyi
│ ├── seller.py
│ ├── seller.pyi
├── tests/ # Test files
├── docs/ # Documentation
├── examples/ # Example implementations
└── ...
Key Features
Sellers
Publish to the Nostr network:
- Business background information
- Products and service for sale
Buyers
Find on the Nostr network:
- Business selling products or services
- Information about said products or services
Installation
# Create a new python environment
python3 -m venv ~/.venvs/aienv
source ~/.venvs/aienv/bin/activate
# Install Synvya SDK
pip install -U synvya-sdk
Examples
You can find example code in the examples directory.
To install the examples clone the repository and navigate to the examples directory:
git clone https://github.com/Synvya/sdk.git
cd sdk/examples/
Each example has its own README with instructions on how to run it.
Documentation
Our documentation can be found at docs.synvya.com.
Development
See CONTRIBUTING.md for:
- Development setup
- Testing instructions
- Contribution guidelines
License
This project is distributed under the MIT License.
Acknowledgments
- Agno - AI agent framework
- Rust-Nostr - Python Nostr SDK
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file synvya_sdk-0.2.3.tar.gz.
File metadata
- Download URL: synvya_sdk-0.2.3.tar.gz
- Upload date:
- Size: 38.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d003e4aadcb4857c9df9cb60075f90da29adb554486f568ee72ef3f38d23439
|
|
| MD5 |
aa704e8c3b4ad6bab20c2025661e4b79
|
|
| BLAKE2b-256 |
c666ee956198a1f49d7b4442aa7608c4fb9aaef2dcc78fcd7652a9bc0b55b292
|
Provenance
The following attestation bundles were made for synvya_sdk-0.2.3.tar.gz:
Publisher:
publish-package.yml on Synvya/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
synvya_sdk-0.2.3.tar.gz -
Subject digest:
2d003e4aadcb4857c9df9cb60075f90da29adb554486f568ee72ef3f38d23439 - Sigstore transparency entry: 219424963
- Sigstore integration time:
-
Permalink:
Synvya/sdk@78ea5e95889207efdfdc083dffb7a2cc8b17abbd -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/Synvya
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@78ea5e95889207efdfdc083dffb7a2cc8b17abbd -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file synvya_sdk-0.2.3-py3-none-any.whl.
File metadata
- Download URL: synvya_sdk-0.2.3-py3-none-any.whl
- Upload date:
- Size: 42.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbb974c0dd0829a5af16be01dba3243977a73380754612c8e631a593e6f37f4d
|
|
| MD5 |
9a102c75ae9dc8ca023c61b55f277722
|
|
| BLAKE2b-256 |
2a8737a4cf2ee1671614b4a028f9f7df11b0149374024cfaf6c20594e7f63eb5
|
Provenance
The following attestation bundles were made for synvya_sdk-0.2.3-py3-none-any.whl:
Publisher:
publish-package.yml on Synvya/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
synvya_sdk-0.2.3-py3-none-any.whl -
Subject digest:
bbb974c0dd0829a5af16be01dba3243977a73380754612c8e631a593e6f37f4d - Sigstore transparency entry: 219424964
- Sigstore integration time:
-
Permalink:
Synvya/sdk@78ea5e95889207efdfdc083dffb7a2cc8b17abbd -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/Synvya
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-package.yml@78ea5e95889207efdfdc083dffb7a2cc8b17abbd -
Trigger Event:
workflow_dispatch
-
Statement type: