Skip to content
Sébastien Barbieri's Blog
Sébastien Barbieri's Blog

Partage d'expérience de développements de sites et d'applications, d'ux, d'apprentissage machine, de coaching…

Sébastien Barbieri's Blog

Partage d'expérience de développements de sites et d'applications, d'ux, d'apprentissage machine, de coaching…

Have you met flint ?

Posted on 2026-12-032026-12-03 By scips

TL;DR Recursive Flint is for me the state of the art of the “portable” LLM engine. It works locally, outperform any other model. I tried 4 different models so far (daily usage) for coding, or document analysis. And this one outperform the rest.

I have been using LLM since they successfully reduced 16 bits entry to 1.58 bits and that I could have dreamed of running my own LLM on my RTX 2080 at the time.

I have been working previously mainly with Convolutional Neural Networks – CNN (more often used for image) and I have trained some of them, which was already heavy and could take some time.

With the LLM in 2022 the frontier just went further for me to train my own model. I was used to be able to write the mathematics for the model then to write the code of a simplistic one, and then to use an existing Python library to work with the model.

This was not possible anymore … I needed … way more money to buy the hardware to train my local LLM model.

But at some point some open weight models came into play. The very first one was LLama (from Meta) which was available on Bittorrent in the week of his release. And which one the only very first to fit on a small home owned hardware.

And then Deepseek and next to deepseek the 1.58 bits.

I remember having tuned a CNN neuronal network to go from 32 bits -> 8 bits to reduce the weight without any change in classification. Reducing further would have needed to go on 4 bits / neuron and then 2 bits / neuron.

The difficulty there is that when you work on 2 or 4 bits you still need to do the computation on at least 4 bytes for 32 bits architecture or 8 bytes for 64 bits.

Is this a cat ? Is this a keychain ? Is this a cat AND a keychain ?

It’s a bit like moving from an image composed of 16777216 colors per pixel (RGB – 3 x 8 bits) to a grayscale image. Did we loose some information ? Could we still answer a question like: “is it a cat ?” with less color ? We can also use dithering in Red/Green/Blue It will reduce the size of the image but in the end, I’m pretty sure that we will be able to recognize the subject of the image.

I’ve been working with different LLM and the first one, the first one was the one from Facebook. And so it was Lama.

The second one was Deepseek, the compressed one and then I tried Trae which is an Visual Studio fork maintained by ByteDance (Tiktok) and I used a lot the DeepSeek and the Qwen native intergration (free) but something occured to my mind, is that all the code I was writing was going to china and back. That’s a security issue, it could be the US too, it’s the same issue. The point is that the code I’m writing is not the real problem, the real problem is the comments and all the file system that got scrapped and send out. For instance when I’m requesting to parse a CSV file, it will send over a part of the CSV file and that’s normal. But sometimes the CSV file could contain critical information. For instance if I’m writing a program to help journalist protect the sources … I may have some critical source in the samples. Or if I’m creating a story telling dynamic article with data-visualization about the US elections or the Taiwan questions …

Then I moved to local system on a Apple Silicon devices (M3 Pro, M4 Pro then M5 Max) there I’ve been using Qwen, Deepseek and Gemma each time a small version depending on the memory available, I was mainly using it through Continue.dev (Visual Studio plugin) but also directly via Ollama or LMStudio of LLama.cpp. And then I went back to Qwen 3.8, which is very good, actually, one of the best I’ve found so far, and more compatible with CLine that I have been using in place of Continue.

That’s until I met Flint.

And there with Flint I don’t know what to say it looks like it doesn’t go as deep as Gemma or Qwen 3.8 but it’s matter of tuning and by default Qwen is tuned to do extra deep thinking so it looks like Flint is not by default tuned to do extra deep thinking.

Nevertheless, it’s very good actually and actually is really changing the way I’m developing.

So go ahead and use Flint yourself, then come back and tell me what you think of it.

Oh yes, and Flint knows the date … I mean he knows that today is today, while other pre-trained models just have the date of the last training. Maybe it is elaborating based on the file modifcation date but that’s better than other models.


The rest of the post are tough and personal concern linked to AI usage …

Common concern

What I found is that you have, for all the model, to create some guidelines.

First you need an AGENTS.md file where you describe the way to behave. Especially when you are changing from one agent to the other one, it’s a common way, common practice that you decide that stays there.

Otherwise, every time you have a new session, it will just restart and maybe take another path. So, that’s something that you have to be aware of, is that you have to put some guideline otherwise it will sometimes go too far. I mean it will just over-engineer what you want.

