Build Applications with Local AI Models on a Mac

you own this product
Create private chatbots, voice apps, RAG systems, and more
Keiji Kamigusa
  • MEAP began June 2026
  • Last updated June 2026
  • Publication in Fall 2026 (estimated)
  • ISBN 9781633433700
  • 275 pages (estimated)
  • printed in black & white
resources: Source code Book forum

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
Forget steep AI subscription fees, privacy concerns, and a hard dependency on cloud servers! Build Applications with Local AI Models on a Mac shows you exactly how to build and run a ChatGPT-style assistant entirely on your own Mac—free forever, with zero data leaving your machine. In this practical book, AI authority Keiji Kamigusa guides you step-by-step using readily-available open source models, Ollama, Python, and Streamlit.

Every chapter builds toward a single goal: your own ChatGPT-like app, running 100% offline. Along the way, you’ll install and manage multiple models (Llama, Gemma, Qwen, Mistral) through Ollama, set up a professional Python environment from scratch with Homebrew and VS Code, and master Streamlit’s elegant Python-only UI framework. Architectural diagrams, flowcharts, sequence diagrams, and side-by-side comparison tables bring abstract concepts to life.

You’ll customize AI behavior through system prompts, temperature tuning, and Ollama Modelfiles to create your own custom LLM personalities. You’ll verify true privacy by running the famous "airplane mode test" by cutting your network and watching your chatbot keep working. Next, add streaming responses, conversation memory, and model-selection sidebars. Finally, you’ll extend your app with RAG (Retrieval-Augmented Generation) to read your own documents, and LangChain agents that use tools autonomously.

what's inside

  • Install and run models like models like Llama, Gemma, Qwen, and Mistral on macOS
  • Build a complete ChatGPT-like chatbot with Streamlit in 70 lines of code
  • Add streaming responses, conversation memory, and model selection
  • Run AI fully offline with verifiable privacy
  • Troubleshoot memory errors, port conflicts, and other local LLM issues

about the reader

No programming experience required! Anyone with basic computer literacy can set up an offline AI model with this guide.

about the author

Keiji Kamigusa is an authority in AI and machine learning with over 16 years of industry experience. A former CTO of a text mining company, he has deployed local language models for 50+ companies, taught 42,000+ students across 42 Udemy courses, and authored more than 50 books on AI. He holds three patents in text analytics and is the founder of AIGYM Inc., which focuses on AI-driven corporate training and agent management platforms.
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Build Applications with Local AI Models on a Mac ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Build Applications with Local AI Models on a Mac ebook for free