Skip to content

Configuration

Chakshu has no config file to create before the first run. Defaults cover the database path, dashboard address, and agent log locations. Override behavior with flags and environment variables.

Files on disk

Path Purpose
~/.chakshu/chakshu.db SQLite database (tool calls, search index, approvals, security events, memory, snapshots metadata, offsets)
~/.chakshu/chakshu.pid PID file for the running start or daemon process
~/.chakshu/snapshots Content-addressed pre-execution file snapshots

Runtime data stays under ~/.chakshu/. Chakshu does not send it anywhere.

Environment variables

Variable Effect Default
CHAKSHU_DB SQLite database file path ~/.chakshu/chakshu.db
CHAKSHU_SNAPSHOT_DIR Snapshot directory ~/.chakshu/snapshots
NO_COLOR Disable ANSI colors when set to any non-empty value Unset (colors on)
COLUMNS Terminal width used when truncating rows Detected TTY width
TERM dumb disables the styled banner Detected terminal
CHAKSHU_DB=/tmp/chakshu-demo.db ./chakshu start
NO_COLOR=1 ./chakshu logs 20

The same variables are listed in the CLI reference.

Optional judge API keys

Normal installs do not read API keys. Skill Intelligence scores sessions offline. If you later enable LLM-as-a-Judge in the dashboard (it is off by default), the judge code looks for a local claude, codex, gemini, or agy binary, or one of these variables:

Variable Provider hint
GEMINI_API_KEY Gemini
GOOGLE_API_KEY Gemini
ANTHROPIC_API_KEY Anthropic
OPENAI_API_KEY OpenAI-compatible
OPENROUTER_API_KEY OpenAI-compatible

How to turn the judge on is documented in the Skill Intelligence guide. Leave these unset if you are not using that feature.

Dashboard address

chakshu start and chakshu ui bind to 127.0.0.1:7777.

Flag Commands Default
--host start, ui 127.0.0.1
--port start, ui 7777
--no-network start Network polling on
--network daemon Network polling off
./chakshu start --host 127.0.0.1 --port 9090
./chakshu start --no-network
./chakshu ui --port 9090
./chakshu daemon --network

Reset recorded calls

Stop the daemon first. reset clears recorded tool calls and file offsets:

./chakshu stop
./chakshu reset --yes
./chakshu reset --yes --from-now

--from-now moves offsets to the end of current transcript files so only later events are recorded.

Agent log paths

Adapters use fixed directories. There is no per-agent config file. The paths are in Supported agents. To load a transcript from somewhere else, use chakshu import.