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.0a5.tar.gz (99.6 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.0a5-cp38-abi3-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.8+Windows x86-64

auwgent_sdk-0.1.0a5-cp38-abi3-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

auwgent_sdk-0.1.0a5-cp38-abi3-macosx_10_12_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a5.tar.gz
Algorithm Hash digest
SHA256 113db638315560570e219333127555264b073f99c67d6867c8161bd65fb19ad1
MD5 c913edc03a38cd2fe5b08dcea288fe4b
BLAKE2b-256 da24402bd0545eb247f7c449438e01a166a8921f0485867109b99bce2e1a582c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a5-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4fb8c30a255de248965314c080cc0fee1f6a948af4f8b2b6ce63fd50c3699826
MD5 dc498ac00b7973da80edd822ab16d653
BLAKE2b-256 ddd4b59e103f1e5a9898b5603d6b38a05600a5598174bae65a577fb66b48c25b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a5-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c913b3e6c9773fa0ca0264e794fadb27757ffe705b953cbc670e7d4b91fc92f
MD5 540325d20bccf10f54da8b00ca0b9bef
BLAKE2b-256 722c6085ca2e6dc6ffe75d63d72bbf671b57566c04b0101ce361b5667d45dae2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a5-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fe83d4fd536615671165fddd05967cf5a4a24f57d2466fc8fa55dc939907ae65
MD5 977f5c7c9330af3c70259f6ec9ccf2b5
BLAKE2b-256 9b74d9f2bd82f222b0b2d121c662f035f40804c8aff689fa47bc6b5d73628243

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