Local-first · Single Go binary · Zero CGO
Observability and security for AI coding agents
Chakshu (चक्षु) reads local transcripts from Codex, Claude Code, Gemini CLI / Antigravity, and Cursor IDE—recording tool calls, shell commands, token cost, memory growth, approvals, and security findings in ~/.chakshu/chakshu.db.
Supported Agents
Codex · Claude · Gemini · Cursor
Storage
Local SQLite + FTS5
Architecture
Pure Go + Embedded UI
Network Model
Zero proxy · Disk-only tailing
Choose your path¶
Getting Started
Verify Go prerequisites, compile the single binary with zero CGO, and launch the local watcher and web dashboard on port 7777.
Core Observability
Search tool calls across agents, track human approvals, inspect context memory saturation, and audit security findings.
Reference & Project
Browse every CLI flag, explore the system architecture, review release history, and read contributor guidelines.
How Chakshu works¶
flowchart LR
A["Agent Logs<br/>Codex · Claude Code · Gemini · Cursor"] -->|"1s poll + byte-offset"| B["chakshu start / daemon<br/>Policy · Audit · Guardrails"]
B --> C[("SQLite<br/>~/.chakshu/chakshu.db")]
C --> D["Terminal CLI<br/>logs · search · stats · audit"]
C --> E["Embedded Web UI<br/>http://127.0.0.1:7777"]
Embedded dashboard showcase¶
Design principles¶
- Not a proxy. Chakshu does not intercept or proxy agent traffic. It reads transcripts and local process and socket state from disk.
- Agent-agnostic. Dedicated adapters normalize transcripts for Codex, Claude Code, Gemini CLI / Antigravity, and Cursor IDE.
- Local only. Telemetry stays in
~/.chakshu/chakshu.db. Nothing is uploaded to external servers. - One binary. The backend is pure Go (
modernc.org/sqlite, zero CGO) with the Next.js dashboard embedded directly in the binary.
Jump to a task¶
| Goal | Page |
|---|---|
| Check that your machine can build Chakshu | Prerequisites |
| Build and run it | Installation and Quick start |
| Change the port, database path, or colors | Configuration |
| Fix a stale daemon or empty logs | Troubleshooting and FAQ |
| See recent changes and releases | Changelog |
| Contribute code, docs, or bug reports | Contributors |
| Publish or customize this site | Publish this site |