π Make AI Agents Transparent & Auditable
Capture, track, and audit every AI agent action
Features β’ Quick Start β’ Documentation β’ Roadmap
OpenClaw Transparency Layer is a lightweight, open-source solution for capturing and auditing AI agent sessions. Inspired by Entire Checkpoints, but designed specifically for the OpenClaw ecosystem.
- π Auditability: Know exactly what your AI agents did and why
- π Debugging: Quickly identify where agents went wrong
- π Compliance: Generate audit trails for enterprise requirements
- π Onboarding: Help new team members understand AI workflows
- π Reproducibility: Recreate agent sessions from any checkpoint
v0.1.0 - Single Agent (MVP)
- β Session Recording: Capture every AI agent action (prompts, tool calls, decisions)
- β Checkpoint System: Create save points at any time
- β Auto-Summarization: Automatically generate session summaries
- β Lightweight Storage: File-based, no database required
- β Easy Integration: Add transparency to any OpenClaw agent in 2 lines of code
v0.2.0 - Multi-Agent & HTML Visualization (NEW! π)
- β Multi-Agent Tracking: Track interactions between multiple agents
- β Interaction Types: Delegation, request, response, collaboration, handoff
- β Coordination Tracking: Monitor agent coordination and orchestration
- β Conflict Detection: Automatically detect resource contention and conflicts
- β HTML Visualization: Beautiful, interactive HTML reports with Mermaid.js charts
- β Responsive Design: Mobile-friendly reports with gradient colors
- β Timeline Visualization: Visual timeline of agent interactions
- β Statistics Dashboard: At-a-glance metrics with stat cards
- β 4+ Concurrent Agents: Support for complex multi-agent systems
- π Enterprise Compliance: HIPAA, SOX, GDPR audit reports
- π Real-time Dashboard: Live monitoring with WebSocket updates
- π Git Integration: Automatic commits on checkpoints
- π PDF Export: Generate PDF reports from sessions
- π Cloud Sync: Sync sessions across team members
- π AI-Powered Insights: Get recommendations from session analysis
- π Enterprise Features: SSO, audit logs, compliance reports
pip install openclaw-transparencyOr use the standalone module:
# Download the single-file MVP
curl -O https://raw.githubusercontent.com/your-username/openclaw-transparency/main/transparency.pyfrom openclaw import Agent
from openclaw_transparency import TransparencyLayer
# Initialize your OpenClaw agent
agent = Agent("my-agent")
# Add transparency in 2 lines
transparency = TransparencyLayer(agent_name="my-agent")
transparency.enable()
# Now all agent actions are automatically tracked
result = agent.execute("Create a REST API endpoint")
# Create checkpoints at key moments
transparency.create_checkpoint(
description="Completed API implementation",
files_modified=["api.py", "test_api.py"]
)
# End session and get summary
summary = transparency.end_session()β
Transparency Layer enabled for agent: my-agent
π Session ID: 2026-02-16-abc123
π Tracked action: prompt
π Tracked action: tool_call
π Tracked action: decision
β
Checkpoint created: a3b2c4d5e6f7
π Session Summary:
{
"session_id": "2026-02-16-abc123",
"duration_seconds": 45.2,
"total_actions": 12,
"total_checkpoints": 3,
"files_modified": ["api.py", "test_api.py", "README.md"],
"key_decisions": ["Use FastAPI framework", "Add JWT authentication"]
}
from multi_agent_transparency import MultiAgentTransparency
# Initialize multi-agent system
multi_agent = MultiAgentTransparency(project_name="Web Application")
# Register agents
multi_agent.register_agent(
agent_name="CodeGenerator",
agent_type="developer",
capabilities=["code_generation", "refactoring"]
)
multi_agent.register_agent(
agent_name="Reviewer",
agent_type="reviewer",
capabilities=["code_review", "quality_check"]
)
# Track agent interactions
multi_agent.track_interaction(
from_agent="CodeGenerator",
to_agent="Reviewer",
interaction_type="delegation",
content="Please review the authentication module"
)
# Generate HTML report
html_content = multi_agent.generate_html_report()
# End session
summary = multi_agent.end_session()HTML Report Features:
- π Interactive Graph: Mermaid.js visualization of agent workflows
- β±οΈ Timeline View: Visual timeline of all interactions
- π€ Agent Cards: Beautiful cards showing agent capabilities
- π Statistics: At-a-glance metrics (agents, interactions, conflicts)
- π¨ Responsive Design: Works on desktop and mobile
- π Modern UI: Gradient colors, hover effects, smooth transitions
Open the generated HTML file in any browser to see the interactive report!
Initialize transparency layer for an agent.
Parameters:
agent_name(str): Name of your AI agentstorage_path(str, optional): Where to store session data (default:./transparency-sessions)auto_save(bool, optional): Auto-save after each action (default:True)
Manually track an agent action.
Parameters:
action_type(str): Type of action (e.g., "prompt", "tool_call", "decision")input_data(any): Input to the actionoutput_data(any): Output from the actionmetadata(dict, optional): Additional context
Create a checkpoint (save point) in the session.
Parameters:
description(str): Human-readable descriptionfiles_modified(list, optional): List of files modifieddecisions(list, optional): List of key decisions
End the session and generate final summary.
Returns:
dict: Session summary with statistics and key insights
- Basic session recording
- Checkpoint system
- Auto-summarization
- File-based storage
- Multi-agent interaction tracking
- Simple visualization dashboard
- Git integration
- Better error handling
- Team collaboration features
- Export to PDF/JSON
- Performance optimizations
- Extended documentation
- Cloud sync
- AI-powered insights
- Enterprise features
- Plugin system
# Track your personal AI coding assistant
transparency = TransparencyLayer("my-coding-assistant")
# Review sessions later to improve prompts# Share session logs with team members
# Understand why certain decisions were made
# Onboard new developers faster# Generate compliance reports
# Audit AI usage across organization
# Meet regulatory requirements (SOC 2, HIPAA)We welcome contributions! This is an open-source project aimed at making AI agents more transparent and trustworthy.
Ways to contribute:
- π Report bugs
- π‘ Suggest features
- π Improve documentation
- π§ Submit pull requests
See CONTRIBUTING.md for details.
| Feature | OpenClaw Transparency | Entire Checkpoints | Git LFS |
|---|---|---|---|
| Open Source | β MIT | β MIT | β |
| Agent Agnostic | β | β Claude/Gemini only | β |
| Multi-Agent | π v0.2.0 | β | β |
| Git Integration | π v0.2.0 | β | β |
| Visualization | π v0.2.0 | β | β |
| Easy Setup | β 2 lines | ||
| File-Based | β | β Shadow branch | β |
Our Differentiation:
- Focus on OpenClaw ecosystem
- Agent-agnostic design
- Multi-agent tracking (coming soon)
- Easier setup (no Git hooks required for basic usage)
- β Full session recording
- β Checkpoint system
- β Auto-summarization
- β File-based storage
- β Community support
- β Everything in Open Source
- β Multi-agent tracking
- β Visualization dashboard
- β Export to PDF/JSON
- β Priority support
- β Everything in Pro
- β Cloud sync
- β Team collaboration
- β Compliance reports
- β SSO integration
- β Dedicated support
- Inspired by Entire Checkpoints by Thomas Dohmke
- Built for the OpenClaw ecosystem
- Thanks to the open-source community
MIT License - see LICENSE for details.
- GitHub Issues: Report bugs or request features
- Discord: Join our community
- Twitter: @OpenClawAI
β If this project helps you, please give it a star! β
Made with β€οΈ for the OpenClaw community