Map

The parts of Geniuz and how they connect. There is no server: each part opens the same files, and everything stays on your computer.

Surfaces

The ways in, for you and for your AI.

Dashboard

The desktop app. Browse, keep and find across your folders, pin the ones you use most, and change your shortcuts.

Guardrail

A window stays with the folder it shows, so a draft can't land somewhere else.

Calls

Source

desktop/dashboard

MCP

How your AI reaches Geniuz: keep, recall and folders, plus guidance on when to use them.

Guardrail

A wrong folder name is an error, never a different folder.

Calls

Source

src/mcp.rs

CLI

Every command, for people, scripts and agents.

Guardrail

capture refuses files that are not prose unless you pass --force.

Calls

Called by

  • Menubar asks which folder is in use

Source

src/cli.rs, src/main.rs

Terminal UI

Browse and compose in a terminal.

Guardrail

Refuses to start without a real terminal.

Calls

Source

src/tui.rs

Core

Where memories are kept and found.

Folders

Finds, moves, pins and archives folders, and decides which one a command uses.

Guardrail

A duplicate is refused, and nothing is ever deleted.

Calls

  • Store reads identity without changing anything

Called by

  • Dashboard lists, switches and pins
  • MCP finds the folder for each call
  • CLI finds the folder for each command

Source

src/folders.rs

Store

One SQLite file per folder. Tables: memories, memory_embeddings, embedding_meta, _meta. View: memory_chains.

Guardrail

Triggers refuse update, delete and replace on memories.

Called by

Source

schema/schema.sql

Embedding

Turns text into numbers that capture its meaning, with ONNX or Ollama.

Guardrail

Rejects stored embeddings of the wrong size when reading them.

Calls

Called by

Source

src/embedding.rs

Outside

Reached only when needed, and never with your memories by default.

Hugging Face

Where the model is downloaded from.

Guardrail

Once, then local.

Called by

Source

src/embedding.rs

Ollama

A second way to embed, by default on your own machine.

Guardrail

Used only if the built-in model fails to load.

Called by

Source

src/embedding.rs