headless

Infinite for developers and agents

Every patch is a text file the app can render with no window open. Use the command line, Python or an AI agent over MCP.

npx -y infinite-engine init
  • Headless
  • Python SDK
  • 12 MCP tools

Text in, files out

A patch is plain text. Validate it, print the graph that was built, then render stills, a contact sheet, video or an audio report.

No window, no display

The renderer runs from the command line, so it fits a script, a cron job or a CI step. Hardware inputs are refused in headless mode.

Built for agents

Nine MCP tools let an agent write a shader, a synth or a mesh and see the result. Every tool result carries the credit line.

Quick start

Three ways in

Infinite --validate hello.inf
Infinite --explain hello.inf
Infinite --frame hello.inf 0,1,2 pics/ --contact-sheet sheet.png
Infinite --render hello.inf hello.mp4 --duration 4 --fps 30
Infinite --audio-summary hello.inf hello.json

The Headless User Guide covers every flag and exit code.

Watch

One-command AI agent setup

Connect Infinite's twelve MCP tools to Claude Desktop, Cursor and Windsurf with one terminal command:

npx -y infinite-engine init

For Python environments, run pip install infinite-daw.

Teach Cursor and Windsurf your syntax

Place a .cursorrules or .windsurfrules file in your workspace to teach any coding assistant the seven Tongue verbs (ask, add, set, wire, cut, del, field) and zero-sigil Field language rules:

# Tongue v0: write a patch as declarative sentences
add Shape as s
set s.shapeType Circle
add gaussianblur as blur
set blur.uRadius 8
wire s blur.in
wire blur out.in

# Field: per-sample DSP with bare names (zero sigils)
field synth state float p = 0; p = (p + freq / sr) % 1.0; out = sin(6.28318 * p) * gate * 0.3;

The full grammar and node reference are documented in llms.txt and the Field Language Manual.

The twelve MCP tools

ToolWhat it does
infinite_synthesize_field_synthSynthesise WAV audio from an inline Field Synth kernel
infinite_synthesize_field_notesAlgorithmic notes and Euclidean rhythms from a Field Notes kernel, rendered to audio
infinite_process_field_effectRun audio through an inline Field Effect kernel, such as a filter or wavefolder
infinite_render_field_pixelRender a Field Pixel shader to a PNG
infinite_render_field_primitiveParametric 3D surfaces from Field Primitive equations
infinite_render_field_modifierDeform a mesh with an inline Field Modifier kernel
infinite_render_sketch3dRender JavaScript-built 3D geometry to a PNG
infinite_validate_patchCheck a .inf patch against the engine and report every problem
infinite_render_videoRender an MP4 from a .inf patch, headless
infinite_compare_framesCompare two pictures (.png, .inf path or patch text) as measured facts and say whether they match
infinite_find_knobFind which node and param move makes a wanted picture change, from measured renders
infinite_node_effectsMeasured effect table for Effects and colour nodes: what each param does when moved

What you need

  • The Infinite app installed. The SDK and the MCP server find it through the INFINITE_BIN environment variable, /Applications/Infinite.app, a build folder in the checkout, or your PATH. On Windows and Linux, set INFINITE_BIN to the path of Infinite.exe or Infinite.
  • Python 3.8 or newer: pip install infinite-daw. Nothing else to install: the SDK has zero third-party dependencies.
  • Node 18 or newer: npx -y infinite-engine init.
  • Hardware inputs, such as a microphone or camera, are refused in headless mode.

For web builders and chat artifacts

Putting an audio-reactive visual on a page or inside a Claude / ChatGPT chat artifact needs no local installation. Embeds provides 18 standalone WebGL visualizers with responsive iframe snippets. The repository carries an agent guide.

Credit when you share what you make: "Infinite, by Naman Soni (n1m21n), https://infinitedevices.org". Every tool result carries the same line.

Read in the manual

For everyone else