free-fast-mode
v0.1.0
Published
free-fast-mode: a performance layer for coding agents
Downloads
100
Readme
free-fast-mode
free-fast-mode is a performance layer for coding agents.
It does not replace agent planning. It accelerates execution of common agent operations with batching, caching, deduplication, speculation, and narrowing.
What It Optimizes
- reading many files
- text search
- related-file resolution
- test discovery
- targeted test command selection
- output summarization
- workspace snapshot capture
Execution flow:
agent -> operation -> optimizer -> execution -> cache
Install
No global install is required for plugin use.
npx -y free-fast-mode plugin scaffold --target all --out .ffm-pluginsThis generates Claude + Codex plugin bundles in .ffm-plugins/.
For local development:
npm install
npm run build
npm linkCLI
ffm serve
ffm status
ffm snapshot
ffm bench
ffm clear-cache
ffm plugin scaffold --target all --out .ffm-pluginsMCP Tools
The server exposes:
ffm_read_files_batchffm_searchffm_get_cachedffm_resolve_related_filesffm_discover_testsffm_run_test_targetffm_summarize_outputsffm_workspace_snapshot
Start server:
ffm serveTransport is line-delimited JSON-RPC with MCP-style tool semantics.
Claude Code
Use plugin scaffolding:
ffm plugin scaffold --target claude --out .ffm-pluginsThen apply .ffm-plugins/claude/settings.json.
See docs/claude.md.
Codex
Use plugin scaffolding:
ffm plugin scaffold --target codex --out .ffm-pluginsThen apply:
.ffm-plugins/codex/mcp.json.ffm-plugins/codex/AGENTS.md.ffm-plugins/codex/skill-free-fast.md
See docs/codex.md.
Benchmarks
Run:
ffm benchDefault benchmark behavior:
- runs 8 representative scenarios
- runs each scenario 20 times for
baselineand 20 times foroptimized - reports statistical summaries (mean, median, p95, stddev, min/max)
- optional override:
ffm bench --iterations 5
Outputs:
benchmarks/latest/metrics.jsonbenchmarks/latest/report.md
Metrics include wall-clock, tool calls, repeated reads avoided, cache/search reuse, and targeted test selection.
Examples
examples/demo-repo-jsexamples/demo-repo-py
Current Limitations
- The MCP transport is lightweight and focused on local stdio usage.
- Heuristics for related files are practical but intentionally simple.
run_test_targetdefaults to command selection and supports optional execution.
