For agents
weave stores structured work (tables, records, relations, documents) in one SQLite
file, and an agent drives it over MCP, REST or the CLI.
- Connect over MCP:
node bin/weave.js mcp --data <file.db>, the same as
weave mcp --data <file>. In Claude Code:
claude mcp add weave -- node /path/to/weave/bin/weave.js mcp --data /path/to/workspace.db
- Or build from a file:
weave build <spec.json> --dry-run, then again without
--dry-run.
- Read AGENTS.md › Using weave first: the primer,
every tool by job, plans with turn budgets, and common errors with their fixes.
What weave is
weave is a work database you run yourself. Spaces hold tables, tables hold
rows (the API calls them entities), and rows link to each other through
bidirectional relations, with lookups, rollups, formulas, workflow states,
automations and any number of markdown documents on each row.
Documents have a structured home: a record with typed properties and relations.
Spaces, tables and fields are inspectable system records too. A relation can
connect different allowed record types, including the spaces and tables that
organize the work. The product principles
explain that model, its limits, and the choices behind it.
weave is built for people and AI agents as equals. The browser, REST API, CLI
and built-in MCP server share an engine and workspace data. Keep using your
chosen agent without managing a separate assistant inside each productivity
tool. A local install needs no account and sends no telemetry.
- One file per workspace: a workspace is one SQLite file next to your
project, served by one Node process on a laptop or a small VPS behind your
own TLS and login (see Self-hosting).
- weave cloud: the same code runs at https://weave.grunion.ai behind a
sign-in. A new account starts at
/start, which sets up a workspace, a
template and an agent connection. weave backup --dest weave://<host>/<account>
sends a self-hosted install's sealed nightly archive there (the cloud stores
ciphertext only), and weave workspace migrate moves a workspace across.
- Zero dependencies:
git clone and run, since storage is Node's built-in
node:sqlite, and the only third-party code is vendored and pinned.
- Agent access: an MCP server any stdio client can mount (Claude Code,
Codex CLI, Cursor, Gemini CLI), a scriptable CLI, row references such as
Task#12 everywhere, and markdown documents addressable as plain URLs
(/e/Task#12/doc.md, .html, .pdf).
- Undo:
weave undo, POST /api/undo and the weave_undo MCP tool reverse
any change to a row: edits, creates, deletes, links and comments.
- Versioned documents: every document field keeps its revisions (one
per editing session), browsable and restorable from the page,
weave doc-revisions / weave doc-restore, or the weave_doc_revisions /
weave_doc_restore MCP tools.
Developed in the open
Open source. Open tests. Open roadmap. Inspect the implementation,
test suites and CI results.
The development workspace holds the roadmap,
issues and a generated Quality mirror; every weave cloud account can read it.
The project allocates up to US$15,000 in monthly token budget for continuous
improvement. Its maintenance commitment includes multiple daily fixes and
roadmap developments, token usage reporting for each release, and a full-codebase
review and refactoring cycle with every new frontier-model release. The budget
is an allocation ceiling, not measured spend. The
maintenance model separates those
commitments from release evidence and describes the reporting still to establish.
Quickstart
Requires Node ≥ 22.16 (Node 24 LTS recommended). There is nothing to build
and nothing to install from npm.
git clone https://github.com/grunion-ai/weave
cd weave
node bin/weave.js serve --port 4400 --data ./my-workspace.db
Or start it in a container from the same checkout:
docker compose up -d
Or run the image each release publishes to the GitHub Container Registry. Your
workspaces, attachments and keystore stay in the weave-data volume at /data:
docker run -d --name weave -p 127.0.0.1:4400:4400 -v weave-data:/data ghcr.io/grunion-ai/weave:latest
Open http://127.0.0.1:4400 and press ⌘K to search everything. weave
provisions a self-documenting weave docs workspace alongside your data at
/w/weave/: the handbook, the wiki, the Showcase examples, and an Issue table
that collects this instance's bug reports. weave's own issue tracker, roadmap
and test suite mirror live in the weave docs workspace on weave cloud,
https://weave.grunion.ai/w/weave, which every weave cloud account can read.
If weave replaces a SaaS seat for you, star the repo so other teams can find it.
Connect your agent
One config block, any stdio MCP client (Claude Code, Claude Desktop, Codex CLI,
Cursor, Gemini CLI, Windsurf, OpenCode):
{ "mcpServers": { "weave": { "command": "node",
"args": ["/path/to/weave/bin/weave.js", "mcp", "--data", "/path/to/my-workspace.db"] } } }
Or add it to Claude Code in one line:
claude mcp add weave -- node /path/to/weave/bin/weave.js mcp --data /path/to/my-workspace.db
A hosted instance with an OpenID Connect sign-in provider takes one line too.
The first call opens the provider's sign-in in your browser:
claude mcp add --scope user --transport http weave https://weave.example.com/mcp
For weave cloud at weave.grunion.ai, this repository is also a Claude Code
plugin marketplace. In Claude Code:
/plugin install weave --marketplace grunion-ai/weave
Each workspace on an instance has its own endpoint, /w/<workspace>/mcp. Link
your account to your provider sign-in first: run weave account link <account>,
which prints a one-time invite, and open that invite in a browser. Any role
connects, and tools/list names only the tools that role may call.
The server lists 17 tools by default: the ones a workspace build uses,
weave_build among them, and weave_call, which runs the other 49.
weave mcp --tools all (or WEAVE_MCP_TOOLS=all) lists all 66, among them
the same undo the UI has and weave_vocabulary, which returns the allowed
values so an agent reads them instead of guessing. Full map:
Agents: MCP, REST, and CLI.
Screenshots
| Documents on every record |
Relation map |
Search across workspaces |
|
|
|
Every entity carries markdown documents, addressable as .md, .html, and .pdf URLs. |
The schema, drawn: each table with its row count, and relations labelled with cardinality. Automations appear on the same map. |
⌘K across every workspace, matching names, text, documents and comments, with copyable permalinks. |
Open any record and it docks beside its table, so the entity and the records around it stay in view together.
| Kanban board |
Phone layout |
|
|
| A table view in board layout, one column per Status. Drag a card into another column to change its Status, with Undo. |
The same table at 390 px: status and owner chips on every row, search and + at the bottom. + opens a New row sheet that stays open for the next row. |
How weave compares
Feature comparison
Compare the work you need to do and the system you want to operate. These are
weave's current capabilities and boundaries, not a claim of exclusive features
or a percentage of another product.
| Capability |
What weave provides |
What to compare |
| Your existing agent |
Native MCP, REST and CLI over the browser's engine |
Agent setup, schema access, permissions and recovery, not just whether a product has a chatbot |
| Documents with a home |
Markdown document fields on typed, related records |
Keep a brief, its status and its related work together; live co-editing is not provided |
| Structure as records |
Inspectable system records for spaces, tables and fields |
Work with both content and the structure that organizes it |
| Flexible relations |
One field can target several allowed record types, including tables and spaces |
Multi-target relations have no inverse fields or lookup/rollup support; relationship properties still need a junction record |
| Integrated listening |
Incoming webhooks, API polling, persisted outbound retries and inspectable failures |
Turn external changes into records and actions; first-poll baselines and missing deletion events limit synchronization |
| Stable capture |
Forms with stable keys, aliases, server-filled fields and retry receipts |
Submit through browser, HTTP, CLI or MCP without general write access; anonymous intake requires operator enablement |
| Portable operation |
SQLite storage, JSON interchange, backup/restore and MIT source |
Operate independently; preserve attachments and keystore material with the appropriate backup |
| Addressable content |
ID-based permalinks; document URLs for Markdown, HTML and PDF |
Renames preserve ID-based references; moving hosts needs routing or redirects |
| Customization |
Render HTML documents, build against APIs, or modify the source |
HTML-document scripts execute on the application origin; trust their authors |
| Access control |
Workspace roles, private spaces, member roles, space-scoped tokens, share links and separate credential grants |
No general field-level account permissions; hidden columns are not access controls |
| Small runtime |
One Node process, no separate database server or build step |
Simple deployment shape; comparative speed and large-scale performance remain unmeasured |
| Open development |
Public source and tests, plus a roadmap and issue tracker in weave |
Inspect implementation, checks and direction; test code is not a passing test result |
Details: relations,
listening and automation,
forms, and product principles.
Named-product comparisons remain in the comparison guides.
Semantic search is a proposed capability, not a shipped feature.
Against the open-source alternatives
The open-source options in this space are all worth a look, and several are far
more mature than weave. They differ mainly in what they optimize for:
| Project |
License |
Install shape |
Optimized for |
| weave |
MIT |
One Node process, one file, no dependencies |
Agent access, documents on every row, running from a git checkout |
| NocoDB |
Sustainable Use License (since v0.301.0) |
Docker + external DB |
Putting a smart-spreadsheet UI on an existing MySQL/Postgres |
| Baserow |
MIT (core; paid tiers separate) |
Docker Compose + Postgres |
A full Airtable-shaped product, cloud or self-hosted |
| Grist |
Apache-2.0 |
Docker or Node |
Spreadsheet-grade formulas and data analysis |
| Teable |
AGPL-3.0 (core) |
Docker + Postgres |
Postgres-native scale with an Airtable UI |
Licenses and packaging as of August 2026; check each project for current terms. Pick weave if you want connected tables plus markdown documents plus an MCP server, with no container, no database server, and no dependency tree, and evaluate the others if you need richer access policies or a mature plugin ecosystem (see what weave is not).
What's inside