Skip to main content

autogen-nory

Microsoft AutoGen tools for x402 payments - Let your agents pay for APIs autonomously.

Installation

pip install autogen-nory

Quick Start

from autogen import AssistantAgent, UserProxyAgent
from autogen_nory import register_nory_tools

# Create agents
assistant = AssistantAgent("assistant", llm_config={"model": "gpt-4"})
user_proxy = UserProxyAgent("user_proxy", code_execution_config={"use_docker": False})

# Register all Nory payment tools
register_nory_tools(assistant, user_proxy)

# Now your agents can pay for premium APIs!
user_proxy.initiate_chat(assistant, message="Get the current price of Bitcoin")

Available Tools

Tool Description Cost
nory_fetch Fetch any URL with auto x402 payment Varies
nory_crypto_prices Real-time crypto prices $0.001
nory_weather Weather + 7-day forecast $0.002
nory_translate Translate 20+ languages $0.005
nory_qrcode Generate QR codes $0.001
nory_web_summary Extract webpage content $0.01

Environment

export NORY_WALLET_KEY="your-solana-private-key"

Links

Metadata

Release files for autogen-nory 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autogen-nory 0.1.0
File Size Uploaded
autogen_nory-0.1.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autogen-nory 0.1.0
File Interpreter ABI Platform
autogen_nory-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / autogen_nory-0.1.0.tar.gz

Download URL autogen_nory-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
59e1abb0f07f035db202e9f77c8a90e1b2bcca82415654c76ec802aeb7212935
BLAKE2b-256 checksum
How to use checksums
d6a4c4a9c9fea459df9a2b244bbf650e5dcd18bf66e5682d9e111f84d4af42ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.3

Release files / autogen_nory-0.1.0-py3-none-any.whl

Download URL autogen_nory-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef1c07dd1969cd661616ade4a0d16947406de244408fab9ae86dcc1ad61fc0c1
BLAKE2b-256 checksum
How to use checksums
ce7270095f0983e8b7c32e5d904ddbc5aed171e84946cf24f52e4713bc744590
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page