Flint

Flint 1.14.8: updates that keep what Flint saved

Released .

Flint is an open source AI agent you run in a terminal to read files, run commands and work through tasks. In earlier versions, updating an npm install cleared your saved sessions, permission choices and file memory because npm replaces the package folder on every update. Release 1.14.8 keeps those records in your home folder so your work survives routine updates, and adds a one-command updater you can run without opening the console.

An update no longer deletes what Flint saved

This affected Flint installed with npm install -g in a folder you own, including installs managed by nvm or a per-user npm folder. Flint stored its sessions, saved permissions and file memory in the same folder as the program. Each npm update replaced that folder, including updates started with /update, so those records disappeared without warning.

Flint now stores those records in ~/.flint inside your home folder. An update leaves that folder alone, so those saved records remain available between sessions. If you run Flint from a git checkout instead of an npm install, nothing changes: its data stays next to that copy of Flint.

One command to update

Run flint --update to install the newest version without prompts and exit. It does not open Flint's interactive screen or ask for input, so you can use it in a script. It returns exit code 0 if it updated Flint or Flint was already current, and 1 otherwise. A script can check whether the command succeeded, but code 0 does not tell you which of those two things happened.

Updates on installs Flint does not own

Some installs need a different update method. If another account installed Flint, for example with sudo npm install -g, /update used to try updating it as your account and show only the first line of a permission error. Now it does not try. It tells you another user owns the install and shows the command to run.

If your copy was installed without git or npm, /update previously suggested cloning the repository or running an npm install. That would have put another copy of Flint beside the one you have. Now it tells you to update your copy the same way it was originally put there.

Why a newcomer should care

After you begin using Flint, you may want to update it. With this release, an npm update no longer erases the sessions, permission choices or file memory Flint saved. And when your copy needs a different update method, Flint tells you so instead of suggesting a second install.

Get started

Flint is free and open source. It runs in a terminal and needs Node.js 22.12 or newer. Install it with:

npm install -g flint-agent

Then run flint. The first setup asks you to choose a model provider and enter an API key. For installation and a first task, see Install Flint.