Skip to content

proactive-agent/langgraphics

Repository files navigation

LangGraphics

LangGraphics is a live visualization tool for LangGraph-based agent orchestration frameworks such as LangGraph and DeepAgents. It's especially useful when working with large networks: graphs with many nodes, branching conditions, and cycles are hard to reason about from the logs alone.

Workflow Visualization Demo

Why it helps

Seeing the execution path visually makes it immediately obvious which branches were taken, where loops occurred, and where the agent got stuck or failed. It also helps when onboarding to an unfamiliar graph - a single run tells you more about the workflow than reading the graph definition ever could.

Full Window Demo

How to use

One line is all it takes - wrap the compiled graph of your agent workflow with LangGraphics' watch function before invoking it, the visualization opens in your browser automatically, tracks the agent in real time, and makes tracing easy using the inspect panel.

from langgraph.graph import StateGraph, MessagesState
from langgraphics import watch

workflow = StateGraph(MessagesState)
workflow.add_node(...)
workflow.add_edge(...)

graph = watch(workflow.compile())

await graph.ainvoke({"messages": [...]})

Works with LangGraph-based agents of any level of complexity. Just add it during a debugging session, or keep it in while you're actively building - it does not affect how the agent behaves or what it returns.

Features

Feature LangGraphics LangFuse LangSmith
Fully local βœ… πŸŸ₯ πŸŸ₯
Standalone βœ… πŸŸ₯ πŸŸ₯
Replay mode βœ… πŸŸ₯ πŸŸ₯
Easy to learn βœ… πŸŸ₯ πŸŸ₯
One-line setup βœ… πŸŸ₯ πŸŸ₯
Data stays local βœ… πŸŸ₯ πŸŸ₯
No API key required βœ… πŸŸ₯ πŸŸ₯
Live execution graph βœ… πŸŸ₯ πŸŸ₯
Subgraph visualization βœ… πŸŸ₯ πŸŸ₯
No refactoring required βœ… πŸŸ₯ πŸŸ₯
Self-hosted βœ… βœ… πŸŸ₯
No vendor lock-in βœ… βœ… πŸŸ₯
Unlimited free usage βœ… βœ… πŸŸ₯
Graph visualization βœ… βœ… βœ…
Cost & latency tracking βœ… βœ… βœ…
Prompt evaluation πŸŸ₯ βœ… βœ…

Contribute

Any contribution is welcome. Feel free to open an issue or a discussion if you have any questions not covered here. If you have any ideas or suggestions, please open a pull request.

License

Copyright (C) 2026 Artyom Vancyan. MIT