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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

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

File metadata

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

File hashes

Hashes for auwgent_sdk-0.1.0a7.tar.gz
Algorithm Hash digest
SHA256 6fcc1a3c4f4b15fdd3eb1a385a58c30c0c650995d7f3d27379059a45bff7f61e
MD5 53315aae5063bd7f149adc1613b8accc
BLAKE2b-256 860f7707e250eaa78a4d4c55e4344c8b58c03526bdfcc99889f36075b2ac3463

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a7-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 481a20c5a2128c720ff0cc9928abb3ce9da43597e8484ecc08715fb280746359
MD5 ee80557f8a24805f57c9a2658bc603e2
BLAKE2b-256 937164ed10aaaf2538c3c54f2f782f1e66e58092af4cb14f0c6547195d685998

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a7-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 43d8696029799c5b3636c68b9e03192fd725e5e173f5692f940c55cd486ab283
MD5 5c3768ecd24f1378f3e2eeda16a3579a
BLAKE2b-256 0ce4f50469b37daecf17db02753df4f63961544eb8df76d9c7567876eb4aa35c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auwgent_sdk-0.1.0a7-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d201357ec604736c5031e7f53b6cf1b3ab2d7b066c482983b970432e608ffda7
MD5 0ef86c364afdf88521cbe546869057b1
BLAKE2b-256 dead8a03b04fa95e6e5f3fc77ec23a03a64a3b9a0cf8b3b551fb2eb8b4abbb7b

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