Metadata-Version: 2.4
Name: aasp-sdk
Version: 0.1.0
Summary: AI Agent Security Platform SDK - Secure your LangChain agents with policy enforcement
Project-URL: Homepage, https://aasp.dev
Project-URL: Documentation, https://docs.aasp.dev
Project-URL: Repository, https://github.com/aasp-dev/aasp-python
Author-email: AASP Team <hello@aasp.dev>
License-Expression: MIT
Keywords: agent,ai,governance,langchain,llm,policy,security
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: httpx>=0.25.0
Provides-Extra: dev
Requires-Dist: mypy>=1.0.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
Requires-Dist: pytest-httpx>=0.22.0; extra == 'dev'
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Requires-Dist: ruff>=0.1.0; extra == 'dev'
Provides-Extra: langchain
Requires-Dist: langchain-core>=0.1.0; extra == 'langchain'
Description-Content-Type: text/markdown

# AASP SDK

Official Python SDK for the AI Agent Security Platform (AASP).

Secure what your AI agents do, not just what they can access.

## Installation

```bash
pip install aasp-sdk
```

## Quick Start

```python
from aasp import AASPCallback
from langchain.agents import AgentExecutor

# Add AASP protection to your LangChain agent
executor = AgentExecutor(
    agent=agent,
    tools=tools,
    callbacks=[AASPCallback(api_key="aasp_live_xxx")]
)

# All tool calls are now monitored!
executor.invoke({"input": "Process the invoice"})
```

## Features

- **Real-time Interception** - Catch every action before it executes
- **Policy Engine** - Define rules with regex patterns and conditions
- **Human-in-the-Loop** - Require approval for sensitive operations
- **Complete Audit Trail** - Log every action for compliance

## Documentation

Full documentation at [https://aasp-mvp.aminereg.com/docs](https://aasp-mvp.aminereg.com/docs)

## Requirements

- Python 3.10+
- httpx

## License

MIT
