Local project knowledge

Give the agent context that survives the chat.

CyxCode keeps useful project knowledge close to the repository, connects it across several small indexes, and retrieves only the context that helps the current task.

Retrieval loop

Capture, connect, retrieve

Each layer has a narrow job, so project knowledge stays understandable and replaceable.

01

Capture

Save a memory, write a wiki note, approve a learned pattern, or let CyxCode index source relationships.

->
02

Connect

Wikilinks, imports, tags, symbols, semantic facts, and runtime signals become typed graph relationships.

->
03

Retrieve

Keyword, graph-neighbor, and local semantic searches return a small relevant context set for the prompt.

CyxCode knowledge graph connecting wiki, memory, source, fact, and CyxWatch nodes

Connected context

See how project knowledge fits together.

The dashboard connects wiki notes, memory, source relationships, semantic facts, and CyxWatch signals. Nearby graph context can return when it matches the task, while unrelated history stays on disk.

Read the recall architecture ->
Layers

One system, small composable parts

Project memory

Small indexed notes preserve decisions, conventions, and discoveries without loading an entire archive into every prompt.

Markdown wiki

Local notes use familiar markdown, wikilinks, backlinks, tags, and CRUD commands. Relevant notes can join prompt context.

Code graph

A lightweight source scanner records file imports, imported symbols, and top-level declarations.

Unified graph

Wiki, code, memories, learned patterns, semantic facts, and CyxWatch signals become connected nodes rather than separate silos.

Semantic recall

Local MiniLM embeddings find similar prior errors and related project context when exact keyword or regex matching is not enough.

Dream and versioning

Consolidation removes stale state while corrections and recovery summaries preserve the decisions that should survive sessions.

Commands

Start with plain files and a few entry points

CommandWhat it does
cyxcode initCreate the project wiki, memory, graph, history, and pattern structure
/remember <info>Save a compact memory for later sessions
cyxcode wiki create <title>Create a local markdown wiki note
cyxcode wiki query [terms]Search indexed notes
cyxcode graph query [terms]Search connected project knowledge
/dreamConsolidate and validate accumulated state

Wiki docs -> Recall docs -> State versioning docs ->