ApexRAG structures documents into a strict Universal AST and deploys an orchestrator of coordinate agents (Planner, Navigator, Critic) to query hierarchy logically, delivering pinpoint accuracy with conformal confidence guarantees.
ApexRAG abstracts away the complexities of structural ingestion, multi-agent coordination, and uncertainty mapping, delivering the exact context required.
Converts PDFs, Markdown, and raw Python code into typed hierarchical syntax nodes, retaining document outlines and tables deterministic relationships.
Planner breaks queries down, Navigator walk AST layers, and Critic checks constraints to verify correct answers before generation.
Automatically builds structural and causal edges (Overrides, Contradicts, Supports) to walk relational connections dynamically during runtime.
Supports time-travel queries allowing state reconstructions "as-of" any point in history, complete with change detections and audit log trace.
Enforces tenant segregation and granular RBAC context directly down to AST nodes, masking or validating data at ingestion & query phases.
Named agent spans and traces automatically propagate to Grafana, Datadog, or Jaeger for total observability of system agent loops.
Traditional search matches keywords/vectors blindly. Here is what happens when you query ApexRAG.
Traditional chunking chops text indiscriminately. ApexRAG extracts the actual document structure, nesting nodes (Outline, Sections, Tables) logically. Let's see how our parser indexes outlines.
Simple pythonic hooks to initialize, ingest, query, stream, and configure security boundaries.
Why vector databases fall short for structured data, and how AST indexing fixes it.
Split documents blindly into 512-token overlap blocks. Relies entirely on semantic math distance matching.
Parses outline indexes explicitly into node models. Relies on structured tree traversal and leaf confirmations.
Customize package builds to include cloud engines (Anthropic, Groq, Gemini), local Ollama wrappers, telemetry databases, and web admin dashboards.
💡 Compatible with Python 3.10, 3.11, and 3.12.
🔧 Uses pip, poetry, or pipenv. Virtual environments recommended.
ApexRAG ships with a complete diagnostic and serve CLI out-of-the-box.
Starts the FastAPI REST server complete with auth tokens, CORS mappings, and rate limits.
Ingests PDF, DOCX, or markdown outlines locally into SQLite/Postgres AST storage schemas.
Runs the multi-agent outline logic search against an ingested document outline ID.
Launches the interactive shell console to trace and check agent traversals visually.
Runs systems diagnostics validating database linkages, provider access, and environment bindings.
Shows package configuration attributes, active caches, database sizes, and API builds.