AI and models · Edition No. 2 · 27 Aug 2026

feyninc/chonkie

Focused text-chunking library — semantic and recursive splitters that respect message boundaries, so subtopics come out clean.

← AI and modelsRead the whole edition →

4.7k stars · MIT · v1.6.8 (2026-06-01)

Focused text-chunking library — semantic and recursive splitters that respect message boundaries, so subtopics come out clean.

Repo detailsthe review · specs · pros & cons · install

What it is

A small Python library devoted to a single step — splitting documents into chunks — offering a dozen strategies from plain token windows up to semantic and recursive splitting that respect meaning and structure. It is built to be fast and to carry almost no dependencies.

Why it matters

Grasppy's quality ceiling is set before any clustering happens, at the moment you decide where one piece of the conversation ends and the next begins. Split a chat mid-argument and the subtopic map inherits the mistake — two half-ideas instead of one clear node — and no amount of clever embedding repairs it afterwards. Chonkie's semantic and recursive chunkers respect message boundaries and topic shifts, which is exactly the shape of your input. It is also the natural partner to model2vec from Edition 1: both are about doing the expensive step cheaply, on CPU, on the box you already pay for.

Stars4.7k
LicenceMIT
Latestv1.6.8 (2026-06-01)
Good
  • MIT, pure Python, tiny install — drops into your FastAPI venv without a dependency fight
  • A dozen strategies behind one API, so you can A/B your chunking without rewriting the pipeline
  • Deliberately lightweight, which matters on a VPS running two products already
Watch for
  • It solves one narrow step. Useful, not transformative on its own
  • The semantic chunkers need an embedding model, so they are not free in CPU terms
  • The company behind it sells a hosted product — watch for features drifting to the paid side over time
How to get it

source venv/bin/activate then pip install chonkie in the FastAPI environment.

Screenshots
feyninc/chonkie: GitHub preview card

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.