Batch Operations & Export / Import

Log multiple items in one call, export for backup or team sharing, and import from version-controlled markdown.

Batch logging

You: "Log these tech stack decisions all at once:
      - FastAPI for REST API
      - Pydantic for validation
      - SQLAlchemy for ORM
      - Alembic for migrations
      - pytest for testing"

AI:  Logged 5 decisions:
     ✓ Decision #24: Use FastAPI for REST API
     ✓ Decision #25: Use Pydantic for validation
     ✓ Decision #26: Use SQLAlchemy for ORM
     ✓ Decision #27: Use Alembic for migrations
     ✓ Decision #28: Use pytest for testing

     All tagged with "tech_stack".

Export to markdown

You: "Export all project knowledge to markdown"

AI:  Exporting Engrams database to markdown...

     Created ./docs/engrams_export/ with:
     • decisions.md    (28 decisions)
     • patterns.md     (8 patterns)
     • progress.md     (15 tasks)
     • glossary.md     (12 terms)
     • relationships.md (all links)

     You can commit this to version control.

Import from markdown

You: "Import the project knowledge from markdown"

AI:  Importing from ./docs/engrams_export/...

     Imported:
     ✓ 28 decisions
     ✓ 8 patterns
     ✓ 15 progress items
     ✓ 12 glossary terms
     ✓ All relationships

     Your project memory is fully restored.
💡 Commit your export to version control. Exporting and committing your Engrams database as markdown means new team members can restore the full project memory by importing after cloning.

MCP tools

  • batch_log_items — log multiple items of the same type in one call
  • export_engrams_to_markdown — export all knowledge to a markdown directory
  • import_markdown_to_engrams — restore knowledge from a markdown export