Skip to main content

Tools for a Nostr agentic ecosystem

Project description

Building the tools for a Nostr agentic ecosystem
📚 Documentation  |  💡 Examples  |  🌟 Star Us

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

For more detailed documentation and examples, see Docs

Development

See CONTRIBUTING.md for:

  • Development setup
  • Testing instructions
  • Contribution guidelines

License

This project is distributed under the MIT License.

Acknowledgments

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synvya_sdk-0.2.0rc8.tar.gz (33.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synvya_sdk-0.2.0rc8-py3-none-any.whl (40.2 kB view details)

Uploaded Python 3

File details

Details for the file synvya_sdk-0.2.0rc8.tar.gz.

File metadata

  • Download URL: synvya_sdk-0.2.0rc8.tar.gz
  • Upload date:
  • Size: 33.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for synvya_sdk-0.2.0rc8.tar.gz
Algorithm Hash digest
SHA256 5337e747eea8adc5f793274159fe585e69570ae0c646f013b16410a5f23a15c6
MD5 01e9e53d4a870c4b2e6a4bd997c9821a
BLAKE2b-256 06d226612479fd2ba29eb9b6de35d76c86691086aba8bd407bd3118531ed4b40

See more details on using hashes here.

Provenance

The following attestation bundles were made for synvya_sdk-0.2.0rc8.tar.gz:

Publisher: publish-package.yml on Synvya/sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file synvya_sdk-0.2.0rc8-py3-none-any.whl.

File metadata

  • Download URL: synvya_sdk-0.2.0rc8-py3-none-any.whl
  • Upload date:
  • Size: 40.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for synvya_sdk-0.2.0rc8-py3-none-any.whl
Algorithm Hash digest
SHA256 d1030780e9370d61db70ec32d8b63c9566775ce4e22d1386742c7b6cf7cf1c19
MD5 e0f1a70f1916d93bd1f9ef4b41b7d52f
BLAKE2b-256 e3b42ffe5643da04ca0c51ff604ba0db95d96547296ef87d22ffd3d06a405b88

See more details on using hashes here.

Provenance

The following attestation bundles were made for synvya_sdk-0.2.0rc8-py3-none-any.whl:

Publisher: publish-package.yml on Synvya/sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page