Repository navigation
auditable v0.1.1
Syncs PyPI with the real-run capture work added since 0.1.0. Additive only: no breaking changes to the existing API.
Plug in your real agent
- LangGraph capture. Wrap a
StateGraphwithinstrument(...)and every node's state-channel reads and writes become observed dependency edges, matched across LangGraph's superstep barrier and reducer-aware, with no change to your node logic. Optional extra:pip install "auditable[langgraph]". - Framework-agnostic capture.
TouchRecorderrecords the same observed edges from any tool loop (a raw OpenAI or Anthropic agent, your own scheduler) by declaring each step'sreads()andwrites(). - Real-LLM example.
examples/example_langgraph_llm_agent.pyruns the capture with live LLM nodes against any OpenAI-compatible endpoint (a plain OpenAI key, a gateway, or a local server), showing the capture is model-agnostic. Optional extra:pip install "auditable[llm]".
Both capture paths feed the existing analyze_run (POST): one typed two-layer decision graph, with the dependency layer recorded as OBSERVED edges over the resources each step read and wrote.
Install: pip install -U auditable
Full changelog: v0.1.0...v0.1.1