← all repositories
llama-farm/llamafarm

LlamaFarm: Run RAG, OCR, and LLMs Without Cloud Bills

LlamaFarm bundles LLM inference, RAG, OCR, anomaly detection, and document processing into one local platform to skip cloud APIs and keep data on your hardware.

llamafarm
Not currently ranked — collecting fresh signals.
star history

What it does

LlamaFarm is a self-hosted AI workbench that wraps a grab bag of machine-learning utilities into one stack. It gives you a FastAPI server, a web-based Designer UI, and a Celery-backed RAG worker that you can drive through a desktop app or a CLI. Everything is governed by a single llamafarm.yaml file, and it can run offline once models are downloaded.

The interesting bit

Instead of just being yet another Ollama wrapper, it bundles specialized ML capabilities—SetFit classifiers, a dozen PyOD anomaly-detection algorithms, multi-engine OCR, and NER—behind one OpenAI-compatible REST API. That turns a local GPU box into a general-purpose ML server without gluing together half a dozen separate repos.

Key highlights

  • Desktop apps for Mac, Windows, and Linux with a visual Designer for no-code project setup
  • Universal Runtime that serves HuggingFace models plus embeddings, OCR, and anomaly detection on Apple Silicon, NVIDIA, or AMD
  • RAG pipeline with auto-processing for PDFs, DOCX, and Markdown, backed by ChromaDB
  • OpenAI-compatible chat and RAG endpoints, plus MCP tool-calling support
  • Single llamafarm.yaml controls models, prompts, databases, and dataset strategies

Caveats

  • The stack is ambitious: three separate services (FastAPI server, Celery worker, Universal Runtime) to keep running
  • Development builds require both Python and Go, plus an Nx workspace setup that spans multiple terminals
  • It is essentially integration glue around existing tools (Ollama, HuggingFace, PyOD, Chroma); the value is in the bundling, not new models

Verdict

Worth a look if you need a private, offline AI hub for document processing and light ML without wiring up Celery, Chroma, and PyOD yourself. Skip it if you just want a simple chatbot—Ollama alone is lighter.

Frequently asked

What is llama-farm/llamafarm?
LlamaFarm bundles LLM inference, RAG, OCR, anomaly detection, and document processing into one local platform to skip cloud APIs and keep data on your hardware.
Is llamafarm open source?
Yes — llama-farm/llamafarm is open source, released under the Apache-2.0 license.
What language is llamafarm written in?
llama-farm/llamafarm is primarily written in Python.
How popular is llamafarm?
llama-farm/llamafarm has 834 stars on GitHub.
Where can I find llamafarm?
llama-farm/llamafarm is on GitHub at https://github.com/llama-farm/llamafarm.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.