Skip to main content
Agentuity
Build Agents, Not Infrastructure

Python version License Join the community on Discord

Agentuity Python SDK

Visit https://agentuity.com to get started with Agentuity.

The Agentuity Python SDK is a powerful toolkit for building, deploying, and managing AI agents in Python environments. This SDK provides developers with a comprehensive set of tools to create intelligent, event-driven agents that can process various types of content, communicate with each other, and integrate with external systems.

Key Features

  • Multi-Agent Architecture: Build and orchestrate multiple interconnected agents that can communicate and collaborate.
  • Event-Driven Design: Respond to various triggers including webhooks, cron jobs, SMS, voice, email, and more.
  • Rich Content Handling: Process and generate multiple content types including JSON, text, markdown, HTML, and binary formats (images, audio, PDFs).
  • Persistent Storage: Built-in key-value and vector storage capabilities for maintaining state and performing semantic searches.
  • Observability: Integrated OpenTelemetry support for comprehensive logging, metrics, and tracing.
  • Cross-Runtime Support: Works seamlessly with both Node.js and Bun runtimes.

Use Cases

  • Building conversational AI systems
  • Creating automated workflows with multiple specialized agents
  • Developing content processing and generation pipelines
  • Implementing intelligent data processing systems
  • Building AI-powered APIs and services

IO Modules

The SDK provides several IO modules for handling different types of input and output:

Email

Process and reply to emails with support for attachments, HTML content, and rich formatting.

Discord

Handle Discord messages and send replies with full integration to Discord's API.

Telegram

Process Telegram messages and send replies with support for typing indicators and message formatting.

from agentuity.io.telegram import Telegram, parse_telegram

# Parse a Telegram message from raw data
telegram_message = await parse_telegram(raw_data)

# Access message properties
print(f"From: {telegram_message.from_first_name}")
print(f"Message: {telegram_message.text}")

# Send a reply
await telegram_message.send_reply(request, context, "Hello! I received your message.")

# Send typing indicator
await telegram_message.send_typing(request, context)

See the examples/telegram_example.py for a complete usage example.

Getting Started

To use this SDK in a real project, you should install the Agentuity CLI.

curl -fsSL https://agentuity.sh | sh

Once installed, you can create a new project with the following command:

agentuity new

Development Setup

Prerequisites

  • Python (3.10 or 3.11)
  • uv (latest version recommended)

Installation

Clone the repository and install dependencies:

# Clone the repository
git clone https://github.com/agenuity/sdk-py.git
cd sdk-py

# Install dependencies
uv sync

Local Development

Create a new agent project or use an existing one like normal.

To link your local python SDK to your project, run the following commands:

Install the dependencies

make install

Build the SDK:

make build

In your project, install the local SDK build:

uv add ~/path/to/sdk-py/dist/agentuity-0.0.83.post2+d07b43907c8002056fe3550ddef946d1dbb0eeff.tar.gz

Make sure to replace the path with the actual path to the SDK build.

Now you can run your project like normal.

agentuity dev

License

See the LICENSE file for details.

Metadata

Release files for agentuity 0.0.106

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

Source distribution (sdist)

Source distribution for agentuity 0.0.106
File Size Uploaded
agentuity-0.0.106.tar.gz 183.7 kB Details

Built distribution (wheel)

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

Total release size: 234.4 kB

Release files / agentuity-0.0.106.tar.gz

Download URL agentuity-0.0.106.tar.gz
Size 183.7 kB
Tags Source
SHA-256 checksum
How to use checksums
138fab17585180578becad91d8747156f229bfe315989e084a4f9f82fce79f6a
BLAKE2b-256 checksum
How to use checksums
74d5b1d64c9798ff5099e3605034c4d44852a76f18c604f9d2848025faa9af07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2025.

Transparency log

Release files / agentuity-0.0.106-py3-none-any.whl

Download URL agentuity-0.0.106-py3-none-any.whl
Size 50.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46b714e6e1eee1aac767a6f2e76410ef8999aa726c7101b3d853b58690e7ae4b
BLAKE2b-256 checksum
How to use checksums
98338656a6621ce0e68a9e001049f14bcf439f4bf6b8e70510afb7fd2f460e1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.106 This release

2 release files

0.0.99

2 release files

0.0.98

2 release files

0.0.97

2 release files

0.0.96

2 release files

0.0.95

2 release files

0.0.94

2 release files

0.0.90

2 release files

0.0.89

2 release files

0.0.88

2 release files

0.0.87

2 release files

0.0.86

2 release files

0.0.85

2 release files

0.0.84

2 release files

0.0.83

2 release files

0.0.81

2 release files

0.0.80

2 release files

0.0.79

2 release files

0.0.78

2 release files

0.0.74

2 release files

0.0.73

2 release files

0.0.72

2 release files

0.0.71

2 release files

0.0.70

2 release files

0.0.69

2 release files

0.0.46

2 release files

0.0.45

2 release files

0.0.44

2 release files

0.0.43

2 release files

0.0.42

2 release files

0.0.41

2 release files

0.0.40

2 release files

0.0.39

2 release files

0.0.38

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.21

2 release files

0.0.19

2 release files

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