Documentation

Interactive Memory Bank

Maintain deep project context and architectural continuity across disparate development sessions.

← All guides

System Overview

Traditional AI assistants often experience "context decay" between work sessions. Sypha's Memory Bank resolves this by maintaining a structured framework of documentation that the AI parses at the initialization of every task. This transforms Sypha into a persistent architectural partner that retains a deep understanding of your technical stack, project goals, and implementation history.

When the Memory Bank is initialized, Sypha identifies its state with the [Memory Bank: Active] indicator.

Strategic Benefits

  • Knowledge Persistence: Maintain project-specific insights without the need for repetitive, manual re-explanation.
  • Accelerated Onboarding: Sypha immediately "inherits" the technical requirements and framework constraints of your repository.
  • Autonomous Documentation: High-fidelity project records are generated as a natural byproduct of your collaborative development.

Logical Architecture

Memory Bank assets are standard Markdown files stored within the .sypha/rules/memory-bank/ directory. Sypha automatically audits these files whenever a new objective is defined.

Core Asset Registry

  • brief.md: A high-level manifesto of the project's core objectives and mission (manually curated).
  • product.md: Documents the underlying "why" and "how" of the product's value proposition.
  • context.md: A dynamic ledger tracking current task focus, recent logic shifts, and immediate next steps.
  • architecture.md: Codifies critical technical decisions and high-level system design.
  • tech.md: An inventory of utilized technologies, frameworks, and environment configurations.

Getting Started

  1. Initialize the .sypha/rules/memory-bank/ directory at your project root.
  2. Define your baseline vision within the brief.md asset.
  3. Pivot Sypha to the Strategist persona.
  4. Direct the agent to: "initialize memory bank".
  5. Sypha will audit your repository and recursively populate the core documentation assets.

Operating Workflows

  • Context Synchronization: Direct Sypha to "update memory bank" after implementing systemic shifts to ensure the internal documentation remains synchronized.
  • Task Ledgering: Use the command "store this as a task" to document repeatable technical workflows within the tasks.md asset.

Status Visualization

  • [Memory Bank: Active]: The agent is successfully utilizing your project's persisted memory.
  • [Memory Bank: Missing]: No valid memory bank structure was detected within the workspace.