New open-source tool provides insights into AI coding assistant usage patterns, token consumption, and session data.
The GitHub repository obsessiondb/rudel introduces Rudel, a CLI tool designed to bring analytics to Claude Code sessions. The project aims to help developers understand their interactions with AI coding assistants through detailed dashboards showing token usage, session duration, activity patterns, and model usage.
How Rudel Works
Rudel operates through a straightforward installation process. Users first create an account at app.rudel.ai, install the CLI via npm, and authenticate it. Once enabled with rudel enable, the tool registers a Claude Code hook that automatically uploads session transcripts when a coding session ends.
The backend architecture stores transcripts in ClickHouse, a column-oriented database management system optimized for analytical workloads. This choice suggests Rudel is designed to handle potentially large volumes of session data efficiently.
Data Collection Capabilities
Rudel captures comprehensive session data including:
- Session ID and timestamps
- User and organization identification
- Project paths and package names
- Complete Git context (repository, branch, SHA, remote)
- Full session transcripts with prompts and responses
- Sub-agent usage patterns
This granular data collection enables developers to analyze their coding behaviors, identify productivity patterns, and understand how they're utilizing Claude Code's various features.
Privacy Considerations
The project includes a notable security disclaimer acknowledging that uploaded transcripts may contain sensitive material including source code, prompts, tool output, file contents, command output, URLs, and secrets. The developers emphasize that users should only enable Rudel on projects and environments where they're comfortable uploading such data.
For the hosted version at rudel.ai, the team states they do not have access to personal data contained in uploaded transcripts. The project also includes a Privacy Policy for users to review before enabling uploads.
Self-Hosting Options
Rudel is open source under the MIT license, allowing organizations to self-host their own instances. The repository includes documentation for local setup and development commands, as well as guidelines for self-hosting found in docs/self-hosting.md.

Market Positioning
Rudel enters a growing ecosystem of tools designed to analyze and optimize AI-assisted development workflows. By focusing specifically on Claude Code sessions, the product carves out a niche in the developer analytics space, potentially differentiating itself from more general-purpose coding analytics tools.
The tool addresses a genuine need for developers and teams to understand their AI coding assistant usage patterns, which could lead to more efficient workflows and better optimization of token consumption as AI models become increasingly expensive to use at scale.
For teams using Claude Code, Rudel offers a way to quantify productivity gains, identify bottlenecks in development workflows, and make data-informed decisions about AI tool adoption and usage patterns.

Comments
Please log in or register to join the discussion