So the agent doesn’t know what you think and it is thinking about stuff that doesn’t matter for you. And you have to make it think like it’s working on MVP first. By MVP I really mean really really early stage of MVP as in Minimal Viable Prototype. Such as start with blank page! Start with blank page with the title!

And you have to ask him to create all the tests, integration testing, unit testing, and also you need to describe perfectly the architecture that you want in the hand and the step to go there.

You could use an LLM to design that, but you have to create the AGENTS.md and you could use an LLM to write a AGENTS.md, which is a good way to think stuff out but you have to fine tune in the conversation before allowing it to write the first version of the AGENTS.md because after that he will use the AGENTS.md so it could go in a way that will stuck you to a very early concept.

And if it’s AGENTS.md you have to follow such norm, ISO or an RFC xxx, then it will stick to that even if it needs to create all the necessary library to align with the specific version that you mentioned at that time without knowing that the RFC was never completely implemented or used.

So it’s up to you to verify all the versions you need, all the library that you want it to use. If you don’t specify that you need to use a specific library, it will just rebuild them from scratch every time and that will take a lot of time and useless time because it will have issues, a lot of issues that we’d have to solve, so you’re wasting the time.

Also you could use it to draw the architecture, to ask him which is the best library to use. You do a Google search too, you set the top 10 of libraries that could do what you want, you look at a bunch of projects, recent projects that looks like what you want, and that’s the way you should work.

Also you have to remember that the model has been trained on a certain date at some point in the past and he has the knowledge of this date in the past and no more, even worst sometimes the model are trained against a database (especially the it – instruction – models) and sometimes this databases is old enough to use version that are not supported anymore. I think that where the SaaS model have a big advantage, they are retrain and discover recent stuff that you model doesn’t have access to, because it doesn’t exist in its world.

So, if for instance, like we have right now, there’s a lot of security issues, 0 days security issue, and CVEs with some libraries or some API, it’s not aware of it.

So you have to add some skills, which are for instance the one to fetch things on the internet, and you have to ask him when you find the library to use the last version of the documentation online and to update the appropriate way the AGENTS.md to reflect this decision (version, documentation urls …).

When I say the last one, it’s not a good idea actually, because it will always take the last one. So you have to tell him to use one precise version that is, if you think smart, most of the time the long-term maintained version. That’s what I recommend.

Good practices (not best practices, just tried out and learned stuff)

