I like few dependencies and simple tools. By the time I met Harrison Chase, the co-founder of LangChain, my team had already given me a good reason to reconsider how rigidly I was applying that preference. They were using LangChain in our work on testing agents. I was still asking why we needed it.
The question that changed my mind was quite narrow. When we split a long document so an agent could work with the relevant portion, what happened to a requirement at the boundary between two chunks? One of my engineers explained that he was using LangChain to favor clean paragraph or sentence boundaries. I had been ready for a discussion about architecture. He had an answer about a piece of text.

Read the figure as text
- Returned passage
- “Refunds are available within thirty days.”
- Adjacent exception
- “Items purchased on clearance are excluded.”
A boundary can change a requirement
Imagine the sentence “Refunds are available within thirty days” at the end of one paragraph. The next paragraph begins “Items purchased on clearance are excluded.” A splitter can preserve both sentences perfectly while a retrieval step returns only the first. The agent now has a complete sentence and an incomplete rule.
That example is why I kept pushing on edge cases even after I came around on the framework. Sensible splitting removes one class of avoidable mistakes. We still need representative documents, examples where an exception crosses a boundary, and a way to inspect the actual context an agent received. Those checks tell us whether a dependency improves our system on the work we care about.
The check I’d keep in the engineering process
I’d give each representative document a question and an exception that materially changes the answer. Save the passages the retrieval system returns, including their positions in the document. Then change the chunking strategy and run the same questions. Did the returned material retain both the general rule and the exception? Did the change add enough extra text to crowd out another relevant passage? That gives two engineers a shared artifact to argue about.
It also makes the tradeoff visible when the framework works beautifully on ordinary prose and less well on a table, a footnote or a list that continues onto the next page. A dependency can be worth adopting even when it needs a special case. I’d like the team to know which special case it has accepted and to leave a test for the person who upgrades the dependency later.
I had been thinking about context since building Auragh AI in 2015. The terminology and the tools have changed. My interest is still fairly literal. Which information did this component have when it made this decision? Could the missing paragraph have changed the answer?
I’m glad my engineer could answer my original objection with an example. It gave me something much more useful than a debate about framework philosophy. We could inspect the boundary, test the alternative, and decide how to spend our time. That is a standard for adopting a dependency that I’m happy to keep.

