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.0.tar.gz (9.4 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.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wallgent-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 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.0.tar.gz
Algorithm Hash digest
SHA256 c239899da8bf1249ba54f34aaa4de5ca445a667f775c19c3493d23438e95f86e
MD5 dbc282167ad09ad0fc93ac8dae4e5e5f
BLAKE2b-256 7125f7fe55e14dfaa9cbd8a33414086146e037d1eceb6e304bbc41f28f0f0a72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wallgent-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1628bd4a19c9f4c65c6a3ad29e5522775d3efd74a671cd89f430f76ef401f527
MD5 4e805d2bd5a28f5cc44ab8a10770669d
BLAKE2b-256 a2a5eaa59057b8dbb1bc716127d065493b26fa42a72a398ad9385c3c2fd0cde7

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