Local-first, agent-native developer tools.
memctl is the persistent agent memory layer — cross-tool, cross-project, cross-session. It fills the gap between ephemeral session context (lost at /clear), static CLAUDE.md files (no structure, no time line), and tool-private memories (Claude Code’s auto-memory, Cursor’s rules) that don’t follow you across tools.
# Capture an observation
memctl save --type decision --topic skillctl-design \
"core/extra naming wins over baseline/on-demand: more human-friendly"
# Read it from a different project, different agent, different session:
memctl read --topic skillctl-design --format tsv
memctl search "naming"
memctl is shared infrastructure for AI agents that need durable observations:
~/.memctl/ is read via four shell commands documented in AGENTS.md. Any agent that can read AGENTS.md and execute a shell can participate. Claude Code, Codex, Cursor, Cline — all see the same memory.global scope is the default. Topics like rust-error-patterns or prompt-cache-tricks follow you across repositories.project scope writes to <repo>/.memctl/topics/, which you commit. New team members get the lore on git clone — something tool-private memories cannot do.agent-name @ project-path). Auditable, reviewable, never silently overwritten.cat ~/.memctl/global/topics/X.md reads the truth.| Type | Example |
|---|---|
lesson |
“thiserror in libs, anyhow in main” |
decision |
“core/extra naming wins over baseline/on-demand” |
fact |
“elepay clearing flow: Stripe → us → merchant” |
feedback |
“user prefers integration tests against real DB, not mocks” |
reference |
“INC-tagged bugs live in Linear INGEST project” |
user |
“data scientist, prioritizes observability” |
project |
“merge freeze starts 2026-03-05, mobile release branch cut” |
Agents can filter on type: memctl read --topic X --type decision returns only design decisions.
| Scope | Path | Visible to |
|---|---|---|
global (default) |
~/.memctl/global/topics/ |
All projects, all agents |
project |
<project>/.memctl/topics/ |
Only this repo (commit it!) |
agent:<name> |
~/.memctl/agents/<name>/topics/ |
Only that named agent |
memctl list (no flag) merges all visible scopes; --scope project narrows to one.
| Tool | Layer |
|---|---|
skillctl |
Curated capability bundles |
memctl |
Persistent memory (this) |
acpctl |
ACP agent invocation |
mcpctl |
MCP server invocation |
skillctl and memctl install independent AGENTS.md managed blocks; they coexist without conflict.
cargo install.REQ.md