Skip to main content

The Python SDK for Auwgent — a compiler-first framework for building production-grade AI agents.

Project description

auwgent-sdk (Python)

The official Python SDK for Auwgent — a compiler-first framework for building production-grade AI agents.

Installation

pip install auwgent-sdk

Requirements

  • Python 3.8 or later
  • The Auwgent CLI to compile your agent definitions

Usage

Compile your agent definition first:

auwgent generate

This produces a generated/ folder containing the compiled IR and Python bindings. Then:

import asyncio
from generated.main_types import auwgent

agent = auwgent({
    "apiKeys": {
        "geminiApiKey": "YOUR_API_KEY"
    }
})

async def handle_intent(name: str, value: dict, agent_name: str):
    if name == "response_text":
        print(value.get("text"))

agent.on_intent(handle_intent)

asyncio.run(agent.run("Hello!"))

Documentation

Full documentation is available at auwgent.dev.

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

auwgent_sdk-0.1.0a12.tar.gz (108.8 kB view details)

Uploaded Source

Built Distributions

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

auwgent_sdk-0.1.0a12-cp38-abi3-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.8+Windows x86-64

auwgent_sdk-0.1.0a12-cp38-abi3-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

auwgent_sdk-0.1.0a12-cp38-abi3-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file auwgent_sdk-0.1.0a12.tar.gz.

File metadata

  • Download URL: auwgent_sdk-0.1.0a12.tar.gz
  • Upload date:
  • Size: 108.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.12.6

File hashes

Hashes for auwgent_sdk-0.1.0a12.tar.gz
Algorithm Hash digest
SHA256 c8f4032756e0a87d03cd28bdb175ea88c2dcb33fb411fd9c20a13149e955e3e6
MD5 ff840cfe767ee8bc78509a7a96920a30
BLAKE2b-256 a8512e7bb181cdd34339b2ca478a5259826378be299c650b26bc62c4293727d6

See more details on using hashes here.

File details

Details for the file auwgent_sdk-0.1.0a12-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a12-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c1142d3a9d152bd88f804729d17a25cd787b7ceff78caa3880e1d3bc46abfca5
MD5 d7bfb827e1295ec5ca59db8094ed1cdc
BLAKE2b-256 f7a12178d5c4191cda3ecdce07ffca60788730eee54b0378207d842d240638f0

See more details on using hashes here.

File details

Details for the file auwgent_sdk-0.1.0a12-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a12-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83d0bd7ed96a7b5629c45fbd8354bf15cd93985efc06d49aa04cf1180f182e24
MD5 3c3ac5d2f144ba255b7cb36b74658c0c
BLAKE2b-256 b0ac7fedef143046e56b968dc995381973f77109376c2520507b12f5d698a59a

See more details on using hashes here.

File details

Details for the file auwgent_sdk-0.1.0a12-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a12-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bbe92ecab1f9ecec5a8ed1431a49eca0faf038b6a5af8d6f3547649311352bbb
MD5 ec257ca03917e9995ee01b625d5c15a6
BLAKE2b-256 54a9600a0cdd619506c828781286aa8044e70b337b23504fa867a07f86eb1236

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