Laravel Rag
Description
A complete, driver based RAG pipeline for Laravel with pgvector & sqlite-vec, streaming, agentic retrieval, hybrid search, evals, MCP server, Filament admin.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Laravel RAG
[](https://github.com/moneo/laravel-rag/actions/workflows/ci.yml) [](https://codecov.io/gh/moneo/laravel-rag) [](https://phpstan.org/) [](https://infection.github.io/) [](https://www.php.net/) [](https://laravel.com/) [](LICENSE)
A complete, driver-based RAG (Retrieval-Augmented Generation) pipeline for Laravel. Built on [Prism PHP](https://github.com/prism-php/prism) for provider-agnostic LLM and embedding support.
Features
- Driver-based vector stores — pgvector (production) and sqlite-vec (local dev), swappable via
.env - Blueprint macros —
$table->vector(),$table->vectorIndex()feel native to Laravel - Model traits —
HasVectorSearchandAutoEmbedsfor zero-boilerplate integration - Embedding cache — SHA-256 deduplication reduces API costs by 60-80%
- Chunking strategies — Character, Sentence, Markdown, and Semantic chunkers
- Fluent RAG pipeline —
Rag::from(Document::class)->ask('question') - Streaming SSE — Real-time response streaming via Server-Sent Events
- Agentic RAG — Iterative retrieval with sufficiency evaluation
- Hybrid search — Reciprocal Rank Fusion (RRF) combining semantic + full-text
- LLM re-ranking — Score and re-order chunks by relevance
- Conversation memory — Threaded conversations with automatic context summarization
- RAG Evals — First Laravel-native evaluation framework (Faithfulness, Relevancy, Context Recall)
- MCP Server — Expose your
Related Skills
mcp-server-postgres
Read-only PostgreSQL database access.
Data mcp-server-sqlite
SQLite database interaction and querying.
Data mcp-server-google-maps
Google Maps integration for location data.
Data Bitbucket Data Center
---
Data Csv Data Summarizer
Automatically analyze CSV files and generate comprehensive insights with visualizations
Data OpenViking
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Data