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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a8.tar.gz
Algorithm Hash digest
SHA256 a95abd98793fb135c217ba853392d86cb163d2cf292e588989b45f2318a702e9
MD5 38ac56b2692792722b89b4dfe649a55d
BLAKE2b-256 5f19dcd115f2e3372e785c2fe6eb98313d2faa515983c13ada575b7f52fa11e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a8-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fc52262887098207c95b306a6da365da7f01f2e8f1b67e2da3e3e72bf04913b1
MD5 74f4defa9409b74c243aedf7327a2bcf
BLAKE2b-256 9fd9d8c35f4a115c1649e46dfea2a3b777e8757cb2957520786ab71115d01317

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a8-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6f40b91fee1dde5ff1e232b2a139c1f400f487d46318a0dbbdc24eac868a8890
MD5 dcfb4cc0a0d91b3a04860debbb8de408
BLAKE2b-256 ecdfd2224ada167031984a9ef9df31acb84e4d3696a1d400b07779b62d8c61f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a8-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 69bde1928f6ee7992980bb4d926967aa5835cac4e78d0d684b60ac15d909fc47
MD5 2135fad3f279299f1a4f3f91e453f1b1
BLAKE2b-256 1dae0d82fc47bb9a63a665c5ef211c5e93a65239705e64b4b34f1fc6d12c76a7

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