Minta User Guide

June 1, 2026 Β· View on GitHub

🌐 δΈ­ζ–‡η‰ˆ | English

A step-by-step guide to using Minta as your personal memory layer for AI agents.

Prerequisite: Installation β†’ Quick Start in the README. Make sure minta start is running and you can open http://localhost:8772.


Table of Contents

  1. Core Concepts
  2. Dashboard Overview
  3. Working with Memory Objects
  4. The Inbox β€” Your Memory Review Queue
  5. Memory Health Scanning
  6. Semantic Search
  7. Context Packs (AI Injection)
  8. Skills Library
  9. Community Sharing
  10. Account & Privacy
  11. Troubleshooting

Core Concepts

Minta stores memory objects β€” structured facts about you, your work, your preferences, and your decisions. These objects feed into your AI agent so it "remembers" who you are and how you work.

The 7 Memory Slots

Your memory is organized into 7 slots. Think of each slot as a drawer in your personal memory cabinet:

SlotWhat Goes InExample
PersonaWho you are, your role, background"Full-stack developer, 5 years, prefers TypeScript"
PreferencesHow you like things done"Use 2-space indentation, prefer async/await over Promises"
KnowledgeTechnical facts, project context"Our API uses JWT with 24h expiry, stored in httpOnly cookies"
Counter ExamplesMistakes to avoid, corrections"Don't use Date.now() in test assertions, use vi.setSystemTime()"
SkillsReusable workflowsCode review checklist, deployment steps, bug triage process
PendingItems awaiting reviewFeedback from conversations not yet processed
RulesHard constraints, always-on rules"Never commit .env files to git"

Memory Object Types

Each object has a type that tells Minta what kind of memory it is:

  • preference β€” How you like to work (editor settings, code style, communication preferences)
  • workflow β€” Reusable process or procedure (deploy steps, code review checklist)
  • project_context β€” Facts about your projects (architecture decisions, tech stack, domain knowledge)
  • decision_criteria β€” How you make decisions (priorities, constraints, rules of thumb)
  • lesson_learned β€” Things you learned the hard way (bugs caught, mistakes fixed)
  • writing_style β€” Your voice and tone preferences (formality, terminology, audience)
  • rule β€” Hard rules the AI should always follow
  • ai_brief β€” Context you want to give your AI before a session
  • work_profile β€” Your professional identity and current focus

Dashboard Overview

When you open http://localhost:8772, you land on the main dashboard. Key areas:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  πŸ” Search bar         [Inbox (3)]  [βš™ Settings]    β”‚
│─────────────────────────────────────────────────────│
β”‚  Memory Health Score: 85/100                         β”‚
β”‚  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘                                β”‚
│─────────────────────────────────────────────────────│
β”‚  πŸ“‹ All Memories    πŸ“₯ Inbox    πŸ“¦ Packs    πŸ”§ Skillsβ”‚
│─────────────────────────────────────────────────────│
β”‚  [Type filters]                                      β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚  β”‚ Memory cards with title, type, confidence... β”‚    β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  • All Memories β€” Browse, filter, and manage your memory objects
  • Inbox β€” Review pending corrections, counter-examples, and scan findings
  • Packs β€” View your 7 slots and generate Context Packs for AI injection
  • Skills β€” Browse and manage reusable skill templates
  • Story (/story) β€” Interactive demo with a fictional character's memory journey

Memory Health Score

The dashboard shows a Health Score (0–100) computed from four dimensions:

MetricWhat It MeasuresBad Sign
D_S (Staleness)How many memories are unused >30 daysHigh β†’ stale knowledge
D_R (Redundancy)Duplicate or near-duplicate memoriesHigh β†’ fragmented knowledge
D_C (Conflict)Contradictory memoriesHigh β†’ unreliable for AI
D_V (Schema)Malformed or incomplete entriesHigh β†’ data quality issues

A score above 80 is healthy. Below 60, you should run a memory scan.


Working with Memory Objects

