whatisgithub

What is vibe-observer?

aichovy/vibe-observer — explained in plain English

Analysis updated 2026-05-18

67RustAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A local macOS app that tracks Claude Code usage and shows dashboards of AI token cost and time spent, broken down by project, model, and session.

Mindmap

mindmap
  root((Vibe Observer))
    What it does
      Tracks Claude Code events
      Cost dashboards
      Session timelines
    Tech stack
      Rust
      Tauri
      SQLite
    Use cases
      Find expensive sessions
      Justify subscription cost
      Spot slow tool calls
    Audience
      Claude Code power users
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

See total AI cost broken down by project, model, session, and tool

USE CASE 2

Spot which Claude Code sessions or tools were most expensive

USE CASE 3

View a Gantt style timeline of slow steps within a session

USE CASE 4

Compare subscription cost against equivalent pay as you go API pricing

What is it built with?

RustTauriSQLiteNode.js

How does it compare?

aichovy/vibe-observerrust-kotlin/ashelltrapezohe/anamnesis
Stars676868
LanguageRustRustRust
Setup difficultymoderateeasyeasy
Complexity3/53/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires macOS 12+, Rust, and Node.js to build from source.

So what is it?

Vibe Observer is a local macOS application that tracks and analyzes how you use Claude Code, Anthropic's AI coding assistant. The problem it solves is that Claude Code can consume a significant amount of AI token budget across many sessions, and it is difficult to know which sessions were expensive, which tools caused the most usage, and where time was spent, until the bill arrives. The app works by registering itself as a hook listener inside Claude Code's settings file. Every time Claude Code fires an event (a message sent, a tool called, a session starting or ending), a small Rust program called observer-hook captures that event and writes it to a local SQLite database on your machine. Nothing leaves your computer. A separate Tauri desktop application, Tauri is a framework for building native desktop apps with a web-based UI built in Rust, reads from that database and displays dashboards: total cost attribution broken down by project, model, session, and tool, a token breakdown showing how much came from cache reads versus fresh generation, a timeline that shows each step of a session as a Gantt chart (a bar chart showing duration over time) so slow steps stand out, and a menu bar icon with at-a-glance stats. You would use it if you are a developer who relies heavily on Claude Code and wants to understand your usage patterns, find inefficient sessions, or justify the subscription cost by measuring the value extracted compared to the equivalent pay-as-you-go API price. It requires macOS 12 or later, Rust, and Node.js to build from source.

Copy-paste prompts

Prompt 1
Help me build Vibe Observer from source and register its hook in my Claude Code settings.
Prompt 2
Explain how the observer-hook Rust program captures Claude Code events into SQLite.
Prompt 3
Show me how to add a new cost breakdown chart to the Vibe Observer Tauri dashboard.
Prompt 4
Walk me through debugging why Vibe Observer isn't logging a Claude Code session.

Frequently asked questions

What is vibe-observer?

A local macOS app that tracks Claude Code usage and shows dashboards of AI token cost and time spent, broken down by project, model, and session.

What language is vibe-observer written in?

Mainly Rust. The stack also includes Rust, Tauri, SQLite.

How hard is vibe-observer to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is vibe-observer for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.