Skip to main content
Glama

Iron Suite

Zero-cloud SQLite FTS5 + stdio MCP memory hub (iron) and adversarial multi-agent engineering skills (iron-*) for Claude Code, Codex, Cursor, and Antigravity.

crates.io MCP Registry License: MIT M8ven Score

Iron Suite solves two recurring failures in agentic software engineering:

  1. Unbounded, noisy, cloud-locked agent memory: iron indexes your curated Markdown memories and session history into a compact local SQLite FTS5 + WAL store (with integer-keyed 32-byte SHA-256 content deduplication and hot/cold archive tiering), serves 5 deterministic MCP tools over stdio (locally or across machines via plain ssh), auto-links lessons across separate conversations via shared technical anchors, reinforces helpful memories while decaying superseded ones, enforces hard UTF-8 byte budgets (--max-bytes), and scrubs credentials/private spans before indexing — with zero vector databases, zero hosted APIs, and zero background daemons.

  2. rubber-stamp "looks good" AI coding loops: The bundled 8 iron-* skills and 7 role-isolated subagents enforce grounded mobile-first UX design (iron-design), bounded ownership (irondev), fresh-context adversarial code & security review (irondev-review), offensive vulnerability hunting with 1 -> N structural variant sweeps (iron-hunt), measurement-first performance profiling (iron-perf), systematic production forensics (iron-debug), and read-only architecture/security audits (iron-audit).


Why Iron Suite?

Capability

Plain MEMORY.md

Cloud Vector MCPs

Iron Suite (v0.3.0)

Zero cloud / zero API keys

Yes

No (hosted / paid)

Yes (single Rust binary + SQLite)

Hard byte budget (--max-bytes)

No (dumps whole files)

Rarely

Yes (exact UTF-8 serialized cap)

Detects stale rules when code changes

No

No

Yes (git ls-files drift decay)

Detects contradicting rules

No

No

Yes (nightly iron memory sleep)

Multi-machine without sync conflicts

No

Yes (via cloud)

Yes (plain ssh stdio hub)

Visual Second Brain & verification UI

No

Hosted dashboard

Yes (embedded local iron ui)

Role isolation (reviewer = curated only)

No

No

Yes (built-in + iron-* skills)


Related MCP server: l0-memory

How Iron Suite Works

Iron Suite is designed around a native-runtime, closed-loop architecture — it augments your existing coding agents (Claude Code, Codex, Cursor, Antigravity) directly over stdio MCP and modular skills rather than wrapping them inside a heavyweight Python orchestration framework or syncing code to a hosted vector cloud:

  1. Read-Only Sources & Pre-Index Safety Gate: Curated Markdown notes (MEMORY.md, project rules), optional session history (Cavemem), and replay-safe native notes (memory_remember) pass through a deterministic Privacy Scrubber (<private> spans, PEM keys, bearer tokens, credential assignments) and a private 0600 aliases.json project-normalization layer before anything is hashed or indexed. Source files on disk are never mutated by imports.

  2. Authoritative Local Core (memory.db + archive.db): A single local SQLite v2 WAL database indexes text with unicode61 FTS5 and 32-byte SHA-256 deduplicated bodies, keeping hot curated rules fast while pushing older session logs into a read-only cold archive.db fallback. Ranking combines BM25, bounded Hebbian reinforcement (uses + 2× confirms), and supersession decay (0.15×) inside a hard serialized UTF-8 byte budget (--max-bytes) that always distinguishes truncated: true from no_match: true. Cross-session linking combines explicit Markdown references/supersedes edges with high-IDF shares_anchor links across shared files, symbols, and CWEs.

  3. Native AI Runtimes & Adversarial iron-* Harness: Coding agents connect via iron mcp (local stdio or plain ssh to a single workstation hub) with role-scoped retrieval (developer sees curated + native + history; reviewer sees curated Markdown only; verifier inspects independently). The iron-* skills enforce bounded implementation (irondev), fresh-context adversarial review (irondev-review), 1 -> N vulnerability sweeps (iron-hunt), profiling (iron-perf), debugging (iron-debug), and audits (iron-audit) — backpropagating verified invariants into memory.

  4. Human Second Brain Workbench (iron ui) & Closed Self-Correction Loop: Because agent memory silently drifts if nobody inspects it, iron ui embeds a zero-dependency local HTTP/1.1 workbench (Host-allowlisted, CSRF-protected, strictly read-only on inspection) with an interactive Second Brain orbital graph, Today & 14-Day Evolution Rates (Signal-to-Noise lift, Verification Coverage, Native Velocity, Self-Correction), a Trust Desk (Still True / Update & Supersede / Contradicted), an Agent Lens retrieval simulator, and one-click Project Merge / Rename (aliases.json). Every confirmation, supersession, correction, or project merge feeds directly back into the SQLite ranking engine and alias layer so your second brain compounds signal over time.


