mathstutor / docs /BRAIN_DESIGN.md
ghadgemadhuri92's picture
agent tested with the prompt: Calculate 15 * 12 then add 50.
565a379

AI Brain Design

Pipeline:

Input β†’ Normalize β†’ Hash β†’ Cache Check β†’ DB Check β†’ LLM β†’ Validate β†’ Store β†’ Cache β†’ Response

Responsibilities:

  • core: orchestration
  • memory: cache + database
  • reasoning: model calls
  • validation: output safety