waylog-0.2.0 is not a library.
WayLog CLI
Seamlessly sync, preserve, and version-control your AI coding conversations locally.
WayLog CLI is a lightweight tool written in Rust that automatically saves your AI coding sessions (Claude Code, Gemini CLI, OpenAI Codex CLI) into clean, searchable local Markdown files. Stop losing your context to session timeouts—WayLog CLI helps you own your AI history locally.
✨ Features
- 🔄 Auto-Sync: Real-time synchronization of chat history to
.waylog/history/as you type. - 📦 Full History Recovery: The
pullcommand scans your entire machine to recover past sessions into the current project. - 📝 Markdown Native: All history is saved as high-quality Markdown files with frontmatter metadata.
🚀 Installation
Using Homebrew
Using Cargo
💡 Usage
1. Real-time Logging (run)
Use waylog run instead of calling your AI tool directly. WayLog will launch the agent and record the conversation in real-time.
# Run Claude Code with auto-sync
# Run Gemini CLI
# Run Codex CLI

2. Full Sync / Recover History (pull)
Scans your local AI provider storage and "pulls" all relevant sessions into your project's .waylog folder.
# Pull all history for the current project

📂 Supported Providers
| Provider | Status | Description |
|---|---|---|
| Claude Code | 🚧 Beta | Supports claude CLI tool from Anthropic. |
| Gemini CLI | 🚧 Beta | Supports Google's Gemini CLI tools. |
| Codex | 🚧 Beta | Supports OpenAI Codex CLI. |
Dev build
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📄 License
Distributed under the Apache License 2.0. See LICENSE for more information.