2. System Architecture

2.1 Overview

The Truth by Hanna ecosystem includes:

  • User-Facing Services: The front-end (web or mobile) and REST/GraphQL API that users query for debates, comedic roasts, or fact-checking.

  • Message Bus: A backbone for microservices to publish and subscribe to data or requests, ensuring asynchronous processing.

  • Hanna AI Engine: A transformer-based network that merges satirical logic and truth-seeking analysis.

  • Data Aggregator: Crawls the web and social media for relevant trending stories, controversies, or hidden leads.

  • Storage Layer: Combines SQL for structured data (user profiles, tokens) with NoSQL for large volumes of unstructured text.

  • Blockchain Layer: Maintains an immutable log of interactions and proposals, binding comedic outputs and truth-discovering investigations to decentralized governance.

2.2 Key Components and Microservices

  1. API Gateway: Receives user requests (e.g., “Explain the real reason behind a local scandal,” “Roast me,” “Debate whether a global event is conspiracy or fact.”).

  2. Hanna Workers: AI inference nodes that read requests from the message bus and generate comedic or analytical content.

  3. Truth Aggregator: Periodically enriches Hanna’s knowledge with deep-dive web articles, cross-referenced intelligence from public or leaked documents.

  4. On-Chain Logger: Publishes final outputs to a public smart contract, guaranteeing no user or system-level tampering.

Last updated