Drinky
A terminal coding agent in one Zig program, with no dependencies.
- The fixed core of the system prompt has seven lines.
- Drinky sends no telemetry and keeps no history by default.
- Fork it, and let your agent change what you do not like.
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 versionchecks the output. - Check:
zig build testpasses.
Get a review from Opus 5.5 before I commit.
Work: agent waits for the model · Time: 0s
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