Quick Install

One-Command Install (Binary + Skills + Agents + Claude MCP)

curl -fsSL https://raw.githubusercontent.com/arielonoriaga/iron-suite/main/install.sh | bash

Install Skills Only (skills.sh — Claude Code, Codex, Cursor, Antigravity)

npx skills add arielonoriaga/iron-suite

Claude Code Plugin Marketplace

/plugin marketplace add arielonoriaga/iron-suite
/plugin install iron-suite@iron-suite-marketplace

Cargo / cargo-binstall (iron Memory CLI + MCP Server)

cargo binstall iron-suite
# or from source:
cargo install --git https://github.com/arielonoriaga/iron-suite --locked

What's Inside

1. iron — Bounded-Byte SQLite FTS5 Memory CLI & MCP Hub

# Import curated Markdown memories (and optional Cavemem SQLite history) read-only
iron memory import --claude-root ~/.claude --cavemem-db ~/.cavemem/data.db

# Search with a strict serialized UTF-8 byte ceiling
iron memory search 'cargo target directory' --repo . --max-bytes 2000
iron memory search 'tenant isolation' --project commerce-core --strict-project

# Paginated byte-exact fetch (or targeted Markdown section) & explicit graph traversal
iron memory get mem_ID --max-bytes 4000
iron memory get mem_ID --section 'Rollback' --max-bytes 4000
iron memory related mem_ID --relation references
iron context 'migration rollback' --project commerce-core --role reviewer

# Save durable native notes or corrections (superseding outdated guidance & auto-linking past sessions)
iron memory remember --project iron-suite --agent claude --kind correction \
  --supersedes mem_OLD_ID \
  --title 'Shared memory hub' --content 'Desktop holds the authoritative Iron v2 store.'
iron memory feedback mem_ID --outcome helpful
iron memory outcome --outcome pass --project commerce-core

# Nightly sleep consolidation, code-drift audit, project merge & hot/cold v2 archive split
iron memory sleep --repos-root ~/Projects
iron memory audit-drift --project commerce-core --repo ~/Projects/commerce-core
iron memory consolidate --min-occurrences 3
iron memory merge-project --from legacy-shop --to commerce-core
iron memory migrate --from ~/.local/share/iron/memory.v1.db \
  --output ~/.local/share/iron/memory.db --archive-output ~/.local/share/iron/archive.db
iron memory backup --output ~/backups/iron-snapshot.db

# Launch the zero-dependency Second Brain & Memory Verification Web UI (loopback by default)
iron ui --port 7420

Second Brain & Verification Web UI (iron ui)

iron ui embeds a zero-dependency local HTTP/1.1 workbench directly inside the iron binary (pure Rust std::net, zero extra Cargo dependencies, Host-allowlisted and CSRF-protected) so you can visually inspect, verify, and curate the second brain your agents rely on:

Iron Memory Second Brain UI

  • Second Brain (Interactive Knowledge Graph): Obsidian-style orbital knowledge bubbles grouped by Project Zones, Link Clusters, or Trust Zones, with explicit reference edges, cross-session auto-anchor bridges, search spotlighting, day-growth halos, and dark/light themes.

  • Today Pulse & 14-Day Evolution Rates: Time-travel day selector (◀ Today ▶) and 14-day stacked activity chart tracking curated signal-to-noise lift, human verification coverage, native rule velocity, and self-correction rate.

  • Trust Desk (Strictly Read-Only Inspection): Inspect full Markdown/native memory prose, exact trust multiplier (2.0×/2.2× vs 0.15× superseded decay), supersession lineage, Drifted from HEAD repo-path warnings, duplicate-body clusters, and the prioritized Morning Review Queue (correction flags, potential contradictions, drifted rules, and high-use unverified hubs) without mutating use_count until you click Still True, Update & Supersede, Contradicted, or Outdated.

  • Agent Lens (Retrieval Simulator): Run exact developer, reviewer, verifier, or side-by-side Dev-vs-Reviewer retrieval queries with live byte-budget rulers, truncation visibility, and provenance badges (semantic_rrf, graph_neighbor, drifted:0.5x).

  • Project Merge, Rename & Persistent Aliases (aliases.json): Consolidate fragmented or renamed projects directly from the UI (⇄ Merge / Rename) or CLI (iron memory merge-project --from <OLD> --to <NEW>). Saving a permanent alias writes a private 0600 aliases.json sibling file next to memory.db (zero schema changes) so future imports, memory_remember, and searches transparently resolve old names and subpaths/worktrees to the canonical project.

  • Compounding Intelligence Engine (Zero-ML, Zero-Cloud):

    • Hybrid Semantic RRF (semantic.idx): Pure-Rust 512-dim sublinear TF + char n-gram + bilingual engineering-concept vectors fused with FTS5 BM25 via Reciprocal Rank Fusion, plus camelCase/snake_case query splitting, section-aware snippets, and 1-hop graph expansion (references, co_used, shares_anchor).

    • Code-Drift & Contradiction Auditing (iron memory sleep / audit-drift): Verifies cited repo file paths against git ls-files (applying a 0.5× rank decay to drifted memories), detects opposing directives sharing high-IDF technical anchors, and populates the Morning Review Queue.

    • Automatic Outcome Feedback & Co-Use Hebbian Edges (iron memory outcome): Tracks session recalls in a bounded 0600 session-ledger.json, wires co-retrieved memories with bidirectional co_used edges, reinforces memories on verified pass outcomes, and flags memories for review on fail/correction hooks.

