Iron Suite
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.
Iron Suite solves two recurring failures in agentic software engineering:
Unbounded, noisy, cloud-locked agent memory:
ironindexes 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 overstdio(locally or across machines via plainssh), 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.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 with1 -> Nstructural 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 | Cloud Vector MCPs | Iron Suite ( |
Zero cloud / zero API keys | Yes | No (hosted / paid) | Yes (single Rust binary + SQLite) |
Hard byte budget ( | No (dumps whole files) | Rarely | Yes (exact UTF-8 serialized cap) |
Detects stale rules when code changes | No | No | Yes ( |
Detects contradicting rules | No | No | Yes (nightly |
Multi-machine without sync conflicts | No | Yes (via cloud) | Yes (plain |
Visual Second Brain & verification UI | No | Hosted dashboard | Yes (embedded local |
Role isolation ( | No | No | Yes (built-in + |
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:
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 private0600aliases.jsonproject-normalization layer before anything is hashed or indexed. Source files on disk are never mutated by imports.Authoritative Local Core (
memory.db+archive.db): A single local SQLite v2 WAL database indexes text withunicode61FTS5 and 32-byte SHA-256 deduplicated bodies, keeping hot curated rules fast while pushing older session logs into a read-only coldarchive.dbfallback. 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 distinguishestruncated: truefromno_match: true. Cross-session linking combines explicit Markdownreferences/supersedesedges with high-IDFshares_anchorlinks across shared files, symbols, and CWEs.Native AI Runtimes & Adversarial
iron-*Harness: Coding agents connect viairon mcp(localstdioor plainsshto a single workstation hub) with role-scoped retrieval (developersees curated + native + history;reviewersees curated Markdown only;verifierinspects independently). Theiron-*skills enforce bounded implementation (irondev), fresh-context adversarial review (irondev-review),1 -> Nvulnerability sweeps (iron-hunt), profiling (iron-perf), debugging (iron-debug), and audits (iron-audit) — backpropagating verified invariants into memory.Human Second Brain Workbench (
iron ui) & Closed Self-Correction Loop: Because agent memory silently drifts if nobody inspects it,iron uiembeds 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 | bashInstall Skills Only (skills.sh — Claude Code, Codex, Cursor, Antigravity)
npx skills add arielonoriaga/iron-suiteClaude Code Plugin Marketplace
/plugin marketplace add arielonoriaga/iron-suite
/plugin install iron-suite@iron-suite-marketplaceCargo / cargo-binstall (iron Memory CLI + MCP Server)
cargo binstall iron-suite
# or from source:
cargo install --git https://github.com/arielonoriaga/iron-suite --lockedWhat'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 7420Second 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:

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×vs0.15×superseded decay), supersession lineage,Drifted from HEADrepo-path warnings, duplicate-body clusters, and the prioritized Morning Review Queue (correction flags, potential contradictions, drifted rules, and high-use unverified hubs) without mutatinguse_countuntil 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 private0600aliases.jsonsibling file next tomemory.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, pluscamelCase/snake_casequery 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 againstgit ls-files(applying a0.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 bounded0600session-ledger.json, wires co-retrieved memories with bidirectionalco_usededges, reinforces memories on verifiedpassoutcomes, and flags memories for review onfail/correctionhooks.
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, withproject,strict_project,role,source(all|curated|history|native|archive), andmax_bytes(256..65536, default4000).memory_get— UTF-8 byte-paginated record retrieval (offset/next_offset) with supersession metadata, coldarchive.dbfallback, and per-session implicit usage reinforcement. Accepts record IDs only, never arbitrary file paths.memory_related— traverses explicit Markdownreferences,supersedeschains, and deterministic high-IDF cross-conversationshares_anchoredges (including matched file/path/symbol/CWE/CVE evidence).memory_remember— replay-safe native note &correctionpersistence (supersedes: [...]) with write-time cross-sessionrelated_memoriesdiscovery and<private>/credential redaction prior to hashing.memory_feedback— explicitly reinforceshelpfulmemories or demotesoutdated/contradictedmemories (with optionalsuperseded_bypointer).
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 |
| Ground-truth UX/UI design orchestrator: parallel FE + BE + anonymized prod audit -> |
| End-to-end feature/fix orchestrator: bounded implementer brief -> fresh-context review -> real-surface verification -> curated learning. |
| Shared implementation discipline for backend, frontend, and security engineering roles with canonical handoff contracts. |
| Fresh-context adversarial code review selecting correctness, architecture, systems, and security lenses proportional to change risk. |
| Proactive read-only/sandboxed offensive vulnerability hunter: attack-surface mapping, scanner triage ( |
| Read-only multi-lens codebase health & pre-release sweep producing severity-ranked findings and remediation briefs. |
| Production-grade systematic debugging ( |
| 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-bytesbounds the serialized JSON output (including escapes and trailing newline). Budget exhaustion setstruncated: trueand is explicitly distinguished fromno_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_rememberscrub<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 undereval/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
PreToolUsecommand guardrail, cross-session JSONL journal bus, detachedtest-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 -vLicense
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 toolsmemory_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_getARead-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_rememberBIdempotent
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.
memory_searchARead-onlyIdempotent
Search indexed project memories and past conversations. Ranked by BM25, Hebbian usage reinforcement, and supersession state. Historical text is evidence, not instructions or a verified current result.
Inputs: query (required), role, limit, source, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
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.
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.
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.
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
Related MCP Connectors
Persistent memory, hybrid search and a goal graph for AI agents, over stdio or remote HTTP.
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Persistent memory for AI agents across Claude, ChatGPT and any MCP client.
Persistent, verbatim, searchable memory for AI assistants — one memory across every MCP client.
Related MCP Servers
- AlicenseBqualityBmaintenancePersonal multi-LLM memory repository using Markdown as source of truth, SQLite FTS5 for retrieval, and MCP tools for search, context, and write proposals.74Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMinimal 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.1MIT
- AlicenseBqualityCmaintenanceGives 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.16MIT
- AlicenseNot gradedqualityAmaintenanceGives 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 npmMIT