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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

auwgent_sdk-0.1.0a16-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.0a16.tar.gz.

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a16.tar.gz
Algorithm Hash digest
SHA256 135ad035bd74ad6e94d1173b153e4067b6c03506e526e6e749fe55390754b367
MD5 6160e69d1715bbc188038d74c1d8d47a
BLAKE2b-256 af8e40a610e43be4e6398b62c35c69c0fe03ea0897f590e99e5a9b72375ace8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a16-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f340692f0f81464875d094e922c154df0b1f5e727162ef415e470aec1b0355a9
MD5 82327b505b027330b425d28754019623
BLAKE2b-256 ff1170a44fa0bd4e972ec1cedd7ff90f637d68e75e7e709c2afb671a84a9dbb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a16-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d9fe64792a563fc087ea6ca3e1489c139d3bae5c26eecbe260b20f5098a09a59
MD5 407672d163d2b5777dee1177bf89c176
BLAKE2b-256 0130ee74dd2371b798f5d929c22fd895a7a83fd5268ea8a1a7a7c8e8aa05e3de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a16-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 caa82b1d04a1f968aac869ad0d78f1fa93c17e467d513a23238962ecca1fac89
MD5 77518188e7210739b1d8dc6cf9eda989
BLAKE2b-256 6a973e2b802d2f50992bdb830b1d2e11235b1089ef98a9881f8787b96f23831b

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