Project releases

Agentic Flow 2.1.3 fixes a Windows crash you could hit without using local models at all

Importing part of the router pulled in a native binding as a side effect, and on some Windows machines that binding cannot load, so the process died before doing anything. The September 16 patch release loads it only when a local model is actually run, and closes a backlog of smaller fixes.

GitHub activity: · Published:

What this is about

Agentic Flow lets you point a coding agent at a cheaper or entirely local model instead of always paying for the most expensive one. To do that it carries a router, a memory system and integrations for several providers, including a path that runs models locally through a native runtime.

Native runtimes are the fragile part. They are compiled for a platform, and when the platform does not cooperate the failure is abrupt. On Windows it was abrupt in the worst possible way: it happened to people who were not using local models.

What changed

Release 2.1.3 went out on September 16 as a patch. The headline fix is that the local inference runtime was being loaded as a side effect of importing a module, so any code path that merely imported that file would try to load the native binding even if it never ran a local model. On Windows setups where the binding cannot load, that is a crash at import time.

The binding is now loaded lazily, the moment a local model is actually requested. The release notes are careful to say this was verified by reproducing the crash and confirming the fix removes it, rather than by reading the code and assuming.

The rest is cleanup. A startup crash on newer Node.js versions, caused by a command-line tool using a variable that modern module syntax no longer provides, is fixed. The release also closes a backlog of pull requests accumulated over the month, with an architecture decision record describing the consolidation, and nothing in it changes how the tool is used.

Get started

Prerequisites: Node.js 22 or later. The package is published, so no clone is needed.

npx agentic-flow@latest --help

Expected result: the command prints the usage text for the router. On a Windows machine that previously crashed on startup, this now completes instead of exiting with a native module error.

Commands were read from the published release notes and repository documentation. They were not executed while writing this article, and no provider account or key was configured.

Use it today

Practical case: a mixed team where some people work on Windows and the rest do not. Input is the same project configuration for everyone. The workflow is to run the router locally on each machine and let it choose the model. Output, before this release, was that half the team could not start the tool at all for a reason unrelated to what they were doing.

Reader acceptance test: on Windows, run the help command above without configuring any local model. If it prints usage rather than failing on a native binding, the lazy load is in place.

Push it further

Experimental commentary. The general lesson is worth more than the patch: an optional capability that loads itself at import time is not optional, it is mandatory with extra steps. Anything expensive or platform-specific belongs behind the call that needs it.

Limitation: this removes a crash, it does not make local inference work on Windows setups where the native runtime genuinely cannot load. If you ask for a local model there, you will still get an error, just at the point you asked. Falsifiable test: import the router without requesting a local model and confirm no native binding is loaded; then request one and confirm the error, if any, arrives only at that point.

Read the original on GitHub release

Release v2.1.3 — Windows fix, cleaner local model routing, jujutsu compatibility

Agentic Flow repository

Back to the newsroom