Skip to main content

Debug LangGraph-based agents visually - live execution graph, node inspection, and run replay, all from a single line.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langgraphics-0.1.0b4.tar.gz (355.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langgraphics-0.1.0b4-py3-none-any.whl (362.0 kB view details)

Uploaded Python 3

File details

Details for the file langgraphics-0.1.0b4.tar.gz.

File metadata

  • Download URL: langgraphics-0.1.0b4.tar.gz
  • Upload date:
  • Size: 355.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for langgraphics-0.1.0b4.tar.gz
Algorithm Hash digest
SHA256 94ddb26817556dbf9d8f41119e6bbe4ab643cff44387ff3b1c7feaea15581da8
MD5 bcba5c059752848ee40cbd959c611171
BLAKE2b-256 ab84e6b9d06185e743a5d806a36b7f8d7e1fab6c423a04d3efd7a4fb1aa61410

See more details on using hashes here.

File details

Details for the file langgraphics-0.1.0b4-py3-none-any.whl.

File metadata

  • Download URL: langgraphics-0.1.0b4-py3-none-any.whl
  • Upload date:
  • Size: 362.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for langgraphics-0.1.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 8ea1e7f4e2731ddf3ea1fc399b591f5250fe8eea66bed65d643747e90f39d61a
MD5 b563204b6b610291d06409ebf90e3024
BLAKE2b-256 c5bb362d91ba0bba73d41ce3c16428a10e04f1ad6e0fa06700fb6c3ed0d9555a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page