Metadata-Version: 2.4
Name: aifluxon
Version: 0.1.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Rust
Classifier: Typing :: Typed
Requires-Dist: pytest>=8 ; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.24 ; extra == 'dev'
Provides-Extra: dev
License-File: LICENSE
Summary: Python SDK for the AIFLUXON in-process agent backend
Author: AIFLUXON
License-Expression: Apache-2.0
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://github.com/aifluxon/aifluxon/blob/main/docs/python/README.md
Project-URL: Homepage, https://github.com/aifluxon/aifluxon
Project-URL: Issues, https://github.com/aifluxon/aifluxon/issues
Project-URL: Repository, https://github.com/aifluxon/aifluxon

# AIFLUXON

Experimental Python SDK for the AIFLUXON in-process agent backend.

```text
Python → PyO3 → aifluxon-api → runtime → providers / tools
```

## Install

```powershell
pip install aifluxon
```

Requires **Windows 10/11 x86_64** and **CPython 3.11–3.14**. Wheels are version-specific (`cp311`–`cp314-win_amd64`), not abi3. Linux, macOS, and Windows ARM64 are not supported in 0.1.0. Installing a published wheel does not require Rust.

License: **Apache-2.0**.

## Quick start

```python
import asyncio
from aifluxon import Agent, ControlledProvider

async def main():
    agent = Agent(provider=ControlledProvider(["Hello from AIFLUXON."]))
    print((await agent.run("hello")).text)

asyncio.run(main())
```

`ControlledProvider` is offline. Public providers: OpenAI, DeepSeek, Qwen, Kimi, Gemini, Codex, Custom. ChatGPT Web and DeepSeek Web are not included in this SDK.

Documentation: https://github.com/aifluxon/aifluxon/blob/main/docs/python/README.md

## Build from source

This package is the Python binding. It depends only on `aifluxon-api`.

```powershell
cd bindings/python
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install maturin pytest pytest-asyncio
maturin develop
python -c "import aifluxon; print(aifluxon.__version__)"
pytest
```

