Metadata-Version: 2.4
Name: ais-client
Version: 0.1.0
Summary: Python client for AI Immune System (AIS): JSON firewall + guarded LLM fallback.
Author: Odin Secure
License: Apache-2.0
Project-URL: Homepage, https://www.odinsecure.ai
Project-URL: Repository, https://github.com/Maverick0351a/ai-immune-system
Project-URL: Issues, https://github.com/Maverick0351a/ai-immune-system/issues
Keywords: json,llm,validation,firewall,openai,stripe,guardrails
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: requests<3,>=2.31.0

# AIS Python Client

Lightweight Python wrapper for the AI Immune System (AIS) API.

## Install (after release)

```bash
pip install ais-client
```

## Quick Use

```python
from ais_client import AISClient

client = AISClient(api_key="YOUR_API_KEY", base_url="https://your-ais.example")
res = client.run(
    json={"amount": "42"},
    schema={"type": "object", "properties": {"amount": {"type": "number"}}, "required": ["amount"]},
)
print(res.ok, res.final, res.repairs)
```

Environment vars: `AIS_API_KEY`, `AIS_BASE_URL` can substitute for args.

## Status

Alpha: minimal endpoint coverage (only `/v1/immune/run`). PRs welcome for admin & billing helpers.

## License

Apache 2.0
