agent-rt

Local-first, agent-native developer tools.

View My GitHub Profile

memctl

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"

Why agent-first

memctl is shared infrastructure for AI agents that need durable observations:

Seven types of memory

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.

Three scopes

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.

Position in the Agent-RT family

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.

Get started

  1. Install — Homebrew or cargo install.
  2. Quickstart — capture and retrieve your first observation in one minute.
  3. Commands — full reference for all 12 subcommands.