Discover and explore top open-source AI tools and projects—updated daily.
georgeguimaraesRAG library for Elixir/Phoenix with agentic pipelines
Top 96.3% on SourcePulse
Summary
Arcana is an embeddable Retrieval-Augmented Generation (RAG) library for Elixir/Phoenix applications, enabling developers to integrate vector search, document retrieval, and AI Q&A directly into their projects. It supports both simple RAG and sophisticated agentic pipelines, offering a flexible solution for enhancing application intelligence.
How It Works
Arcana facilitates RAG via a configurable pipeline: text is chunked, embedded (local Bumblebee, OpenAI), and stored in swappable vector backends (pgvector, HNSWLib). Search uses semantic, full-text, or hybrid modes with Reciprocal Rank Fusion. Its Agentic RAG orchestrates complex Q&A through retrieval gating, query expansion, decomposition, multi-hop reasoning, and re-ranking. Optional GraphRAG builds knowledge graphs for entity extraction, community detection, and fusion search.
Quick Start & Requirements
Installation uses mix igniter.install arcana or manual dependency addition (mix arcana.install, mix ecto.migrate). A PostgreSQL database with pgvector is required. Local embeddings necessitate an Nx backend (EXLA, EMLX, Torchx) and its dependency. Default PDF ingestion requires system-installed Poppler utilities. Official guides are available.
Highlighted Details
Maintenance & Community
The README does not detail specific maintenance contributors, community channels (e.g., Discord, Slack), or sponsorship information.
Licensing & Compatibility
Arcana is licensed under the permissive Apache License 2.0, allowing broad compatibility, including commercial use and integration into closed-source applications.
Limitations & Caveats
The roadmap indicates planned features like additional vector store backends (ChromaDB, TurboPuffer) and asynchronous ingestion (Oban) are not yet implemented. Default PDF parsing relies on system-level Poppler installation.
3 days ago
Inactive
wandb
gusye1234
llmware-ai