For each repository/project

  1. Explain the why and the goal of the project in your own language (record it) and if you are very lazy, ask your favorite LLM (online or offline) to generate a README.md for the humans that you review! And reviewing is important. Look at the terms (MUST, SHOULD …) as if you are writing a contract with a third party that will ship everything at the end of the project without any review … unless you mention it.
  2. Draw your achitecture (PlantUML or Mermaid are your friend) and put it in an ARCHITECTURE.md file or the README.md under an 2nd level title: ## Architecture
  3. You can create your AGENTS.md the same way but there you need to be twice as much looking for the rules. See reviewing the thinking part further.
    1. Create a section where you explain how decision are taken and how they must be stored, at some point you will have question about the project and you will take decisions. You will remember them, the agent won’t. So any decision must be tracked in a decision register (could be a folder with one numbered markdown by decision).
    2. Create a section where you explain also the TASKS. I personally use another file: TASKS.md with checkbox and in the README.md tasks section I put the reference + how to check the boxes and take the tasks. Should it ask me before taking a task? Should it do them one by one ? Should it do them by section or sub section ? In which order ?
    3. Define the clear expected way of developing: TDD ? How far ? Unit test or also E2E testing ? With which framework ? Should it launch playwright ?
    4. Also define how to split the code and the way to behave with the library. I mean if you are feeling adventurous or you want stability you have to define the kind of library you want to work with, one which is updated every day with a big community or one that haven’t been change since 2 years maintained by just one person ? And for the code splitting, think like python developer or Ruby developers do or even the old IBM developer, do you prefer huge file with thousand of lines or a bunch of small unit testable libraries ? By default, all models tend to use one big file … It’s not an option for me. I want human readable code afterward. And I love the concept it’s readable if it fit on one screen.
  4. Add a usage section in the README.md – How to use your software – How to install ? What’s the recommended way ? Should the system you build be behind a reverse proxy or are you taking care of HTTPS and SSL layer yourself ?
  5. Add a security section in the AGENTS.md (AI) and the README.md (human), which standard must be used ? Don’t limit yourself to NIS2 or OWASP. Be clear on the attack vector that are exposed beforehand or clearly mention that it will come later (but that never a good idea, in DevSecOps, Security comes first. From the conception itself. It should be the ground foundation. Think about your house: Where to build it and then how? It’s a security consideration before anything.
  6. Take care of the AI Shadow memory and create utility tools for your AI if needed

The AI Shadow memory ? Utility Tool for AI ?

The AI have a “mental” model of the situation. The AI keep it with it and is part of the context. The context is not infinite and the AI could not remember everything, sometimes the context is compressed. The more you have file and dependencies, the bigger the project, the more context it needs. Also all the file referred by AGENTS.md will be part of the context.

That’s also one of the reason to split the tasks in small tasks, small libraries, autonomous… actually the base of the SOLID principles from Robert Cecil Martin and certainly the Single Responsibility is key here.

So the Context is the mind map / mental model of the file system + the chat exchange + the prompt output + the data that has been accessed by the model (web crawler, others API, others AI …). So what happens if you as a developer add a file, by yourself, or what if you change a function name.

If you do that, the model doesn’t know it. How will the model know it ? By accessing the file. But if he has no reason to access the file he will never do it. Unless you ask him to.

So what I did is that I created small utilities one of them needs to be called when starting and when finishing

For instance: find -s . -type f -not -path './.git/*' -not -path './target/*' -exec sha256sum {} \;

This create a sha256 of each file that could have a link with the project: README.md, src/api/api.rs …

If the file change – the model could see it. Then if the model did create a new part of the library, before committing, he will call the utility and check file change, he will compare it with his mental model (yes the first time he run it he keep it in memory) and if there is a change, he read only the change, check if the change affect his current operation, and most of the time, commit without my change and tell me that he committed his change and saw mine.

Ideally me and the local AI should be working in 2 different branches and on 2 different part of the file system to avoid such issue. As if it was another developer.

The thinking process

It’s important to read the thinking process. That’s where you will find optimization. If the AI don’t understand what you ask it to do, or if it’s asking a lot of question to itself, then it’s a sign that the prompt needs to be clarified. That’s why there is a lot of people that give prompting training and that sell the fact that no one knows how to use AI properly … while this is true for most of the people, I think developer are the type of person that is used to write to computer and knows what’s working underneath and an AI prompt is just one other way to write to a computer.

Multiple AI and AI intercommunication

Most of the company nowadays propose to make agents, agent that will do the Product Owner, agent that will do the Architect, agent that will do the development, agent that do the testing … and they mimic the human behavior and way of working.

Yes, that’s easy to sell… well not that easy to sell but yes … no real revolution, it’s just a way to make money with what’s already on the shelves.

What is the real bargain I think is to replace the management … but that’s the way that companies are getting paid, to tell the management how to replace the workforce… I feel a bit like on a predator / prey discussion. Where some people have few years to make a lot of money and they decide to quickly be friend with the predator… yeah really another topic.

No, the real advantage of using multiple AI is to allow them to organize and to communicate. If you want to be curious you can ask them to communicate in English (or French, or Spanish …) OR and that’s a big or … to let them choose how to communicate and how to document and maybe put a constraint such has it should be very very efficient in term of token usage and network / file exchange. And there you will have something. Because why do we ask them to fill in markdown file and exchange with us through markdown file ?

Because it’s easy to document and for us to understand.

By doing so we reduce the speed of the AI and we make it very inefficient. Because why do we decide that our language is the most efficient way of communicating … or even why language is the most efficient way to communicate.

Does ant use language … yes and no … we know they use molecules to communicate, also sign, also antenna interactions, probably there is also some communication we don”t know, especially between species… how does an ant and an aphids exchange ?

So it’s up to you and the energy and time you are ready to spend. But pushing the AIs to communicate as they want but minimize tokens usage can lead to very interesting communication principle. Also if you let them organize and split the work you will see that they don’t split it as we do. And that’s where you will win time producing something.

It remembers me of the language whitespace which is turing complete what if AI only use space, tab and newline to communicate with each others, will it be more efficient ? Or the other way around, what if AI use 65535 different character that AI invent itself to represent 65K contextual situation, will it be more efficient.

Any way having more than one local AI is complex as the memory, the CPU, the GPU is shared and thus it’s time shared between the different AI. But having multiple computer solve the issue. So, hurry up, go buy 6 Mac Studio Ultra with 512 Gb of memory and world is yours … with 150 K€ less, I know. But that’s the real price of AI. So the AI cost you one person of your team in te end, whether it will be via a subscription or via hardware the point is where the money goes ? I don’t even mention the power consumption … 100 €/mac / month (Belgium consumption mean price if the models runs 24/7).

Artificial Intelligence Software development

Post navigation

Previous post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Follow me on Mastodon
©2026 Sébastien Barbieri's Blog | WordPress Theme by SuperbThemes