Codebase memory; the Form family's memory for coding agents.
What is already built, where it lives and the rules it follows,
served in as few tokens as the task needs. Rust and SQLite, on your own machine.
Download FormSlot on formai.studio · Run it from source
Real output: language stats for a repository, then a ranked search over its code units and slots.
Features · In the box · Agents · Under the hood · Download · Run from source
| Slots name the code your repositories already have, so an agent finds it before it writes a second copy. | Owner rules, declined approaches and decisions are read from your repository and recalled with a source line. | A pack for a task fits a token budget you choose, with a byte-stable prefix that caches well. | The same index answers the CLI, an MCP server on stdio and Claude Code hooks. |
| Shell CSS · panels and dialogs · toast · prefs store · terminal dock · MCP server · agent bridge · model manager · family laws | TypeScript · Python · Rust · CSS · HTML, with a per-repository call and use graph |
CLI · MCP over stdio and HTTP · Claude Code plugin and hooks · lookup skill · HTTP service on 127.0.0.1
|
FormSlot has 13 MCP tools (slot_find, slot_get, slot_source, slot_context_pack and nine more) over the same store as the CLI and the Claude Code hooks. Eleven only read; slot_reindex and slot_remember write formslot's own store and nothing else. The server speaks MCP revision 2026-07-28 and the earlier handshake revisions back to 2024-11-05. agents/manifest.json lists every tool with its class.
formslot add ~/code/my-repo # index a repository at HEAD
formslot recall "seam carving" # ranked memory records with a token estimate
formslot pack "add a section to the Preferences dialog" --corpus my-repo --tokens 4000
formslot mcp # MCP server on stdio, started by the agent programWhich agent program gets what:
| Program | Command | What it gets |
|---|---|---|
| Claude Code | formslot install <repo> |
the MCP server, the hooks, the formslot-lookup and formslot-curation skills and the formslot-scout agent |
| Codex | formslot connect codex <repo> |
the MCP server, in .codex/config.toml |
| Cursor | formslot connect cursor <repo> |
the MCP server, in .cursor/mcp.json |
| Antigravity | formslot connect antigravity <repo> |
the MCP server, in .agents/mcp_config.json |
Hooks, skills and the scout agent are Claude Code's only. The other three programs reach the same 13 tools through the MCP server.
formslot install <repo> connects a repository to Claude Code. It merges the hooks into .claude/settings.json (a map digest at session start, a reuse and declined-feature check before every write, and a duplicate audit at stop), adds the MCP server to .mcp.json, and writes the two skills and the formslot-scout agent into .claude/skills and .claude/agents, where Claude Code loads them. The same parts are also a Claude Code plugin: claude plugin marketplace add nodemode-dev/formslot, then claude plugin install formslot@formslot. Use one route per project, not both. For work on the plugin itself, claude --plugin-dir plugin/formslot loads it for one session. See AGENTS.md and docs/CONTRACT.md.
Nothing leaves your computer unless you run one of three commands yourself: pack --count remote sends the pack text and your Anthropic key to api.anthropic.com for a token count, dense fetch --yes downloads a model from huggingface.co, and eval --arm model runs claude on your Claude Code login. docs/GUIDE.md says what each one sends, and SECURITY.md how the local service is guarded.
- Workspace: Rust 2024 with two crates,
formslot-coreandformslot-cli. - Store: SQLite bundled through rusqlite, with the system git reading objects at a pinned commit.
- Search: bm25 and trigram lists fused with the graph, memory and slots, plus a PageRank repo map.
- Evaluated:
formslot evalscores recall over a 147-task gold set indocs/eval.
| Platform | Download | Release |
|---|---|---|
| macOS | Download FormSlot for macOS | FormSlot releases |
| Windows | Download FormSlot for Windows | FormSlot releases |
| Linux | Download FormSlot for Linux | FormSlot releases |
FormCompiler builds and signs every FormSlot release and publishes it on this repository's releases page. CHANGELOG.md says what each version changed.
FormSlot has no window of its own: you use it from a terminal, from Claude Code, or in Substrate (FormSubstrate), where its panel lives.
Requires: git and Rust 1.90 or later.
git clone git@github.com:nodemode-dev/formslot.git
cd formslot
./formslot_oc_install # checks git and cargo, builds the release binary
./formslot setup # guided first-time setup in plain languageOn Windows use formslot_oc_install.bat and formslot.bat. New users can double-click Install formslot.command (macOS) or Install formslot.bat (Windows). The plain-language guide is docs/GUIDE.md.
FORMSLOT_DATA_DIR moves the data folder from ~/.formslot; FORMSLOT_PORT moves the service port from 5645 (0 picks a free one).
Important
Status: release. The dense search tier is opt-in and off by default. See docs/eval for the reports.
Contributing: branch from main, keep changes to source here, and leave packaging and releases to formcompiler. See CONTRIBUTING.md, the code of conduct and AGENTS.md.
| Path | What it is |
|---|---|
core/ |
formslot-core: index, search, slots, memory, MCP and the service |
cli/ |
formslot-cli: the formslot command |
plugin/formslot/ |
Claude Code plugin, hooks and the lookup skill |
data/ |
The 26 proposed slots and the declined approaches |
docs/ |
Contract, guide, slot schema and eval reports |
setup/ |
Release and skill packaging scripts |
| Maintainer | Role |
|---|---|
| @nodemode-ai | Owner |
| @gbarnai | Co-owner |
Code owners are set in .github/CODEOWNERS.
FormSlot is licensed under the GNU General Public License v3.0 (LICENSE, SPDX GPL-3.0-only). Copyright (C) 2026 NodeAgentc, Inc. Third-party notices: NOTICE.md, with the full licence texts in THIRD-PARTY-NOTICES.txt.

