| commit | 5fdd024fa3d3df5fe5a2c216672d912b6aade60a | [log] [tgz] |
|---|---|---|
| author | Philip Zeyliger <philip.zeyliger@gmail.com> | Fri Apr 25 19:31:58 2025 -0700 |
| committer | Philip Zeyliger <philip.zeyliger@gmail.com> | Fri Apr 25 19:38:09 2025 -0700 |
| tree | 08e20aa0006bb422603693557cbfa7b2d92ae55a | |
| parent | b74c4f6e1c93afca3d37a6b68c717d41a51fa612 [diff] |
Sketch "inception" support. I wanted to tell Sketch-in-container to run go run ./cmd/sketch -unsafe -skaband-addr= -one-shot 'what is todays date'" and have it work. And now it does. The underlying complexity is whether "inDocker" is enough to know "isInsideSketch", so I separated that as far as necessary. The skaband stuff is still complicated. It might be preferable to use env variables for all outside->inside communication rather than use flags sometimes and variables sometimes (like, for keys), but here we are.
Sketch is an agentic coding tool focused on the Go programming language. Sketch runs in your terminal, has a web UI, understands your code, and helps you get work done. To keep your environment pristine, sketch starts a docker container and outputs its work onto a branch in your host git repository.
To get started:
go install sketch.dev/cmd/sketch@latest sketch
Currently sketch runs on macOS and linux. It uses docker/colima for containers.
macOS: brew install colima linux: apt install docker.io (or equivalent for your distro)
The sketch.dev service is used to provide access to an LLM service and give you a way to access the web UI from anywhere.
We have a discord server to discuss sketch.
Join if you want! https://discord.gg/YNUSuVm4
See CONTRIBUTING.md
Sketch is open source. It is right here in this repository! Have a look around and mod away.
If you want to run sketch entirely without the sketch.dev service, you can set the flag -skaband-addr="" and then provide an ANTHROPIC_API_KEY environment variable. (More LLM services coming soon!)