Skip to main content
A single toolkit with 4 core tools (read, edit, write, shell) that lets an agent perform any coding task. Inspired by the Pi coding agent’s philosophy: a small number of composable tools is more powerful than many specialized ones.
basic_usage.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Run the example

Save the code above as basic_usage.py, then run:
Full source: cookbook/91_tools/coding_tools/01_basic_usage.py