llamafarm
CLAUDE.md837 starsChanged 15 months agoApache-2.0View on GitHub
Modular AI development framework. Build AI apps locally with YAML configs, CLI, and your own data. This repository consists of multiple components CLI Description: Primary user interface for LlamaFarm. Orchestrates local service lifecycle (starting/stopping server, RAG, and runtime processes), handles project initialization (lf init), provides interactive chat sessions (lf chat), and coordinates model downloads. Tech Stack: Go 1.24+, Cobra Directory: cli/ Server Description: Central API gateway that coordinates all LlamaFarm services. Routes inference requests to the Universal Runtime, dispatches RAG…
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cli-skillsSkill
- code-reviewSkill
- commit-push-prSkill
- common-skillsSkill
- config-skillsSkill
- designer-skillsSkill
- electron-skillsSkill
- fix-ciSkill
- generate-subsystem-skillsSkill
- go-skillsSkill
- python-skillsSkill
- rag-skillsSkill
- react-skillsSkill
- reflectSkill
- runtime-skillsSkill
- server-skillsSkill
- temp-filesSkill
- typescript-skillsSkill
- wtSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
Use the nx package to build and run projects within this monorepo.
- Very specific: line 44
Check the project.json files at the repo root and project directories for available scripts
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LlamaFarm
Modular AI development framework. Build AI apps locally with YAML configs, CLI, and your own data.
Monorepo overview
This repository consists of multiple components
CLI
Description: Primary user interface for LlamaFarm. Orchestrates local service lifecycle (starting/stopping server, RAG, and runtime processes), handles project initialization (lf init), provides interactive chat sessions (lf chat), and coordinates model downloads.
Tech Stack: Go 1.24+, Cobra
Directory: cli/
Server
Description: Central API gateway that coordinates all LlamaFarm services. Routes inference requests to the Universal Runtime, dispatches RAG tasks to Celery workers, and serves the Designer UI in production.
Tech Stack: Python 3.12+, FastAPI, Celery
Directory: server/
RAG
Description: Celery-based worker for retrieval-augmented generation. Handles document ingestion, embedding generation, vector storage, and semantic search.
Tech Stack: Python 3.11+, LlamaIndex, ChromaDB, Celery
Directory: rag/
Universal Runtime
Description: Local ML inference server with OpenAI-compatible API. Supports text generation, embeddings, OCR, anomaly detection, and classification across HuggingFace and GGUF models.
Tech Stack: Python 3.11+, transformers, torch, llamafarm-llama (LlamaFarm's own llama.cpp bindings)
Directory: runtimes/universal/
Designer
Description: Browser-based project workbench for building AI applications. Provides config editing, chat testing, dataset management, RAG configuration, and model selection.
Tech Stack: TypeScript, React, Vite, TanStack Query
Directory: designer/
Build Description: Nx monorepo configuration for cross-project builds and development workflows. Tech Stack: Nx workspace Directory: (root)
See .claude/rules/ for detailed guidelines.
Building and Running
- Use the
nxpackage to build and run projects within this monorepo. - Check the
project.jsonfiles at the repo root and project directories for available scripts
Examples
nx dev- Starts server, rag, and designer togethernx run generate-types- Compiles the llamfarm schema and generates python and go typesnx start server- Starts the servernx start rag- Starts the RAG celery workernx start universal-runtime- Starts the universal runtimenx build cli- Builds the CLI binary and places it at./dist/lf
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

