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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

auwgent_sdk-0.1.0a17-cp38-abi3-macosx_10_12_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a17.tar.gz
Algorithm Hash digest
SHA256 e3d01ab3bd5dc642e16e3bdb7a5ca995a3ea407f3b37cff8853dca237dbfd333
MD5 e379203e3afc0ab65fdf1773a83baacc
BLAKE2b-256 90942d26246130bae7ca180047c8942e6d67301afea43173d468e8309ba11ea6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a17-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e4fe29e12508bd5d7703806554ffdf50e242ef2069c439b992c8c6ad884b7a48
MD5 47739b6d22cf575b3f64fb6a311afa83
BLAKE2b-256 e550469682d7afada0174b2fe6dd78e96e02a5b387ca3ccf6a2bb387d42671b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a17-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c53e86a0c60375429f8e444274a4e717bafd468ce15978add92e91a5a4ee7c34
MD5 4accf542beb37676e66755014d41ffba
BLAKE2b-256 4649e92b102480ebe16e0cf3509ed51c42f08dfbc984176693fabb6c12dd3a15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a17-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7da10bfa7e3a13043196145ced997ddef0a2bb2613a6e0641b959d758e4f1b86
MD5 18e4a529884411fd9468b0d121340b49
BLAKE2b-256 5176c89e1fa5d778897efb2471ead9b27d2fde25018c3b7949d94fcbdf0e20fb

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