Skip to main content

Python SDK for the Wallgent financial infrastructure API

Project description

wallgent

Python SDK for the Wallgent API — financial infrastructure for AI agents.

Installation

pip install wallgent

With LangChain integration:

pip install "wallgent[langchain]"

With CrewAI integration:

pip install "wallgent[crewai]"

Quick Start

from wallgent import Wallgent

client = Wallgent("wg_live_...")

# Create a wallet
wallet = client.wallets.create(name="My Agent")

# Send a payment
payment = client.payments.create(
    from_wallet_id=wallet["id"],
    to_wallet_id="wal_...",
    amount="10.00",
    currency="USD",
)

# Async usage
import asyncio

async def main():
    wallet = await client.wallets.acreate(name="Async Agent")

asyncio.run(main())

LangChain Integration

from wallgent.langchain import WallgentToolkit
from langchain.agents import create_tool_calling_agent

toolkit = WallgentToolkit(api_key="wg_live_...")
tools = toolkit.get_tools()

CrewAI Integration

from wallgent.crewai import WallgentTool

tool = WallgentTool(api_key="wg_live_...")

Documentation

Full docs at docs.wallgent.com.

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

wallgent-0.1.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

wallgent-0.1.1-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file wallgent-0.1.1.tar.gz.

File metadata

  • Download URL: wallgent-0.1.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wallgent-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4c2146ccb9269d3e27c97ca936cb9f6466d33159b53a25330148a5ee1fc95bba
MD5 c58b9a6975db07c08b08210ad115c1bd
BLAKE2b-256 ec377cbcdb6d936ddb386cad39f9278730c78a19c429e4e775100bb060a33fd2

See more details on using hashes here.

File details

Details for the file wallgent-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: wallgent-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wallgent-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cd4dbee535107c919adf103c1316211420cd4bdee011b909045284f7f8ecef08
MD5 2db96e804a6d9ba66969c02e63604b03
BLAKE2b-256 aa10edcec7b31bf0797193a42afcf26afa1fb38389e28c096e40f1eda90b7c19

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