The technical architecture behind the 4-agent parallel reasoning pipeline, triple-store data layer, and enterprise security model.
Parser runs first and extracts all claims. Then Mapper, Detector, and Verifier fire simultaneously via ThreadPoolExecutor, reducing analysis time from ~90 seconds sequential to ~20 seconds parallel. The Epistemic Scorer synthesises all findings last.
Reads your content and extracts every distinct claim like premises, conclusions, and supporting sub-claims. Tracks attribution metadata to distinguish the author's own assertions from reported views.
Implementation: Sends a structured extraction prompt to Claude Sonnet. Returns typed claims with confidence scores and attribution flags.
Builds a directed argument graph showing which claims support which, which contradict each other, and where the reasoning chain breaks. Scores each logical connection 0.0–1.0 for validity.
Implementation: Uses brace-counting JSON extraction to parse Claude's response into nodes and edges. Identifies missing premises and circular reasoning.
Identifies named logical fallacies with severity ratings. Only fires on the author's own claims, not on views attributed to others. Each fallacy is explained in plain language.
Implementation: Context-aware prompt includes content type metadata. Encyclopedic content is handled differently from direct arguments.
Fact-checks every verifiable claim against 5 live sources simultaneously: Google Search, Wikipedia, ArXiv, PubMed, and NewsAPI. Each claim gets a verdict and source attribution.
Implementation: Smart routing. Medical claims hit PubMed, scientific claims hit ArXiv, current events hit NewsAPI. All sources run in parallel with 8-second per-source timeouts.
Every analysis is saved to three stores simultaneously, each optimised for a different access pattern.
Full analysis records, user accounts, org data. SQLAlchemy QueuePool with 10 base + 20 overflow connections.
384-dim semantic embeddings per analysis, namespaced by org. Enables similarity search across past analyses.
Org → User → Analysis → Claim → Fallacy graph. Enables cross-analysis queries and relationship traversal.
AI Orchestration
LLM
Async Queue
Data
Fact Checking
Backend
Frontend
Infrastructure