We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Build an AI Agent in Python

Build an LLM-powered command-line program capable of reading, updating, and running Python code using the Gemini API. Learn how LLMs and agentic coding tools work.

4.6
68

What will you learn?

Write a toy agentic code editor in Python, similar to Claude Code or Cursor's agent mode. Understand how agents work from scratch by using the free Google Gemini API to create an LLM-powered code agent. You'll use function calling and feedback loops to build an agent that can find and fix bugs in a real project!

Chapter List

1
LLMs
Learn how LLMs work and send prompts to the Gemini API using the Python client library
2
Functions
Write the functions your AI agent will need to modify files and run Python code
3
Function Calling
Give your AI agent the ability to call functions based on its system prompt and context window
4
Agents
Give your tool a proper feedback loop to make it truly "agentic" and fix a real bug

Join 641,033 students learning modern backend skills

Connect directly with them and others in our flourishing online community

15.2M

lessons completed

90K

courses completed

3.8B

xp earned

I earned my CS degree several years ago, but was unable to land a coding job. I've completed most of the learning path and I'm ecstatic to report I've started my first full-time software engineering role!

David Kennard profile image

David Kennard

Boston Technologies

Tennessee, USA

The knowledgable developers in the Boot.dev Discord helped me land my first job in just a month!

Megan Astraus profile image

Megan Astraus

Strongmind

Arizona, USA

As a Head of Data Science at a consulting company, I'm always looking to improve my skills. After completing almost all Boot.dev has to offer, I can say it's the ideal choice for backend training.

Isaac Flath profile image

Isaac Flath

Centriam

Washington D.C. USA

I've been working as a postdoc, and ever since getting my feet wet with code I have been interested in transitioning into tech. I recently completed the back-end path on Boot.dev and just landed my first professional development job!

Theo profile image

Theo

Freie Universität Berlin

Connecticut, USA

As a senior dev, the Boot.dev courses have helped me land my first Go job at Ardan Labs!

Daniel Gerep profile image

Daniel Gerep

Ardan Labs

Cássia Brazil

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.


We use AI more than most tech companies - not just to build Boots, but also to assist us in our coding work... and we're still hiring developers!

The demand for technical talent isn't going away. Companies need developers that are AI savvy and can modernize their codebases. The way developers work is changing rapidly, but the demand for developers who can build great software remains high.

We teach software development skills for the modern AI assisted world.


It's completely up to you. The time it will take you to be "job ready" will depend on how much you already know, how often you study, and how long you study for. That said, the backend career path takes many people about 12 months.


Absolutely! If you built it, use it. You'll build several personal projects while completing our curriculum, and our final course about finding jobs will show you how to construct a job-ready portfolio.


We're not a $10,000 bootcamp.

We're not a $50,000 university degree.

We are a self-paced, gamified online learning platform for back-end web development. You can learn with us for the price of a good gym membership.


You can read all about our methodology here. In a nutshell, we're laser focused on teaching backend-development, which is somewhat of a rarity in online learning. We're also focused on solving what we believe is the hardest problem with online learning: boredom.

If you prefer coding rather than watching, and your struggle with online learning is staying motivated and engaged, we think you'll like learning with us.