Metadata-Version: 2.4
Name: ghostline
Version: 0.1.0
Summary: Deterministic replay for AI agents
Project-URL: Homepage, https://github.com/JOBOYA/ghostline
Project-URL: Repository, https://github.com/JOBOYA/ghostline
License-Expression: MIT
Requires-Python: >=3.10
Requires-Dist: msgpack>=1.0
Requires-Dist: zstandard>=0.21
Provides-Extra: all
Requires-Dist: anthropic>=0.20; extra == 'all'
Requires-Dist: openai>=1.0; extra == 'all'
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.20; extra == 'anthropic'
Provides-Extra: dev
Requires-Dist: anthropic>=0.20; extra == 'dev'
Requires-Dist: openai>=1.0; extra == 'dev'
Requires-Dist: pytest>=7; extra == 'dev'
Provides-Extra: openai
Requires-Dist: openai>=1.0; extra == 'openai'
Description-Content-Type: text/markdown

# ghostline Python SDK

> **Not yet published.** Coming soon.

```python
pip install ghostline  # soon
```

## Usage

```python
import ghostline
from anthropic import Anthropic

client = ghostline.wrap(Anthropic())

# Record
with ghostline.record("run.ghostline"):
    response = client.messages.create(...)

# Replay (zero API calls)
with ghostline.replay("run.ghostline"):
    response = client.messages.create(...)  # served from file
```

## Supported providers

- [ ] Anthropic
- [ ] OpenAI
- [ ] LiteLLM (any provider via proxy)
