 # Anchor8 SDK

The official Python client for Anchor8 AI.

## Installation

```bash
pip install Anchor8-sdk
```

## Basic Usage

```python
from Anchor8 import Anchor8Client

client = Anchor8Client(api_key="your-key", base_url="http://localhost:8000")

# Guard check
allowed, reason = client.check(
    agent_id="agent-007",
    tool_name="database_delete",
    arguments={"query": "DROP TABLE users"}
)

if allowed:
    print("Action allowed")
else:
    print(f"Action blocked: {reason}")
```

## Decorator Usage

```python
from Anchor8.decorators import guard

@guard(agent_id="my-agent")
def sensitive_operation(param):
    return "result"
```
