Drinky

A terminal coding agent in one Zig program, with no dependencies.

Drinky · Enter: Send · Shift+Enter: New line · Esc: Cancel · Ctrl+C: Clear · Ctrl+D: Quit · /help: Commands

Add a --version flag that prints the version from build.zig.zon, and test it.

Work: complete · Time: 1m 48s · Tool calls: 15

I added the --version flag to src/main.zig. It prints the version from build.zig.zon.

  • Test: --version prints the package version checks the output.
  • Check: zig build test passes.

Get a review from Opus 5.5 before I commit.

Work: agent waits for the model · Time: 0s

Context: 7% (34k/500k) · Cost: ~$0.42 · 5h: 8% (4h) · Cache: 96% Model: gpt-6.2-sol · Effort: xhigh
Example session

Drinky requires Zig 0.17.1 and macOS or Linux. It has no prebuilt binary. It asks for no approval before a tool call.

git clone https://github.com/clebert/drinky
cd drinky
zig build -Doptimize=safe
./zig-out/bin/drinky

github.com/clebert/drinky