Skip to content

Architecture

  • Fit a token budget
  • Draw on files, knowledge, and memory
  • Cite every item

Architecture

1 / 7
CALLERMIRABASE APIMODELSSPACEFILE SYSTEMKNOWLEDGE BASEMEMORYWORKERdriven by a job queueSTORAGERequest pathBackgroundAgent / SDK / MCPPUT …/filesAuth and rate limitsAPI key, capabilities,read and write rootsWriteconcurrency control,idempotency, quotaRetrievalfull-text search,vector search, rerankingContext packbudget by sourceAnswercitations per sentenceEmbeddingRerankingAnswering anddistillationDirectory treeread and writeby pathVersionshistory, diff,revertBranches andsnapshotsmerge, as-of readChunksVectorssemantic searchFull textkeyword searchTableslookup, aggregatesWhole-EntryindexFreshness bufferinstant searchFactswith source quotesRevision linksreplaced_byMEMORY.mdgeneratedread-only viewParsingdocuments, PDF, spreadsheets,images, recordings, web pagesChunking and embeddingPublishingfull-text index,vector indexMemory distillationfacts with source quotes,candidate or confirmedAttribute revisionnew values replace old onesOffline consolidationquote checks, dormancy,merge proposalsMain databasesource of truth for Entries, versions,permissions, full text, and factsVector indexderived from the main database, rebuildableObject storageoriginal files