ManningBooks

ManningBooks

Devtalk Sponsor

Build Applications with Local AI Models on a Mac (Manning)

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.

Keiji Kamigusa

If you’ve been curious about running AI locally instead of depending on cloud APIs, this book walks you through building a ChatGPT-style assistant that runs on your own Mac. The focus is practical: install the tools, download open models, write the app, test it offline, and keep improving it.

The book is written for readers who are comfortable using a computer but may be new to programming. It starts with the Terminal, Homebrew, and Ollama, then moves into Python, Streamlit, voice input, chat history, model selection, RAG, and agents.

A few things you’ll build and try along the way:

  • Run Llama, Gemma, Qwen, and Mistral locally with Ollama

  • Create a ChatGPT-like web app with Streamlit

  • Add streaming responses and conversation memory

  • Switch between models from the app UI

  • Use system prompts and temperature settings to shape model behavior

  • Test privacy by turning off the network and watching the app keep working

  • Add document-based question answering with RAG

  • Explore LangChain agents that can use tools

Keiji Kamigusa brings a lot of hands-on experience to the topic. He has worked in AI and machine learning for over 16 years, deployed local language models for more than 50 companies, taught over 42,000 students, and written more than 50 books on AI.

This should be especially useful if you want to experiment with AI apps without sending prompts or documents to a hosted service. It’s also a good fit for Mac users who want a clear path from “I’ve never used the command line much” to “I have a working local AI app.”


Don’t forget you can get 45% off with your Devtalk discount! Just use the coupon code “devtalk.com” at checkout :+1:

Most Liked

alvinkatojr

alvinkatojr

Most likely when the author started writing the book, gemma3:4b was available. He’ll probably test the code with the latest gemma model when he’s done and make adjustments.

Where Next?

Popular Ai topics Top

ManningBooks
Grokking AI Algorithms, Second Edition introduces the most important AI algorithms using relatable illustrations, interesting examples, a...
New
ManningBooks
The bestselling book on Python deep learning, now covering generative AI, Keras 3, PyTorch, and JAX! François Chollet and Matthew ...
New
ManningBooks
AI agent technology is changing fast! This totally revised Second Edition of AI Agents in Action by Micheal Lanham guides you through the...
New
ManningBooks
After ChatGPT used RLHF to become production-ready, this foundational technique exploded in popularity. In The RLHF Book, AI expert Natha...
New
ManningBooks
Rearchitecting LLMs: Structural techniques for efficient models turns research from the latest AI papers into production-ready practices ...
New
ManningBooks
AI applications need much more than a connection to a model. To work well in the real world, they need memory, access to company knowledg...
New
ManningBooks
How can you be sure your next AI project is worthwhile before you build it? Look Before You Leap offers a repeatable go/kill/pivot decisi...
New
ManningBooks
AI is changing how offensive security workflows are designed, executed, and analyzed. AI Agents for Offensive Security: AI-powered attack...
New
ManningBooks
Context engineering is the discipline of selecting, organizing, updating, compressing, prioritizing the precise context a model needs to ...
New
ManningBooks
What changes when AI stops being just a tool you call, and starts becoming part of the way work is planned, delegated, monitored, and exe...
New

Other popular topics Top

dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1147 29994 760
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
New
PragmaticBookshelf
Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
New
RobertRichards
Hair Salon Games for Girls Fun Girls Hair Saloon game is mainly developed for kids. This game allows users to select virtual avatars to ...
New
CommunityNews
Open-source implementation of the classic GTA engine now running directly in your browser. Experience the reVC technology demo on DOS.Zon...
New