formsubstrate
Health Uyari
- License — License: GPL-3.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
FormSubstrate - instead of VS Code & Cursor: the developer workbench from the FormAI family of apps. A code editor that runs several Claude Code agents at once, each in its own git worktree, & shows what the project already holds before an agent writes. Runs locally, no account. Free & open-source under GPL-3.0.
FormSubstrate
FormSubstrate - instead of VS Code: the code & text editor from the FormAI family of apps, with Claude Code agents built in.
The application is called Substrate (Substrate.app). It runs several Claude Code agents at once,
each in its own git worktree; you review their changes hunk by hunk, with what FormSlot already knows shown before an agent writes.
Download Substrate on formai.tools · Run it from source
The editor on Substrate's own source, with the FormSlot panel showing a slot and its copies.
Features · In the box · Agents · Under the hood · Download · Run from source
Agents in worktreesAgent sessions each get their own git worktree, so several agents work on one repository without stepping on each other. A session runs Claude Code, or Codex, Cursor or Antigravity when that program is on your computer. |
Review before commitAccept or reject an agent's changes hunk by hunk, send comments back to the session, and commit under your own identity. |
FormSlot gatesA Claude Code agent about to rewrite code that already exists pauses until you choose to use it, adapt it or write new. |
Agent-readyAn MCP server with 14 tools lets an agent read the workbench's sessions, review, terminals, graph runs, gate notes, FormSlot slots and language-server problems. |
Features
What Substrate is today. An editor and review bench for projects in git, built around agent sessions. It edits any text file; language features come from the language servers on your computer (TypeScript, JavaScript and Python are found for you; Rust, JSON, HTML, CSS, YAML and others are added in Preferences); it debugs Python and Node.js; and it does the routine git work, tasks and search an editor is expected to do. Agent sessions run Claude Code, Codex, Cursor or Antigravity in their own worktrees, and you review what they change before it is committed.
What it does not have. There is no extension marketplace: extensions are compiled into the app, and plugins and MCP servers are the way to add tools. There is no notebook editor, no remote development over SSH or in containers, and no settings sync. Debugging covers Python and Node.js only. Substrate has no updater of its own; updates come through FormPortal.
Search slots, code and decisions from the side panel. FormSlot in the editorA status item, a slots panel with search and manifests, and provenance badges in review show what already exists. |
Source Control with a side-by-side diff of a working-tree change. Git and reviewStage, diff, snapshot and rewind, then commit with trailers stripped and every commit audited. Branches, fetch, pull, stashes, tags, merge conflict resolution and file history are in Source Control. Push and Sign and Push check each push. |
The file graph of this repository: 527 files and 1385 links. File graphSee how a repository's files link to each other, filter by folder or type, and click a node to open the file. |
Everything in the box
EditorCodeMirror 6 · TypeScript and pyright language servers · custom language servers with presets for Rust, JSON, HTML, CSS and YAML · quick fixes and Organize Imports · Go to File · search and replace across files · folding · multiple cursors · auto save · format on save · Outline · Problems · editor split · Markdown preview · Python debugging with debugpy and Node.js debugging with js-debug · conditional breakpoints, logpoints, Watch and a launch file · tasks from a task file or package.json scripts, with Run Build Task and problem matchers · keyboard shortcuts you can change |
Agents and gitClaude Code terminals · headless chat runs · worktree sessions with Claude Code, Codex, Cursor or Antigravity · hunk review · snapshots · commit audit · Studio graphs · an optional Claude Code connection to the editor, off by default |
FormatsOpens: code, Markdown, images, video, audio, PDF · Saves: files in your workspace |
Built for agents
Substrate's engine is an MCP server with 14 tools, 13 of them read-only. Only review_comment changes state, and no tool writes files, commits or answers a gate.
./formsubstrate mcp # MCP server on stdio for Claude Code, Codex and Cursor
./formsubstrate doctor # toolchain, installs and ports
The HTTP endpoint is POST /mcp, behind a local guard and a bearer token. It works inside Substrate sessions automatically, and for an outside client (Claude Code, Codex or Cursor) after you add the client in Preferences, Agents, MCP clients, which shows its token once. An outside client may read the open workspace, the session list and each session's status; it cannot write, comment, answer gates or read terminals. A routing skill pack for agents is in .claude/skills/formsubstrate-harness/. See docs/MCP.md and AGENTS.md.
Under the hood
- Engine: FastAPI on
127.0.0.1behind a local guard; owner-only changes need the window token. - Window: TypeScript and Vite 8 with CodeMirror 6, wrapped by a Tauri 2 desktop shell.
- Terminals: a detached pty-host keeps shells, tasks and agent programs running through an engine restart.
What Substrate sends over the network
Nothing leaves your computer unless you use a feature that needs it. Substrate collects no usage data: there is no telemetry, no crash reporting and no update check. The engine and the window talk to each other on 127.0.0.1 only.
- The model provider you configure (Cogentics). Chats, Test connection and the model price list go to the provider's address: OpenRouter by default, Ollama or LM Studio on this computer, or a custom address you enter. The price list is fetched only when a provider is configured. Requests to OpenRouter name Substrate in two headers.
- The web search plugin. When an agent or recipe runs it, the search words go to DuckDuckGo (
html.duckduckgo.com). - The HTTP connector plugin. Requests go to the address its settings name, only when it runs.
- MCP servers you add. An HTTP server gets requests at the address you gave, with the headers you saved. A command server runs on your computer and does whatever that program does.
- git. Clone repo fetches the address you enter (https and ssh only). Push runs
git pushto the remote you pick; Sign and Push runsgit fetchand thengit push. Fetch, Pull and pushing a tag in Source Control reach the remotes your repository already names, when you click them. Nothing is fetched or pushed in the background. - Claude Code. Sessions run the
claudecommand found on your computer. Its traffic to Anthropic is Claude Code's own, under its own settings; Substrate does not see or relay it. - Codex, Cursor and Antigravity. A session with one of these runs that program as found on your computer. Its traffic to its maker is its own, like Claude Code's.
- Route through FormNET. Off by default. With it on, new terminals and agent sessions send their traffic through FormNET's proxy on this computer (
127.0.0.1:8761). The engine, language servers and git actions are not routed. - Claude Code in the editor. Off by default. With it on, Substrate listens on
127.0.0.1only for Claude Code on this computer, and a connection needs a token from a file only your user can read. - Tasks run the commands in your task file or
package.jsonas your programs; what they reach is up to them. - Language servers and debuggers you installed run as your programs; what they download is up to them. The install commands Substrate shows are text for you to copy; it does not run them.
- formslot is reached on this computer only (
127.0.0.1). - Links. The desktop app opens an
http,httpsormailtolink in your browser only when you click it.
Download
| Platform | Download | Release |
|---|---|---|
| macOS | Download Substrate for macOS | Substrate releases |
| Windows | Download Substrate for Windows | Substrate releases |
| Linux | Download Substrate for Linux | Substrate releases |
All Substrate builds are compiled and signed by FormCompiler, which drafts each release on this repository's own Releases page; this repo holds the source. What changed in each version is in CHANGELOG.md.
Run it from source
Prefer it in your browser, or want to contribute? Run the web UI straight from this repo.
Requires: git, Python 3.13 or later, Node 20.19 or later, and Claude Code (or Codex, Cursor or Antigravity) for agent sessions.
git clone [email protected]:nodemode-dev/formsubstrate.git
cd formsubstrate
./formsubstrate_oc_install # backend venv and frontend packages
./formsubstrate # engine on 127.0.0.1:5655, web UI at http://localhost:5650
frontend/node_modules/.bin/tauri dev opens the desktop window instead; FORMSUBSTRATE_PORT moves the engine port. On Windows use formsubstrate_oc_install.bat and formsubstrate.bat. New users can double-click Install formsubstrate.command or Install formsubstrate.bat. The guide is docs/GUIDE.md.
[!IMPORTANT]
Status: release. Signing and notarization of the desktop app, and the FormCompiler catalogue rows, are still the owner's steps. Seedocs/RELEASE.md.
Contributing: fork, 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. Security problems go through SECURITY.md, never a public issue.
Repository
| Path | What it is |
|---|---|
frontend/ |
The window: TypeScript, Vite and CodeMirror |
backend/ |
The FastAPI engine, MCP server, pty-host and presets |
src-tauri/ |
The Tauri 2 desktop shell |
setup/ |
Install, boot, doctor and freeze scripts |
Maintainers
| Maintainer | Role |
|---|---|
| @nodemode-ai | Owner |
| @gbarnai | Co-owner |
Code owners are set in .github/CODEOWNERS.
License
FormSubstrate 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. Code ported from FormVis (Apache-2.0) and substrata (MIT) keeps its notices there.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi