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.0a9.tar.gz (105.0 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.0a9-cp38-abi3-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

auwgent_sdk-0.1.0a9-cp38-abi3-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a9.tar.gz
Algorithm Hash digest
SHA256 d34826c7b486835890e17bf7103cb5ef11afe81051f5cee3a8121ce09daaf94c
MD5 9f1d848056141a2d4437668ac3bd15f2
BLAKE2b-256 aa6856a2c61a6410582650d5afaa1106a87c0d6a05b89f71d8bbe10d4929e0b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a9-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 70d7b235b20a539fa3d93972952df6f12d574591620058eea067f8034e7f9f3a
MD5 e03c01f15a643f233aa26fab289737de
BLAKE2b-256 c328a0c9bb6fbe0288b21a50468f6946521b195fd6be6c21f73b951c22ebfea7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a9-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fd119988408f7162416aa520ed46c14938a34146c7685e48f5f483d26b0bf4be
MD5 744f3900da4b7e8da39efa287028f9e1
BLAKE2b-256 087007524624f051225860abcd6b186ed617a7b577d769bf42f28f7392e0d4d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a9-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b2f69d2bf7f36772b79be9984e93bdbdc243577fcfc39ef39f909cbd49d7df20
MD5 ec1c7b836648e3344a2b634cfbe234de
BLAKE2b-256 50ff05ca02b7c8c4f719c2f46763eb8417da9fcb3d7b494f226ee43321d9d318

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