LangGraph Viz
Real-time browser-based visualization for LangGraph workflows.
Debug and understand your LangGraph agents with live state inspection, graph visualization, and execution timeline.
Features
- 🔴 Live Graph Visualization - See your workflow graph with real-time node highlighting
- 📊 State Inspector - View full state and diffs at each execution step
- ⏱️ Event Timeline - Scrub through execution history with playback controls
- 🔌 Zero Config - Works with any compiled LangGraph app
- 🚀 Minimal Overhead - Designed for development debugging
Installation
pip install langgraph-viz
Quick Start
from langgraph_viz import visualize
from your_app import app # Your compiled LangGraph
# Context manager style - auto opens browser
with visualize(app) as viz_app:
result = viz_app.invoke({"query": "Hello world"})
# Or start server manually
viz = visualize(app, auto_open=False)
viz.server.start()
# ... run your app ...
viz.server.stop()
Open http://localhost:8765 to see the visualization.
How It Works
- Wrap your app -
visualize()wraps your LangGraph app to intercept execution events - Start the server - A FastAPI server streams events via WebSocket
- View in browser - A React frontend renders the graph, timeline, and state
Configuration
visualize(
app,
port=8765, # Server port (default: 8765)
auto_open=True, # Auto-open browser (default: True)
)
Requirements
- Python 3.9+
- LangGraph >= 0.0.1
- A modern web browser
Development
# Clone the repo
git clone https://github.com/yourusername/langgraph-viz.git
cd langgraph-viz
# Install dev dependencies
pip install -e ".[dev]"
# Build frontend (requires Node.js)
cd frontend && npm install && npm run build && cd ..
# Run tests
pytest
License
MIT License - see LICENSE for details.
Metadata
Release files for langgraph-viz 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| langgraph_viz-0.1.2.tar.gz | 1.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langgraph_viz-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.0 MB
Release files / langgraph_viz-0.1.2.tar.gz
| Download URL | langgraph_viz-0.1.2.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13da7ad4add21c26fdf0a80755bc1547eaf056dc6d90fedba8356223dbd76e5c
|
|
BLAKE2b-256 checksum How to use checksums |
4cb64b2278cdb4ced8653e3220312bcabf82ae9bff80790c902d8ffc225e1936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / langgraph_viz-0.1.2-py3-none-any.whl
| Download URL | langgraph_viz-0.1.2-py3-none-any.whl |
|---|---|
| Size | 872.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cfb7cce11f5ef1ab14feb02cf2d7d16cc226b0719ec51e5e7ee9151591446c22
|
|
BLAKE2b-256 checksum How to use checksums |
d0da770a41dcf860954bb29637a8a40612f6afbc3dd0dda0dccb81df4143d993
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|