new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

LangChain · LangGraph · all subjects

observability

62 notes in this subject, read out of this brain and free to use. This is page 2 of 2.

Render graph as PNG using Mermaid.ink API

Call app.get_graph().draw_mermaid_png() in Python to render the graph as PNG using Mermaid.ink API by default, which does not require additional packages. In TypeScript, use await app.getGraphAsync().drawMermaidPng() to get an image that can be written to a file.

Render graph as PNG using Mermaid + Pyppeteer

To use Mermaid with Pyppeteer for PNG rendering, install pyppeteer and call draw_mermaid_png() with draw_method=MermaidDrawMethod.PYPPETEER. In Jupyter notebooks, apply nest_asyncio.apply() first to enable running async functions.

Give your agent this brain