Deploy Now

SaaS Alternative

Notion AI Glean ChatPDF

Stars

241

Forks

1

Watchers

0

Developer links

PharosRAG

Your team's documents sit in folders nobody can search, and the answer to a simple question hides on page 40 of a PDF someone saved last year. Pharos ingests PDFs, scans, Word documents, presentations, and spreadsheets into a local knowledge base, then answers questions against that library with citations traced back to the exact page. Hybrid retrieval finds the passages that matter, and every answer carries its evidence so readers can verify the claim in the source. Access control decides visibility per person: an API key resolves to an identity with a tenant and group memberships, retrieval filters hard to only the documents that identity may see, and a document with no permissions attached stays invisible to everyone. Two doors lead into the same library. The HTTP API runs a closed question-answering pipeline that retrieves, grounds, and answers in one call, and coding agents connect through MCP to decide for themselves when to retrieve, how to rewrite a query, and when a question needs multiple hops. A resident daemon keeps the search index and models warm, so every session shares one backend instead of reloading heavy resources. The deployment scales from one machine to replicated application tiers behind a load balancer. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.

PharosRAG

Benefits

  • Answers with page citations
  • Every answer cites the exact page it came from, so a reader can open the source document and verify the claim instead of trusting an unattributed paragraph.
  • Permissions enforced in retrieval
  • Identity, tenant, and group rules filter documents inside the retrieval layer itself, and unpermissioned files default to invisible, closing the leak path most knowledge bases leave open.
  • One library, two doors
  • People and scripts query through the HTTP API while AI coding agents connect over MCP, and both exits share one contract plus server-side identity they cannot edit.
  • Your documents stay home
  • The whole system runs on your own machine under your own keys, so confidential contracts, scans, and spreadsheets never leave the building to reach a hosted search service.

Features

  • Multi-format document ingest
  • PDFs, scanned pages, Word documents, PowerPoint decks, and Excel spreadsheets are parsed and chunked into a searchable index directory on your server.
  • Hybrid retrieval pipeline
  • Dense and sparse signals combine to surface the right passages, feeding a grounding step that answers from retrieved evidence with citations attached.
  • Identity and ACL model
  • API keys resolve to named identities with tenants and principals, sessions stay isolated per identity, and unknown keys are rejected with a closed default.
  • MCP agent interface
  • AI agents call the retrieval tools directly, choosing query rewrites and multi-hop strategies, through a thin adapter over the shared resident daemon.
  • Scalable three-tier deployment
  • An inference tier, replicated application nodes, and a shared vector store scale independently behind a load balancer when one machine stops being enough.
  • Injection-resistant passages
  • Every retrieved passage is tagged as untrusted content and logs record identity names without keys, limiting prompt injection and credential leakage paths.

Apps Similar to PharosRAG