Metadata-Version: 2.4
Name: scopebound
Version: 0.1.2
Summary: Zero-trust identity and enforcement for AI agents
License: Apache-2.0
Keywords: agents,ai,enforcement,langchain,security
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Provides-Extra: dev
Requires-Dist: langchain-core>=0.2.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest-httpx>=0.30.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: respx>=0.21.0; extra == 'dev'
Provides-Extra: langchain
Requires-Dist: langchain-core>=0.2.0; extra == 'langchain'
Description-Content-Type: text/markdown

# Scopebound Python SDK

Zero-trust identity and enforcement for AI agents.

## Installation
```bash
pip install scopebound
```

## Quickstart — LangChain
```python
from scopebound import ScopeboundSDK, enforce
from langchain_core.tools import BaseTool

sb = ScopeboundSDK(base_url="http://localhost:8080")

@enforce(sb, role="invoice-processor")
class ReadInvoicesTool(BaseTool):
    name = "read_invoices"
    description = "Read invoices from the database"

    def _run(self, query: str) -> str:
        return "invoice data"
```

## License

Apache-2.0
