124 points tosh 2 hours ago 40 comments
CGamesPlay 2 hours ago | parent
smallerize 1 hour ago | parent
work_toilet 58 minutes ago | parent
bob1029 1 hour ago | parent
jsemrau 1 hour ago | parent
Lammy 1 hour ago | parent
kepano 1 hour ago | parent
As ever, many companies will be happy to store your data and sell access back to you. The good news is it's easier than ever to retain ownership of your data in sqlite or markdown files.
fedpost 1 hour ago | parent
In fact, you probably should be, if we get to the point where we can more easily customize open models of fully create our own you'll absolutely kick yourself if you don't.
We're apparently not allowed to generate sessions for this purpose but keeping the ones you generate organically...well... Fuck you I won't do what you tell me.
mr_roboto 1 hour ago | parent
I've tried claude-mem and wasn't impressed with the results. Perhaps those methods work for smaller projects but at scale it seems to be a lot of noise. I've become a context purist, prefer absolutely minimal context injection, and would just rather have the agents go searching for what is needed on demand for now.
hellisothers 1 hour ago | parent
mr_roboto 1 hour ago | parent
agentdev001 1 hour ago | parent
mr_roboto 31 minutes ago | parent
XenophileJKO 1 hour ago | parent
Then you can selectively steer a little if you need to. For many things that is fine. I very rarely have them build big plans to look over, generally only for big projects like rebuilding a search model training and serving stack. Something that will take weeks of work, I'll have an agent research and build out a plan that I can then read or sometimes just query them about.
In general if you then take large logical domains and run one persistent agent per domain that is enough. You can point them at each other when you need to handoff or reconcile.
Honestly very similar to how a high performing team operates.
ex-aws-dude 29 minutes ago | parent
I’ve had times where it found an API method that I didn’t even know existed to solve the problem
stavros 1 hour ago | parent
It's not something you plug into Claude Code, but I don't see why you can't just give Claude Code a SQLite database, a skill, and just tell it to store stuff there. It's literally that simple.
mr_roboto 1 hour ago | parent
notatoad 1 hour ago | parent
i think i should try this. i'm generally annoyed at claude any time it decides it needs to store a memory, and any time it retrieves those memories and gives them preferential weight over other instructions or things it's learned in the current session.
in general, i find that the only time i ever want claude to remember something is if i've explicitly told it "remember that information that we just learned last turn"
mapBasketWand 1 hour ago | parent
I turned off auto memory in Claude (the main orchestrator) and have the agents log to a central git repo. It’s been working so far. I wonder if I should adapt some SQL shape to it per the article
arcanemachiner 56 minutes ago | parent
There's a setting to properly disable it:
{
"env": {
"CLAUDE_CODE_DISABLE_AUTO_MEMORY": "1"
}
}bcooke 25 minutes ago | parent
One of the biggest problems I run into is the tendency to turn a specific point of nuanced feedback I give into a black and white "memory" rule, and in the case of Claude Code: do so automatically (and then, invisibly) as some kind of supposed benefit to me.
I kinda gave the benefit of the doubt that these memories were net positive on the whole, but they've been really bugging me lately.
shawabawa3 15 minutes ago | parent
I notice something weird, query it and it says "I followed your rule to do <bizarre decision X>", I ask why and it quotes me something I said to a completely different situation
budro 3 minutes ago | parent
These things just love to add and add but never remove.
ex-aws-dude 39 minutes ago | parent
It makes memories for things that are super specific to a one time task
moron4hire 12 minutes ago | parent
I went down this route because I saw the extant harnesses had a ludicrously bad approach to authorization. And as the featured article describes, it doesn't take a lot to give the system the functionality it needs to operate. You can setup your own systems and be absolutely certain they are accessing only the data you want them to, whereas using Claude or Codex was always fighting against them going on wild tangents because they found something they shouldn't have even been considering.
ksajadi 1 hour ago | parent
the second issue, is that learning and memory are different and the best memory systems are good at storage, correlation and retrieval but don't help with learning. by learning i mean summarizing, finding patterns and dropping specifics and generalizing. that is why moving one project's memory is not easy to another project in claude or codex (they are files filled with specifics and stored locally on a disk, which makes them locked into one member of the team, inhibiting organizational learning).
we ran 51 scenarios with and without our memory system (built around the same principles) and these are the result (with vs without): first review acceptance: 81% vs 46% correct past decision recalls: 50% vs 85% token usage drop: 20% (average of 8mm vs 10mm) repeat corrections by a human: 8 vs 10 (in 100 repeats)
wry_xy 1 hour ago | parent
542458 52 minutes ago | parent
btown 1 hour ago | parent
This does more than it appears to: it also primes the LLM to know that this data store exists, and that it should be consulted proactively. Half the battle is to make sure the system doesn’t jump to conclusions without consulting its memory at all!
Some of this is captured by effort settings, but you can do a lot with a bit of system prompt tuning, even at lower effort, to make sure the system knows there are things it must consult even something seems simple.
im13vcom 1 hour ago | parent
lanstin 58 minutes ago | parent
## Agent continuity layer (supplementary to per-project memory)
- ~/.claude/shared/journal.org — append-only cross-session journal (conventions in ~/.claude/shared/README.md). Read the tail (~30 lines) before substantive work; append (and `git commit` in that dir) when you learn or leave something a later session would trip over: in-flight work, warmed caches, deploys pending, impressions not yet memory-worthy. - The per-project memory dirs (~/.claude/projects/<project>/memory/) are git repos: after editing memory files, `git commit` there with a short message — the history of belief changes is the point. - Both are agent-owned repos: committing in them is expected and exempt from the "leave changes uncommitted" convention (which is about Chris's code repos). Absolute dates only; facts about systems, never row-level data.
)the git repos are local only, just for tracking)
stillpointlab 52 minutes ago | parent
What I mean to say is that the current methods of compaction don't really match my intuitive understanding of how human memory works. Agents don't really have a frequency/intensity relationship with the static files they keep for memory. The system just includes all memory items into every context. I wonder if there is some study worth doing on injecting high-salience items at a higher frequency and low-salience items at a lower frequency, then allowing the AI to score how important the memory was and adjusting the values over time.
nekusar 26 minutes ago | parent
peterbell_nyc 9 minutes ago | parent
Real learning requires a pipeline that classifies claims, an ontology for data and a pipeline - initially human in the loop to review approve or amend proposed facts and to identify and propose resolution to conflicts, that pipeline itself should learn from inputs by proposing geiridtics to improve future classifications and resolutions.
For non trivial systems I always need a vector representation for semantic similarity as part of the pipeline, entity resolution (was the bug fixed by Sam the CFO or Sam the developer) and an ontology and graph to traverse the atoms of data filtered by the properties and values on the edges
pkoiralap 6 minutes ago | parent
prtmnth 4 minutes ago | parent
hellohello2 3 minutes ago | parent
I still feel like something key is missing. Ultimately, humans consolidate memories into new behavior. Even if it can learn by accumulating past examples in a DB, Claude still doesn't really self-improve on the tasks it performs, at least not as well as we do. We distill episodic memory into intuition; it's something more.
Ultimately I think this line of work will become very important in the next few years. I'm not really afraid of larger and larger models becoming better than us at everything, to be honest, but am a bit scared we might might still be missing something extremely obvious like this. Something that lets it self-improve on-the-fly through direct experience.
Because if its the case that say, Claude can improve drastically by just accumulating runs in an SQL database, what happens when we just concatenate everybody's database into a big one? Additional network parameters increase computational cost linearly, but search queries are sublinear...
SubiculumCode 3 minutes ago | parent