Flint 1.14.7: starts on a shared machine and explains folder errors
Released .
Flint is an open source AI agent you run in a terminal to read files, run commands, and work through tasks. Release 1.14.7 removes a first-run roadblock on shared and managed machines where you cannot write to the installation directory. Flint now launches cleanly by storing your sessions and settings in your home folder, and gives a clear single-line message if a chosen data directory cannot be written.
It starts on a system-wide install
Installing Flint for everyone on a machine may require administrator rights. The program then lives in a folder your regular account cannot change. Flint saves your sessions, permission choices, file memory and child-agent sessions in a data folder. Before this release, it tried to create that folder beside the program. If an administrator account owned the install folder, it could stop immediately with EACCES: permission denied, mkdir <install>/sessions, a message saying it could not create a sessions folder. You had to know to set FLINT_DATA_DIR yourself to get past it.
Now, if you cannot write beside the installed program, Flint keeps those same kinds of data in ~/.flint, a folder in your home folder. You do not have to change a setting. If you can write beside the program, for example in a copy of the source code you work on or an npm installation under your own account, Flint continues to keep its data there. If you choose a location using FLINT_DATA_DIR or --data-dir, that choice still takes priority.
One clear message when a folder cannot be written
The data folder can still be unusable. For example, the location you chose may be a file rather than a folder, or Flint may not be allowed to save anything there. Flint now checks this before the rest of the program starts. It reports the problem once, names the location and the setting that lets you change it, then stops with exit code 78, a number that identifies this failure to programs that run Flint. Before this release, whichever part of Flint wrote first reported the failure, producing a security error on one machine and a long stack trace on another, without clearly showing a newcomer which folder was at fault.
Why a newcomer should care
Most people who install Flint under their own account will not encounter this problem. On a shared or managed machine where you do not own the program folder, this update is the difference between Flint starting cleanly and failing on launch. It keeps the data in your home folder when the program folder cannot be written. If its chosen data folder cannot be written either, it tells you which folder is the problem and how to change the location.
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. During first setup, choose an AI model provider and enter an API key. For installation instructions and a first task, see Install Flint.