icemage
Token-efficient context engine for AI coding agents.
A single binary that makes Claude Code, Cursor, and every other AI coding assistant 70–90% cheaper to run — without dumbing them down. If you've ever watched 30K tokens evaporate on a single file read, paid for "thinking" you didn't need, or re-explained the same project context after /clear for the fifth time today — this is for you. AI assistants are powerful but wasteful by default. Every time the AI opens a file, runs a command, or starts a new chat, it re-reads context it has seen many times and dumps full output into the conversation.
Summary extracted from the README.
Icemage (icmg)
Stop burning tokens. Stop losing context. Ship faster.
A single binary that makes Claude Code, Cursor, and every other AI coding assistant 70–90% cheaper to run — without dumbing them down.
If you've ever watched 30K tokens evaporate on a single file read, paid for "thinking" you didn't need, or re-explained the same project context after /clear for the fifth time today — this is for you.
🟢 Why Icemage
AI assistants are powerful but wasteful by default. Every time the AI opens a file, runs a command, or starts a new chat, it re-reads context it has seen many times and dumps full output into the conversation. Icemage sits quietly in the background and trims the noise before it ever reaches the AI:
- Long files → only the relevant slice
- Noisy command output → just the parts that matter
- Web pages → cached + summarised
- Past decisions → remembered across sessions so the AI doesn't ask twice
- Repeated work → results reused instead of recomputed
The AI keeps its full intelligence. Your wallet keeps more of its money.
📊 Headline numbers
| Metric | Typical | Best | Since |
|---|---|---|---|
| File-read savings | 70 – 85 % fewer tokens | up to 92 % | v0.5 |
| Test / build output | 60 – 80 % shorter | up to 90 % | v0.5 |
| Multi-file UI propagation (style-clone) | 30 – 50× cheaper | up to 98 % | v1.22.0 |
| Cross-project bundle (port) | 8 – 12× cheaper | up to 95 % | v1.24.0 |
| Compressed-Write (AI emit diff) | 70 – 95% fewer tokens | up to 98 % | v1.25.0 |
| Web-fetch reduction | 70 – 90 % smaller | up to 95 % | v0.4 |
| Repeat-context recall | near-zero, < 5 ms cached | — | v1.21.8 |
| Past-chat full-text search | < 10 ms across months | — | v1.21.7 |
| Graph symbol lookup | 256-slot in-RAM cache | — | v1.21.8 |
| First-prompt warmup | < 1 s | — | v1.18 |
| Cold build time (icmg itself) | ~50 % faster (20 min → 9-10 min) | — | v1.26.0 |
| MCP response filter (verbose plugins) | 50 – 80 % smaller | up to 90 % | v1.30.0 |
| Auto-thinking suppress (trivial prompts) | ~1500 tok / call saved | — | v1.30.0 |
| Sayless-auto (long-prose replies) | 60 – 75 % compress | up to 85 % | v1.30.0 |
| Service auto-start (UserPromptSubmit) | 0-touch warm-up | — | v1.30.0 |
| Path ambiguity warning (icmg context) | wrong-file lookups → loud | — | v1.29.0 |
| rg-wrapper + brace glob (icmg grep/files) | flag-mirror, {a,b} expand | — | v1.29.0 |
| Local AI model (built-in, opt-in) | 0 cloud calls | privacy-first | v1.31.0 |
| Smart router (REGEX vs LLM_LOCAL vs CACHE) | <100 us p99 | hot-path forced regex | v1.31.0 |
| HTTP streaming download (model fetch + SHA256) | 400 MB - 2 GB safe-verify | tamper-detect | v1.31.0 |
| icmg git wrapper (single ergonomic entry) | Tkil-filtered + safety-gated | enforces icmg-FIRST | v1.31.0 |
| Python-free core (PRECOMPACT_PY dropped) | -200-500 ms boot saved | single-binary | v1.31.0 |
| pack --rerank (LLM-reorder memory hits) | opt-in warm-path | router-gated | v1.32.0 |
| PreCompact LLM summary (warm-pool Qwen 0.5B) | <15 s cold | regex fallback always | v1.32.0 |
| icmg compact-bg (proactive memory worker) | <3 s warm | manual + future hook | v1.32.0 |
| Smarter local AI memory | multi-prompt safe | no overflow | v1.32.0 |
Code graph viz + report (icmg graph viz) |
interactive D3 + god-nodes | — | v1.71.0 |
Secret scanner (icmg scan) |
21 detectors, CI-gate | redact-by-default | v1.68.0 |
| MCP server hardening (token + rate-limit + path-guard) | abuse / RCE-safe | — | v1.72.0 |
| Post-compact memory re-anchor | rules survive compaction | auto on init |
v1.73.0 |
Scripted-safe icmg run (non-interactive guard) |
no hang on destructive | --yes/env opt-in |
v1.74.0 |
| Clean self-upgrade (idempotent Defender step) | no phantom B: drive popup | --no-defender opt-out |
v1.75.0 |
Encryption-at-rest (icmg encrypt, SQLCipher AES-256) |
opt-in full-DB encrypt | BM25 recall intact | v1.76.0 |
| Hot recall cache (RAM, daemon-shared) | < 5 ms repeat recall | self-governing RAM | v1.77.0 |
| Memory recall: LongMemEval_s (500 q, retrieval-only) | any@5 .982 · NDCG@10 .956 | all@5 .926 | v2.28.0 |
| Memory recall: LoCoMo10 (1536 q, retrieval-only) | any@5 .701 (default) | .766 (--pipeline v2) |
v2.28.0 |
| Cost per AI session | down 70 – 90 % vs. raw | up to 95 % | — |
✨ What's new
- v2.32.0 — #292: multi-user memory.
--nstenant namespaces on store/recall (CLI + MCP),[UNTRUSTED]marker for web/file memories,--ttl 12h/7d/2w, secret/PII filter on every store (ICMG_SECRET_FILTER=mask|reject|warn|off), andicmg mcp serve --read-onlywith newicmg_pack/icmg_graph_symboltools. - v2.31.1 — #290: hook answers never replace compound or mutating commands.
cd x && sed -i ..., pipes, redirects and in-place edits run for real; read answers use the exact file (no same-name fallback); plainlsruns in the shell. Also:icmg context --head/--tailno longer replays a cached full read, andicmg files --glob '**/*.cpp'matches files at the root. - v2.31.0 — #288: private memories in shared project folders. Each memory records its author and is
privateorteam; other OS accounts using the same project never see your private notes (icmg store --private|--team,icmg recall --all-authors,icmg memory retag). Existing memories stay shared. - v2.30.4 — Follow-up #285. Non-ASCII install dirs and project paths work on Windows (all process/path APIs wide or UTF-8, process code page UTF-8); text saved by older builds in the ANSI code page is re-encoded to UTF-8 once.
- v2.30.3 — Hotfix #285.
icmg runon Windows passes non-ASCII arguments, command text and environment variables to the child unchanged (wide argv +CreateProcessW);│,é,中no longer turn into|/?. - v2.30.2 — Hotfix #283. The
icmg initAGENTS.md template now showsicmg zone add <subsystem> <path-glob>(the old--zoneexample made junk zones), andzone addrejects flag-like, empty or extra arguments without creating a zone. - v2.30.1 — Hotfix #281.
icmg grephands the pattern torgas one argv element (no shell), so Grep patterns with|,(or"work.update --applykeeps hooks you edited (new template goes to<file>.icmg-new;init --overwrite-hooksto replace). - v2.30.0 — Model-AI ref flow + fix #279. Verified fixes are written back as problem -> solution refs next to
icmg.exeand offered first in any project (recall --refs,--forget-ref,ICMG_REF_WRITEBACK=0/ICMG_REF_LOOKUP=0); other projects are searched only when no confident hit.update --applyno longer slims yourCLAUDE.md(slimming is opt-in viainit --slim). 2658/2658 tests ✓. - v2.29.1 — Hotfix #277. Hook reinstall (
doctor/init) writessettings.local.jsonatomically and validated (never empties it on failure), hooks are written as UTF-8 (no mojibake), andupdate --apply/safe-rollbackalways restore the previousicmg.exeif the swap fails. Bench tests are now opt-in (ICMG_TEST_BENCH=1). 2686/2686 tests ✓. - v2.29.0 — Memory + token research pack, all opt-in. New
bench-recallstages--prf(RM3 pseudo-relevance feedback),--cover(coverage-greedy evidence) and--rerank-gate, plusICMG_BENCH_GATE_TRACEto replay any rerank-gate policy offline. Honest result: each stage helps one benchmark and hurts the other, and no score-margin gate safely skips the cross-encoder on both (an oracle could skip 62–81%, real signals ≤ 1.6% at no loss), so default ranking is unchanged from v2.28.0. Also: opt-in ACT-R recency (ICMG_RECENCY=actr),recall --getcounts as reuse,compact-bgnever summarises its own summaries and cites[#id]per line,icmg contextcuts over-budget files at whole lines + signatures, and 199 mojibake sequences fixed (incl. the AGENTS.md routing blockicmg initwrites). Full tables in CHANGELOG. 31 new tests — 2672/2672 tests ✓. - v2.28.0 — Memory benchmarks: LongMemEval + LoCoMo, and a stronger recall stack.
icmg bench-recall --dataset longmemeval|locomo <file.json>scores the memory engine on the two standard AI-memory benchmarks (retrieval-only Recall@k / NDCG@k, no LLM judge, isolated:memory:brain per corpus). New default pipeline when the ONNX models are present: cross-encoder rerank top 20 with 150-word passages + BM25/dense blend at alpha 0.3 (--no-rerank/--no-semanticopt out; plain BM25 without models). BM25 word tokenizer is now the default for live recall too (ICMG_BM25_TOKENIZER=legacyreverts), andicmg recall --rerank Nbrings the cross-encoder to live recall (opt-in). LongMemEval_s (500 q, user-session): any@5 .952 → .982, all@5 .820 → .926, NDCG@10 .881 → .956. LoCoMo10 (1536 q): any@5 .542 → .701, NDCG@10 .430 → .584 (--pipeline v2: any@5 .766). Retrieval-only numbers on our harness, not a leaderboard claim. Full tables in CHANGELOG. 57 new tests — 2641/2641 tests ✓. - v2.27.0 — 2026 host-compatibility audit. Stale rules-file targets fixed (gemini
GEMINI.md, windsurf.windsurf/rules/, managedAGENTS.mdblock for zed/codex/amp/opencode), five new hosts (cline, antigravity, roo, kilo, junie — 13 total), MCP auto-wiring for every detected host (merge-only), Gemini CLI hook parity (--format gemini). 20 new tests — 2584/2584 tests ✓. - v2.26.0 — Four web-research-backed capabilities, all deterministic and zero-LLM.
icmg lint-claudemdvalidates every backtickedicmg <sub>reference in CLAUDE.md/AGENTS.md against the live command Registry and suggests a one-sentence precedence guard (stale instruction files beat code 90.1% of the time — arXiv 2610.30571).icmg rule-violgains a destructive-action taxonomy + actor-attributed audit trail (record --session <id>;listshows the agent actor) — no more audits blaming the human for an agent's deletion.icmg test-select --riskscores each changed file LOW/MED/HIGH from the impact closure and--runner ctestemits a ready-LE local-llmregex.icmg run --txn(lite) snapshots the git tree before a command, shows the changeset (--txn-diff), and lets you decide:--txn-commit/--txn-abort. 11 new tests — 2560/2560 tests ✓. - v2.25.4 — Ritual gate no longer blocks innocent parallel sessions. The sync-ritual state file was one per project (
.icmg/ritual.state), so concurrent agent sessions in the same folder shared the edit counter — session B with zero edits got blocked at Stop because session A had edited. The gate state is now keyed per session (--sessionflag > hooksession_id>ICMG_SESSION_IDenv, sanitized[A-Za-z0-9_-]max 64); with no session id the legacy shared file is used, so older hooks keep working. 2 new tests — 2549/2549 tests ✓. - v2.25.3 —
icmg filesno longer dies with system error 1113 on unmappable file names. A scanned tree holding a name Windows cannot map to the ANSI code page (Cygwin-mangledC\uF03A...files, CJK names on a Latin code page) aborted the whole command —filename().string()and friends convert through the ACP and throw. New sharedcore::pathU8()helper (src/core/path_u8.hpp, UTF-8, never throws) replaces the per-file copies infind/maintainand every raw.string()call infiles; the directory walk advances withincrement(ec)so one unreadable entry skips instead of killing the scan. 3 new tests — 2547/2547 tests ✓. - v2.25.2 —
icmg runpreserves backslashes and quotes end-to-end. Arguments with\or"(Windows paths, JSON, regexes) used to arrive mangled in the child — doubled backslashes or eaten quotes depending on the spawn path. Now: MSYS-aware child quoting (msys_quote.hpp), the command line travels verbatim to bash viaICMG_BASH_CMD+eval, andparseArgvexactly inverts the quoting on the direct-spawn path (\\→\only inside double quotes, so bare UNC paths stay literal). Nestedicmg run icmg run ...is stripped to one level; git CRLF/commit-graph notices no longer crowd the tier summary. Plus:icmg.execan no longer be built/installed without its icon + version resources, andicmg_testno longer aborts with exit 127 when the folder holds a file name Windows cannot map to the ANSI code page. 27 new tests — 2544/2544 tests ✓. - v2.25.1 — Sentinel standby disk-IO loop killed. The
diskcheck's auto-prune could never win (prune keeps ~15 DB-sized snapshots >disk_mb_max), so it re-fired prune + 2× full mirror sync every 15 minutes forever — ~25 MB/s of disk writes at idle. New per-project guard (.icmg/sentinel-guard.json): a 300 s run-dedup gate (kills the multi-session RUN storm;--forcebypasses) + ineffective-reaction suppression — reactions re-measure after acting and stop after 2 consecutive no-effect attempts (WARN still reported, with a hint). Plus 2 flaky bi-temporal tests pinned. 13 new tests — 2517/2517 tests ✓. - v2.25.0 — Project-scoped daemon pipes — run icmg daemons side by side. One machine can now host several
icmg serverdaemons (the dev daemon + one per project, e.g. a game-server memory sidecar):icmg server start --pipe icmg-gameserver, thenicmg server exec --pipe icmg-gameserver recall "npc reputation" --no-semantic.--pipe <name>on every server action,ICMG_SERVER_PIPEenv fallback (flag > env >icmg-serverdefault); names validated flat (alnum/-/_/.) so a crafted value cannot escape the pipe namespace. Measured through the daemon: ping 81 ms end-to-end (pipe round-trip itself sub-ms),recall --no-semantic153 ms vs 4.3 s cold semantic recall — fast enough for NPC-dialogue-pace memory lookups, per-user auth token still gates every request. 7 new tests — 2504/2504 tests ✓. - v2.24.0 — Landscape pack: grounded memory, honest gaps, real-workload bench, wired compression. Seven deterministic, zero-LLM features from the 2026-09 AI/AGI landscape scan (agent-memory + context-compression + repo-view + MCP-security literature).
memory-health --grounding— a memory citing a file the code graph no longer knows was probably written before a rename/delete (arXiv 2609.11060); probes our own graph, flags stale-suspects with the vanished refs, never deletes — noise-controlled (import specifiers, TSjs→tstwins, system headers skipped). Evicted-vs-missed gap tags —memory-health --gapsnow says which remedy fits (arXiv 2609.08279):[missed]= never held → store it;[evicted]= a soft-deleted memory matches the query (≥2 strong tokens) →icmg memory restore <id>.bench-recall --replay— judges the brain on its REAL workload (arXiv 2609.24971): replaysquery_historyagainst the current store; hit-rate, regressed queries (answered then, silent now = prune/forget damage), and answer token cost; exits 1 on regressions (CI-gateable). Confidence cue on auto-recall — every surfaced hit reads[score|high/med/low]relative to the injection floor (arXiv 2609.24259: models over- and under-trust injected memory without calibration).shrink --kind salience --graph-coherence— structure-blind per-line scoring drops the line citingregistry.hppwhile keeping its graph-wired neighbordispatcher.cpp; the coherence pass pulls back dropped lines citing files graph-adjacent to kept citations (arXiv 2608.30811, opt-in, capped).graph-skeleton --for <task> --focus— restricts the view to the task-seed + 1-hop neighborhood and boosts directly-seeded files, so a sparse task seed is no longer drowned by global hub files (arXiv 2609.16936). MCP per-tool call policy — exposure filtering is not access control:ICMG_MCP_DENY=a,b,candICMG_MCP_READONLY=1(denies the 14-tool mutating subset) now hold attools/calltime and hide denied schemas fromtools/list; default-off. Also: the Windows zip pollution root cause fixed at the source (build.ps1+pack-win.ps1share one 22-DLL whitelist, hard content gate deletes a bad zip before upload). 35 new tests — 2497/2497 tests ✓. - v2.23.0 — Token-killer pack: deep-forget, dangling guard, schemas-on-demand. Three deterministic, zero-LLM features from the 2026-09 research pass.
icmg forget <id> --deep— forgetting soft-deletes ONE node, but its content typically leaked into derived artifacts (session snapshots, wflog entries, consolidated notes);--deepscans live nodes for residue by directional containment (symmetric Jaccard under-scores a long snapshot holding a verbatim secret) — flag-only, never auto-deletes. Dangling-reference guard inshrink --kind salience— per-line selection can keep a line using an identifier while dropping the line defining it (34–60% of compressed outputs in the arXiv 2608.04569 benchmark); a post-pass pulls back first-mention lines of entities the kept lines reference (--no-dangling-guardopts out).icmg_tool_searchMCP meta-tool — withICMG_MCP_PROFILE=corethe host sees 11 tools instead of 43 full schemas saturating the context window before the first query; the meta-tool ranks ALL registered tools by capability query and returns fullinputSchemaper hit, schemas-on-demand, hidden tools stay callable. 15 new tests — 2462/2462 tests ✓. - v2.22.0 — Brain v2.22: the memory learns from its own usage. Four deterministic, zero-LLM memory upgrades from the 2026-08 research pass (Zep/Graphiti temporal-KG, Mem0, MemoryOS, coarse-to-fine grounded memory). Time-travel recall —
recall --as-of T(epoch,7d/24h/30mago, orYYYY-MM-DD) answers what did we believe at T? over the existing bi-temporal columns: since-superseded facts reappear before theirinvalidated_at, facts not yet valid stay hidden, and the query is side-effect-free (no cache, no frequency bump). Retrieval-failure ledger —memory-health --gapsturns recall queries that came back empty into a knowledge-gap checklist: the agent asked, the brain had nothing — most-asked first, noise skipped,--jsonfor tooling. Quick-note promotion by heat —memory-consolidate --promote-quickgivesquick:<epoch>captures the agent kept recalling (≥ 3 recalls) a permanent searchablehot:*topic while cold ones age out via decay. Coarse-to-fine recall — oversized result sets keep the strongest hits full-bodied and collapse the tail to 1-line index rows (--get <id>fetches detail;--fullopts out). 23 new tests — 2447/2447 tests ✓. - v2.21.1 — Multi-daemon spam fix — dozens of idle
icmg.exeno more. On busy multi-user servers, concurrent hook calls racedensureDaemon(): every spawned rule-daemon created the same named pipe successfully (PIPE_UNLIMITED_INSTANCES, noFILE_FLAG_FIRST_PIPE_INSTANCE, no cross-process lock) and then parked inConnectNamedPipeforever — accumulating dozens of ~2-3 MBicmg.exeprocesses per user. Fixed belt-and-braces:RuleDaemon::acquireSingleton()per-user cross-process lock (Windows: named mutexLocal\icmg-rule-daemon-<user>; POSIX:flockon~/.icmg/rule-daemon.lock) required byrun()— the losing daemon exits quietly — plusFILE_FLAG_FIRST_PIPE_INSTANCEso a raced second daemon can never share the pipe even if the mutex path regresses. One-time cleanup on affected servers:taskkill /F /IM icmg.exe, then update. 2419/2419 tests ✓. - v2.21.0 — Brain + token trio: session-aware recall delta, contradiction sentinel, adaptive recall depth. When the session TTL dedup suppresses memory nodes you already saw this session,
recallnow emits a single stdout line[N prior memories still apply: #ids]instead of silently dropping the reference — the agent keeps the pointer without re-paying the tokens for full bodies. Newicmg memory-health --contradictionsscans the memory store for node pairs that overlap heavily (Jaccard ≥ 0.6 default,--jaccard-minto tune) yet disagree — a negation marker on one side or a conflictingkey=valuefact; flag-only (never deletes), strongest-first, capped at--max(default 25), each hit suggesting the existing bi-temporal fixicmg memory invalidate <old> --by <new>. Verified live on a 31k-node store: caught realicmg_versionandprefixconflicts at 100% overlap. Andrecall --adaptivesizes recall depth with the deterministic v2.20 intent classifier — simple task = 3 results, unknown = 7, complex = 12; an explicit--limitalways wins. All deterministic, no LLM. 2416/2416 tests ✓. - v2.20.0 — Model-era capability pack. As frontier models grew 1M-token windows and extended-thinking budgets, the token lever shifted from how much to trim toward cache-hit rate and reasoning-token cost. Five shipped:
pack --cache-awareclassifies sections (conventions/rules/graph/files = stable; task/recall/diff = volatile), orders stable-first, and wraps ONLY the byte-stable prefix (FNV-1aprefix_hashmakes drift visible) so prompt caching (-90% cost / -85% latency) actually hits. MCP tool annotations — every tools/list entry now carriesreadOnlyHint/destructiveHint/idempotentHint/openWorldHintso an agent host can plan safely. Newicmg_graph_queryMCP tool: deterministic multi-hop structural search (blast_radius|who_calls|path_between).pack --effort-hintrecommends an extended-thinking budget from task intent + graph fan-out.token-ledger stats/otelreport cache-hit ratio + honest cost estimate, OpenTelemetry GenAI-style JSON offline. 2406/2406 tests ✓.
curl -fsSL https://raw.githubusercontent.com/ncmonx/icemage/main/scripts/install.sh | sh
One line — Windows (PowerShell):
irm https://raw.githubusercontent.com/ncmonx/icemage/main/scripts/install.ps1 | iex
The installer grabs the latest release, verifies its SHA-256, and drops icmg into your bin dir (~/.local/bin on Linux/macOS, %USERPROFILE%\bin on Windows). Pin a version with ICMG_VERSION=2.1.0, or change where it lands with ICMG_BIN_DIR.
- Download the latest archive from the Releases page —
icmg-<version>-win-x64.zipfor Windows,icmg-<version>-linux-x64.tar.gzfor Linux,icmg-<version>-macos-arm64.tar.gzfor macOS. - Extract it into any folder.
- Add that folder to your
PATHsoicmgis available everywhere.
Then, in your project terminal:
icmg init
That's it. The next time you launch Claude Code (or Cursor / Cline / Windsurf — see below), Icemage will quietly start trimming tokens.
🧰 What you'll actually use day-to-day
After install, the only command most people type is icmg init once per project. Everything else happens automatically. A few useful commands when you want to peek under the hood:
| Want to | Type |
|---|---|
| See how much you saved this month | icmg savings |
| See a chart in the terminal | icmg savings --ascii |
| Recall a past decision in this project | icmg recall "<question>" |
| Recall something from another project | icmg cross-recall "<question>" |
| Wake-up briefing for a fresh session | icmg wake-up |
| Update Icemage in place | icmg update --apply |
| Health-check the install | icmg doctor |
For the full menu run icmg --help.
🤖 Works with
- Claude Code (primary target — best-tested)
- Cursor — drop-in via the same hooks
- Cline, Windsurf, OpenCode — same approach, may need a small config nudge
- Anything that exposes hooks or MCP — the MCP server bundled with Icemage is reusable
🛡️ Safety + privacy
- 100 % local. Everything Icemage knows about your projects lives in a small SQLite database next to your code. Nothing is sent to a remote server — not the project name, not the file paths, not the recalled snippets.
- No telemetry. Icemage doesn't phone home.
- Open source. Elastic License 2.0 - source-available. Free to use, copy, modify, and self-host. The one limitation: you may not offer icmg to third parties as a hosted or managed service. Everything else is fair game. Audit the binary, the release notes, and the file structure freely. Source code is held privately to keep the bug surface manageable for a solo maintainer — public reports + private fixes is the operating model.
- Tamper-evident. Every release ships with a
sha256sidecar so you can verify the binary you downloaded.
🩹 Honest limits
- Windows + Linux only for prebuilt binaries today. macOS users currently need to wait for a self-hosted runner build (planned).
- First-time install on Windows with strict antivirus can be slow until you let Icemage run once. After that it's fast.
- Not a replacement for the AI. Icemage is a token-trimming layer — it doesn't write code for you and it doesn't make a bad AI smart.
💖 Support
If Icemage saved you a few hours or a few dollars and you want to send a small thank-you, both routes work:
All revenue goes straight into more releases — there is no team behind this, just one maintainer and a long backlog of "make AI agents less wasteful" ideas.
❓ FAQ
Does Icemage send my code anywhere?
No. Everything is local. The only network call is when you ask Icemage to update itself or fetch a URL through icmg fetch.
Can my company use it? Yes - Elastic License 2.0: source-available, free for any use including commercial, self-hosting, and modification. The only limit is reselling icmg itself as a hosted/managed service. Want a private support arrangement or custom build? Open a sponsorship.
Why is the source code repo private? One maintainer, no security team. Public bug reports + private fixes lets me ship hotfixes the same day without telegraphing exploitable details. The release binaries and reproducible build hash are still public.
Does it slow my AI down? No. Trimming happens before the AI reads anything, so the AI sees a smaller, cleaner version of the same context. End-to-end interactions get faster, not slower.
Where are the savings stored?
In .icmg/data.db inside each project (small SQLite file). Run icmg savings to see the breakdown.
How do I report a bug or ask for a feature?
Open an issue at the GitHub issues page. Real-world reproductions with icmg savings --json attached get triaged fastest.
🌟 Star history
📜 License
Elastic License 2.0 - source-available. Free to use, copy, modify, and self-host. The one limitation: you may not offer icmg to third parties as a hosted or managed service. Everything else is fair game.
📚 Other docs
- CHANGELOG.md — full version history
- SECURITY.md — vulnerability reporting
- NOTICE — third-party attributions