Metadata-Version: 2.4
Name: regent-sdk
Version: 0.1.1
Summary: LLM regression testing — route your LLM calls through Regent's proxy
Project-URL: Homepage, https://regentai.in
Requires-Python: >=3.9
Provides-Extra: all
Requires-Dist: anthropic>=0.20.0; extra == 'all'
Requires-Dist: openai>=1.0.0; extra == 'all'
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.20.0; extra == 'anthropic'
Provides-Extra: openai
Requires-Dist: openai>=1.0.0; extra == 'openai'
Description-Content-Type: text/markdown

# Regent SDK

```
pip install regent-sdk
```

## Usage

```python
import regent
regent.init(api_key="your-regent-api-key")

# All OpenAI/Anthropic clients instantiated after this call
# will automatically route through Regent's proxy.

# Must be called before importing or instantiating OpenAI/Anthropic clients.
from openai import OpenAI
client = OpenAI()  # automatically proxied
```

## Local development

```python
regent.init(api_key="your-regent-api-key", proxy_url="http://localhost:8000")
```
