Metadata-Version: 2.3
Name: fasteval-langgraph
Version: 2.1.0a1
Summary: LangGraph testing plugin for fasteval -- wrap any compiled StateGraph with a minimal harness for chat, session, mocking, and node-level testing
Author: Intuit
License: Apache-2.0
Requires-Dist: fasteval-core>=1.0.1
Requires-Dist: langgraph>=0.2.0
Requires-Dist: pydantic>=2.0.0
Requires-Python: >=3.10, <4.0
Description-Content-Type: text/markdown

# fasteval-langgraph

LangGraph testing plugin for [fasteval](https://github.com/intuit/fasteval). Wraps any compiled `StateGraph` with a minimal test harness for chat, session, mocking, and node-level testing.

## Install

```bash
pip install fasteval-langgraph
```

## Quick Start

```python
from fasteval_langgraph import harness, mock
import fasteval as fe

graph = harness(compiled_graph)

@fe.correctness(threshold=0.8)
async def test_agent():
    result = await graph.chat("How do I configure OAuth?")
    fe.score(result.response, "Use OAuth 2.0...", input="How do I configure OAuth?")
```

See the [full documentation](../../docs/plugins/langgraph/) for details.