MCP Server (iron mcp)

Exposes 5 tools over newline-delimited JSON-RPC stdio (2025-06-18 / 2025-03-26 / 2024-11-05):

  • memory_search — tokenized FTS5 retrieval ranked by BM25, bounded Hebbian usage/confirmation boost, and supersession decay, with project, strict_project, role, source (all|curated|history|native|archive), and max_bytes (256..65536, default 4000).

  • memory_get — UTF-8 byte-paginated record retrieval (offset / next_offset) with supersession metadata, cold archive.db fallback, and per-session implicit usage reinforcement. Accepts record IDs only, never arbitrary file paths.

  • memory_related — traverses explicit Markdown references, supersedes chains, and deterministic high-IDF cross-conversation shares_anchor edges (including matched file/path/symbol/CWE/CVE evidence).

  • memory_remember — replay-safe native note & correction persistence (supersedes: [...]) with write-time cross-session related_memories discovery and <private>/credential redaction prior to hashing.

  • memory_feedback — explicitly reinforces helpful memories or demotes outdated/contradicted memories (with optional superseded_by pointer).

Zero-Cloud Multi-Machine Shared Hub over SSH

Run one authoritative SQLite WAL store on your workstation (desktop) and point every AI client on your laptop or remote devboxes at it over authenticated SSH — no sync conflicts, no open ports, no third-party cloud:

flowchart LR
    Laptop["Laptop: Claude / Codex / Antigravity"] <-->|SSH stdio| Iron["iron mcp on desktop"]
    Desktop["Desktop AI clients"] <-->|local stdio| Iron
    More["Additional devboxes"] <-->|SSH stdio| Iron
    Iron <--> Store[("Authoritative SQLite FTS5 + WAL")]
    Sources["Curated Markdown & session snapshots"] -->|read-only import| Store
{
  "mcpServers": {
    "iron-memory": {
      "command": "ssh",
      "args": ["-T", "-o", "BatchMode=yes", "-o", "ConnectTimeout=12", "desktop", ".local/bin/iron", "mcp"]
    }
  }
}

See docs/ssh-hub-rollout.md and integration/ for systemd --user refresh and 3-2-1 gitleaks-gated backup timers.


2. Bundled iron-* Skills (skills/) & Subagents (agents/)

Skill

Purpose

iron-design

Ground-truth UX/UI design orchestrator: parallel FE + BE + anonymized prod audit -> UX.md brief -> 3 structurally distinct proposals (plus Gen-2 genetic recombination) in an isolated clickable 390px + desktop UX Lab -> Plain-to-Magic elevation -> verified handoff to irondev.

irondev

End-to-end feature/fix orchestrator: bounded implementer brief -> fresh-context review -> real-surface verification -> curated learning.

irondev-dev

Shared implementation discipline for backend, frontend, and security engineering roles with canonical handoff contracts.

irondev-review

Fresh-context adversarial code review selecting correctness, architecture, systems, and security lenses proportional to change risk.

iron-hunt

Proactive read-only/sandboxed offensive vulnerability hunter: attack-surface mapping, scanner triage (gitleaks, osv-scanner, semgrep, zizmor, ast-grep), source-to-sink taint tracing, safe local repro proof, and 1 -> N structural variant sweeps.

iron-audit

Read-only multi-lens codebase health & pre-release sweep producing severity-ranked findings and remediation briefs.

iron-debug

Production-grade systematic debugging (repro -> hypothesis -> instrument -> root cause -> fix -> invariant backprop).

iron-perf

