Metadata-Version: 2.4
Name: langchain-suprawall
Version: 0.1.0
Summary: Deterministic security layer for LangChain agents powered by SupraWall.
License: MIT
Author: SupraWall Engineering
Author-email: engineering@supra-wall.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: langchain-core (>=0.1.0,<0.2.0)
Requires-Dist: requests (>=2.0.0,<3.0.0)
Project-URL: Homepage, https://www.supra-wall.com
Project-URL: Repository, https://github.com/suprawall/suprawall
Description-Content-Type: text/markdown

# langchain-suprawall

`langchain-suprawall` is the official integration package for using the [SupraWall](https://www.supra-wall.com) deterministic security layer with LangChain.

## Installation

```bash
pip install langchain-suprawall
```

## Quickstart

SupraWall intercepts and evaluates tools before they execute, offering zero-trust security for autonomous agents.

```python
from langchain_core.tools import tool
from langchain_suprawall import SupraWallToolWrapper

@tool
def my_sensitive_tool(data: str):
    """A tool that does something sensitive."""
    return f"Processed: {data}"

# Wrap your tool with deterministic security
secured_tool = SupraWallToolWrapper(
    tool=my_sensitive_tool,
    api_key="sw_your_api_key_here"
)

# Use secured_tool in your LangChain agents!
```

## Tool Safety Annotations
All tools exported by `langchain_suprawall` automatically inherit LangChain's standard safety properties and support MCP's `readOnlyHint` and `destructiveHint`.

