From: Ricardo Wurmus <rekado@elephly.net>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: Ricardo Wurmus <rekado@elephly.net>, kaagum@systemreboot.net
Subject: Re: strategies for context management
Date: Fri, 06 Nov 2026 22:28:23 +0100 [thread overview]
Message-ID: <87jympps3s.fsf@elephly.net> (raw)
In-Reply-To: <87fqxerqg6.fsf@systemreboot.net>
Hi Arun,
> I haven't thought hard about context compaction or read much of
> the
> literature. But I'm open to ideas. Let me know what you have in
> mind.
it would be helpful to provide a means for users to delete or edit
session messages to reduce the effective context. I don't know if
kaagum's design makes this possible or if perhaps it is something
that is not wanted due to design constraints.
As far as I understand, however, it is up to agent harnesses to
implement context management if they need it.
> Something like Aider's repomap could be interesting:
> https://aider.chat/docs/repomap.html It might lessen the need
> for the
> LLM to read through lots of files.
>
> And, here's another idea of building a semantic code search
> database:
> https://github.com/zilliztech/claude-context This too might
> lessen the
> need for the LLM to read through lots of files.
My project involves processing research articles, so there's a lot
of text. (I've got tools for running pdftotext and pdfimages in a
Guix container to extract parts of articles.)
Code search might help for navigating large software repositories,
but my concern is with compacting all that text. Merely searching
keywords and reading delimited chunks would not be sufficient, but
reading chunks to summarize and write compacted progress would.
--
Ricardo
next prev parent reply other threads:[~2026-11-06 21:28 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 8:11 Ricardo Wurmus
2026-11-06 14:21 ` Arun Isaac
2026-11-06 21:28 ` Ricardo Wurmus [this message]
2026-11-07 8:15 ` Ricardo Wurmus
2026-11-08 1:35 ` Arun Isaac
2026-11-08 1:36 ` [PATCH] Support context compaction Arun Isaac
2026-11-09 13:25 ` strategies for context management Ricardo Wurmus
2026-11-10 23:42 ` Arun Isaac
2026-11-13 22:41 ` [PATCH 1/4] Add message record equality comparators Arun Isaac
2026-11-13 22:41 ` [PATCH 2/4] Support context compaction Arun Isaac
2026-11-13 22:41 ` [PATCH 3/4] Add sliding window compacter Arun Isaac
2026-11-13 22:41 ` [PATCH 4/4] Allow loading compacter from file Arun Isaac
2026-11-13 22:46 ` strategies for context management Arun Isaac
2026-11-15 4:47 ` [PATCH v2 0/5] Context compaction Arun Isaac
2026-11-19 14:28 ` Ricardo Wurmus
2026-11-19 14:29 ` Ricardo Wurmus
2026-11-19 18:43 ` Arun Isaac
2026-11-20 5:39 ` Ricardo Wurmus
2026-11-20 5:56 ` Ricardo Wurmus
2026-11-20 13:42 ` Arun Isaac
2026-11-20 13:45 ` Arun Isaac
2026-11-20 14:01 ` Ricardo Wurmus
2026-11-22 16:54 ` Arun Isaac
2026-11-15 4:47 ` [PATCH v2 1/5] Support context compaction Arun Isaac
2026-11-15 4:47 ` [PATCH v2 2/5] Add sliding window compacter Arun Isaac
2026-11-15 4:47 ` [PATCH v2 3/5] Add summarizing compacter Arun Isaac
2026-11-15 4:47 ` [PATCH v2 4/5] Document context compacters Arun Isaac
2026-11-15 4:47 ` [PATCH v2 5/5] Allow user-defined " Arun Isaac
2026-11-08 1:43 ` strategies for context management Arun Isaac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jympps3s.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=arunisaac@systemreboot.net \
--cc=kaagum@systemreboot.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox