Skip to main content
Glama
README.md
# NodeTool

[![Stars](https://img.shields.io/github/stars/nodetool-ai/nodetool?style=social)](https://github.com/nodetool-ai/nodetool/stargazers)
[![Downloads](https://img.shields.io/github/downloads/nodetool-ai/nodetool/total?color=3fb950)](https://github.com/nodetool-ai/nodetool/releases)
[![Latest Release](https://img.shields.io/github/v/release/nodetool-ai/nodetool?display_name=tag&sort=semver)](https://github.com/nodetool-ai/nodetool/releases/latest)
[![Discord](https://img.shields.io/badge/Discord-join-5865F2?logo=discord&logoColor=white)](https://discord.gg/WmQTWZRcYE)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL_v3-blue.svg)](LICENSE.txt)

English · [简体中文](README.zh-CN.md) · [日本語](README.ja.md) · [한국어](README.ko.md)

**Films · agent · node workflows**

**The open-source AI studio you actually control.** Storyboard, generate, and
cut video on a live timeline backed by editable node graphs. Run local models
or your own API keys at list price.

**[Download NodeTool Studio](https://github.com/nodetool-ai/nodetool/releases/latest)** ·
**[Try in your browser](https://app.nodetool.ai)** (alpha) ·
**[Quick start](#first-run-in-studio)** ·
**[Documentation](https://docs.nodetool.ai/)** · **[MCP setup](#mcp)** ·
**[Contribute](#contributing)**

![NodeTool: one sentence becomes a beat sheet, entities, a storyboard of stills and clips, and a finished cut](marketing/public/hero-flow-readme.gif)

One sentence becomes a short film. The agent outlines the story, designs the
characters, draws a storyboard, generates the clips, and edits them together.

Studio is free and open source for macOS, Windows, and Linux. In Studio, sign
in with your ChatGPT or Claude plan and the agent runs on it. Or add your own
provider keys and pay list price, with nothing added.

## Films

Write the script, storyboard every shot, and cut the clips on a timeline, all
in one project. The storyboard holds one still per shot, and only the shots
you approve become video. A Seedream 5 Lite still costs $0.03 on Kie.ai. Five
seconds of Seedance 2 costs $1.03 (list prices via genspend.io, August 2026).
Settle the shot on stills, then animate the one that works.

Bind a workflow to a timeline clip. Change one of its inputs and the clip shows
it is out of date, so you regenerate that take while the rest of the cut stays.

The [storyboard gallery](https://nodetool.ai/storyboards) holds finished films,
each with the brief it started from and every shot with its camera and
direction. The [film quick start](docs/getting-started.md) walks through each
step.

## The agent

Tell the agent what to change in plain words. It edits the project, and you can
take over at any point. Each editor exposes its actions to the agent as tools,
so it can wire a graph, paint a layer, cut a clip, revise a shot, or voice a
line in the same documents you work in.

- **Build workflows.** Describe the pipeline. The agent picks the nodes, wires
  the edges, and validates the graph, and leaves behind a workflow you own.
- **Build apps.** Ask for a custom UI. The agent plans the workflow, places
  widgets, and replays interactions. A judge model grades the result. No
  passing verdict, no app.
- **Repair on the fly.** Put an agent on the failure path and it decides
  whether to retry, repair, skip, or stop, within the cost budget you set.
- **Bring your own agent.** The toolbelt is exposed over [MCP](#mcp), so Claude
  Desktop, Claude Code, or Codex can drive the studio.

Underneath, a planner turns an objective into a DAG of steps, executors walk it
in parallel, and every LLM call emits an OpenTelemetry span with tokens and
cost. See the [agent guide](https://docs.nodetool.ai/agents/) and
[docs/AGENTS.md](docs/AGENTS.md).

## Node workflows

<a href="marketing/public/hero-nodes.mp4"><img src="marketing/public/hero-nodes-poster.webp" alt="A NodeTool workflow: five shots run through For Each, Text To Image, Image To Video, Collect, and Concatenate Video into one cut" width="640"></a>

Made it once? Run it again. Underneath every project is a node graph. Save the
pipeline that worked and run it on the next episode, twenty ad variants, or the
same character in a new scene. Bring a ComfyUI workflow you already have, wire
nodes by hand, or ask the agent to build the graph and check it before a paid
run.

Drag nodes in, connect typed ports, and read the live output at each step.
Double-click the canvas to search for a node, or drag a connection into empty
space to see what fits. The editor refuses a mismatch, so an image cannot land
in a text field. See [node-based workflows](https://nodetool.ai/node-based-workflows).

## Plans, keys, and models

Sign in with ChatGPT or Claude in Studio and the agent runs on that $20
subscription instead of a metered API bill. ChatGPT and Gemini plans also
generate images, and Gemini generates video. Those runs count against your
plan's own limits.

| Plan | Chat and agent | Images | Video |
| :--- | :---: | :---: | :---: |
| ChatGPT | Yes | Yes | No |
| Claude | Yes | No | No |
| Gemini | Yes | Yes | Yes |

Subscriptions run in Studio, the desktop app, not in Cloud. Gemini also needs
the [NodeTool Chrome extension](https://docs.nodetool.ai/chrome-extension) in
the browser where you are signed in.

Every other model runs on your own provider key, at the provider's price, with
no billing unit in between, or locally on your own hardware. Local models have
hardware requirements that depend on the model. [NodeTool
Cloud](https://nodetool.ai/cloud) is in alpha and runs on hosted storage and
cloud providers. [Models and Providers](docs/models-and-providers.md) lists
what runs where.

## First run in Studio

1. Download the [latest release](https://github.com/nodetool-ai/nodetool/releases/latest)
   for your operating system and install it. See the
   [installation guide](docs/installation.md) for requirements and per-OS steps.
2. Connect providers through **Settings → Models & Providers** to enable agents and media generation.
3. Start a new project and follow along.


## The editors

Seven editors share one project: storyboard, script, timeline, sketch, 3D,
game, and the node graph. A piece never leaves the studio to be finished, and
the agent works in all of them.

### Storyboard

<img src="marketing/public/surface-storyboard-poster.webp" alt="NodeTool storyboard" width="640">

Board the film shot by shot. Pitch a concept, a style, and a shot count, and
you get back a screenplay: one shot per card with action, camera, motion, and
duration, plus the logline, style bible, narration, and music direction.

- **Revise one shot, not the reel.** "Make it darker, add rain" runs
  video-to-video on that clip alone and returns a new take. You decide whether
  it replaces the old one.
- **Entities keep the cast steady.** Characters, locations, styles, and props
  paste the same descriptor into every prompt that names them.
- **Assemble the cut.** One click lays the shots onto a timeline with narration
  and music, each clip still linked to its shot.

The agent works the same board, with or without the editor open.
[Creative agent guide →](https://docs.nodetool.ai/creative-agent)

### Script and voice

<img src="marketing/public/surface-script-poster.webp" alt="NodeTool script editor: the transcript panel beside the sequence it assembles into" width="640">

Draft the dialogue, cast a provider, model, and voice per character, and
audition alternate readings. Each voicing saves its own take with word timings,
and changing the words flags that take stale. The current takes assemble into a
sequence, the timings riding along as captions. Ask the agent and it voices
every line that still needs it, then cuts the sequence for you.

### Timeline

<img src="marketing/public/surface-timeline-poster.webp" alt="NodeTool timeline" width="640">

Arrange, trim, and layer video and audio across tracks, down to the frame and
the stem. Drop in your own footage, or bind a workflow to a clip and generate
in place. Export to MP4. The agent edits the same document
when you ask it to tighten the opening.
[Video editor guide →](https://docs.nodetool.ai/video-editor)

### Sketch

<img src="marketing/public/screen_sketch_editor.webp" alt="NodeTool sketch editor" width="640">

Build a composition in layers with blend modes and masks, then bind a layer to
a model or a workflow and generate where you are painting. Change a prompt or
an upstream input and the layer flags itself stale. The rest of the workflow
receives the flattened image, the mask, and each layer on its own.
[Sketch editor guide →](https://docs.nodetool.ai/sketch-editor)

### 3D

<img src="marketing/public/surface-3d-poster.webp" alt="NodeTool 3D scene editor" width="640">

Place primitives and lights in a scene by hand or by asking, then capture a
view as a depth or composition reference for an image or video model. The same
scene builds and renders with no editor open, so it comes back the same way
every time.
[3D editor guide →](https://docs.nodetool.ai/3d-editor)

### Game

<img src="marketing/public/surface-game-poster.webp" alt="NodeTool game editor" width="640">

Build a 2D or 3D game in a workspace tab and play it without leaving the
editor. Place entities, give them behaviors or JavaScript, and bind generated
sprites, sounds, and models to their slots. Ask the agent for a new enemy or a
darker level and it edits the same draft. Publish a revision, then export it as
a standalone web player that runs without NodeTool.
[Game editor guide →](https://docs.nodetool.ai/game-editor)

## Example timelines

Each film below is a timeline document that ships with NodeTool, rendered to MP4.
Select a poster to watch the film. Open the example in the app to edit every
clip, track, and effect.

<table>
<tr>
<td valign="top" width="50%">
<a href="marketing/public/timelines/serein/film.mp4"><img src="marketing/public/timelines/serein/poster.webp" alt="Serein, the inbox that sorts itself" width="360"></a><br>
<b>Serein, the inbox that sorts itself</b><br>
A 26-second product launch film built from editable scene clips, text, motion, and effects. <a href="marketing/public/timelines/serein/film.mp4">Watch the film</a> or see the <a href="marketing/public/timelines/serein/timeline.webp">timeline layout</a>.
</td>
<td valign="top" width="50%">
<a href="marketing/public/timelines/kite/film.mp4"><img src="marketing/public/timelines/kite/poster.webp" alt="Kite, savings on autopilot" width="360"></a><br>
<b>Kite, savings on autopilot</b><br>
A 15-second app ad made from motion graphics alone: kinetic type, a drawn-on chart, a filling goal ring, and a logo reveal. <a href="marketing/public/timelines/kite/film.mp4">Watch the film</a> or see the <a href="marketing/public/timelines/kite/timeline.webp">timeline layout</a>.
</td>
</tr>
<tr>
<td valign="top" width="50%">
<a href="marketing/public/timelines/voltra/film.mp4"><img src="marketing/public/timelines/voltra/poster.webp" alt="Voltra, silent and violent" width="360"></a><br>
<b>Voltra, silent and violent</b><br>
A 23-second motorcycle launch ad cut to a 120 BPM beat, with generated stills, parallax plates, mattes, and spec gauges. <a href="marketing/public/timelines/voltra/film.mp4">Watch the film</a> or see the <a href="marketing/public/timelines/voltra/timeline.webp">timeline layout</a>.
</td>
<td valign="top" width="50%">
<a href="marketing/public/timelines/prism/film.mp4"><img src="marketing/public/timelines/prism/poster.webp" alt="Prism, run in every colour" width="360"></a><br>
<b>Prism, run in every colour</b><br>
An 18-second running-shoe ad on a 120 BPM grid, with green-screen stills keyed in the timeline and a prism that splits light. <a href="marketing/public/timelines/prism/film.mp4">Watch the film</a> or see the <a href="marketing/public/timelines/prism/timeline.webp">timeline layout</a>.
</td>
</tr>
<tr>
<td valign="top" width="50%">
<a href="marketing/public/timelines/tidewater/film.mp4"><img src="marketing/public/timelines/tidewater/poster.webp" alt="Tidewater, summer jazz on the pier" width="200"></a><br>
<b>Tidewater, summer jazz on the pier</b><br>
A 16-second 4:5 risograph poster that moves, on stepped 12 fps time with a swing score. <a href="marketing/public/timelines/tidewater/film.mp4">Watch the film</a> or see the <a href="marketing/public/timelines/tidewater/timeline.webp">timeline layout</a>.
</td>
<td valign="top" width="50%">
<a href="marketing/public/timelines/cadence/film.mp4"><img src="marketing/public/timelines/cadence/poster.webp" alt="Cadence, a year on two wheels" width="140"></a><br>
<b>Cadence, a year on two wheels</b><br>
A vertical year-in-review data story with a route that rides itself, counted stat cards, and animated charts. <a href="marketing/public/timelines/cadence/film.mp4">Watch the film</a> or see the <a href="marketing/public/timelines/cadence/timeline.webp">timeline layout</a>.
</td>
</tr>
</table>

The [showcase](https://nodetool.ai/showcase) and
[template gallery](https://nodetool.ai/templates) hold the single workflows
these films chain.

## How NodeTool compares

Most AI video apps run only on their own servers. They choose which models you
get, sell you credits for each try, and hand back an exported video while the
project stays in their app. NodeTool leaves those choices, and the project,
with you. The table compares the category, not a product.

| | NodeTool | Hosted AI video apps |
| :--- | :--- | :--- |
| **Models** | Every major provider, on your own keys | The list they picked |
| **When a better model ships** | Add it the day it ships | Wait for them to add it |
| **What you pay** | The provider's own price, through your own account | Credits you buy from them, at prices they set |
| **What you keep** | The storyboard, every generated clip, and the edited video, as a project you can reopen | An exported video. The project stays in their app. |
| **Source** | Open source, AGPL-3.0 | Closed |
| **Where it runs** | Desktop app, browser (Cloud alpha), or your own server | Their servers only |

Choosing against a node tool instead? See
[ComfyUI](https://nodetool.ai/alternatives/comfyui) and
[Figma Weave](https://nodetool.ai/alternatives/figma-weave).

## What is underneath

Everything the film surfaces do is reachable on the canvas without the film.

| | |
| :--- | :--- |
| **Mini apps** | Give a workflow a screen: inputs, a Run button, the result. Hand it to a teammate who never sees the canvas. |
| **Editing tools as nodes** | Mask, inpaint, outpaint, relight, upscale, layer, and composite. |
| **Every modality** | Image, video, audio, and text in one workflow. |
| **Every major provider** | OpenAI, Anthropic, Gemini, FAL, KIE, Replicate, ElevenLabs, HuggingFace, plus generated nodes for the fal.ai, Replicate, and KIE model catalogs and a fal.ai node that calls any endpoint by id. |
| **Open weights** | Ollama, MLX (Apple Silicon), and GGUF on your own hardware. |
| **Document search** | Index and query your files with the built-in vector store. |
| **JS scripts** | Versioned JavaScript documents with declared ports, saved test cases, and a QuickJS sandbox. |
| **MCP server** | Point Claude Desktop, Claude Code, Codex, or any MCP agent at the toolbelt. |
| **Custom nodes** | Extend in TypeScript or Python. |
| **Deploy and scale** | [Self-host with Docker](docs/self-hosted-deployment.md), with [backup and rollback](docs/upgrading.md#self-hosted-docker) steps. Rent GPU workers on RunPod or Vast. |

## Documentation

- **[Getting Started](https://docs.nodetool.ai/getting-started)** — Build your first workflow
- **[Agents](https://docs.nodetool.ai/agents/)** — Let an agent build, run, and repair your workflows
- **[Mini Apps](https://docs.nodetool.ai/mini-apps)** — Wrap a workflow in an interface
- **[App Builder](https://docs.nodetool.ai/app-builder)** — Place widgets, wire them to a workflow, publish
- **[Creative Agent](https://docs.nodetool.ai/creative-agent)** — Storyboard a film, gate the spend, assemble the cut
- **[JavaScript Sandbox](https://docs.nodetool.ai/javascript-sandbox)** — What JS scripts and Code nodes can reach
- **[Video Editor](https://docs.nodetool.ai/video-editor)** — Sequence and generate clips on a timeline
- **[Sketch Editor](https://docs.nodetool.ai/sketch-editor)** — Draw, mask, and generate on a layered canvas
- **[3D Editor](https://docs.nodetool.ai/3d-editor)** — Place objects, lights, and cameras in a glTF scene
- **[Game Editor](https://docs.nodetool.ai/game-editor)** — Build, play, and export 2D and 3D games
- **[Document Editor](https://docs.nodetool.ai/document-editor)** — Write Markdown briefs with embedded shots, assistant edits, and snapshots
- **[Node Packs](https://docs.nodetool.ai/packs)** — Available nodes and integrations
- **[Custom Nodes](https://docs.nodetool.ai/developer/custom-nodes-guide)** — Extend NodeTool
- **[Provider Guides](https://docs.nodetool.ai/developer/providers/)** — Add new models and nodes for any provider
- **[Deployment](https://docs.nodetool.ai/deployment)** — Share your work
- **[API Reference](https://docs.nodetool.ai/api)** — Programmatic access

## MCP

**Give Claude Code a creative harness.** A harness is everything an agent works
inside: tools, editors, models, keys, and a record of each step. NodeTool
supplies all five to the coding agent you already use. It can build and run a
workflow, read the log of the step that failed, and save the fix as a new
version, or work the storyboard, timeline, and other editors directly. See
[nodetool.ai/agents](https://nodetool.ai/agents).

Use NodeTool from Claude Code, Codex, or OpenCode. One command registers the
server with every client it finds. The desktop app is optional:

```bash
npx -y --package=@nodetool-ai/cli-mcp nodetool-mcp install
```

The command starts the server once to check it, then writes each client's
config. Restart the client and ask it to use NodeTool. For other clients,
`nodetool-mcp config` prints an `mcpServers` block. See
[NodeTool as an MCP Server](https://docs.nodetool.ai/mcp-server).

For Claude Desktop, build the source MCP bundle after installing dependencies
and building packages:

```bash
npm run build:mcpb
# writes dist/nodetool.mcpb
```

The MCP server can drive workflows and creative editing surfaces. See the
[MCP production guide](docs/mcp-production.md) and
[agent architecture](docs/AGENTS.md).

## First run from source

This deterministic example uses the repository's
[`hello_input_output_cli.json`](examples/workflows/hello_input_output_cli.json)
template. It calls no model, so it needs no API key:

```bash
git clone https://github.com/nodetool-ai/nodetool.git
cd nodetool
nvm use                         # Requires nvm, reads the version from .nvmrc
npm install
npm run build:packages
npm run workflow -- ./examples/workflows/hello_input_output_cli.json \
  --input text='hello from NodeTool'
```

The input node named `text` connects to a `Reroute` output node. The command's
JSON summary includes `hello from NodeTool` in its outputs. See
[`examples/workflows/README.md`](examples/workflows/README.md) for more CLI
smoke tests and expected behavior. The creator workflow templates, mini apps,
storyboards, timelines, and recipes shipped in Studio live in
[`packages/base-nodes/nodetool/examples/`](packages/base-nodes/nodetool/examples/)
and are browsable in the [template gallery](https://nodetool.ai/templates).

To run an agent or a model-backed workflow, configure a provider first. Export
an OpenAI key and use the checked-in OpenAI example:

```bash
export OPENAI_API_KEY='your-key'
npm run workflow -- ./examples/workflows/agent_openai_basic_cli.json \
  --input prompt='Write one sentence about workflow testing.'
```

This makes a paid provider request against GPT-4o. Access and billing depend
on your provider account. See
[Models and Providers](docs/models-and-providers.md) and
[Provider Guides](https://docs.nodetool.ai/developer/providers/) for other
providers and local setup. Do not add a key to a committed file.

## CLI

Install the CLI with `npm install -g @nodetool-ai/cli`, using Node.js 22 or later. The
[CLI package guide](packages/cli/README.md) covers running workflows with the
installed command.

To serve the API, run `nodetool serve` in a separate terminal. Commands that
support remote execution accept `--api-url` or `NODETOOL_API_URL`.
For interactive agent chat, connect a provider first as described in the
[CLI package guide](packages/cli/README.md), then run `nodetool-chat`.

See the [CLI reference](https://docs.nodetool.ai/cli) and
[CLI package guide](packages/cli/README.md). A one-off install is available with
`npx --package=@nodetool-ai/cli nodetool --help`.

## Development setup

After the [source quick start](#first-run-from-source), start the API and web
UI from the prepared checkout:

```bash
npm run dev
```

A fresh checkout installs dependencies, rebuilds `better-sqlite3`, builds the
backend packages and creates `.env` on the first `npm run dev` or
`npm start`. To start only the API, use `npm start`. To inspect the environment
without changing it, use `npm run doctor`. None of these launch the Electron
desktop app.

In a separate terminal, launch the desktop shell with `npm run electron`.
The Node.js version is pinned in [`.nvmrc`](.nvmrc). Python 3.11 or newer is
optional, for Python nodes. See
[Python nodes without the desktop app](docs/advanced-install.md#python-nodes-without-the-desktop-app). For locked-down environments or missing WebGPU, see
[development environment](docs/dev-environment.md).

## Testing

After a code change, run these four repository-root checks from the commands in
[`AGENTS.md`](AGENTS.md):

```bash
npm run test:affected
npm run typecheck
npm run lint
npm run dev:nodetool -- harness gate --base origin/main
```

The web testing guide is at [`web/TESTING.md`](web/TESTING.md). The complete
repository gate is `npm run check`.

## Project layout

| Path | Purpose |
| --- | --- |
| [`packages/`](packages/) | TypeScript runtime, workflow kernel, agents, providers, and nodes |
| [`web/`](web/) | React web UI |
| [`electron/`](electron/) | Desktop Studio shell |
| [`mobile/`](mobile/) | React Native app |
| [`docs/`](docs/) | Documentation and development guides |
| [`packages/base-nodes/nodetool/examples/`](packages/base-nodes/nodetool/examples/) | Shipped workflow templates, mini apps, storyboards, timelines, and recipes |
| [`examples/workflows/`](examples/workflows/) | CLI smoke-test workflow examples |

## Contributing

Read [`AGENTS.md`](AGENTS.md) and the
[development standards](docs/DEVELOPMENT_STANDARDS.md), then open an issue for
larger changes. Pull requests for bug fixes, nodes, providers, workflows, and
documentation are welcome. Run the narrowest relevant checks before opening a
PR and include their results.

## License and community

NodeTool is licensed under [AGPL-3.0](LICENSE.txt).

[GitHub](https://github.com/nodetool-ai/nodetool) ·
[Discord](https://discord.gg/WmQTWZRcYE) · [Website](https://nodetool.ai)