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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a11.tar.gz
Algorithm Hash digest
SHA256 be94326781873e3ae16c20e4110f757ff26e0c67a933908d75222844038bcb6b
MD5 57e6f3db98c5af30df605ed813d572b7
BLAKE2b-256 752337abee46e5605654dc4851e06a5eb71645663f0f2b8f0bed22dc5e421b84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a11-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3b9133151106246fb423c68d07f77c8ebfbed84c569c5acfecb9579545068b0f
MD5 ad634648a3ab573ae77ea7a759c4e8e8
BLAKE2b-256 6b02cfea06060be02b60ce2a66017e779494c6246025898d129198c65b009513

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a11-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9c68f5ea9c5c95128083d3c81b10d0a24126c0c05cc43e4f5425d8f623814393
MD5 e7610204567de71092f51f16ef16c92b
BLAKE2b-256 cd1adf21fc5693e0c1b07e6ae15785b2f50bcaffa2a5ce172b12fe1c9f3f3bb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a11-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b97527a1cfaf636be947d4064b8210a25f1db414539a94f9ec35e0ffaae659b4
MD5 e5c8fa33f743e89b7562c2ff6820fa65
BLAKE2b-256 c18498e63898bcd953900dafab65013bba4bdc64ce41c4f943f82f062c885237

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