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 auwgent import create_auwgent
from generated.main_agent_types import ir

agent = create_auwgent(ir, {
    "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.0a3.tar.gz (97.4 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.0a3-cp38-abi3-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

auwgent_sdk-0.1.0a3-cp38-abi3-macosx_10_12_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a3.tar.gz
Algorithm Hash digest
SHA256 c19860956e31446665f0aeec05a9bc7a6e69c3bcbcd5c52c8ae3470a4f9ccd6f
MD5 2ea510535462f3739b2e8c9a8c1d7d8c
BLAKE2b-256 410ea910a0593dc8d49fd7f77e0e2af0d0ca7fda86d1ed0e56c321364c094c78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3bd42b57c7d09e9b0bac5caf38940e4e8e8852e9f0f23216286c7e8182ab83de
MD5 c026417bcc021b3d73a6c6ca753d2b3c
BLAKE2b-256 644fe1e3c3a89f356a86d720ea2cf14f451fcc039d0ebc7944b51539c8e3e7ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7c190ff465ed1670763e994888ed403278a4c61dbd56253112cc1990a13548ab
MD5 a32b8735d60e204019365a7424f7fa47
BLAKE2b-256 a2a6320240a979268b2a7e7cf20104ffa3f0ac7913746236e2b82fc6ee424304

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a3-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ae5993331ed2234531535ea7873859fd321ea6ce0d790d9f16259458b2bfaf45
MD5 1976afaa586c87a22dc00f7ec27e2093
BLAKE2b-256 ef30cfebd07d816ae1cc9c8438820332b1b26e01d184d7646bdd24eb9d794401

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