You do not write MACA YAML. Synap generates and maintains the Memory Architecture for your Instance from the Use-Case Markdown file you upload at Instance creation. This page is a high-level tour of what MACA decides for you, and how to nudge those decisions through your use-case file.
What MACA decides for you
The Memory Architecture is Synap’s internal configuration for one Instance. It determines, for every memory operation against that Instance:Memory categories
Which categories Synap extracts and stores from your documents and conversations:
facts, preferences, episodes, emotions, temporal. Some agents need all of them; others only need facts.Retrieval behavior
How much context Synap surfaces per query, how aggressive recency weighting is, and how the
fast and accurate retrieval modes prioritize different signals.Scoping
Which scope level (
USER, CUSTOMER, or CLIENT) is the primary access pattern for your agent. Synap optimizes indexing and caching around the primary scope, but all four scopes (USER → CUSTOMER → CLIENT → WORLD) are always available.Retention
How long different categories of memory live before being pruned or compacted, and which signals trigger archival.
The authoring surface: Use-Case Markdown
The Use-Case Markdown file is a small Markdown document that describes:- What your agent does
- Who its users are (consumer, B2B, internal team, etc.)
- What kinds of information it needs to remember
- Any compliance or retention constraints
Snippet recipes
The four patterns below are common shapes. Pick the one closest to your agent and adapt the wording. These are Use-Case Markdown snippets, not configuration files. Drop them into youruse-case.md and Synap handles the rest.
B2B customer support
A SaaS support assistant serving multiple customer organizations. Each end-user belongs to a customer, and most knowledge is customer-scoped (their account, their tickets, their team).Personal assistant
A consumer-facing personal AI. Single user per Instance ID; deep personalization matters more than throughput.Knowledge base
A documentation-grounded assistant. Most memory is shared application-wide; per-user state is minimal.High-volume ingestion
An agent ingesting large volumes of documents (support tickets, logs, transcripts) where throughput and graceful degradation under load matter.Inspecting what you got
After your Instance is created (or after you re-upload a use-case file), the Dashboard surfaces the resolved Memory Architecture for review:- The categories Synap will extract
- The primary scope it picked
- The retrieval defaults it tuned
Customers do not directly edit, paste, or version MACA YAML. The use-case file is the source of truth; MACA is a derived artifact.
Related concepts
Use-Case Markdown
The authoring surface: what to put in your
use-case.md and how Synap reads it.Customized Memory Architectures
Deeper conceptual background on what MACA is and what it covers.
Memory Scopes
The canonical
USER → CUSTOMER → CLIENT → WORLD scope chain and how isolation works.Memory Types
Reference for
facts, preferences, episodes, emotions, and temporal.Next steps
Multi-User Memory Scoping
Patterns for isolating per-user, per-customer, and per-client memories in multi-tenant apps.
Production Checklist
Security, performance, and monitoring steps before going live.
Writing a Use-Case Markdown File
Step-by-step authoring guide with the full template.
Migrating from Competitors
Map your existing memory layer (Mem0, Zep, Letta, SuperMemory) onto Synap.