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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

  • Download URL: auwgent_sdk-0.1.0a14.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.0a14.tar.gz
Algorithm Hash digest
SHA256 13eac1524edf7fecf83ce362aa6f16d137e696f6e21816de28d96c2ddb370393
MD5 34f830ef0810f677104e8ef225108f74
BLAKE2b-256 847d339ae97030ab8271ab596d73cb0d25fdfc0c4a9b7e5d29a7f88ba4b98150

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a14-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fd5578f04399cc7f3684f43d0efbb59dff90cde5d7cc39815459c2515b770d1d
MD5 cb3cd5ae70e576c39630980f822748a8
BLAKE2b-256 b9905c3802183aa5a5f67798144273efba30cb7419d60c38253fe76eb525456b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a14-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ec771660c6e80eaa57e3cac9aea95ad22846bba1bfc77c8a703d82a1f70cfd85
MD5 30bb0527c0e96ca66e8b50d5f0c6f147
BLAKE2b-256 d495196b6c5f1aae0db227af68d3c998b47b612c5b83ff3aab7ccdaa8d110620

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a14-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 687f2d858348ba13a14fca6edceb7484f7afecaef8b6c377d5d02c6e36db4b79
MD5 7c2e0c604c51c2e14cb97470c317392d
BLAKE2b-256 bc7db26c55f34dbc69ebf91a23c29d196c6e6505e3bc931f23104f187bbc6371

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