Python Automation
and AI Agents
Build Autonomous Bots, Web Scrapers, and Smart Workflows from Scratch. 2027 Professional Edition · 13 Core Chapters
An industry-grade handbook designed for software engineers and automation builders. Every single script is printed in full inside the book with dual-track package management (uv & pip via PEP 723), Playwright, SQLite WAL, and framework-free ReAct loops.
The "Zero-Repo" Philosophy
Engineered to eliminate the #1 reason technical books expire: broken GitHub links and bit-rotted dependencies.
100% Self-Contained
Every production script is printed in full inside the book. Zero external repository dependencies, zero missing commits.
Modern Toolchain
Dual-track support for high-speed uv and pip side-by-side using PEP 723 inline dependency metadata.
Enterprise Case Studies
Real architectural disasters: anti-bot rate limit bans, SQLite concurrency deadlocks, and silent financial float rounding errors.
Framework-Free AI
Build autonomous ReAct loops, tool execution harnesses, and persistent multi-agent workflows without bloated frameworks.
13-Chapter Curriculum Outline
A structured, progressive roadmap from modern runtime auditing to autonomous multi-agent operational daemons.
The Modern Python Scripting Arsenal
- 01. Modern Python 3.14 Toolchain & Environment Auditor PEP 723 · uv · Rich
- 02. The File & Directory Sentinel: High-Speed Batch Automation Pathlib · Atomic Swaps · MD5
- 03. Business Data Wrangling: CSVs, Complex Excels & PDF Extraction Decimal · openpyxl · pypdf
Web Scraping & Browser Automation
- 04. Resilient HTTP Clients, Modern APIs & Anti-Bot Navigation httpx · HTTP/2 · Tenacity
- 05. Headless Browser Automation with Playwright: Cracking Dynamic SPAs Playwright Async · XHR · Shadow DOM
- 06. Production Scraping Pipeline: Competitor Price Monitoring & SQLite Storage SQLite WAL · Idempotent Schemas
LLM Integration & Intelligent Workflows
- 07. Structured LLM Extraction: Prompt Engineering & Pydantic Validation Pydantic v2 · JSON Schemas
- 08. Semantic Search & Local RAG Workflows with Vector Embeddings sqlite-vec · Cosine Math
- 09. The Autonomous Email & Customer Ticket Triaging Pipeline IMAP SSL · Urgency Classification
Autonomous AI Agents & Production Capstone
- 10. Building Autonomous Agents from Scratch: The ReAct Loop Pattern Thought → Action → Observation
- 11. Tool-Augmented Agents: Giving LLMs Web Browsers, Shells, and APIs Tool Registries · Subprocesses
- 12. Multi-Agent Collaboration & Persistent State Workflows Dual-Agent Loops · Journaling
- 13. Grand Capstone: The Autonomous Full-Stack Operations Agent Daemon 24/7 Daemon · Executive Reporting
Available Book Editions
Available worldwide on Amazon in physical print and instant digital replica.
Kindle eBook Edition
Delivered instantly to Kindle devices, iPad, Android, and Mac/PC.
- All 13 Unabridged Chapters
- Fixed Print Replica (No code wrapping)
- Lifetime companion portal access
Paperback Edition
Deluxe 7" x 10" physical desk reference with premium binding.
- 7" x 10" Lay-flat desk friendly format
- Syntax highlighted reference code
- Prime shipping eligible
Official Errata & Live Verification
All printed listings are maintained and audited against library updates.
| Chapter | Listing / Page | Verification Status | Notes / Standard Fix |
|---|---|---|---|
| Chapter 1 | Listing 1.3 (p. 24) | Verified 3.14.0b3 |
Path.copy() syntax confirmed in Python 3.14 alpha/beta release. No modifications required.
|
| Chapter 5 | Listing 5.2 (p. 118) | Verified Playwright 1.50 |
Selector engine optimization: Recommended using native role locator page.get_by_role('button') for improved SPA resilience.
|
| Chapter 7 | Listing 7.1 (p. 165) | Verified Pydantic 2.11 |
JSON schema generation using model_json_schema() verified compliant with universal Groq & OpenAI endpoints.
|
| Chapter 10 | Listing 10.4 (p. 232) | Verified ReAct Loop |
Regular expression for Action: [tool_name] is strictly escaped to prevent newline truncation on edge cases.
|
Report an Issue or Errata
Found an error or library drift? Submissions are sent directly to help@codingsart.com.
Thank you! Your errata submission has been emailed to help@codingsart.com. The editorial team reviews every reader report.
Something went wrong. Please email directly to help@codingsart.com.