Skip to content

Architecture Deep Dive ​

A deep dive into Familiars' technical architecture, dissected section by section. Each section corresponds to the "long technical architecture video": the start of each section notes the matching video timestamp (to be recorded). Source: the repository's ARCHITECTURE.md (the official architecture document), sliced into 10 parts for easy reading and searching.

Reading Path ​

PartContentSource Section
01 - System Overview & FrontendSystem overview, Electron + Vue3 frontend, frontend↔Bridge communicationARCHITECTURE §1–§2
02 - Bridge LayerFastAPI bridge, route organization, SSE event pump, startup side-effect order§3
03 - Agent PipelinePlan → execute → verify → synthesize → memory, model routing, tool system architecture§4
04 - RAG & MemoryDialogue trees, memory system, why not a vector database§5
05 - Storage LayerSQLite layering, file tree, migrations§6
06 - Proactive Decision & GiftsDecider local small model, gift pipeline§7
07 - Digital HumanMulti-backend architecture, VRAM gating§8
08 - Security & MonitoringSecurity model, local Monitor, Daily Monitor, Cron/Todo/Reminder§9–§10
09 - Ecosystem (Skills/Recipe/Broker/Flow)Skills, recipes, Broker/exchange, multi-agent pipeline, flow engine§11
10 - Engineering & AppendixExternal agent adaptation, code organization, build & run, key change points§12–§15

Suggested Reading Order ​

  • First read: 01 → 03 → 04 → 05 → 08 (start with the "frontend → agent → memory → storage → security" main line);
  • Dive deeper / recommended: 02, 06, 07 (Bridge / Decider / Digital Human);
  • Interested in ecosystem development: 09 (Skills/Recipe/Broker/Flow) → continue with the Ecosystem Tutorial.

→ 01 - System Overview & Frontend

Familiars · 多 Agent AI 桌面应用