· Retrieval
RAG
How an AI model answers from your documents: chunks, two kinds of search, reranking.
Research · Retrieval · Chunking
Updated
Agentic chunking uses an AI model to decide where a document should be cut before it is indexed for retrieval. Instead of cutting every few hundred words, the model groups sentences that belong together and gives each chunk a title and summary. Colidal uses it for documents where fixed cuts break the meaning.
cuts = by meaning · each chunk = title + summary + text · runs = once, at indexing
Agentic chunking is a way of preparing documents for retrieval in which an AI model decides where each passage starts and ends, and labels it, instead of cutting at a fixed length. How it works A RAG system can only find what a chunk contains. Agentic chunking spends a little AI up front so every chunk is one complete idea. The pipeline Clean the text. Text is extracted and the parts that are not content are removed: page numbers, headers, footers. Split it small. Recursive splitting breaks the text into small pieces without cutting sentences apart. A little overlap keeps context across each boundary. Group the pieces. An LLM reads the pieces in order and decides which belong together. Each group becomes one chunk. Label each chunk. The LLM writes a title and a short summary for the chunk. Both are stored with it. Embed and store. Each chunk goes through an embedding model into a vector database, as in any RAG system. Why it matters The title and summary are searched along with the text. A chunk that never uses the word "refund" can still be found by a question about refunds, because its summary says what it is about. The model also sees the labels when it answers, so it knows what a passage is and where it came from. A chunk is a passage of a document, small enough to search precisely and large enough to make sense on its own. Example Where the cut falls decides whether a question finds the whole rule or half of it. Fixed-size · cut every 30 words Ask about the restocking fee and the search finds chunk 2: a fee with no item, mixed with shipping. Agentic · cut where the topic changes The same question finds one chunk that holds the whole rule, and nothing else. Example text, written for illustration. Compare Each method costs more than the one before it and keeps more of the meaning. Agentic chunking builds on the others: it starts from a recursive split. with contextual retrieval Agentic chunking decides where to cut. Contextual retrieval adds a line saying where each chunk sits in its document. They can be used together. with hybrid search Titles and summaries give meaning search a clearer target and give keyword search the words people actually type. with reranking A reranker scores whole chunks. Chunks that hold one complete idea are easier to score than fragments. at runtime All the extra work happens once, when a document is indexed. Answering a question costs the same. Fit How Colidal builds it Colidal's RAG engine does not assume one chunking method. We try the candidates on your own documents and questions, and use agentic chunking where it measurably finds more of the right passages. Used in: Your documents · Repeat questions · colidal/ragCut small first. Then let a model put the pieces back together.
What happens to a document
What the labels are for
The same policy, cut two ways.
Cut by size
Cut by meaning
Four ways to chunk a document.
Method How it cuts Good at Weak at Cost Fixed-size Equal blocks by character or token count, with overlap Speed and simplicity Cuts through sentences and ideas Lowest Recursive By paragraph, then sentence, then word, until each piece fits Documents with clear structure Text with no clear separators Low Semantic Starts a new chunk where the meaning shifts, using embeddings Following the topic Paragraphs that cover several topics; needs a well-set threshold Medium Agentic An LLM groups small pieces into coherent chunks and labels each one Mixed documents; chunks that stand on their own Speed at indexing; still a young method Highest: a model call per chunk Two uses of an LLM at indexing
Labels help both searches
Cleaner candidates
No extra cost per question
When agentic chunking fits, and when it doesn't.
Use it when
Skip it when
Chunking chosen by test, not by default.
FAQ
Agentic chunking is a way of preparing documents for retrieval in which an AI model decides where each passage starts and ends, and gives it a title and summary.
Semantic chunking uses embeddings to detect where the meaning shifts. Agentic chunking has an LLM read the text and decide, and also label each chunk.
No. The extra work happens once, when a document is indexed. Answering a question takes the same time as before.
No. Agentic chunking prepares documents before any question is asked. Agentic RAG is an agent deciding what to retrieve while it answers. A system can use either, or both.
Keep reading
· Retrieval
How an AI model answers from your documents: chunks, two kinds of search, reranking.
· Retrieval · Graphs
How a knowledge graph lets AI answer questions that span many documents.
· Retrieval · Agents
How an AI agent plans, picks its tools, checks its results, and retries.
Next step
Tell us what you need. We reply within one business day with times for a call, and you'll get a short agenda before we talk.
Request a call
Thirty minutes, by video. No preparation needed.
Get times and a short agenda
Within one business day, so the call is spent on your problem.
Leave with a next step
Usually Colidal AI Assessment, or an honest "AI isn't the answer here".