Measurement-first performance engineering: baseline flamegraphs, query plans, and RUM evidence before any optimization edit.

Bundled subagents (agents/iron-*.md): iron-backend-dev, iron-backend-review, iron-frontend-dev, iron-frontend-review, iron-security-dev, iron-security-review, and iron-verifier.


Design Contracts & Honest Non-Claims

  • Hard serialized UTF-8 byte budgets: --max-bytes bounds the serialized JSON output (including escapes and trailing newline). Budget exhaustion sets truncated: true and is explicitly distinguished from no_match: true.

  • Evidence, not authority: Recalled memories retain timestamps and source locators; historical notes can be stale and never override live repository verification or user authorization.

  • Best-effort redaction: Derived-index import and memory_remember scrub <private> spans, PEM keys, bearer tokens, URL passwords, and common credential assignments, while leaving source files untouched. Heuristics do not replace secret management.

  • Independent evaluation (eval/): Fixtures under eval/ measure source recall within byte budgets, replay idempotency, and subprocess latency; they do not claim billed token or invoice savings without provider telemetry. See docs/upstream-learnings.md.


Companion Projects in The Iron Stack

  • claude-harness — Self-improving Claude Code harness: Rust PreToolUse command guardrail, cross-session JSONL journal bus, detached test-agent, auto-improve reflector, and ratatui build-queue TUI.

  • entropy-hunter — Deterministic software-entropy analyzer CLI for Rust and TypeScript codebases.

  • claude-statusline-bar — Information-dense terminal status line for Claude Code with live context, git, and rate-limit ramps.


Build & Verify

cargo test --locked
python3 -m unittest discover -s eval -p test_runner.py -v

License

MIT — Copyright (c) 2026 Ariel Onoriaga.

MCP Registry: mcp-name: io.github.arielonoriaga/iron-suite · Listed on Official MCP Registry, crates.io, and Glama MCP Servers

Available Tools

5 tools
memory_feedbackB

Reinforce a helpful memory or mark a stale/wrong memory as outdated or contradicted (optionally linking its replacement memory ID).

Inputs: id (required), outcome (required), superseded_by.

memory_getA
Read-onlyIdempotent

Fetch an indexed memory by ID, with provenance and supersession metadata. Continue using next_offset when truncated. Implicitly reinforces useful memories once per session.

Inputs: id (required), offset, section, max_bytes.

memory_rememberB
Idempotent

Save a durable note or correction to the shared Iron store, auto-linking related memories from past conversations and optionally marking outdated memories as superseded.

Inputs: title (required), content (required), project (required), kind, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool targets a distinct operation: ranked retrieval (search), ID fetch (get), graph traversal (related), write (remember), and reinforcement/staleness signaling (feedback). The main overlap is between memory_remember (which can mark outdated memories as superseded) and memory_feedback (which marks stale/wrong memories as outdated or contradicted), but the descriptions delineate when each applies.

    Naming Consistency4/5

    All five tools share a clean memory_ prefix, giving a predictable namespace. The suffixes are mostly verbs (search, get, remember) but 'related' and 'feedback' are noun/adjective forms, a minor deviation from the verb_noun pattern.

    Tool Count4/5

    Five tools is a tight, well-scoped surface for a memory store: read paths, write path, and feedback loop are all covered without redundancy. It sits at the lean end, but every tool earns its place rather than padding the surface.

    Completeness4/5

    The core memory lifecycle—search, retrieve with provenance, traverse relations, write/correct, and reinforce or invalidate—is fully covered, including supersession handling. The notable gap is an explicit forget/delete operation or a list/recent view, which agents must work around via supersession instead of hard removal.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Personal multi-LLM memory repository using Markdown as source of truth, SQLite FTS5 for retrieval, and MCP tools for search, context, and write proposals.
      74
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Minimal long-term memory MCP server for AI assistants backed by SQLite FTS5 full-text search, optional hybrid vector retrieval, scoped memory graphs, and VSCode extension.
      1
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Gives MCP clients a local, single-tenant SQLite-backed store for saving, searching, bootstrapping and recalling memory records, plus saving and loading session handoffs, using text search by default with optional embeddings. It runs over stdio or an authenticated loopback HTTP gateway with explicit-confirmation pruning, scoped policies, and admin-driven backup, restore-copy and restart-drill verification.
      16
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Gives every AI agent a shared, persistent memory by ingesting Obsidian vaults, code, transcripts, bookmarks and terminal sessions into a three-tier SQLite FTS5 store, then serving token-optimized hybrid retrieval, classification, promotion and cross-source synthesis over MCP and REST. This lets multiple agents read from and write to one compounding brain so each session starts with better context than the last.
      10 npm
      MIT