Starter Example with Evolve and Codex CLI¶
Agentic IDEs like Codex CLI 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 Codex CLI to create a Python script to automate a simple task. Using Evolve, we will then instruct Codex CLI that it should use this script in the future for similar tasks.
Requirements¶
uvinstalled- Codex CLI installed.
- Docker installed.
Step 0: Run Codex in a docker container¶
The following commands download and run the official node image which is capable of installing Codex CLI.
Optional
This is for consistency purposes so that the demo works. You can skip this step, but the demo may not work as intended.
docker run --rm -it \
--security-opt seccomp=unconfined \
--security-opt apparmor=unconfined \
node:22-slim bash
apt-get update && apt-get install -y --no-install-recommends curl ca-certificates python3
npm i -g @openai/codex
Step 1: Install Evolve-Lite Plugin Repo¶
Install Evolve by following the installation instructions → or run:
curl -fsSL https://raw.githubusercontent.com/AgentToolkit/altk-evolve/main/platform-integrations/install.sh | bash -s -- install --platform codex --mode lite
Step 2: Running in Codex CLI¶
In a terminal, run:
Install the Evolve-Lite plugin Select theEvolve Lite plugin and install it.
