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

Uploaded CPython 3.8+Windows x86-64

auwgent_sdk-0.1.0a6-cp38-abi3-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a6.tar.gz
Algorithm Hash digest
SHA256 7a8783ee6f9c0d31fd87c3c3fc9c06b0f5346055e766256768d6c77dc8b52a64
MD5 daa3e4795ef672654d26838e99968239
BLAKE2b-256 f1de29fb20d624056ffdd652d37302ab5b9b5ddb330771f23fb60cd9c6ad3b64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a6-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e8aff6d37202363737079286b3717351bac98055ebcf0fa124b766d8d6a639f4
MD5 ae0e011528673fccb4959d9ce65d347b
BLAKE2b-256 c257a0fb2adb2e859bc5e09320c1ccfdb09a528855e4ed3cc0d4eeb0b5f4587a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a6-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e0bc3f0d363cfcb2057bc77f2a0702dd6972344b7adb1bd0bef2b1898bd7b086
MD5 ffb389d27fa6e6992bb0401ff0d7c4a5
BLAKE2b-256 6c68dc627086339a21b58fb0010db73f62589b594e96724412cc06b28ebb6b2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a6-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9e70b1e12469ca3cb34c32dba25b47bdd48870e89ca831d28129d1dd8d06a9fe
MD5 1caed5bafca072ea5ed1047fcc322591
BLAKE2b-256 c3dfc9a0ce0cd20a8c66178b37d06ecd209f9f08361ed37e70142531866b2b55

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