Metadata-Version: 2.4
Name: agentwatch-python
Version: 0.1.0
Summary: Zero-latency AgentWatch wrapper for the official OpenAI Python client.
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: openai>=1.0.0
Requires-Dist: requests>=2.31.0
Requires-Dist: tiktoken>=0.7.0

# agentwatch-python

Microscopic zero-latency wrapper for the official OpenAI Python client.

```python
from openai import OpenAI
import agentwatch

client = agentwatch.wrap(
    OpenAI(api_key="..."),
    agentwatch_api_key="aw_live_token",
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "hello"}],
)
```

AgentWatch returns the native OpenAI response immediately. Prompt scanning, token estimation, and metadata ingest run in a daemon background thread. Raw prompts and completions are never sent to AgentWatch.
