Guardrails vs llama_index

Guardrails and llama_index share 11 technologies: AIOHTTP, starlette, Rich, prompt-toolkit, einops, transformers, torch, fastembed, jinja2, Pydantic, and jsonschema. Both are written in Python.

Read it as markdown

What they share and what sets them apart

NVIDIA-NeMo

Guardrails

NeMo Guardrails is an open-source library for applying programmable safety and security controls to LLM and agentic applications.

Python7.5kRead on November 19, 2026, at commit 036b11dWhat is Guardrails built with?

Only in Guardrails

In common

run-llama

llama_index

LlamaIndex is the document processing platform for AI

Python52.9kRead on November 18, 2026, at commit 99d7433What is llama_index built with?

Only in llama_index

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
Guardrails305,273 lines written487 code files
llama_index473,292 lines written2,055 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
Guardrails0.3% of its commits signed by AIWith Claude Code, Cursor, and CodeRabbit
llama_index0.2% of its commits signed by AIWith Claude Code, Cursor, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
GuardrailsLast push November 19, 20263,445 commits7,530 stars
llama_indexLast push November 14, 20267,971 commits52,930 stars
TestsThe files that test the code, and the share of code files a test imports.
Guardrails620 test files60.2% of its code files have a test that imports them
llama_index1,607 test files46.5% of its code files have a test that imports them

Frequently asked questions

Which is bigger, Guardrails or llama_index?
llama_index, with 473,292 lines written; Guardrails has 305,273.

The proof: run-llama/llama_index's code at commit 99d7433

Which has more GitHub stars, Guardrails or llama_index?
llama_index, with 52,930 stars; Guardrails has 7,530.

The proof: run-llama/llama_index on GitHub

Which has more tests, Guardrails or llama_index?
llama_index, with 1,607 test files; Guardrails has 620.

The proof: run-llama/llama_index's code at commit 99d7433

Which was updated more recently, Guardrails or llama_index?
Guardrails: its last push was on November 19, 2026, and llama_index's on November 14, 2026.

The proof: NVIDIA-NeMo/Guardrails's commits on GitHub

Which has more commits signed by AI, Guardrails or llama_index?
Guardrails: an AI signed 0.3% of its commits, with Claude Code, Cursor, and CodeRabbit; in llama_index, 0.2%.

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Or look inside SeeRepo's own →