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.0a2.tar.gz (92.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.0a2-cp38-abi3-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 137f117e9cfe55928d2541dbe1e0140ada61ea17bb103994bd12736bb56cab8d
MD5 9fb8496488dcd6adbbb4834552940eb1
BLAKE2b-256 5a223938c676064e4e439a8fe50c6fe7489f0443aaeff71533dac356d9ec9752

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a2-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2cf707aab8c63c9bd55f392b96bb36ea22b718741fc61fbd961c26b39db18506
MD5 65839e3af73dd69987802a7c1a7614cc
BLAKE2b-256 32a9d34ea02b46f2fbf3e07819f2325897a3ea45938b2051f3a5e6ac1cee1552

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a2-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bcee90bbdfb67c0ad63b31bcd01272eddeb4ce8312cbea709989593170561aba
MD5 f03a90027e0ef6fb90b196021ffc03f9
BLAKE2b-256 e270c6d5bff6401083f7d4cbc4ada8fa138df1727c687ff23d6e44cdc647e329

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a2-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0278143cf3f715d21a5574725be5b79e741fe041f3e1089b3520ee551de981af
MD5 04bc05d25e294b946cb8deb3decd7cfe
BLAKE2b-256 e88350fe590451d3dd9939883837eea8b46608e26d726ad1605b96895a7b257e

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