Python AI Agents
Paperback
Currently unavailable to order
Please enter your email and a message will be sent to you when this product becomes available on our website.
Publisher: Kameron Hussain
Pages: 414
Weight: 1.05
Height: 0.92 Width: 5.50 Depth: 8.50
Language: English
AI assistants that answer questions are everywhere. AI agents that can read a real codebase, write a patch, run the test suite, and open a pull request on their own are a different, much harder problem - and this book teaches you to build one, in Python, from the ground up.This is a hands-on Python programming book, not a prompting guide. It assumes you're comfortable writing Python and have probably used an LLM API or chat-based coding assistant before, but it does not assume any prior experience with agent frameworks. Every technique is introduced from first principles, with real, runnable code in every chapter - no pseudo-code, no placeholders.You will write a tool-use loop with no framework at all, then rebuild the same agent as a LangGraph-style graph, and again on top of a vendor agent SDK (OpenAI Agents SDK, Anthropic Agent SDK, Google ADK), so you understand every layer instead of trusting a black box. You will explore the Model Context Protocol (MCP) for building portable, reusable tool servers.From there, the book turns specifically toward what a coding agent needs beyond generic agent architecture: reading and indexing a real codebase safely, writing diffs instead of blind file rewrites, testing agent behavior deterministically with fake models and pytest, running the real test suite as ground truth rather than trusting a model's self-report, and automating git branches, commits, and GitHub pull requests.The second half of the book covers what it takes to run an agent like this somewhere real: sandboxing so code execution can't do damage, permission and human-approval gates so autonomy stays bounded, multi-agent coordination for tasks too large for one agent, full observability with tracing and replay, deployment into CI/CD, and cost and latency strategy so a production agent doesn't quietly become an unmanageable bill. The book closes with a complete capstone agent that takes a GitHub issue and returns a reviewed, tested pull request, built entirely from the pieces introduced in earlier chapters.Every chapter leaves you with working code you can adapt to your own repositories. Whether you're a backend engineer curious how coding-agent products work under the hood, a team evaluating whether to build an internal coding agent, or an engineer who already ships agents and wants to firm up testing, sandboxing, and deployment practices, this book gives you the architecture, the safeguards, and the working Python to build it yourself.No prior agent-framework experience assumed - only working Python.
Also from
Hussain, Kameron
AR & VR Development Mastery: Creating Immersive Experiences from Beginner to Expert
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering Siemens S7: A Comprehensive Guide to PLC Programming
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Godot: A Comprehensive Guide to Game Development
Hussain, Kameron
Hussain, Frahaan
Paperback
Rust Programming Mastery: From Beginner to Expert in Systems Programming
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Game Development with PyGame: From Basics to Advanced Techniques
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering OpenGL: From Basics to Advanced Rendering Techniques
Hussain, Kameron
Hussain, Frahaan
Paperback
OpenGL Deep Dive: Expert Techniques and Performance Optimization
Hussain, Frahaan
Hussain, Kameron
Paperback
OpenGL Fixed Pipeline to Modern Pipeline: Evolution in Graphics Programming
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering ChatGPT: A Comprehensive Guide to Harnessing AI-Powered Conversations
Hussain, Kameron
Hussain, Frahaan
Paperback
Unlocking the Power of Vulkan: A Journey into AI and Machine Learning
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering MongoDB: A Comprehensive Guide to NoSQL Database Excellence
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering PostgreSQL: A Comprehensive Guide for Developers
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering SDL for Game Creators: Crafting Unique Experiences
Hussain, Kameron
Hussain, Frahaan
Paperback
Swift Essentials: A Comprehensive Guide to iOS App Development
Hussain, Kameron
Hussain, Frahaan
Paperback
Harnessing the Power of Firebase and Google Cloud Platform: A Comprehensive Guide for Developers
Hussain, Kameron
Hussain, Frahaan
Paperback
First Steps in SDL Game Development: An Introductory Guide
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Visual Studio Code: Navigating the Future of Development
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering SFML: Building Interactive Games and Applications
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering VB.NET: A Comprehensive Guide to Visual Basic .NET Programming
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering UI/UX Design: Theoretical Foundations and Practical Applications
Hussain, Kameron
Hussain, Frahaan
Paperback
JavaScript Unleashed: Harnessing the Power of Web Scripting
Hussain, Frahaan
Hussain, Kameron
Paperback
The Art and Science of Game Development: Theoretical Foundations and Practical Insights
Hussain, Kameron
Hussain, Frahaan
Paperback
TypeScript in Action: Building Modern Web Applications with TypeScript
Hussain, Kameron
Hussain, Frahaan
Paperback
Blockchain Mastery: Building Decentralized Applications from Beginner to Expert
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Azure AD B2C: A Developer's Guide to Implementation, Integration, and Customization
Hussain, Frahaan
Hussain, Kameron
Paperback
Virtual Networks Unlocked: Your Guide to Azure Connectivity
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering The Serverless Revolution: Navigating DevOps in the Cloud-Native Era
Hussain, Kameron
Hussain, Frahaan
Paperback
Cocos2d-x for Beginners: Building Simple Games from Scratch
Hussain, Frahaan
Hussain, Kameron
Paperback
Navigating Azure: A Comprehensive Guide to Microsoft's Cloud Platform
Hussain, Frahaan
Hussain, Kameron
Paperback
Decoding Oracle Database: A Comprehensive Guide to Mastery
Hussain, Kameron
Hussain, Frahaan
Paperback
From JavaScript to TypeScript: Navigating the Modern Web Transition
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Pygame: From Basics to Advanced Game Development
Hussain, Frahaan
Hussain, Kameron
Paperback
Kotlin Unleashed: Harnessing the Power of Modern Android Development
Hussain, Kameron
Hussain, Frahaan
Paperback
Crafting Games with Python & Pygame: Game Development Unleashed
Hussain, Frahaan
Hussain, Kameron
Paperback
Lua Unleashed: Revolutionizing Game Design and Development
Hussain, Kameron
Hussain, Frahaan
Paperback
Advanced SFML Techniques: Pushing the Boundaries of Multimedia
Hussain, Kameron
Hussain, Frahaan
Paperback
Master Web Design with HTML, CSS, JavaScript, and jQuery: Create Stunning Interactive Websites
Hussain, Kameron
Hussain, Frahaan
Paperback
WebGL Wizardry: A Beginner's Guide to Interactive 3D Graphics
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Visual Studio Code: Navigating the Future of Development
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Firebase: The Complete Guide to Building and Scaling Apps
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering React Bootstrap: Building Responsive UIs with Ease
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering C: A Comprehensive Guide to Proficiency in The C Programming Language
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering Go: Navigating the World of Concurrent Programming
Hussain, Frahaan
Hussain, Kameron
Paperback
Advanced SDL Game Engineering: Expert Techniques for Professional Developers
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering Python: A Comprehensive Crash Course for Beginners
Hussain, Kameron
Hussain, Frahaan
Paperback
Rust Programming Mastery: From Beginner to Expert in Systems Programming
Hussain, Kameron
Hussain, Frahaan
Paperback
Virtual Networks Unlocked: Your Guide to Azure Connectivity
Hussain, Frahaan
Hussain, Kameron
Paperback
Functional Programming Mastery: From Beginner to Expert in Modern Paradigms
Hussain, Frahaan
Hussain, Kameron
Paperback
Unlock the power of serverless computing with Serverless Azure
Hussain, Frahaan
Hussain, Kameron
Paperback
Blockchain Mastery: Building Decentralized Applications from Beginner to Expert
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering UI/UX Design: Theoretical Foundations and Practical Applications
Hussain, Frahaan
Hussain, Kameron
Paperback
Creating Games with Python, PyGame, and Raspberry Pi: A Hands-On Guide to Interactive Game Development
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering Hybrid Cloud with Azure: Seamless Integration of On-Premises and Cloud Workloads
Hussain, Kameron
Hussain, Frahaan
Paperback
Illuminating Realities: The Theory of Real-Time Ray Tracing
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering JavaScript for Game Development: Crafting Unique Experiences
Hussain, Frahaan
Hussain, Kameron
Paperback
Inside the Code: Unraveling How Languages Like C, C++, Java, JavaScript, and Python Work
Hussain, Kameron
Hussain, Frahaan
Paperback
Advanced CryEngine Techniques: Expert Strategies for Cutting-Edge Games
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Godot: A Comprehensive Guide to Game Development
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering PHP 7: A Comprehensive Guide to Modern Web Development
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering MATLAB: A Comprehensive Journey Through Coding and Analysis
Hussain, Kameron
Hussain, Frahaan
Paperback
DirectX Demystified: A Comprehensive Guide to Game Development Essentials
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering JavaScript for Game Development: Crafting Unique Experiences
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Flutter and Dart: Elegant Code for Cross-Platform Success
Hussain, Frahaan
Hussain, Kameron
Paperback
Become a Rails Web Development Pro: The Ultimate Ruby on Rails Guide
Hussain, Kameron
Hussain, Frahaan
Paperback
Game Development Unleashed: Harnessing ChatGPT's Power for Game Creation
Hussain, Frahaan
Hussain, Kameron
Paperback
HTML Demystified: Crafting Web Content with Hypertext Markup Language
Hussain, Kameron
Hussain, Frahaan
Paperback
Exploring the Python Library Ecosystem: A Comprehensive Guide
Hussain, Kameron
Hussain, Frahaan
Paperback
Cocos2d-x Intermediate Level: Elevating Your Game Development Skills
Hussain, Frahaan
Hussain, Kameron
Paperback
Advanced SFML Techniques: Pushing the Boundaries of Multimedia Programming
Hussain, Kameron
Hussain, Frahaan
Paperback
Kotlin Unleashed: Harnessing the Power of Modern Android Development Category
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastering Java: A Comprehensive Guide to Programming Excellence Category
Hussain, Kameron
Hussain, Frahaan
Paperback
Python for Machine Learning: From Fundamentals to Real-World Applications
Hussain, Frahaan
Hussain, Kameron
Paperback
Monetisation in Mobile Games: Theory and Implementation Development
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Firebase: The Complete Guide to Building and Scaling Apps
Hussain, Frahaan
Hussain, Kameron
Paperback
Mastery in Azure DevOps: Navigating the Future of Software Development
Hussain, Kameron
Hussain, Frahaan
Paperback
NoSQL Essentials: Navigating the World of Non-Relational Databases
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering VB.NET: A Comprehensive Guide to Visual Basic .NET Programming
Hussain, Kameron
Hussain, Frahaan
Paperback
HTML Demystified: Crafting Web Content with Hypertext Markup Language
Hussain, Frahaan
Hussain, Kameron
Paperback
Firebase for Absolute Beginners: From Zero Experience to Your First App
Hussain, Kameron
Hussain, Frahaan
Paperback
Starting with LibGDX: Your First Steps in Java Game Development
Hussain, Kameron
Hussain, Frahaan
Paperback
Monetisation in Mobile Games: Theory and Implementation Development
Hussain, Frahaan
Hussain, Kameron
Paperback
ioT Mastery: A Comprehensive Guide to Internet of Things Development
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Artificial Intelligence: A Comprehensive Guide from Beginner to Expert
Hussain, Frahaan
Hussain, Kameron
Paperback
Cloud Computing Mastery: Navigating the Digital Sky from Beginner to Expert
Hussain, Kameron
Hussain, Frahaan
Paperback
Mastering Pygame: The Complete Guide to Building 2D Games with Python
Hussain, Kameron
Hussain, Frahaan
Paperback
Claude AI Mastery: From Your First Prompt to Advanced Workflows and AI Agents
Hussain, Kameron
Hussain, Frahaan
Paperback
Pygame Programming: A Step-by-Step Guide to Game Development in Python
Hussain, Kameron
Hussain, Frahaan
Paperback
Python AI Agents: Building Autonomous Systems That Write, Test, and Ship Code
Hussain, Kameron
Hussain, Frahaan
Paperback
Python Game Development with Pygame: From Beginner to Advanced
Hussain, Frahaan
Hussain, Kameron
Paperback
Learn Pygame by Building Games: A Hands-On Python Game Dev Guide
Hussain, Frahaan
Hussain, Kameron
Paperback
Also in
Programming
Interactive Theorem Proving and Program Development: Coq'art: The Calculus of Inductive Constructions
Castéran, Pierre
Bertot, Yves
Hardcover
The Legend of Zelda(tm) Tears of the Kingdom - The Complete Official Guide: Collector's Edition
Piggyback
Hardcover
Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming
Matthes, Eric
Paperback
Crisis Engineering: Time-Tested Tools for Turning Chaos Into Clarity
Nitze, Marina
Weaver, Matthew
Dickerson, Mikey
Paperback
Accelerate: The Science of Lean Software and DevOps: Building and Scaling High Performing Technology Organizations
Humble, Jez
Kim, Gene
Forsgren Phd, Nicole
Paperback
Embedded Systems with ARM Cortex-M Microcontrollers in Assembly Language and C: Fourth Edition
Zhu, Yifeng
Paperback
Vibe Coding: Building Production-Grade Software with Genai, Chat, Agents, and Beyond
Yegge, Steve
Kim, Gene
Paperback
The Legend of Zelda(tm) Tears of the Kingdom - The Complete Official Guide: Standard Edition
Piggyback
Paperback
Fundamentals of Software Architecture: A Modern Engineering Approach
Richards, Mark
Ford, Neal
Paperback
I Have an App Idea: The Essential Guide to Building an App Without Tech Skills
Spann, Amanda
Paperback
AI Projects with Raspberry Pi: High-Performance Artificial Intelligence for Robotics, Security, Home Automation, and Vision
Hattersley, Lucy
Jepson, Brian
Paperback
Make: Electronics: Learning by Discovery: A Hands-On Primer for the New Electronics Enthusiast
Platt, Charles
Paperback
The Manager's Path: A Guide for Tech Leaders Navigating Growth and Change
Fournier, Camille
Paperback
The Devops Handbook, 2nd Edition: How to Create World-Class Agility, Reliability, & Security in Technology Organizations
Kim, Gene
Humble, Jez
Debois, Patrick
Paperback
Building Applications with AI Agents: Designing and Implementing Multiagent Systems
Albada, Michael
Paperback
The Staff Engineer's Path: A Guide for Individual Contributors Navigating Growth and Change
Reilly, Tanya
Paperback
The Developer's Guide to AI: A Field Guide for the Working Developer
Thompson, Danny
Orshalick, Jacob
Reghunadh, Jerry M.
Paperback
Learning Web Design: A Beginner's Guide to Html, Css, Javascript, and Web Images
Robbins, Jennifer
Paperback
Cracking the Coding Interview: 189 Programming Questions and Solutions
McDowell, Gayle Laakmann
Paperback
The New AI Cold War: Liberty vs. Tyranny in the Age of Machine Empires
Maginnis, Ltc Robert L.
Paperback
Software Architecture: The Hard Parts: Modern Trade-Off Analyses for Distributed Architectures
Richards, Mark
Sadalage, Pramod
Ford, Neal
Paperback
The Return on AI: From Promise to Profit in the Age of Intelligent Business
Mittal, Ashwin
Sawhney, Mohanbir
Paperback
SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL
Shields, Walter
Hardcover
Observability Engineering: Achieving Production Excellence
Miranda, George
Majors, Charity
Fong-Jones, Liz
Paperback
The Pragmatic Programmer: Your Journey to Mastery, 20th Anniversary Edition
Thomas, David
Hunt, Andrew
Hardcover
Linux Basics for Hackers, 2nd Edition: Getting Started with Networking, Scripting, and Security in Kali
Occupytheweb
Paperback
The Official Raspberry Pi Handbook 2026: Astounding Projects with Raspberry Pi Computers
Makers of Raspberry Pi Official Magazine, The
Paperback
Forecasting: Principles and Practice, the Pythonic Way
Athanasopoulos, George
Hyndman, Rob J.
Paperback
Generative AI Design Patterns: Solutions to Common Challenges When Building Genai Agents and Applications
Lakshmanan, Valliappa
Hapke, Hannes
Paperback
Head First Design Patterns: Building Extensible and Maintainable Object-Oriented Software
Freeman, Eric
Robson, Elisabeth
Paperback
Frictionless: 7 Steps to Remove Barriers, Unlock Value, and Outpace Your Competition in the AI Era
Forsgren, Nicole
Noda, Abi
Paperback
Arduino Programming for Beginners: A Comprehensive Beginner's Guide to Learn the Realms of Arduino Programming from A-Z
Protosmith, Ada
Paperback
Concrete Mathematics: A Foundation for Computer Science
Graham, Ronald
Patashnik, Oren
Knuth, Donald
Hardcover
Building AI-Powered Products: The Essential Guide to AI and Genai Product Management
Nika, Marily
Paperback
Grokking Algorithms, Second Edition: An Illustrated Guide for Programmers and Other Curious People
Bhargava, Aditya Y.
Paperback
Debugging: The 9 Indispensable Rules for Finding Even the Most Elusive Software and Hardware Problems
Agans, David J.
Paperback
Learning Domain-Driven Design: Aligning Software Architecture and Business Strategy
Khononov, Vlad
Paperback
Learning Generative AI Tools for Excel: Speed Up Your Everyday Tasks with Microsoft Excel, Copilot, Chatgpt, and Beyond
Duca, Angelica Lo
Paperback
Site Reliability Engineering: How Google Runs Production Systems
Beyer, Betsy
Murphy, Niall Richard
Jones, Chris
Paperback
The Software Architect Elevator: Redefining the Architect's Role in the Digital Enterprise
Hohpe, Gregor
Paperback
Python Programming for Young Coders: A Hands-On, Project-Based Introduction to Coding for Beginners, Kids, and Teens
Pandey, Anand
Paperback
Computer Science from Scratch: Building Interpreters, Art, Emulators and ML in Python
Kopec, David
Paperback
Learning Php, MySQL & JavaScript: A Step-By-Step Guide to Creating Dynamic Websites
Nixon, Robin
Paperback
Building Safer Technology: A Field Guide to Failing Well
Coles, Neil
Kissner, Lea
Zunger, Yonatan
Paperback
Software Engineering at Google: Lessons Learned from Programming Over Time
Winters, Titus
Manshreck, Tom
Wright, Hyrum
Paperback
Prompt Engineering for Llms: The Art and Science of Building Large Language Model-Based Applications
Berryman, John
Ziegler, Albert
Paperback
Articulating Design Decisions: Communicate with Stakeholders, Keep Your Sanity, and Deliver the Best User Experience
Greever, Tom
Paperback
Living a Jewish Life, Revised and Updated: Jewish Traditions, Customs, and Values for Today's Families
Diamant, Anita
Cooper, Howard
Paperback
Pro C# 10 with .Net 6: Foundational Principles and Practices in Programming
Troelsen, Andrew
Japikse, Phil
Paperback
Adobe Photoshop, 2nd Edition: A Complete Course and Compendium of Features
Laskevitch, Stephen
Paperback
Spies, Lies, and Algorithms: The History and Future of American Intelligence
Zegart, Amy B.
Paperback
Electronic Music and Sound Design - Theory and Practice with Max 9 - Volume 1 (Fifth Edition)
Cipriani, Alessandro
Maurizio, Giri
Paperback
Kubernetes in Action, Second Edition: Deploying and Managing Containers and Cloud-Native Applications
Luksa, Marko
Conner, Kevin
Paperback
