Architecture · Diagram Design
The Digital Twin Stack — everything on one home server
Architecture of the local digital twin
Sourcing channels feed a processing pipeline (dedupe, embed, GraphRAG extract) into two stores (Qdrant, Neo4j). The consumption brain (Mem0 adaptive layer plus a local GPU LLM) answers any agent session, and a heartbeat of scheduled jobs feeds everything back into sourcing overnight.
SOURCING
PROCESSING
STORAGE
CONSUMPTION
AGENTS · fresh sessions
HEARTBEAT · cron jobs
SEMANTIC CHUNKS
ENTITIES + RELATIONSHIPS
VECTOR SEARCH
GRAPH TRAVERSAL
ONE SYNTHESISED ANSWER
OUTPUTS · CORRECTIONS · DECISIONS
FED INTO SOURCING OVERNIGHT
Telegram / social
VS Code sessions
research papers / GitHub
Obsidian / Apple Notes / emails / PDFs
web content / research crons
dedupe + chunk
embeddings (CPU)
preserves GPU for the brain
custom GraphRAG extraction
LLM · batched
Qdrant
344K chunks · hybrid search
Neo4j
18.5K entities · ~75K rels
Mem0 adaptive layer
local LLM (GPU)
Telegram
VS Code
web console
daily session ingest
cron
memory consolidation
cron
prune + backfill
cron
SOURCE / AGENT / JOB
WORK
STORE
BRAIN
OVERNIGHT LOOP