Skip to main content

Python SDK for building decentralized agentic applications on Nostr.

Project description

✨ Agentstr SDK

Docs PyPI License

agentstr.com

Build decentralised agents on the Nostr + Lightning stack with one super-friendly Python package.


📖 Documentation

Everything – installation guide, tutorials, SDK reference, CLI reference – lives at docs.agentstr.com.

⚡ Quick install

pip install "agentstr-sdk[all]"   # or: uv add agentstr-sdk[all]

🚀 Examples

Run any of the ready-to-go demos in examples/:

Example Framework
agent_discovery.py Agent discovery
chat_with_agents.py Direct messaging
commands_client.py Command client
commands_server.py Command server
mcp_client.py Nostr MCP Client
mcp_server.py Nostr MCP Server
nostr_agno_agent.py Agno
nostr_dspy_agent.py DSPy
nostr_google_agent.py Google ADK
nostr_langgraph_agent.py LangGraph
nostr_openai_agent.py OpenAI
nostr_pydantic_agent.py PydanticAI
rag.py RAG / Retrieval
tool_discovery.py Tool discovery
uv run examples/nostr_dspy_agent.py

🤝 Contributing

PRs are welcome! Open an issue first to discuss your idea.

⚖️ License

MIT

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

agentstr_sdk-0.6.15.tar.gz (72.6 kB view details)

Uploaded Source

Built Distribution

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

agentstr_sdk-0.6.15-py3-none-any.whl (90.1 kB view details)

Uploaded Python 3

File details

Details for the file agentstr_sdk-0.6.15.tar.gz.

File metadata

  • Download URL: agentstr_sdk-0.6.15.tar.gz
  • Upload date:
  • Size: 72.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for agentstr_sdk-0.6.15.tar.gz
Algorithm Hash digest
SHA256 3f68218e1474598f4c7a3c5c9457a9e6cebb5844cfddba51457adf9b7c06e82f
MD5 0bb4ba5e2a01d5c9b71411ec2c8119ca
BLAKE2b-256 fcd672fde346a195cbaa48e21b6b70e7efad7c348e932972b4100e03d9a9a3b3

See more details on using hashes here.

File details

Details for the file agentstr_sdk-0.6.15-py3-none-any.whl.

File metadata

File hashes

Hashes for agentstr_sdk-0.6.15-py3-none-any.whl
Algorithm Hash digest
SHA256 3f7f9eea6079f40ba2eff79f867e3bbb5decb527ed4e0fff17de68ccac2f5d31
MD5 b5f7da3f29d26d8b6b63a32584c21af1
BLAKE2b-256 e3833296560e0ae55f38a70fc7fa9c767104d7012a3854422392910236b217ef

See more details on using hashes here.

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