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.0a13.tar.gz (113.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.0a13-cp38-abi3-win_amd64.whl (2.4 MB view details)

Uploaded CPython 3.8+Windows x86-64

auwgent_sdk-0.1.0a13-cp38-abi3-macosx_11_0_arm64.whl (2.5 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

auwgent_sdk-0.1.0a13-cp38-abi3-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a13.tar.gz
Algorithm Hash digest
SHA256 1861dbcac70d6d7335aff8070f080dd4a68bb6853dcb6204e97e37e2477756b4
MD5 09ede137585167903798dc1150d7dbb1
BLAKE2b-256 a1e28dce91ae4e561b04cc8e47edf0835fe5cbed199a75a87a06616a78acbcb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a13-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 93c5bfac75146229df3362a5c2e91676f4b46dc1e8d24fc7eedc8f2c8f491b2e
MD5 5fbf4247decf50eb8eb5735db4fe9056
BLAKE2b-256 27200a2b6e29380f6d2609768b3877b518ee3ca0043c3c65358f37d38c4e8a90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a13-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c5d91ce9e01c4dccde5ab9cf233ce56a9d686f6c3e4fda261fdb1e5320ca1188
MD5 e8e1d1c54e036f614ce86be2eb99829e
BLAKE2b-256 6aaa10f74c6e5eae184114f855251c198503bffc7cc30a127916c51526e4271e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a13-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8cd0427a66114547ef5de5dd929f0f6ffa71cc72c3d533b16e0b58b46f27a535
MD5 a8200565d1bce2991847e8b505bdad08
BLAKE2b-256 f168b6d7493d2c1f8f4bff96022f94548729d33b8ebedf1ff1fff9909b04715b

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