ByHeartAI

How to run AI locally on your computer

Install Ollama on a Mac, Windows, or Linux computer, download a local model, and ask it a question. Once that works, you can keep using the terminal or add a browser chat or a workspace for your files.

Choose a setup

  1. Run a local LLM with Ollama

    Start here to download a model, ask it a question in the terminal, and call it from your own code.

  2. Set up a browser chat with Open WebUI

    Use this if you want a familiar chat interface. This walkthrough runs Open WebUI in Docker and connects it to Ollama.

  3. Chat with PDFs and other files using AnythingLLM

    Use this to ask questions about documents. The guide shows how to point the workspace at your local Ollama model.

What to check before you start

Model downloads take disk space, and larger models take more memory to run. Start with a small model and check that it answers at a comfortable speed before trying a bigger one. Compare download sizes in the Ollama model library.

A downloaded local model can answer offline. If you add document chat and want the full pipeline to stay on your machine, choose local providers for both the chat model and embeddings. See the AnythingLLM Ollama setup and local embedding setup.

Learn what happens under the hood