Skip to main content

Visualize live LangGraph execution and see how your agent thinks as it runs.

Project description

LangGraphics

LangGraphics is a live visualization tool for LangGraph agents. 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.

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.

How to use

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

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 any LangGraph agent, no matter how simple or complex the graph is. Add it during a debugging session, or keep it in while you're actively building - it has no effect on how the agent behaves or what it returns.

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.0b0.tar.gz (153.3 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.0b0-py3-none-any.whl (153.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for langgraphics-0.1.0b0.tar.gz
Algorithm Hash digest
SHA256 e16a8f70065be0eaf6abc64ce7d1ecf5bd6bb71038f5c044948f358265ed6a63
MD5 af963786bf517ff7d20dc720d02748bc
BLAKE2b-256 a31a5cb311dae28f53b1cc637b398cdbfcbf1fa5123e54f1c903e9c5d8a73a54

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for langgraphics-0.1.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 6395d80339287735c404ce4cb1d7a2b36601c595f358b900171466b8e13f4aab
MD5 6519fa5554e8abe10bf948609e2eed3d
BLAKE2b-256 5ba5c37332f524381cf366b22653ec1b6d444230b7a17d6f2db1d68fd890afe5

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