Starter Example with Evolve and Claude Code¶
Agentic IDEs like Claude Code often repeat the same mistakes over and over again because they start from fresh every time. Using Evolve, we can alleviate this problem. In this tutorial, we will use Evolve and Claude Code to create a Python script to automate a simple task. Using Evolve, we will then instruct Claude Code that it should use this script in the future for similar tasks.
Video Tutorial¶
Requirements¶
uvinstalled- Claude Code installed.
- Docker installed.
Step 0: Run Claude in a docker container¶
The following command downloads and runs the official devcontainer which is capable of running Claude Code.
Optional
This is for consistency purposes so that the demo works. You can skip this step, but the demo may not work as intended.
# Copy only the .devcontainer directory from the official Claude Code repository
git clone --depth 1 --filter=blob:none --sparse https://github.com/anthropics/claude-code.git
cd claude-code
git sparse-checkout set .devcontainer
# Build and run
docker build -t my-claude .devcontainer/
docker run --rm -it my-claude bash
Step 1: Install Evolve¶
Install Evolve by following the installation instructions → or run:
Step 2: Running in Claude Code¶
In a terminal, run:
