Metadata-Version: 2.4
Name: decarabian
Version: 0.1.0
Summary: Official Python SDK for Decarabian AI Security Gateway
Author: Decarabian Technologies
Project-URL: Homepage, https://github.com/decarabian/python-sdk
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.25.1

# Decarabian Python SDK

The official Python client for Decarabian - the secure AI Gateway infrastructure.

## Installation

```bash
pip install decarabian
```

## Quick Start

Connect your AI Agent to Decarabian and execute tools securely.

```python
import os
from decarabian import Decarabian, ForbiddenError

# Initialize the gateway
# Make sure to set DECARABIAN_AGENT_TOKEN in your environment variables
gateway = Decarabian()

# 1. Provide tools to your LLM
available_tools = gateway.get_tools()
print("Tools available for this agent:", available_tools)

# 2. Execute a tool securely (The real API keys are injected by the gateway)
try:
    result = gateway.execute(
        tool_name="github.create_issue",
        parameters={
            "title": "Payment Bug",
            "body": "User reported unable to checkout."
        }
    )
    print("Success:", result)
except ForbiddenError:
    print("Permission Denied: Agent is not allowed to use this tool.")
```
