Discover and explore top open-source AI tools and projects—updated daily.
tobilgUnified local observability for AI coding assistants
Top 97.8% on SourcePulse
Unified local observability for AI coding assistants. AI Observer addresses the challenge of understanding the behavior and costs of local AI development tools by providing a self-hosted, single-binary, OpenTelemetry-compatible backend. It offers developers real-time insights into token usage, API latency, error rates, and session activity across multiple AI assistants, enhancing debugging capabilities while ensuring data privacy by keeping telemetry local.
How It Works
AI Observer functions as an observability backend that ingests telemetry data via the OpenTelemetry Protocol (OTLP) or through a file-watching mechanism for specific tools. It processes this data, derives metrics like token usage and costs using embedded pricing information, and stores it locally in a DuckDB database for fast querying. A React-based frontend provides a real-time, WebSocket-updated dashboard for visualizing this information, with support for custom dashboard layouts.
Quick Start & Requirements
docker run -d -p 8080:8080 -p 4318:4318 -v ai-observer-data:/app/data --name ai-observer tobilg/ai-observer:latest. Other methods include Homebrew (macOS), binary download, or building from source.tobilg/ai-observer.Highlighted Details
Maintenance & Community
The project utilizes GitHub Actions for CI/CD, including automated testing, building binaries, and releasing Docker images and Homebrew formulas. No specific community channels (like Discord or Slack) or notable contributors are listed in the README.
Licensing & Compatibility
Licensed under the MIT License, permitting commercial use and integration into closed-source projects.
Limitations & Caveats
GitHub Copilot and OpenCode telemetry are exclusively ingested via OTLP; file watcher or import modes are not supported for these tools. A notable discrepancy exists in token counting between OTLP ingestion (reflecting actual transmission) and local file parsing (matching API billing data), with OTLP reporting significantly higher input and output token counts. codex.sse_event logs are filtered out by default. Gemini CLI requires version v0.34.0 or higher.
2 months ago
Inactive