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
Before deploying an AI model into production, you need to know more than just its accuracy. Will it be fast enough for your users? Will i...
New
ManningBooks
Based on Ilya Sutskever’s famous “must-read” list of ~30 AI papers, this book walks you through the research that shaped today’s deep lea...
New
ManningBooks
Grokking AI Algorithms, Second Edition introduces the most important AI algorithms using relatable illustrations, interesting examples, a...
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
CUDA for Deep Learning shows you how to work within the CUDA ecosystem, from your first kernel to implementing advanced LLM features like...
New
ManningBooks
Retrieval Augmented Generation, The Seminal Papers explores 12 foundational research papers that explain why RAG works, how it’s built, a...
New
ManningBooks
Today’s AI models demand a lot of memory, compute, and server horsepower–which quickly translates into cost. Quantization and Fast Infere...
New
ManningBooks
Building Agentic Applications with CrewAI and MCP by Max Gfeller is a practical, example-driven guide to designing AI systems that plan, ...
New
ManningBooks
Building LLM Applications with DSPy introduces DSPy best practices you can adopt to create reliable, production-ready systems through pro...
New
ManningBooks
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 Ma...
New

Other popular topics Top

PragmaticBookshelf
Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See f...
New
PragmaticBookshelf
Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
PragmaticBookshelf
Create efficient, elegant software tests in pytest, Python's most powerful testing framework. Brian Okken @brianokken Edited by Kat...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
PragmaticBookshelf
Leverage Elixir and the Nx ecosystem to build intelligent applications that solve real-world problems in computer vision, natural languag...
New
PragmaticBookshelf
Fight complexity and reclaim the original spirit of agility by learning to simplify how you develop software. The result: a more humane a...
New
PragmaticBookshelf
A concise guide to MySQL 9 database administration, covering fundamental concepts, techniques, and best practices. Neil Smyth MySQL...
New