惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
云风的 BLOG
云风的 BLOG
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Recent Announcements
Recent Announcements
IT之家
IT之家
Google DeepMind News
Google DeepMind News
罗磊的独立博客
爱范儿
爱范儿
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
U
Unit 42
MongoDB | Blog
MongoDB | Blog
S
SegmentFault 最新的问题
B
Blog
博客园 - 叶小钗
月光博客
月光博客
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
C
Check Point Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I Built “Git for AI Workflows” Because AI Agents Have Zer...
Atharva Rale · 2026-05-13 · via DEV Community

Atharva Ralegankar

Everyone is building AI agents.

Almost nobody can audit them.

You give an LLM a prompt.

It calls tools.

Generates outputs.

Changes workflows.

Makes decisions.

And two days later?

Nobody knows:

  • what prompt was used
  • which agent triggered it
  • what actually changed
  • which version of the workflow produced the result
  • why the output suddenly shifted

That felt insane to me.

So I built:

AI Audit Shelf

A lightweight, open‑source system that brings Git‑like versioning to AI workflows.

Every AI action becomes an immutable chapter.

Chapters bundle into versioned books.

Books live on a shelf grouped by feature.

Library
  └── [Feature: HR Automation]
        ├── b_001 v1 Employee Onboarding
        └── b_002 v2 Employee Onboarding
             ↑ full audit trail preserved

Enter fullscreen mode Exit fullscreen mode


Why I Built This

Right now, most AI workflows are:

Prompt in → Magic happens → Output out

Enter fullscreen mode Exit fullscreen mode

That’s fine—until you need:

  • compliance
  • debugging
  • observability
  • reproducibility
  • enterprise‑grade audit logs
  • workflow history
  • team collaboration

Traditional software has:

  • Git
  • commits
  • diffs
  • version history

AI workflows have…

screenshots, Slack messages, and vibes.


What It Does

1. Immutable AI Audit Logs

Every action is stored as an immutable record:

  • prompt
  • result
  • actor
  • timestamp
  • source

Example:

python cli.py add-chapter \
  "Analyze customer churn" \
  "Churn decreased by 3%" \
  --actor analytics-agent

Enter fullscreen mode Exit fullscreen mode

Now every AI decision is traceable—not “I think that happened.”


2. Git‑Like Workflow Versioning

Update workflows without losing history:

python cli.py new-edition b_001 \
  --chapter-ids c_001 c_002 c_003

Enter fullscreen mode Exit fullscreen mode

Old versions stay forever.

You can roll back, compare, or inspect anytime.


3. Workflow Diffs

Compare workflow versions like Git commits:

python cli.py diff-books b_001 b_002

Enter fullscreen mode Exit fullscreen mode

You instantly see:

  • what steps were added
  • what steps were removed
  • which actions stayed the same

No more “I don’t know what changed.”


4. Human + Machine‑Friendly Exports

Export workflows as:

  • Markdown
  • JSON

Perfect for:

  • auditors checking compliance
  • compliance teams drafting reports
  • engineers debugging regressions
  • product managers documenting behavior

5. Built‑In Dashboard (Zero Overhead)

No React.

No build tools.

No dependencies.

Just:

open dashboard.html

Enter fullscreen mode Exit fullscreen mode

And browse:

  • shelves
  • books
  • chapters
  • diffs
  • searches

Lightweight, fast, and ready to run anywhere.


The Architecture

The whole system is intentionally simple:

FastAPI + SQLite + Vanilla JS

Enter fullscreen mode Exit fullscreen mode

That’s it.

No Kubernetes.

No vector DB.

No 500‑MB framework.

I wanted:

  • local‑first development
  • hackable internals
  • understandable code
  • zero vendor lock‑in

You can read the whole stack in an afternoon.


Example: Auditing an AI Support Agent

An AI support agent might:

  1. Fetch the customer ticket
  2. Search internal docs
  3. Generate a response
  4. Send an email

Normally:

  • impossible to trace what went wrong
  • no way to replay or compare runs

With AI Audit Shelf:

  • every step becomes a chapter
  • the entire workflow becomes a versioned book

Now you can:

  • replay past workflows
  • audit outputs line‑by‑line
  • compare versions (v1 vs v2)
  • debug regressions instantly

Integrations Included

I’ve shipped example integrations for:

  • OpenAI
  • LangChain
  • shell scripts
  • generic Python apps

You can plug AI Audit Shelf into existing workflows today, not in six months.


One Thing I Realized While Building This

AI tooling is repeating the early software era.

Right now, most AI systems are:

  • opaque
  • unversioned
  • non‑reproducible

Eventually:

  • observability
  • auditability
  • workflow versioning

…will become standard infrastructure—just like Git.

I strongly believe “Git for AI workflows” is a real category, and it’s coming fast.


Open Source

Check out the repo and try it yourself:

👉 https://github.com/ATHARVA262005/ai-audit-shelf

I’d love your feedback:

  • feature ideas
  • architecture suggestions
  • new integrations
  • brutal criticism

If you think AI workflows should be auditable, versioned, and reproducible,

star the repo and help turn this into a new standard.