Time for Boot.dev to cash in on the AI hype.
If you've ever used OpenCode, Cursor, or Claude Code as an "agentic" AI tool, you'll understand what we're building in this project.
We're building a toy version of Claude Code using Google's Gemini API! As long as you have an LLM at your disposal, it's actually surprisingly simple to build a (somewhat) effective custom agent.
Until recently, Google offered generous free-tier limits on the Gemini API β including for gemini-2.5-flash, the model we recommend for this project. However, in December 2025 Google drastically lowered the free-tier rate limits, making it difficult to complete this project without hitting the limits often.
It seems Gemini API pricing will continue to change frequently and without notice. We recommend, if possible, setting up a paid account with Google and using the gemini-2.5-flash model. You should accrue no more than ~$1β2 in charges during this course. Otherwise, you can still use gemini-2.5-flash on the free tier, but you'll be subject to very few requests per day.
We'll keep updating this course as the situation with free tiers and model quality evolves!
The program we're building is a CLI tool that:
For example, I have a buggy calculator app, so I used my agent to fix the code:
> uv run main.py "fix my calculator app, it's not starting correctly"
# Calling function: get_files_info
# Calling function: get_file_content
# Calling function: write_file
# Calling function: run_python_file
# Calling function: write_file
# Calling function: run_python_file
# Final response:
# Great! The calculator app now seems to be working correctly. The output shows the expression and the result in a formatted way.
zsh or bash)The learning goals of this project are as follows:
The goal is not to build an LLM from scratch, but instead to use a pre-trained LLM to build an agent from scratch.
To get started, make sure you have Python and the Boot.dev CLI installed and working.
Run and submit the CLI tests.