Building an internal agent: Progressive disclosure and handling large files
One of the most useful initial extensions I made to our workflows was injecting
associated images into the context window automatically, to improve the quality
of responses to tickets and messages that relied heavily on screenshots.
This was quick and made the workflows significantly more powerful.
More recently, there are a number of workflows attempting to operate on large
complex files like PDFs or DOCXs, and the naive approach of shoving them into
the context window hasn’t worked particularly well.
This post explains how we’ve adapted the principle of progressive disclosure
to allow our internal agents to work with large files.