Creating a Memory Object

  1. Click + New Memory (or the add button)
  2. Fill in:
    • Title (required) β€” A short, descriptive name
    • Type (required) β€” Pick from the 9 types
    • Summary (optional) β€” One-sentence description
    • Body (optional) β€” Full details, examples, context
    • Tags (optional) β€” Keywords for search, e.g. ["react", "frontend", "testing"]
    • Confidence (1–5) β€” How sure you are this is still true
  3. Click Save

πŸ’‘ Tip: Even a one-sentence memory with good tags is useful. You don't need to write essays β€” the AI agent will combine memories as needed.

Editing a Memory

Click any memory card to open the detail view, then:

  • Edit title, summary, body, or tags
  • Change the type or confidence level
  • Toggle Public to share with the community
  • Upload a cover image (useful for visual memories like screenshots)

Deleting a Memory

Open the detail view β†’ click Delete. This is permanent and cannot be undone.

Filtering Memories

Use the type filter buttons at the top to show only:

  • Preferences
  • Workflows
  • Project Context
  • Lessons Learned
  • Rules
  • ...or any custom type

Combine with the search bar for fine-grained filtering.


The Inbox β€” Your Memory Review Queue

The Inbox is where Minta deposits things for your review. Think of it as a notification center for your memory.

What Goes into the Inbox?

  1. Auto-detected issues from memory health scans (staleness, conflicts, duplicates)
  2. Counter-examples auto-captured when you correct the AI
  3. Manual additions you add from the dashboard
  4. Autopilot suggestions from post-conversation analysis

Reviewing Inbox Items

For each inbox item, you have three options:

ActionWhat It Does
ConfirmAccept the suggestion and convert it to a memory object
DiscardDismiss it (good for false positives)
SkipLeave it in the inbox for later

When you confirm, you choose the memory type it becomes. For example:

  • A stale memory detection β†’ confirm as lesson_learned
  • A conflict between two rules β†’ confirm the corrected version as rule

Inbox Statuses

  • pending β€” Awaiting your review (default)
  • archived β€” Reviewed and processed

Memory Health Scanning

Minta automatically scans your memory for quality issues every 24 hours. You can also trigger a manual scan anytime.

What the Scanner Detects

ScanWhat It FindsExample
StalenessMemories not used in >30 days"React class components" if you've moved to hooks
RedundancyNear-duplicate memories (80%+ similar)Two preferences both saying "use 2-space indentation"
FragmentationToo many memories sharing one tag15 memories tagged #debugging
ConflictContradictory recommendations"Always use async/await" vs "Use .then() for Promise chains"
SchemaIncomplete or malformed entriesMemory with empty body, very low confidence

Running a Manual Scan

  1. Go to the Lifecycle tab
  2. Click Run Memory Health Scan
  3. Wait ~2–5 seconds (depends on memory count)
  4. Review the findings in your Inbox
  5. Confirm or discard each finding

Configuring Auto-Scan

# Check current auto-scan status
curl http://localhost:8772/api/lifecycle/auto-scan/status

# Change scan interval to every 6 hours
curl -X POST "http://localhost:8772/api/lifecycle/auto-scan/interval?hours=6"

# Disable auto-scan
curl -X POST "http://localhost:8772/api/lifecycle/auto-scan/toggle?enabled=false"

πŸ’‘ Tip: If you use Minta daily, the default 24h scan is perfect. Adjust to every 1–2 hours during heavy usage.


Minta uses embedding-based search, which means you can search by meaning, not just keywords.

  1. Type a natural language query in the search bar
  2. Minta ranks results by semantic similarity
  3. Results show in progressive disclosure layers:
    • Compact β€” Title + type (quick scan)
    • Full β€” Title + summary + tags (detailed)
    • Pack β€” Full content (deep read)

Search Tips

βœ… "How do I handle errors in React?"     β†’ finds error handling patterns
βœ… "My coding preferences"                β†’ finds all preference-type memories
βœ… "database connection setup"            β†’ finds related project context
❌ "eror handlng"                         β†’ works, but well-formed queries are better

