Metadata-Version: 2.4
Name: faillens-agent
Version: 1.0.2
Summary: Local AI debugging agent - detect, group, score, debug, and explain API failures
Author: FailLens AI
License: MIT
Project-URL: Homepage, https://faillens.ai
Project-URL: Source, https://github.com/your-org/faillens-ai
Keywords: debugging,api,failures,ai,monitoring
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Debuggers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: click>=8.0
Requires-Dist: httpx>=0.27
Requires-Dist: watchfiles>=0.20
Requires-Dist: fastapi>=0.111
Requires-Dist: uvicorn[standard]>=0.30
Requires-Dist: pydantic>=2.0
Provides-Extra: ai
Requires-Dist: groq>=0.9; extra == "ai"

# FailLens Agent

Local AI debugging agent - detect, group, score, debug, and explain API failures.

## Install

```bash
pip install faillens-agent
```

For AI-powered explanations (optional):
```bash
pip install faillens-agent[ai]
export GROQ_API_KEY="gsk_your_key_here"
```

## Usage

```bash
# Analyze a log file
faillens analyze logs.json --pretty

# Watch a directory for new logs
faillens watch ./logs

# Run local API server
faillens serve

# Explain a single issue
faillens explain issue.json --pretty
```

## Pipeline

detect > group > score > debug > explain
