HANERMA

Hierarchical Atomic Nested External Reasoning & Memory Architecture. An open-source framework for reliable AI agents.

Core Architecture

  • Atomic Reasoning: Decomposes problems into verifiable atoms with bottom-up synthesis.
  • External Memory: Utilizes sentence-transformer embeddings for long-term conversational recall.
  • Intelligent Routing: A zero-shot classifier automatically selects the optimal path (direct, memory, or reasoning).
  • Calibrated Confidence: Responses include a confidence score (e.g., Confidence: X%).

Framework Comparison: HANERMA vs. LangChain

HANERMA

  • Built-in long-term memory
  • Atomic nested reasoning with verification
  • Intelligent zero-shot routing
  • Native confidence calibration
  • Minimal, focused API

LangChain

  • Memory requires complex setup
  • Reasoning chains are manual and verbose
  • No built-in intelligent routing
  • Confidence is not a native feature
  • Heavy, complex API surface