VCC  by lllyasviel

Compiler for agent conversation logs

Created 1 week ago

New!

267 stars

Top 95.9% on SourcePulse

GitHubView on GitHub
Project Summary

VCC (View-oriented Conversation Compiler) addresses the challenge of managing and analyzing large conversation logs generated by AI agents, particularly Claude Code. It provides users, researchers, and power users with efficient, agent-friendly views of these logs, overcoming limitations imposed by context compaction and enabling powerful search capabilities across extensive conversation histories. The primary benefit is enhanced context learning and agent trace analysis, potentially saving significant effort and resources previously spent on manual log interpretation or complex custom memory systems.

How It Works

VCC functions as a compiler that dynamically transforms raw conversation logs (specifically Claude Code's JSONL format) into various "views" on demand. Instead of storing precomputed summaries or embeddings like traditional memory systems, VCC performs a "projection" – computing views from the original data as needed and discarding them afterward. This approach leverages a compiler pipeline including lexing, parsing, intermediate representation (IR), lowering, and emitting stages. It intelligently processes the logs by stripping irrelevant records, decoding complex data structures, reassembling split messages, and cleaning up agent-specific markup. The generated views (UI, Full, Adaptive, Transposed) share a unified line-number coordinate system, allowing precise, context-aware navigation via block roles and pointers back to the original source details, offering a significant advantage over simple text searching tools.

Quick Start & Requirements

  • Install/Update: Integrate via Claude Code by instructing it: "Please help me install/update the skills from https://github.com/lllyasviel/VCC.git", then follow INSTALL.md. Restart Claude Code after changes.
  • Prerequisites: Claude Code environment.
  • Dependencies: Git (for cloning).
  • Upcoming Support: Codex and OpenClaw are planned.
  • Links: Repository: https://github.com/lllyasviel/VCC.git

Highlighted Details

  • Dynamic, on-the-fly view generation ("projection") from conversation logs.
  • Robust compilation pipeline (lex, parse, IR, lower, emit) for cleaning and structuring logs.
  • Unified line-number system across multiple views (UI, Full, Adaptive, Transposed) for consistent navigation.
  • Enhanced search and recall capabilities, directly addressing Claude Code's /compact limitations.

Maintenance & Community

The repository appears primarily driven by academic research, as indicated by the paper citation. No specific community channels (like Discord/Slack) or details on active maintenance beyond the core development team are provided in the README.

Licensing & Compatibility

The README does not explicitly state an open-source license. While the project is hosted on GitHub and includes a citation for a research paper, the absence of a standard license (e.g., MIT, Apache 2.0) makes its terms for commercial use or integration into closed-source projects unclear.

Limitations & Caveats

Currently, VCC exclusively supports Claude Code logs; integration with other platforms like Codex and OpenClaw is planned but not yet implemented. The lack of a clearly defined license poses a potential adoption blocker for commercial applications.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
0
Star History
267 stars in the last 11 days

Explore Similar Projects

Feedback? Help us improve.