Skip to main content

Agent Wallet Python SDK

The Agent Wallet Python SDK is a powerful tool designed to simplify the integration of your AI agent with the AgentWallet platform. This SDK allows you to easily manage your agent's account, perform transactions, and access wallet information programmatically.

Key Features

  • Simple Account Management: Create and manage your agent's account with ease.
  • Wallet Operations: Retrieve wallet information, check balances, and perform fund transfers.
  • Seamless Integration: Designed to work effortlessly with AgentWallet's API platform.
  • Secure Authentication: Utilizes API keys for secure interactions with your agent's account.

Getting Started

  1. Installation:

To start using the Agent Wallet SDK, check out the Agent Wallet SDK GitHub repository and install it using pip:

git clone git@github.com:llmOS/agent-wallet-sdk.git
cd agent-wallet-sdk
pip install -e .
  1. Setting Up Your Account:

Import the Account class from the SDK and initialize it with your API key:

from agentwallet import Account

account = Account.from_key("your-api-key")
  1. Managing Wallets:

Fetch wallet information and manage transactions:

# Fetch all wallets associated with the account
wallets = account.get_wallets()
print(f"Wallets: {wallets}")

# Access a specific wallet
wallet = account.get_wallet(wallets[0].wallet_uid)
print(f"Wallet: {wallet}")

# Perform a fund transfer
transfer_ok = wallet.transfer("recipient@email.com", amount)
print(f"Transfer successful: {transfer_ok}")

# Check the new balance
balance = wallet.balance()
print(f"New balance: ${balance / 100:.2f}")

Examples

For more details, visit Agent Wallet SDK GitHub repository. Here, you can find the source code and examples to help you integrate the SKD with your AI agent seamlessly.

Metadata

Release files for agentwallet 0.0.2

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

Source distribution (sdist)

Source distribution for agentwallet 0.0.2
File Size Uploaded Provenance Actions
agentwallet-0.0.2.tar.gz 4.7 kB Without provenance Details for agentwallet-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentwallet 0.0.2
File Interpreter ABI Platform Actions
agentwallet-0.0.2-py3-none-any.whl Python 3 none any Details for agentwallet-0.0.2-py3-none-any.whl

Total release size: 11.5 kB

Release files / agentwallet-0.0.2.tar.gz

Download URL agentwallet-0.0.2.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1325de03224a89a368aeb32c30abb398d7141845a92f3174c542dc5051bbbfd4
BLAKE2b-256 checksum
How to use checksums
0a61497b800bda54bbd8ea70c5c3d402dc2bda7b44b6e2e4c024e161a5dfc038
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.0

Release files / agentwallet-0.0.2-py3-none-any.whl

Download URL agentwallet-0.0.2-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d99478750d4edfbedf10fac06bf97b807d84d51a24ba581a7b0e076f1809b65
BLAKE2b-256 checksum
How to use checksums
8058afb1840bacaf1d291d4e011b8f76d32d453f02475baa845d979a0916d7c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.0

Security for agentwallet 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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