Featured answer
Give me an overview of caveman
caveman is a set of tools that runs on your machine to cut the tokens an AI coding agent sends to models and reads back, pairing a skill that shortens answers with a local proxy that shrinks tool output while keeping every original recoverable. The main language is Go, though the repository also includes JavaScript, Python and TypeScript code across 1610 files. Agent traffic passes through the proxy module, the largest module with 412 files, whose gateway code in proxy/internal/gateway, including route.go and proxy.go, is a hotspot. The engine started from engine/cmd/caveman-engine/main.go shrinks logs, JSON and code while keeping originals locally, and the browse directory lets an MCP client drive a local Chrome through browse/bin/caveman-browse.mjs. By file count, the layers are Application with 383 files, Docs & Tooling with 104, Service with 91, Middleware with 69, Data with 46, CLI with 53, Utility with 37, Types with 39 and Config with 33. To start reading, open the proxy gateway files, engine/cmd/caveman-engine/main.go, and packages/cli/src/index.ts, which is the command-line hotspot.
| Layer | Files |
|---|---|
| CLI | 53 |
| Service | 91 |
| Middleware | 69 |
| Types | 39 |
| Config | 33 |
| Utility | 37 |
| Data | 46 |
| Application | 383 |
| Docs & Tooling | 104 |
Basis: Inferred · knowledge graph· as of a192894