atharva262005/ai-audit-shelf — explained in plain English
Analysis updated 2026-05-18
Log every prompt and result an AI agent produces for later review.
Keep a permanent audit trail when a compliance workflow changes over time.
Attach an audit log to a LangChain agent using the included callback handler.
Export a readable record of an AI workflow for auditors.
| atharva262005/ai-audit-shelf | 0marildo/imago | agentlexi/agent-lexi | |
|---|---|---|---|
| Stars | 3 | 3 | 3 |
| Language | Python | Python | Python |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 2/5 | 4/5 |
| Audience | developer | general | vibe coder |
Figures from each repo's GitHub metadata at analysis time.
CLI needs only the Python standard library, the API server needs fastapi and uvicorn.
ai-audit-shelf is a Python tool that adds Git-like version tracking to AI workflows, so every prompt and result an AI system produces gets recorded and can be traced later. It organizes this tracking around a library metaphor: individual AI actions become permanent chapters, chapters are bundled into versioned books that represent a feature, and books sit together on a shelf grouped by feature. The problem the author is addressing is that AI workflows are often opaque. Prompts go in, results come out, and there is usually no record of who ran what, when, or why. This tool logs every prompt, its result, the actor who triggered it, and a timestamp, and keeps that record immutable. When a feature is edited, a new edition of its book is created rather than overwriting the old one, so the original stays available as a permanent audit trail. Records can be exported as JSON for machines or as Markdown for human auditors. There are three ways to use it. A command line tool lets someone log chapters, bundle them into books, browse the shelf, compare two editions, export records, and search by actor, keyword, or date, using only Python's standard library. A REST API server, built with FastAPI and Uvicorn, exposes the same operations over HTTP and can optionally require an API key on write requests. A web dashboard connects to that API and gives a visual way to browse the library, view books in a table with export buttons, inspect the full chapter log, search, and diff two editions side by side. The README also documents integration recipes for plugging the audit log into real AI systems, including a plain Python requests example, a LangChain callback handler that logs every LLM call and tool call automatically, and an example using OpenAI function calls. Together these make it possible to bolt an audit trail onto an existing agent or chatbot with only a few lines of code, without changing how the underlying AI system works.
A Python tool that adds Git-like, immutable audit trails to AI workflows, organized as books and chapters.
Mainly Python. The stack also includes Python, FastAPI, Uvicorn.
The README does not state license terms.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.