agentleFS
llama-farmllama-farm/llamafarm/CLAUDE.md

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…

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
  1. Very specific:

    Use the nx package to build and run projects within this monorepo.

    line 43
  2. Very specific:

    Check the project.json files at the repo root and project directories for available scripts

    line 44

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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 nx package to build and run projects within this monorepo.
  • Check the project.json files at the repo root and project directories for available scripts

Examples

  • nx dev - Starts server, rag, and designer together
  • nx run generate-types - Compiles the llamfarm schema and generates python and go types
  • nx start server - Starts the server
  • nx start rag - Starts the RAG celery worker
  • nx start universal-runtime - Starts the universal runtime
  • nx build cli - Builds the CLI binary and places it at ./dist/lf

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.