Skip to content

auditable v0.1.1

Choose a tag to compare

@yzhao062 yzhao062 released this 24 Jun 04:58
· 24 commits to main since this release

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 StateGraph with instrument(...) 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. TouchRecorder records the same observed edges from any tool loop (a raw OpenAI or Anthropic agent, your own scheduler) by declaring each step's reads() and writes().
  • Real-LLM example. examples/example_langgraph_llm_agent.py runs 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