In short.
Arcana is an embeddable library for Elixir and Phoenix developers building document-based AI search and answers, but adopting it still requires database integration and model configuration. The README describes storage in an existing Ecto repository with PostgreSQL and pgvector, embedding and reranking services that run locally by default, optional graph retrieval, and three interfaces offering different levels of control. It provides installation commands and API examples, but operating costs, hardware requirements, production reliability and retrieval quality are not established by the supplied material. Nothing was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises only README.md at [https://github.com/georgeguimaraes/arcana/blob/main/README.md], captured at revision 8bbb1da59c23cd4c25d92808e456f56e0004e12b, together with its inline licence declaration and the accompanying LICENSE notice from that revision. Linked guides, applications, notebooks, papers, implementation code, dependencies, model files and evaluation artifacts are excluded. No installation, migration, ingestion, retrieval, generation, performance measurement or security testing was performed.
The overview
Identity
Arcana is an application library for retrieval-augmented generation, or RAG: finding relevant material from a document collection and using it to help a language model answer a question. It is designed to run inside an Elixir application rather than as a separate retrieval service.
The project is hosted at [https://github.com/georgeguimaraes/arcana]. Its documented architecture puts documents, text chunks, embeddings and knowledge-graph data in the application's existing Ecto repository, using PostgreSQL and the pgvector extension.
Assessment
Arcana's clearest attraction is keeping retrieval within an existing Elixir stack. Developers can use their application's supervision tree, database access and telemetry instead of introducing a separate orchestration service. That architectural benefit depends on already having, or being willing to build, the required application environment.
The README provides concrete APIs and installation steps, but it describes intended behavior rather than establishing implementation correctness or production readiness. Retrieval quality, failure handling and deployment performance were not assessed.
Users
The strongest fit is developers already working with Elixir, Phoenix and Ecto who want document search or question answering inside their application. Potential uses include internal documentation assistants and domain-specific knowledge search; these are inferred applications of the documented features, not verified customer deployments.
Beginners need some familiarity with application configuration, database migrations and model providers. Experienced developers gain replacement points for searchers, rerankers and answerers, along with control over retrieval order and model-directed searches.
Capabilities
The README marks text, Markdown and PDF ingestion, semantic and full-text hybrid search, a LiveView dashboard, telemetry, local cross-encoder reranking and GraphRAG as shipped. GraphRAG adds extracted entities, relationships and community summaries to retrieval. An in-memory HNSWLib vector backend is also listed as available.
Arcana.search/2 and Arcana.ask/2 provide the simplest interfaces. Arcana.Pipeline exposes composable steps such as rewriting, decomposition, search, reranking, answering and grounding. Arcana.Loop lets a language model choose search, answer or give_up tools, and supports separate controller and answer models.
Using it
Requirements
The main documented deployment uses an Elixir application with an Ecto repository and PostgreSQL with pgvector. By default, embeddings and the cross-encoder reranker run locally as Nx.Serving processes under the application's supervision tree, with embeddings on Bumblebee using EXLA, EMLX for Apple Silicon, or Torchx. The README says hosted embedding providers such as OpenAI or Cohere can be swapped in instead.
Answer generation requires a configured language-model integration; the examples use hosted-provider model strings. Local embeddings and reranking do not establish that answer generation works offline. Minimum Elixir, Erlang/OTP and PostgreSQL versions, memory requirements, accelerator requirements and model-download sizes are not specified in the supplied README.
Mechanism
The documented ingestion architecture breaks documents into chunks and creates embeddings, which are numerical representations used to find related text. Retrieval combines vector similarity and full-text results through reciprocal rank fusion, which merges ranked result lists. Graph results can join that fusion when available, and a cross-encoder reranker can reorder retrieved candidates.
A Pipeline follows steps chosen by the developer. A Loop lets the controller model choose tools over successive turns, accumulating context before an answer is produced. Documented termination outcomes include answered, gave_up, max_iterations and error. Optional grounding uses natural-language-inference scoring to assess support for an answer; this is not a guarantee of factual correctness.
Setup
The documented installation path runs mix igniter.install arcana followed by mix ecto.migrate. The README says this adds the dependency, creates migrations, configures the repository and mounts the dashboard route.
Manual installation, supervision and embedder configuration are delegated to the linked Getting Started guide. Those instructions are not included in the supplied evidence, so the full setup procedure and compatibility requirements remain unknown. The installation commands were not executed.
Example
The README illustrates ingesting a short description with Arcana.ingest("Phoenix LiveView is a server-rendered UI library...", repo: MyApp.Repo), then asking a question with Arcana.ask("What is Phoenix LiveView?", repo: MyApp.Repo, llm: "openai:gpt-4o-mini"). This demonstrates the intended transition from stored text to a model-generated answer; it does not supply an observed answer.
A more elaborate example rewrites a conversational question, lets the language model pick among the elixir and erlang collections, splits the comparison into sub-questions, searches each one, reranks the results, answers, and applies grounding. These examples show API composition but were not run, and their output quality and provider compatibility were not assessed.
Assessment & evidence
Limitations
HyDE, asynchronous ingestion through Oban, and additional TurboPuffer and ChromaDB vector backends are marked as planned rather than shipped. They should not be assumed available from this snapshot.
The README reports reranking improvements of 39% in mean reciprocal rank and 62% in Hit@1 on a Doctor Who evaluation. The supplied files do not include the underlying evaluation artifacts or enough detail to establish reproducibility or relevance to another corpus. Authentication, tenant isolation, ingestion recovery and production scaling are also not established here.
Reasoning
Keeping retrieval inside an existing application can reduce the number of separately operated services. It also places local model services and database work within that application's operational footprint. Whether this is beneficial depends on available resources and workload; the README supplies no capacity measurements.
The three interfaces offer increasing flexibility. A fixed Pipeline makes the retrieval sequence explicit, while a Loop can adapt searches to an open-ended question. That adaptability can introduce variable model calls and latency. These are architectural implications of the documented design, not measured results.
Alternatives
Within Arcana, the README recommends search/2 or ask/2 as the starting point, Pipeline when developers need control over step order, and Loop when the sequence of searches is difficult to decide in advance. These choices share underlying retrieval primitives.
The README contrasts its embedded approach with Python retrieval libraries connected over HTTP and separately operated vector databases. No comparative evidence is supplied for named competing libraries, so relative quality, cost or deployment effort cannot be ranked. The HNSWLib backend is another documented storage option, but its tradeoffs are not explained here.
Evidence
The evidence consists of the project's README.md and accompanying LICENSE at repository revision 8bbb1da59c23cd4c25d92808e456f56e0004e12b. The revision-specific README is available at [https://raw.githubusercontent.com/georgeguimaraes/arcana/8bbb1da59c23cd4c25d92808e456f56e0004e12b/README.md].
The README supplies installation commands, API examples, architecture descriptions and feature-status statements. Its linked guides, Livebook, demonstration application, research papers, implementation files and evaluation artifacts are not included. Documentation supports statements about the described design; it does not establish runtime behavior.
Access & freshness
Costs
The Apache 2.0 licence grants covered rights without a licence charge. That does not establish the cost of operating Arcana: database storage, application compute, local model inference and any hosted-model use must still be accounted for.
The README supplies no provider prices, hardware sizing, token budgets or measured cost per ingestion or question. Repeated model calls in a Loop may increase hosted-provider charges, depending on configuration and provider terms. Total operating cost is unknown.
Rights
The README declares Apache-2.0, and the accompanying licence names George Guimarães with a 2025 copyright notice. The licence permits use, modification and redistribution, including commercial use, subject to its conditions. The captured licence is available at [https://raw.githubusercontent.com/georgeguimaraes/arcana/8bbb1da59c23cd4c25d92808e456f56e0004e12b/LICENSE].
Redistribution requires a licence copy, retention of applicable notices, prominent change notices in modified files, and preservation of relevant NOTICE attributions if such a file accompanies the work. The licence includes a conditional patent grant, grants no general trademark rights and disclaims warranties. Separate rights for dependencies, model weights and ingested documents are not established by these files.
Freshness
The supplied snapshot was captured on 14 November 2026 at 09:37:53.286 UTC and identifies revision 8bbb1da59c23cd4c25d92808e456f56e0004e12b. This capture time does not establish when the code or documentation was last changed.
The README links an Upgrading to 4.0 guide, but that link alone does not establish an exact released package version. Release dates, compatibility with currently available provider models and changes after the captured revision are unknown.
Actions
Before adopting Arcana, consult the linked Getting Started and LLM Integration guides for the intended version, confirm database and runtime compatibility, and review the generated migrations and dashboard configuration. Existing installations should also consult the upgrade guide, particularly its referenced collection-scope and GraphRAG migration changes.
A useful first evaluation would ingest representative documents, compare retrieved results with known relevant passages, and inspect answer support. Measure latency, resource use and provider cost with the chosen models. Compare the direct API with a Pipeline or Loop only where the task requires that extra control. These are proposed evaluation steps, not completed tests.
