Skip to main content

Python SDK for AgenTrux — A2A authenticated pub/sub client

Project description

AgenTrux SDK

Python SDK for AgenTrux — A2A authenticated pub/sub client.

Status: Beta (0.1.0b1)

Install

pip install agentrux-sdk

Quick Start

from agentrux.sdk.facade import AgenTruxClient

client = await AgenTruxClient.connect(
    base_url="https://api.agentrux.com",
    script_id="your-script-id",
    client_secret="your-client-secret",
)

# Publish
await client.publish("topic-uuid", "hello.world", {"msg": "Hello!"})

# Subscribe
async for envelope in client.subscribe("topic-uuid"):
    print(envelope.payload)

Used by

This SDK is the shared transport layer for all AgenTrux Python plugins:

  • agentrux-agent-tools — AI agent toolkit

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

agentrux_sdk-0.2.0b1.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

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

agentrux_sdk-0.2.0b1-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file agentrux_sdk-0.2.0b1.tar.gz.

File metadata

  • Download URL: agentrux_sdk-0.2.0b1.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for agentrux_sdk-0.2.0b1.tar.gz
Algorithm Hash digest
SHA256 d4d7947a69ba7efad74372636a7bc63d3af5e807305e7f18671a06f7e217cb50
MD5 3a6d6844d1e53a700955a7c8e2392c24
BLAKE2b-256 75da3544eff2e358ee6974e1f85a1a2d4e4dfa63f18b8962fe2e3e85be34b13b

See more details on using hashes here.

File details

Details for the file agentrux_sdk-0.2.0b1-py3-none-any.whl.

File metadata

  • Download URL: agentrux_sdk-0.2.0b1-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for agentrux_sdk-0.2.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 f161ab570d8d6ce96eb1befd6da2ed69c735042c9d20d412f155844a0cbb1aa1
MD5 ab0606a5b09fdcab2eddcd7b99a30ea8
BLAKE2b-256 a7df9ea400aba311e88d01df6ed2b31f53063cfff8b57b9ab47ba24cb6586d4c

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