Skip to content

Releases

0.12.0

Choose a tag to compare

@flujo-app flujo-app released this 23 Nov 19:52
5d6995a

FACTORY can now run its self-hosted Nemotron model on RunPod GPUs, for example on RunPod credits, and the GPU switches itself off when nobody uses it. Install without npm registry credentials:

npm install https://github.com/flujo-app/FACTORY/releases/download/v0.12.0/flujo-factory-0.12.0.tgz

New in 0.12.0, for self-hosted models:

  • RunPodSelfHostedModel and factory-selfhost deploy --cloud runpod. The same calls as the Modal version (deploy, verify, endpoint(), key(), stop, retire, adopt) and the same address-and-key description for workers, so fleets and lite workers need no change. Your RunPod key goes in RUNPOD_API_KEY.
  • Nemotron 3.5 Super on a B300, with a B200 or H200 when no B300 is free. --wait-gpu <minutes> keeps trying while none is free. It uses the official vLLM image (pinned by digest) and NVIDIA's own weights at the pinned revision, and neither can be swapped. The server settings come from the same profile as on Modal, including the fast, mtp1 and mtp1-fp16 variants.
  • The pod switches itself off. A small watcher inside the pod stops it after the profile's 8 idle minutes; health checks and meter readings don't count as use. It also stops a pod whose model hasn't started within 40 minutes or keeps crashing. This works with your own computer switched off, and your RunPod key never goes into the pod.
  • factory-selfhost refresh notices a pod that switched itself off. deploy starts it again. A stopped pod only costs its weights disk (about $22 a month for 110 GB) until retire deletes everything and checks it is gone.
  • Safe to repeat. Every step is written down before it runs, a step with an unclear outcome is never repeated blindly, and a changed RunPod key is accepted only if it sees the pods this model owns.
import { RunPodSelfHostedModel } from 'flujo-factory';

const model = new RunPodSelfHostedModel({ directory: '/private/runpod-model' });   // reads RUNPOD_API_KEY
await model.deploy({ profile: 'nemotron', waitForGpuMinutes: 60 });
factory.startLiteWorker({ provider: 'claude', modelProvider: model.endpoint(), providerKey: await model.key() });

See Self-hosted model on RunPod for starting, stopping, prices and options.

