Skip to main content
In traditional Agent coding conversations, after each new session or long-session context compression, the agent does not retain your earlier preferences: you have to repeat requests like “answer in concise language”, “run unit tests before finishing”, or “never modify mock files”. Personal Memory enables Comet to save your preferences across sessions and tasks. Your explicit communication habits, testing practices, and delivery standards are captured as traceable long-term context, automatically taking effect in future related tasks without you having to re-explain them.
Native and Out of the Box: No Setup Required Personal Memory is enabled natively by default upon comet init. It requires no third-party plugin installations or external vector databases. All memories are stored locally on your machine and belong entirely to you.

What to Save Here

Not every conversational comment belongs in long-term memory. Comet separates one-off instructions from durable preferences using clear criteria: This classification is used to protect data ownership and privacy: your personal habits are never leaked to teammates, while team-wide technical conventions require verified code evidence or explicit sharing actions.

Product Positioning and Traceable Governance

Claude Code Auto Memory records build commands and debugging tips; Cursor’s Memories extracts project-scoped notes from chat; GitHub Copilot Memory separates repository-level facts from user-level preferences. In addition to selecting relevant context for a prompt, Comet provides traceable controls for personal memory:
  • Explicit Ownership: Every memory record belongs to the current user;
  • Flexible Scope: Applies globally across all projects, or limits scope to a specific project;
  • Clear Authority Levels: Strictly distinguishes explicit user instructions from background system inferences;
  • Full Lifecycle Control: Supports trial (trial), confirmation (proven), correction (correct), forgetting (forget), and rollback (rollback). You can inspect the origin, trigger reasons (whyApplied), and effectiveness of every memory.

Three Kinds of Personal Memory

Comet layers Core Profiles, Collaboration Policies, and Personal Episodes, providing them on demand to relevant tasks

1. Core Profile: Stable User Profile

Core Profile stores long-term universal background and habits:
  • Language and communication style (e.g. “Use natural phrasing without robotic cliches”);
  • Developer role and technical background (e.g. “Experienced with TypeScript and Rust”);
  • Output formatting and evidence preferences (e.g. “Include execution summaries after code edits”);
  • Communication boundaries.
Core Profiles do not depend on specific files or workflow phases. When a task starts, key profile entries inject into the baseline context, using a small number of tokens.

2. Collaboration Policy: Conditional Working Habits

Collaboration Policy describes how you want the Agent to work under specific conditions:
  • In a certain project, run unit tests immediately after modifying code;
  • Check artifact synchronization scopes before changing specific directories;
  • List code defects by severity during code review;
  • Verify clean workspaces and remote git states before archiving.
Policies support scoping by project, file path, operation type, or workflow phase, preventing irrelevant prompts from polluting other tasks.

3. Personal Episode: Reviewable Past Experiences

Personal Episode compactly records concrete lessons learned from debugging or verification:
  • Context and specific goals of the task;
  • Key actions and crucial fixes applied;
  • Actual execution outputs and verification evidence;
  • Actionable takeaways that can inform future policies.
Episodes are primarily used for background learning and pattern extraction. They store only essential evidence references, never raw conversational noise, full tool logs, or model thinking traces.

How Memories Form

Method 1: Explicit User Instructions

When you prompt “Remember that…”, “Always do X from now on”, or directly correct or forget a memory, Comet records it deterministically. Explicit instructions immediately enter the proven state and apply to subsequent tasks. Temporary phrasing like “Just this once” or “Temporarily for this task” applies only to the current prompt and does not enter long-term storage.

Method 2: Autonomous Extraction from Task Outcomes

Comet’s background learning extracts stable patterns from development cycles. Inferred memories first enter the trial state:
  • Project-level inferences must recur across multiple distinct changes within the same repository; global inferences require evidence from multiple projects;
  • Trial memories graduate to proven only after proving beneficial across repeated tasks;
  • If rejected, corrected, or linked to test failures, the memory is superseded (superseded) or discarded immediately.

Task Matching and Context Injection

When a task begins, the Context Director dynamically filters candidate memories based on the project, file paths, and current phase (e.g. Shape, Build, or Verify):
  • Crucial core profiles and directly matched high-confidence policies inject into active context;
  • Other relevant items enter a lightweight Context Manifest containing summaries, trigger rationales, and stable IDs;
  • If the Agent needs deeper context, it expands records by ID on demand, avoiding token bloat;
  • When advancing between phases (e.g. from Build to Verify), the system refreshes matched policies automatically;
  • During a task, if the Agent needs to confirm your personal preferences further, it calls comet memory retrieve on demand; when you explicitly ask in conversation to remember a preference long term, the Agent calls comet memory remember immediately so it takes effect in the next matching task.
Every selected memory is tagged with whyApplied, allowing you to audit why an entry was selected for that task.

Separation of Concerns: Personal Memory vs. Project Knowledge

Personal Memory and Project Knowledge maintain distinct boundaries: Personal habits are never automatically promoted into team-shared knowledge without explicit user confirmation.

Managing Memory: Dashboard and CLI

Launch the local Web console to manage your personal memories interactively:
Navigate to Personal Memory: Manually added memories appear as Enabled after you save them and take effect in the next matching task. You can browse automatically learned memories in the list and review any conflicts under Memory conflicts.
  • Card-Based Categorization: Browse Core Profiles, Collaboration Policies, and Personal Episodes, filtered by global or project scopes;
  • Edit and Correct Online: Click any card to edit its content, adjust its scope, correct inaccuracies, or click “Forget”;
  • Inspect Call Rates and Rationale: Check 7-day injection frequencies, latency, and whyApplied trigger explanations.
Use comet memory subcommands in terminal or script workflows:
  • forget retains rollback capabilities by default; add --permanent to purge records and leave anti-relearning tombstones;
  • Cross-Device Sync: Synchronize personal memories across multiple machines via a private Git repository.

Privacy and Security Boundaries

  • User Directives Take Precedence: Your immediate conversational instructions always override existing memories;
  • Minimal Storage: Never captures raw chat histories, full code diffs, or model hidden reasoning tokens;
  • No Autonomous Side Effects: Personal Memory never autonomously triggers git commits, pushes, deletions, or releases;
  • Graceful Failure Isolation: If memory reading fails or is paused, Native and Classic workflows execute normally without disruption.
Further reading: Personal Memory Principles, Project Knowledge, and Use Comet Dashboard.
Last modified on December 4, 2026