KIT formally verifies ~1,000 LangGraph functions, surfaces state-loss and auth bugs

LingmingZhang · x · 2026-10-23

Grigore Rosu's team used KIT, a formal-verification tool, to verify 1,000 functions in LangGraph and reported the bug classes found to maintainers (one fix already landed).

The proofs surfaced several bug classes:

KIT's pitch is "prove your code matches your intent": it extracts a formal spec from code (built on the K framework) and delivers math-backed verdicts via a Prover, rather than fuzzy LLM judgment. It currently supports Python and Solidity/EVM, with Rust, C, and JavaScript on the way. It ships as a Claude Code plugin and Codex integration—letting AI coding agents generate and verify specs automatically, an interesting new "verification layer" for agent workflows.

Original post →

More from coding & agent

coding & agent channel →