Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
eyadsibai avatar

Rag Frameworks

  • 62 installs
  • 7 repo stars
  • Updated January 15, 2026
  • eyadsibai/ltk

Helps with ai & agent building tasks.

About

rag-frameworks is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • rag-frameworks
  • AI & Agent Building
  • AI-coding skill

Rag Frameworks by the numbers

  • 62 all-time installs (skills.sh)
  • Ranked #6,256 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
npx skills add https://github.com/eyadsibai/ltk --skill rag-frameworks

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs62
repo stars7
Last updatedJanuary 15, 2026
Repositoryeyadsibai/ltk

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

RAG Frameworks

Frameworks for building retrieval-augmented generation applications.

Comparison

FrameworkBest ForLearning CurveFlexibility
LangChainAgents, chains, toolsSteeperHighest
LlamaIndexData indexing, simple RAGGentleMedium
Sentence TransformersCustom embeddingsLowHigh

---

LangChain

Orchestration framework for building complex LLM applications.

Core concepts:

  • Chains: Sequential operations (retrieve → prompt → generate)
  • Agents: LLM decides which tools to use
  • LCEL: Declarative pipeline syntax with | operator
  • Retrievers: Abstract interface to vector stores

Strengths: Rich ecosystem, many integrations, agent capabilities Limitations: Abstractions can be confusing, rapid API changes

Key concept: LCEL (LangChain Expression Language) for composable pipelines.

---

LlamaIndex

Data framework focused on connecting LLMs to external data.

Core concepts:

  • Documents → Nodes: Automatic chunking and indexing
  • Index types: Vector, keyword, tree, knowledge graph
  • Query engines: Retrieve and synthesize answers
  • Chat engines: Stateful conversation over data

Strengths: Simple API, great for document QA, data connectors Limitations: Less flexible for complex agent workflows

Key concept: "Load data, index it, query it" - simpler mental model than LangChain.

---

Sentence Transformers

Generate high-quality embeddings for semantic similarity.

Popular models:

ModelDimensionsQualitySpeed
all-MiniLM-L6-v2384GoodFast
all-mpnet-base-v2768BetterMedium
e5-large-v21024BestSlow

Key concept: Bi-encoder architecture - encode query and documents separately, compare with cosine similarity.

---

RAG Architecture Patterns

PatternDescriptionWhen to Use
Naive RAGRetrieve top-k, stuff in promptSimple QA
Parent-ChildRetrieve chunks, return parent docsContext preservation
Hybrid SearchVector + keyword searchBetter recall
Re-rankingRetrieve many, re-rank with cross-encoderHigher precision
Query ExpansionGenerate variations of queryAmbiguous queries

---

Decision Guide

ScenarioRecommendation
Simple document QALlamaIndex
Complex agents/toolsLangChain
Custom embedding pipelineSentence Transformers
Production RAGLangChain or custom
Quick prototypeLlamaIndex
Maximum controlBuild custom with Sentence Transformers

Resources

  • LangChain: <https://python.langchain.com>
  • LlamaIndex: <https://docs.llamaindex.ai>
  • Sentence Transformers: <https://sbert.net>

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.