πŸ’‘ Minta searches across titles, summaries, tags, and semantic embeddings. You don't need perfect keywords.


Context Packs (AI Injection)

A Context Pack is a compiled snapshot of your 7 memory slots, formatted for injection into an AI agent's prompt.

Generating a Context Pack

  1. Go to Packs tab
  2. Review your 7 slots β€” update any that need changes
  3. Click Generate Pack
  4. Choose a scene: auto, coding, writing, research, or general
  5. Copy the generated text

Using the Pack with Claude Code

# Method 1: Via MCP (automatic)
# Configure in your Claude Code MCP settings β€” see docs/mcp-integration.md

# Method 2: Manual copy-paste
# Generate the pack, copy it, paste at the start of your conversation

What Each Scene Includes

SceneFocus SlotsBest For
codingPreferences, Knowledge, Rules, LessonsProgramming sessions
writingWriting Style, Persona, PreferencesContent creation
researchKnowledge, Project Context, Decision CriteriaResearch and analysis
generalAll 7 slots (balanced)Any conversation
autoAuto-detected from your current contextDefault (recommended)

Skills Library

Skills are reusable templates for workflows, checklists, and procedures. They can be private or shared with the community.

Creating a Skill

  1. Go to Skills tab
  2. Click + New Skill
  3. Fill in:
    • Name β€” Short identifier
    • Group β€” Category (e.g., code-review, deployment, debugging)
    • Content β€” The actual steps/template
  4. Click Save

Using Skills

Skills appear in your Context Pack under the Skills slot. When you generate a pack for a coding session, your code review checklist skill is automatically included.

Community Skills

Browse publicly shared skills from other Minta users. Click Share on any of your skills to contribute to the community.


Community Sharing

You can mark any memory object as Public to share it with the Minta community.

How Sharing Works

  1. Edit a memory object
  2. Toggle Public to ON
  3. The object appears in the Community Feed
  4. Other users can:
    • View the object
    • Leave threaded comments
    • Draw cards from the public pool for inspiration

Content Moderation

Comments are moderated with automatic content filtering. Rate limiting applies (5 comments per 60 seconds per user).


Account & Privacy

Account Management

  • Register at first launch with a username and password
  • Profile β€” Update avatar, email at /api/auth/me
  • Email Verification β€” Optional; requires SMTP configuration (see Configuration)

API Keys

For programmatic access (MCP tools, scripts):

  1. Go to API Keys in settings
  2. Click Create New Key
  3. Copy the key (shown only once!)
  4. Use in requests: X-API-Key: minta_...

Data Privacy

  • All data is stored locally on your machine
  • Export all your data: GET /api/user/export-data
  • Delete all your data: DELETE /api/user/delete-data
  • Sensitive data (API keys, passwords, emails) is automatically filtered from stored content
  • See SECURITY.md for vulnerability reporting

Troubleshooting

"Minta won't start"

# Check if something is already on port 8772
netstat -ano | grep 8772

# Kill existing process and retry
minta stop
minta start

# Check logs
cat logs/minta-$(date +%Y-%m-%d).log

"SMTP warning on startup"

This is normal. SMTP is only needed for email verification. If you don't need email verification, ignore the warning. To configure it, see Configuration.

"Login fails with 'not authenticated'"

  1. Make sure you registered first
  2. Check your username/password
  3. JWT tokens expire after 24 hours β€” log in again

"Context objects show 0 items"

  1. Have you created any memory objects yet? Try minta start β†’ /story to seed demo data
  2. Check the type filter isn't hiding everything
  3. Run python -c "from server.config import engine, Base; Base.metadata.create_all(bind=engine)" to ensure tables exist

"Search returns no results"

  1. Make sure you have memory objects with content
  2. Semantic search needs the embedding service to be available
  3. Try a simpler query or browse without search first

"Port 18721 already in use"

The MCP HTTP server uses port 18721. If it's taken:

MCP_HTTP_PORT=18722 minta start

Next Steps