Tested without RunPod: against a pretend RunPod account and model server, with the real server-settings builder, plus 12 Python tests for the in-pod watcher. The first real pod will confirm that the pod's own key can stop it, RunPod's B300 name (checked against RunPod's live GPU list at every start) and how long the first start takes.

Checked before release on Windows and Linux, Node 22.17 and 24: 327 focused tests, a fresh install of the packed package, CLI help and the installed MCP server.

0.11.0

Choose a tag to compare

@flujo-app flujo-app released this 23 Nov 16:43
6ed5f0e

Fleet agents can use more MCP servers than the job board, and Claude fleets run Claude Fable 5.2 with a Claude Code that knows it. Install without npm registry credentials:

npm install https://github.com/flujo-app/FACTORY/releases/download/v0.11.0/flujo-factory-0.11.0.tgz

New in 0.11.0, for lite fleets on Fly and on local Docker:

  • Extra MCP servers for every agent: mcpServers in the plan. A server in each container (command, args, env) or one over the network (url, headers), for Codex and Claude Code workers. required: true means an agent never works without it.
  • Keys stay private. A key is written { secret: 'NAME' } in the plan and given to deploy(plan, { mcpSecrets: { NAME: '...' } }). It travels like the logins and stays out of the plan, the fleet journal, traces and collected evidence. A wrong or missing key is refused before anything is created.
  • A server on your own computer works on Docker as http://host.docker.internal:<port>, as for model servers; Fly fleets refuse it.
  • See what connected. Each Claude Code turn records session/configured in the trace: the model that answered and the status of every MCP server.
  • Claude Code 2.1.323. The pinned 2.1.311 ran Claude Fable 5.2 but did not recognize it. 2.1.323, the current stable release, knows Claude Fable 5.2 and Claude Opus 5.5.
  • A plain warning in the guide: your own agentInstructions replace the built-in ones, which also tell agents how to use the shared job board.
await fleet.deploy({ ...plan,
  model: 'claude-fable-5-2', subagentModel: 'claude-opus-5-5', reasoningEffort: 'xhigh',
  mcpServers: { lean: { command: 'lean-lsp-mcp', env: { LEAN_PROJECT_PATH: '/data/repository' }, required: true } },
}, { prebuild: true });

See Extra MCP servers for every agent.

Tested on real Docker (Docker Desktop on Windows, 8 CPUs and 19.5 GB for Docker). Record: evidence/docker-fleet-mcp-20261123.json.

  • Claude Code: a Claude Fable 5.2 lead and a Claude Opus 5.5 worker, both on xhigh, with a test MCP server whose answer depends on its key. The worker called the server and recorded its answer; the session records show the planned model for each agent; the key was found only in the private settings; stop, start, runtime update, collection and removal all passed. 5 minutes including the image build.
  • Codex: the same MCP check; the key was in no file at all.

Not yet: MCP servers for FLUJO workers, and servers per team or per seat. Teams that differ from each other, per-seat instructions, more message rules and a FACTORY MCP server for the supervisor are on the roadmap.

Checked before release on Windows and Linux, Node 22.17 and 24: 317 focused tests, a fresh install of the packed package, CLI help and the installed MCP server.

0.10.0

Choose a tag to compare

@flujo-app flujo-app released this 23 Nov 13:55
9d362fe

Docker fleets start in seconds, can use a model on your own computer, and can run the stricter sandboxes. Install without npm registry credentials:

npm install https://github.com/flujo-app/FACTORY/releases/download/v0.10.0/flujo-factory-0.10.0.tgz

New in 0.10.0, all for fleets on local Docker (FactoryDockerLiteFleet):

  • Set-up once: deploy(plan, { prebuild: true }). System packages, the worker program and the SDK are installed once, in an image built just in time, instead of in every container. A later fleet with the same SDK version and worker program reuses the image. In a real run the image took 3 min 43 s to build; after that the agents were enrolled 4 seconds after the deploy.
  • Fast restarts. A container that is started again skips the set-up it has already done: 5 seconds instead of a minute and a half.
  • A model on the same computer. A modelProvider may use plain http for localhost, 127.0.0.1, [::1] and host.docker.internal; containers use http://host.docker.internal:<port>/v1. Every other address still needs https. Fly fleets refuse these addresses, because a Fly machine cannot reach your computer. Local lite workers may use localhost.
  • The stricter sandboxes, as a choice. workspace-write and read-only did not work in a default container (every agent command failed); such a plan is now refused with the reason. new FactoryDockerLiteFleet({ ..., nestedSandbox: true }) allows them by running the fleet's containers without Docker's system-call filter. The guide explains the trade.
const fleet = new FactoryDockerLiteFleet({ directory: '/absolute/private/fleet-run', auth });
await fleet.deploy({ runId: 'my-local-run', app: 'my-local-swarm', goal, machines: 10, agentsPerMachine: 10 }, { prebuild: true });

See Lite fleets on local Docker.

Tested on real Docker (Docker Desktop for Windows, 8 CPUs and 19.5 GB for Docker). Record: evidence/docker-fleet-runs-20261123.json.

  • Ten teams of nine workers and a lead: 10 containers, 100 Claude Code agents on a subscription token, every one with a real model turn. Each worker recorded its own claim and messaged its lead; each lead found its nine messages. Once the image was ready, the containers were created and all 100 agents enrolled within 12 seconds; the 100 turns took 87 seconds.
  • Claude Code start to finish: real turns before and after a stop and start, a runtime update, collection, removal.
  • A model on the same computer: Codex, Claude Code and FLUJO workers each completed a turn with an answer from a model served by Ollama over plain http. The model was the 9 MB TinyLLama-v0, which cannot use tools: this shows the connection, not useful work by a local model.
  • workspace-write with nestedSandbox: true, for Codex and Claude Code: the agent's command wrote in its work folder and could not write outside it.

Checks before release: the steps of the Public SDK workflow passed locally on Windows 10 and Linux with Node 22.17.0 and Node 24.22.1 (310 tests each); PR #44 has the table. The package was packed on Linux from a clean snapshot of 9d362fe.

Known limits: not shown are useful work by a model served on the same computer, Docker on a Linux host, the read-only sandbox, and more than ten machines. On Docker for Linux a model server must listen on the Docker bridge address, not only on 127.0.0.1. Pre-built images stay until you remove them (docker image ls --filter label=factory.docker.image).

Issues #42 and #43, PR #44.

0.9.0

Choose a tag to compare

@flujo-app flujo-app released this 23 Nov 12:13
f5534a5

Lite fleets can now run on your own computer's Docker instead of Fly. Install without npm registry credentials:

npm install https://github.com/flujo-app/FACTORY/releases/download/v0.9.0/flujo-factory-0.9.0.tgz

New in 0.9.0: FactoryDockerLiteFleet runs the same lite fleet in local containers. It needs Docker with Linux containers, and no Fly account or flujo-cloud.

import { FactoryDockerLiteFleet, CodexSubscriptionBroker } from 'flujo-factory';

const fleet = new FactoryDockerLiteFleet({
  directory: '/absolute/private/fleet-run',
  auth: new CodexSubscriptionBroker({ authFile: '/absolute/private/.codex/auth.json' }),
});
await fleet.deploy({ runId: 'my-local-run', app: 'my-local-swarm', goal, machines: 3, agentsPerMachine: 4 });
  • One container and one Docker volume per machine of the plan, one private network per fleet, and the same shared board on the first machine.
  • The plan, the worker programs (Codex, Claude Code, FLUJO), the logins and every fleet action (observe, command, stop, start, updateRuntime, collect, retire) are those of FactoryCloudLiteFleet.
  • The host reaches the board on a loopback-only port. No worker port is published.
  • Logins and board credentials are copied into the containers as root-only files. They never appear on a command line or in docker inspect.
  • Without image, workers start from node:24-bookworm-slim. Without bundlePath, the installed SDK is packed once into the fleet directory.
  • Docker that is not running, uses Windows containers or has too few CPUs is refused before anything is recorded.
  • retire() removes only what the fleet created, found by label.
  • region, cpuKind and diskGb have no effect on Docker; cpus and memoryMb limit each container.

See Lite fleets on local Docker.

Fixed, on Fly as well:

  • A fleet that was stopped, started and stopped again kept running: the second stop() sent nothing while the journal said "stopped". A stop now works after every start, and start() sets the status back to provisioned.
  • After a machine restart, an agent that had already finished a turn could not be stopped, so quiesce() and collect() timed out. The worker runtime now restores the last turn the board shows when it resumes a session.

Tested on real Docker: on Docker Desktop for Windows, two containers with two Codex agents each on a subscription login went through every step: all four agents enrolled on the shared board, an agent in the second container recorded a claim on the board in the first (a real model turn, once before and once after a stop and start), then a runtime update, collection with verified archives and removal. Claude Code and FLUJO workers were started the same way and enrolled; those two runs used placeholder logins and called no model, so their model turns on Docker are not shown. Record: evidence/docker-fleet-acceptance-20261123.json. To repeat it on your own Docker: node node_modules/flujo-factory/scripts/docker-fleet-smoke.mjs --directory <absolute folder> --evidence <absolute file>.

Checks before release: the steps of the Public SDK workflow passed locally on Windows 10 and Linux with Node 22.17.0 and Node 24.22.1 (304 tests each), and on GitHub Actions for the same files; PR #41 has the table. The package was packed on Linux from a clean snapshot of f5534a5.

Known limits: a modelProvider still needs https URLs, so a model server on the same computer over plain http is not supported yet. Every start of a container sets the machine up again: one and a half to four and a half minutes for Codex and Claude Code, seven and a half for FLUJO's first start. Docker on a Linux host and the workspace-write and read-only sandboxes inside containers were not run.

Issue #40, PR #41.

0.8.0

Choose a tag to compare

@flujo-app flujo-app released this 23 Nov 10:15
c839dc8

Managed Fly workers can choose their CPU kind, and run on performance CPUs unless told otherwise. Install without npm registry credentials:

npm install https://github.com/flujo-app/FACTORY/releases/download/v0.8.0/flujo-factory-0.8.0.tgz

New in 0.8.0: one setting, cpuKind ('performance' or 'shared'), on adapter.preflight(...), adapter.provision(...) and a managed fleet worker's provisionInput. The bundled bridge applies it when the machine is created and at bootstrap; the journal and the receipts record it. Memory follows the kind, within Fly's limits for two CPUs: performance takes 4096 to 16384 MB in steps of 2048 (4096 when omitted), shared takes 1024 to 4096 MB in steps of 256 (2048 when omitted). A size that does not fit is refused, with the reason, before anything is created.

Changed default, costs more: a worker that does not choose now gets two performance CPUs with 4096 MB instead of two shared CPUs with 2048 MB. While it runs, that costs about five times as much (Fly lists $66.00 against $13.39 a month, November 2026). Pass cpuKind: 'shared' to keep the old size and price. A call that sets memoryMb: 2048 now also needs cpuKind: 'shared'.

Known limit: the SDK passes cpuKind on to the flujo-cloud module it is given. The published flujo-cloud 0.2.0 still creates shared CPUs, so with that module the setting has no effect yet; a receipt without cpuKind shows that.

Cloud lite fleets are unchanged: their plan already has cpuKind, shared by default.

Issue #38, PR #39.

0.7.4

Choose a tag to compare

@flujo-app flujo-app released this 12 Nov 17:54
88b07de

A fleet that is being stopped or is retired leaves no private proxy behind. Install without npm registry credentials:

npm install https://github.com/flujo-app/FACTORY/releases/download/v0.7.4/flujo-factory-0.7.4.tgz

Fixed in 0.7.4: a status read that arrived while a fleet was being stopped opened a new private proxy, and nothing closed it after retire. The fly proxy process then kept the caller alive after its run. While stop() runs, and once the fleet is retired, no new connection is opened. A proxy that was being opened when the stop began is closed again. stop() and retire() close the open connection, also when they fail. start() opens the fleet up again for a recovery.

Issue #36, PR #37.

FACTORY 0.7.3

Choose a tag to compare

@flujo-app flujo-app released this 12 Nov 12:18
8c45de0

A self-hosted model that needs its own code now loads it from the pinned revision. Install without npm registry credentials:

npm install https://github.com/flujo-app/FACTORY/releases/download/v0.7.3/flujo-factory-0.7.3.tgz

Fixed in 0.7.3: for a model with trust_remote_code (Nemotron), vLLM fetched the model's own code and tokenizer files from the Hub's default branch, not from the revision its weights are pinned to. The vLLM command now passes --code-revision and --tokenizer-revision with the profile's revision. Models without remote code (Qwen) are unchanged.

PR #35.

FACTORY 0.7.2

Choose a tag to compare

@flujo-app flujo-app released this 12 Nov 11:22
e93604d

Self-hosted models now start on Modal's starter plan. Install without npm registry credentials:

npm install https://github.com/flujo-app/FACTORY/releases/download/v0.7.2/flujo-factory-0.7.2.tgz

Fixed in 0.7.2

  • A self-hosted model's longest single request is now 30 minutes by default (request_timeout_minutes). Modal's starter plan never gives a GPU to a function whose limit is 45 minutes or more, and the deployment and every request then waited without an error. A plan that allows more can still set it.
  • A Claude Code worker started from inside a Claude session no longer inherits that session's variables: claudeProviderEnvironment() clears them (inherited, default this process), so the worker uses the endpoint key instead of offering the session's login.

New

  • weights_volume / compile_volume: a self-hosted model can use a volume that already holds its weights or compile caches, for example one an earlier deployment filled. retire never deletes such a volume.

PR #34.

FACTORY 0.7.1

Choose a tag to compare

@flujo-app flujo-app released this 04 Nov 05:37
e0114f9

A FLUJO worker could silently ignore its next job. Install without npm registry credentials:

npm install https://github.com/flujo-app/FACTORY/releases/download/v0.7.1/flujo-factory-0.7.1.tgz

Fixed in 0.7.1: when a model handed off to a FLUJO worker flow's finish step, the conversation stayed there. FLUJO kept later messages without showing them to the model and still reported each turn as completed. The handoff could also end a turn with no written report.

Worker flows now have no finish step, so a model ends its turn by writing its report and the conversation can take another message. buildFactoryTeamSpecs takes a new optional finishStep setting; it defaults to true, so templates used elsewhere are unchanged. Plans for Codex and Claude Code workers are not affected.

SHA256SUMS.txt binds the tarball, packed on Linux from a clean export of the release commit.

Local release checks on commit e0114f9 (same tree as the tested PR head):

  • Platforms: Windows with Node 22.17.0 / 24.22.2 (Python 3.14) and Linux with Node 22.17.0 / 24.22.2 (Python 3.11).
  • Each run did a clean dependency install and the production audit gate (0 vulnerabilities).
  • Each passed 254 focused SDK tests, the Python settings tests, the fresh tarball consumer, CLI help and factory-selfhost profiles, installed MCP stdio, and the evidence regressions, with 0 items left in the test temp location.

Checked on real FLUJO 3.48.3 with a scripted model: the problem reproduced with a handoff, and did not occur on the new flows, including a lead that starts a child, gets its result and then takes another message.

Not changed: a conversation already sitting on a finish step under 0.7.0 stays there.

Factory 0.7.0 — FLUJO as a worker program

Choose a tag to compare

@flujo-app flujo-app released this 04 Nov 04:00
321b61b

FLUJO can now be a worker program next to Codex and Claude Code, on a computer and on cloud lite fleets. Install without npm registry credentials:

npm install https://github.com/flujo-app/FACTORY/releases/download/v0.7.0/flujo-factory-0.7.0.tgz

New in 0.7.0:

  • FLUJO as a worker program (plan.workerProgram: 'flujo'):
    • the same operator commands, verified stop receipts, durable traces, prepare hooks, evidence collection and verified workflows as the other programs;
    • each agent slot has its own FLUJO workspace and conversation; with flujo.teamConcurrency an orchestrator leads native subflows, and a turn ends only after they have ended too;
    • a run belongs to FLUJO: a lost stream is followed again, an uncertain submission is read back and never sent twice;
    • a pinned FLUJO release installed by checksum, kept on the volume.
  • Model: a plan needs a modelProvider; FLUJO can use the responses, chat or anthropic API. FLUJO stores the key in its own encrypted settings, so agent commands do not get it in their environment. See the limit in PUBLIC_SDK.md: with full access, an agent command could still read those settings.
  • Local workers: startLiteWorker({ provider: 'flujo' }) and factory-lite flujo attach to a running FLUJO or start one with its own data folder.
  • For apps moving a fleet onto FACTORY: packFactorySdk(file) builds the SDK bundle from the installed package, and plan.network gives a fleet's app its own private network.
  • Fixed:
    • factory-selfhost retire right after a busy replica no longer needs a second run;
    • a fleet that stopped part way can be retired;
    • fleet.updateRuntime keeps the fleet's program;
    • a turn left running by a restart is closed on the board for Claude Code too.

All new settings are optional; existing plans behave as before, and the Codex and Claude Code bootstrap scripts are unchanged. SHA256SUMS.txt binds the tarball, packed on Linux from a clean export of the release commit. This release is distributed through GitHub Releases; it is not an npm registry publication.

Local release checks on commit 321b61b (same tree as the tested PR head):

  • Platforms: Windows with Node 22.17.0 / 24.22.2 (Python 3.14) and Linux with Node 22.17.0 / 24.22.2 (Python 3.11).
  • Each run did a clean dependency install and the production audit gate (0 vulnerabilities).
  • Each passed 253 focused SDK tests, the Python settings tests, the fresh tarball consumer, CLI help and factory-selfhost profiles, installed MCP stdio, and the evidence regressions, with 0 items left in the test temp location.
  • The tarball was installed fresh from this release's public link and verified on Linux and Windows with both Node versions.

Live check: a real fleet on Fly with 2 Machines, the generated bootstrap, FLUJO 3.48.3 and a self-hosted Qwen3.8-27B endpoint (one H100), through FLUJO's Responses adapter. Both Machines came up in 209 s. The model answered and called a board tool, a shell command ran in its folder without seeing the key, a lead ran a real subflow, an operator stop gave a verified receipt, collection downloaded an archive from each Machine with no key files in it, and retirement removed everything. The Chat Completions adapter was checked against the same endpoint in a local Linux container, where a hard kill and restart were also tested, with a scripted local model. Details are in #21.

Not run: a real FLUJO on Windows, FLUJO's Anthropic adapter against a real server, a Machine restart on Fly, and a team larger than two subflows.