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.0a15.tar.gz (138.5 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.0a15-cp38-abi3-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8+Windows x86-64

auwgent_sdk-0.1.0a15-cp38-abi3-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

auwgent_sdk-0.1.0a15-cp38-abi3-macosx_10_12_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a15.tar.gz
Algorithm Hash digest
SHA256 47fdfe2df1641f8bf6320b44f3819ffdb087828a3b3184c20c7cd54633636a82
MD5 2b8dd504778552403cd416f69b4f9a25
BLAKE2b-256 4e19865e44047740719c5c1ca3ce8c3c73e8ed61ccfab3fcd11c427e1fb725d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a15-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e336e3af9be1c9a1bcc4c11fd774e56809f783311487886eca5baac68b0c5f34
MD5 1df8fba0cce9b39e81e18eeeba021665
BLAKE2b-256 57269fe586a07e6d84715fc940f6a7c47a8d57b06a38a8f102198daf7c43290e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a15-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8da24263720cc49fbaea117d8fa656c52f63766c831383cddc9c65472f11c6ba
MD5 4abc6b1118e9b3183b0fdb1dd5b27015
BLAKE2b-256 aec1e1f0246474afbdb718aaa78b2b1988bdcc93d524c8426884bb597a1e5b5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a15-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 958da9c11692e8c9865c453f94c5cd33b10afb59b9ee298aa615c0063b60cfca
MD5 90e37cc661f7f2ea64dc77f578954e40
BLAKE2b-256 ac357df969c661d5eb311cf2ff6a4a785266508d6fca056325d8c5210c467f1d

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