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
  • agentrux-mcp — MCP server
  • langflow-agentrux — Langflow components
  • temporal-agentrux — Temporal activities

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.1.0b1.tar.gz (19.7 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.1.0b1-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentrux_sdk-0.1.0b1.tar.gz
  • Upload date:
  • Size: 19.7 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.1.0b1.tar.gz
Algorithm Hash digest
SHA256 af96346a30b6d6e6c172cb1d8f8ab2c02e9dfe218ada3f52a455e5d81d81cd94
MD5 eb9e76654b8dceb3d04bfe48c00d2ba0
BLAKE2b-256 95489e4d5d75f9e3fc3782e45ccc7dd0377fbf5f3e17d4f5acdd87d27d6b1300

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentrux_sdk-0.1.0b1-py3-none-any.whl
  • Upload date:
  • Size: 28.2 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.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 e66fb42ff18600ac944e08c206392e52d4799ff09a0f322818419e01222ccc9d
MD5 f649d59fadfc9b544febff489bfa9d36
BLAKE2b-256 9b7bfe0a1d978b9963d73b4a4715abdb6475593e85f377635c14d6a886b7b7f2

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