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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

  • Download URL: auwgent_sdk-0.1.0a1.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.0a1.tar.gz
Algorithm Hash digest
SHA256 a0a1c8e7b3d913c7e578ded6902148422de73b256bcec21e3f59d2388fbaabc7
MD5 5c84f63b4140718667453629d1e4c819
BLAKE2b-256 30ce968da21bee21131b34b68541f6b0f5aeeb3ccb95d550f1738316864e7662

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8e8f15ba30718931fb5aa7c7ca21086c79cf7bf1cda64837d4e09ad8aaf40b10
MD5 f1f3689766ff0e5ebda9f61345390961
BLAKE2b-256 1cd7963acb3f4c7a273fe41c57465c2ba1c402ba925a0ff52ffb8bf32bf36e8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f36944130043300dc3922ff5bae5ddac5ecce8a710408274464ad5e6c36ffd2c
MD5 513985476474c73bf4a680c69e573efe
BLAKE2b-256 05ffa8cb92d025c8a1fec6ab6b2eeaa6bed588e342da9ed6c58e4e971971ecc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a1-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 413c4b69284f8750673a33dbcf4889c040b1e7e7762b68a0192477a85f07765b
MD5 eb5b0733dd09d7b8a1c4a3acef785994
BLAKE2b-256 9eccca82b5b0eaafc4b51df01fb20aec4824224a650d256bc9ad8a568faa0f31

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