Skip to main content
Version: 0.1.0

Reference

This page summarizes Memzoi v0's public CLI, MCP, and model values.

CLI commands

CommandPurpose
memzoi initInitialize repo .memzoi/ memory and local runtime state.
memzoi proposePropose a new memory record.
memzoi approveApprove a proposed memory.
memzoi rejectReject a proposed memory.
memzoi applyApply an approved memory proposal.
memzoi supersedeSupersede an active memory record with new content.
memzoi tombstoneTombstone an active memory record.
memzoi searchSearch active memory records.
memzoi contextBuild a prompt-ready context pack for a task.
memzoi precheckCheck planned work against risky memories before acting.
memzoi exportExport active repo memory into reviewable files.
memzoi rebuildRebuild the derived SQLite database from canonical .memzoi/records/ files.
memzoi doctorCheck installation and repo memory readiness.
memzoi quickstartPrint or run a tiny first-run workflow.
memzoi mcpPrint MCP integration configuration.
memzoi integrateGenerate or install agent integration prompts and instructions.

Run memzoi <command> --help for exact options.

Common command options

CommandImportant options
init--force, --json
propose--type, --scope-kind, --visibility, --title, --body, --actor, --json
approve<proposal-id>, --actor, --json
reject<proposal-id>, --reason, --actor, --json
apply<proposal-id>, --actor, --json
supersede<record-id>, --type, --scope-kind, --visibility, --title, --body, --actor, --json
tombstone<record-id>, --reason, --actor, --json
search<query>, --scope-kind, --type, --path, --limit, --json
context--task, --path, --token-budget, --json
precheck--path, --action, --command, --scope-kind, --json
export<format>, --scope-kind, --json
rebuild--json
doctor--project-root, --json
quickstart--apply-sample, --json
mcp config--project-root
integrate instructions--file, --json

Context JSON

memzoi context --json and MCP build_context_pack return the prompt-ready pack plus metadata. Existing fields such as prompt, records, citations, and token_budget remain available. The additive metadata fields are:

  • budget: requested budget, effective budget, approximate used budget, and estimate unit.
  • included: selected records with compact citation, provenance, destination, score, rationale, and estimated size metadata.
  • omitted: capped repo-record metadata for relevant records excluded by budget.
  • warnings: structured notices. Local/session runtime matches are reported only as counts because global context content remains repo-only.
  • next_queries: targeted follow-up queries, currently empty.

MCP tools

ToolRequired argumentsOptional arguments
search_memoryqueryscope_kind, scope, type, memory_type, path, path_prefix, limit
build_context_packtaskpath, path_prefix, token_budget
propose_memorytitle, bodytype, memory_type, scope_kind, scope, scope_id, visibility, tags, source_kind, source_ref, confidence, actor
precheck_pathpathscope_kind, scope
precheck_actionactionpath, scope_kind, scope
precheck_commandcommandpath, scope_kind, scope

Memory types

Valid --type and memory_type values:

  • fact
  • preference
  • decision
  • procedure
  • episode
  • relationship
  • warning
  • failed_attempt
  • risk
  • instruction_projection

Scope kinds

Valid --scope-kind, scope_kind, and scope values:

  • personal
  • repo
  • project
  • team
  • org
  • agent
  • imported_untrusted

Visibility values

Valid visibility values:

  • public
  • private
  • repo
  • team
  • org

Exports skip private records.

Status values

Record statuses:

  • proposed
  • active
  • rejected
  • superseded
  • expired
  • tombstoned
  • redacted

Proposal statuses:

  • pending
  • validated
  • approved
  • rejected
  • applied

Export formats

Valid memzoi export <format> values:

  • okf
  • agents-md
  • claude-md

v0 limitations

  • Source installs require a Rust/Cargo-capable environment; release binaries do not.
  • Search is text/FTS-first, not vector or semantic recall.
  • Memory is repo-local; global, personal, team, and org sync are future work.
  • memzoi rebuild restores approved records from .memzoi/records/. Current proposals are DB-local; rebuild refuses to discard readable pending/approved proposals, but a corrupt unreadable DB is treated as derived-cache recovery and may discard DB-local proposal state.
  • MCP is intentionally minimal and safe-by-default.
  • Homebrew and package-manager installers are not available yet.