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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file auwgent_sdk-0.1.0a4.tar.gz.
File metadata
- Download URL: auwgent_sdk-0.1.0a4.tar.gz
- Upload date:
- Size: 97.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
386ed1266f5ea57df388204ab99ebff0442c56fb379b2471f6006b229885892b
|
|
| MD5 |
ef46d52667b80de9b65363ed40329862
|
|
| BLAKE2b-256 |
0f3553425113d07e3baa8075fd10fd0f8f42a56c71cfdef6806b350b2a4cabfb
|
File details
Details for the file auwgent_sdk-0.1.0a4-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: auwgent_sdk-0.1.0a4-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
207f7424e865fc46ba28764907dd644dec9fa634ab2949175c549fd898c2297c
|
|
| MD5 |
e25854d9b33a0a7d25d44d93ea4052bf
|
|
| BLAKE2b-256 |
c35b349100108fdee5c5a5dd00d3aa75b57852224d544806662db0cac8ab2344
|
File details
Details for the file auwgent_sdk-0.1.0a4-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: auwgent_sdk-0.1.0a4-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efa98961d299ef3a950f312601d60234edd5cdf26634a90a45907f77c3f299e7
|
|
| MD5 |
003bcb873a535d2ffd358b8607ff44f9
|
|
| BLAKE2b-256 |
10fcf123c1e3f868de3cb0bfbf6c923decba14a779f3ddc28e7b2b11b8352b16
|
File details
Details for the file auwgent_sdk-0.1.0a4-cp38-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: auwgent_sdk-0.1.0a4-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
674cae08af0cae141afcf367b175ace6f52f906e9cc958cb4dce87c438e3b0cc
|
|
| MD5 |
9383b6ea24e8e905a7ca2db04707c919
|
|
| BLAKE2b-256 |
bfdb79bee1174e71123d9c05ed1b6a264123adc85da42596720685fdd8371b35
|