| commit | 96b60dd7e71c7db55dfe4cff86265eab02e54e9f | [log] [tgz] |
|---|---|---|
| author | Sean McCullough <banksean@gmail.com> | Wed Apr 30 09:49:10 2025 -0700 |
| committer | Sean McCullough <banksean@gmail.com> | Wed Apr 30 15:20:35 2025 -0700 |
| tree | 3ee9ddbbe4b260b7000f194e369b527ce658cd66 | |
| parent | bce3a13a7c16ffdb602b66550e6b3479d34fb9b0 [diff] |
Add StateMachine tracking to Agent control flow This commit integrates the existing StateMachine type with the Agent to provide state tracking and validation throughout the conversation control flow. This allows for better monitoring and debugging of the Agent's behavior during execution. This commit adds tests to verify the correct behavior of the state machine integration with the Agent type: 1. A test for basic state transitions 2. A test for a complete processTurn flow with a simple response 3. A test for a processTurn flow with tool use Co-Authored-By: sketch <hello@sketch.dev>
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!)