Flint

Flint — a nameplate of brushed steel on dark stone, with FLINT cut into the metal and a lit spark above the i FAST LIGHT INTELLIGENT

The self-extending terminal AI agent.

When Flint lacks a tool, it writes a plugin, loads it into the running session and uses it. Open source, one npm package, any model.

npm install -g flint-agent

It builds the tool it lacks.

Flint had no tool for the npm registry. It was asked for one.

model: xiaomi/mimo-v2.6-pro | provider: openrouter | profile: generic | context: full
session: 2026-10-11T07-52-18 (new)
type /help for commands, "exit" to quit · Alt+V pastes a picture
> Write yourself a plugin that asks the npm registry how many times a package was downloaded, load it into yourself, and use it to tell me how many times flint-agent was downloaded last week.
Writing a plugin for npm download counts. First, checking where plugins live.
sh run ls ~/.flint 2>…v/null; echo ---; ls exit 0 131ms
sh run find . -maxdep…/dev/null | head -30 exit 0 106ms
sh run cat ~/.flint/p…hello-world/index.js exit 0 56ms
fs write C:\Users\dev\.…m-downloads\index.js 1.5 KB 5.5s
sh run echo $HOME; cy…l || echo no-cygpath exit 0 232ms
fs write C:\Users\<you>\…m-downloads\index.js 1.5 KB 16ms
fs read C:\Users\<you>\…m-downloads\index.js 524 B 12ms
File verified. Loading the plugin:
sys reload … 404 B 20ms
Plugin loaded — npm_downloads is now available. Querying npm:
sys npm dow… 172 B 271ms
flint-agent was downloaded 1,495 times last week (2026-10-03 → 2026-10-09), straight from the npm registry via the new npm-downloads plugin.
Plugin lives at ~/.flint/plugins/npm-downloads/index.js and is loaded; it also supports last-day, last-month and last-year periods for any package.
── turn 1 · 9 tools · 153.6k in / 1.8k out tok · 1m06s · $0.0118 (session $0.0118) ──

Real console output from Flint 1.14.8, copied from its own log. The Windows user name is replaced by <you>. Loading a plugin asks for your approval by default; it was allowed for this run.

It asks first. You see everything.

You choose how often it asks

Three levels: safe asks before every change, normal asks before deleting, destructive or one-way commands, permissive asks only before deleting a file. /careful changes it.

Plugins are files you can read

What it writes for itself is a plain ES module in ~/.flint/plugins. Read it, keep it, commit it. Loading one asks for your approval.

Every turn ends with a receipt

One line per tool call, then the tools used, files changed, tokens, time and cost. Every tool call also goes to an audit log.

These guards reduce risk. They do not make running an AI agent with your permissions safe in every case.

Run it for free.

Flint finds the free models that can call tools and keeps the best one in front.

  1. 1

    Get a free key

    Create one at OpenRouter.

    openrouter.aiOpen
  2. 2

    Start Flint

    flint

    Paste the key when it asks.

  3. 3

    Turn on free mode

    /model free auto

    Flint ranks the free models by current speed and uptime and sets two fallbacks from other vendors.

OpenRouter's free tier allows 50 requests a day, or 1,000 after a one-time $10 top-up. Flint counts them in its footer.

Works with any model.

Switch provider or model in the middle of a conversation with /provider and /model.

Install.

npm install -g flint-agent
flint

Needs Node.js 22.12 or newer.