Leanpub Header

Skip to main content

Projects, Lifecycle, and Reference

Complete AI applications in Laravel, models across the development lifecycle, and the reference you keep at your desk

Projects, Lifecycle, and Reference

Eight complete Laravel AI applications, built end to end with every trade-off argued, from a SQL agent that can’t be talked into leaking data to a voice assistant on a latency budget. Then use models to write, test, and review your own code without losing control of quality.

Minimum price

$19.00

$29.00

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
About

About

About the Book

This is the volume for developers who already run language models in production, or are about to. Volumes 1 and 2 teach the mechanics and the discipline. This one puts them to work.

The core of the book is eight complete applications. Each is built at full depth, and each trade-off is argued rather than asserted:

  • The finished support assistant, end to end
  • A SQL intelligence agent that can’t be talked into leaking data
  • A pipeline that turns messy vendor files and webhooks into clean records
  • A multi-tenant inbox agent with signed human approvals
  • A content pipeline that fact-checks itself
  • An operations automation agent
  • A document intelligence pipeline for PDFs, scans, and office files
  • A voice assistant built around a latency budget

These aren’t tutorials. They’re the kind of system you’d actually be asked to build, shown with the parts that usually get skipped: tests, evaluations, security boundaries, and cost.

Next, the book turns models on your own work. You’ll generate and refactor code without losing control of quality, use AI in testing with checks that the generated tests actually test something, and bring models into architecture decisions, threat modeling, and security review. You’ll also write the team policy that keeps all of this from going wrong.

The reference appendices cover a prompt pattern catalog, security test fixtures and detection rules, a Python reference, the glossary, setup for every project, the project repositories, and answers to every self-check question.

You don’t need the earlier volumes. Chapter 0 gives you the footing, each project recaps any earlier idea it relies on, and every project runs from its own repository. Nothing in this volume trains a model, so you don’t need a GPU. Everything runs on a local model by default.

Volume 3 covers 12 chapters (Chapter 0 and Chapters 52 to 62) for developers working at full depth. It completes the series that begins with The Foundations of Large Language Models and Running, Training, and Securing Large Language Models.

Author

About the Author

Jeremy Kavuncuoglu

Jeremy Kavuncuoglu is a software developer and technical lead who builds production AI systems in Laravel. He leads development on a set of platforms at a healthcare technology company, ranging from patient outreach and calling to AI analytics that process tens of thousands of call transcripts a day.

He runs large language models in production himself. He serves open-weight models on his own GPU infrastructure, builds retrieval pipelines with pgvector and cross-encoder re-ranking, and fine-tunes models for real workloads. He does it on a small engineering team, where every dollar and every security boundary counts. His approach is principles first: understand what a system actually does before trusting any abstraction built on top of it.

His day-to-day stack is Laravel, PHP, Vue 3, and AWS. He also founded Scribex, a bring-your-own-key AI SEO platform, and maintains multiple open-source tools. Visit https://kavuncuoglu.com to learn more

Contents

Table of Contents

  • Preface
  • Getting the companion code
  • Chapter 0 — Starting here
  • Section 9 — Complete projects
    • Chapter 52 — The support assistant, end to end
    • Chapter 53 — SQL intelligence agent
    • Chapter 54 — Messy data into clean records
    • Chapter 55 — A multi-tenant inbox agent
    • Chapter 56 — A content pipeline that checks itself
    • Chapter 57 — An operations automation agent
    • Chapter 58 — Document intelligence
    • Chapter 59 — A voice assistant
  • Section 10 — AI across the development lifecycle
    • Chapter 60 — Generating and refactoring code with AI
    • Chapter 61 — AI-assisted testing
    • Chapter 62 — AI in architecture, security review, and team policy
  • Section 11 — Reference appendices
    • Appendix B — Prompt pattern catalog
    • Appendix I — Security test fixtures and detection rules
    • Appendix J — Python reference for this volume’s sidecars
    • Appendix K — Glossary
    • Appendix L — Companion app and project setup for Volume 3
    • Appendix M — Project repositories
    • Appendix N — Self-check answers

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub