Metadata-Version: 2.4
Name: runetrace
Version: 0.1.1
Summary: Free, serverless LLM observability SDK. Track cost, latency, and behavior with a single decorator.
Home-page: https://github.com/Rishav-sy/Runetrace
Author: Rishav
Keywords: llm observability monitoring openai anthropic gemini cost tracking
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.25.0
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Runetrace

> Because you shouldn't need a $500/month tool to know what your AI is doing.

**Free, serverless LLM observability.** Track cost, latency, and behavior of every LLM call with a single decorator.

## Quick Start

```bash
pip install runetrace
```

```python
import runetrace
from openai import OpenAI

runetrace.configure(
    api_url="https://your-api-gateway-url.amazonaws.com",
    project_id="my-app"
)

client = OpenAI()

@runetrace.track_llm
def ask(prompt):
    return client.chat.completions.create(
        model="gpt-4o",
        messages=[{"role": "user", "content": prompt}]
    )

response = ask("What is the meaning of life?")
# Cost, latency, and tokens are automatically tracked!
```
