Prerequisites¶
You can build Chakshu from a git clone. The Go module path is chakshu (see go.mod), so install it by cloning the repository and running go build. A C compiler is not required.
To build and run¶
| Requirement | Version | Why |
|---|---|---|
| Go | 1.27 | go.mod declares go 1.27. The contributing guide also notes 1.22 or newer, with 1.27 as the module version used by this repository. |
| Git | 2.30 or newer | Clone the repository. This is the version listed for contributors. |
| A supported operating system | macOS or Linux | CI runs go test and go build on Ubuntu and macOS. Release builds target linux/amd64, linux/arm64, darwin/amd64, and darwin/arm64. |
The SQLite driver is modernc.org/sqlite. Builds set CGO_ENABLED=0, including in CI and the release workflow. You do not install a system SQLite library.
Disk use is the SQLite database, PID file, and optional snapshots under ~/.chakshu/.
To work on the web dashboard¶
The dashboard is already compiled into internal/ui/dist/ and embedded in the Go binary. Install Node only when you change web/.
| Requirement | Version | Why |
|---|---|---|
| Node.js | 20.x or newer | CI uses Node.js 20. The contributing guide asks for 20.x or newer. |
| npm | Ships with Node.js 20 | web/package-lock.json is the lockfile. CI runs npm ci. |
To work on this documentation site¶
| Requirement | Version | Why |
|---|---|---|
| Python | 3.9 or newer | Builds the MkDocs Material site. CI uses Python 3.12. |
Agents Chakshu can observe¶
Chakshu does not install these agents. It reads logs they already write:
| Agent | Log location |
|---|---|
| Codex | ~/.codex/sessions/**/rollout-*.jsonl |
| Claude Code | ~/.claude/projects/*/*.jsonl |
| Gemini CLI / Antigravity | ~/.gemini/antigravity-cli/brain/**/*.jsonl |
| Cursor IDE | ~/.cursor/{projects,chats,sessions}/**/*.jsonl |
Details: Supported agents.