Go with the flow.
A workflow engine for images, audio, video, 3D and the code around them.
A build system for generated assets.
- Priced before it spends. The whole run is priced up front, and a live run reserves each call against its ceiling before making it.
- Never pays twice. Results and paid calls are cached by content, and an interrupted run picks up where it stopped.
- Review before continuing. Choose an image in the viewer or supply a typed value from a script. The workflow remembers the decision and can resume after the runner exits.
- Any model, or your own subscription. Switch providers per step, or draw on your Codex or Grok plan.
- One native engine. No Docker, no server: YAML in git, from your laptop to CI.
npm install -g grida # FX as `grida fx` (Node.js 24+; macOS, Linux, Windows through WSL 2)
pip install grida # the Python SDK, for nodes in Python
npm install @grida/fx # the TypeScript SDK, for nodes in TypeScriptFor a pinned executable in CI, see Standalone downloads. For other installation options, see Ways to run FX.
FX runs your own code with no provider at all. For AI steps, pick a route per capability or per step, and mix them freely:
| Set up | You get | |
|---|---|---|
| No provider | nothing | your own code, cached and recorded |
| BYOA (bring your own agent) | Codex or Grok Build, signed in | images on your ChatGPT or Grok subscription, $0 to FX |
| Provider keys | OPENAI_API_KEY, OPENROUTER_API_KEY, FAL_KEY, TRIPO_API_KEY, ELEVENLABS_API_KEY |
each provider's models, on its own account |
| Grida Gateway | GG_API_KEY |
text, images, video and 3D with one key and one bill |
AI providers says what each one serves and where to get each key.
For a selected missing GG or OpenRouter image binding, FX can look up model metadata without
generating or spending. A compatible model can plan with unknown cost; available shipped,
authored or discovered pricing improves the forecast. Use --require-estimates when forecast
coverage is required. Execution still requires approval and a run ceiling; unknown-cost calls
reserve remaining applicable budget and keep unreported charges separate from actual cost.
Other models FX does not list run from a route of your own; a provider FX does not ship, from a
declaration in fx.yaml and, unless it speaks OpenAI's chat API, an adapter of your own in Python
or TypeScript (Community providers).
Start a project, then pick a route for its first workflow in fx.yaml:
npx grida fx init my-assets # a starter project, with files for coding agents
cd my-assets
grida fx start --background # the local viewer
grida fx plan icon --open # the steps and their price; spends nothing
grida fx run icon --live --max-usd 1 --openWithout --live, nothing is spent: local steps run and cached results are reused. Start with
the guide, or the examples.
Use grida fx add pet to copy an editable example into your workspace. Public GitHub templates
use grida fx add OWNER/REPO@REF with a tag or full commit SHA. For a private template, add
--github-auth to use your existing GitHub CLI authentication.
Start from a template
npx skills add gridaco/fxllms.txt is the concise reference for agents, with runnable recipes checked against
the engine and links to the detailed guides.
- The guide: workflows, nodes, cost and cache, running, viewing, sharing
- Python SDK and JavaScript SDK
- Specifications: the language-neutral contracts
- Changelog
See CONTRIBUTING.md for source builds and checks, and the overview for the project's direction. FX is open source under Apache-2.0.
