Remix.run Logo
▲ mr_roboto 35 minutes ago

I hope they figure out a highly effective way that scales. I've found the built in method in Claude is a disaster. I make the only memory a rule that there are no memories allowed. When working on large projects I find it will add all sorts of memories for things it can just figure out JIT and I'll turn around it is injecting 50Kb worth of memories into each session.

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.

▲mapBasketWand 4 minutes ago | parent | next [-]

I have many repos across the org and agents are spawning workers in other repos, so I had thousands of memories spread across the world. Plus I use a mixture of codex, Claude, Qwen and others.

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

▲notatoad 15 minutes ago | parent | prev | next [-]

>I make the only memory a rule that there are no memories allowed.

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"

▲stavros 24 minutes ago | parent | prev | next [-]

I built an AI assistant (https://stavrobot.stavros.io/) that uses a plain SQL database with some niceties (important memories injected directly into the context, less important memories get titles injected and the agent can request the whole note, everything else just gets search) and it works perfectly.

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 8 minutes ago | parent [-]

The secret will be getting that to scale to huge projects. I suspect we'll eventually end up with something that mimics human biology, where memories that add value become prominent and when they don't they fade out to the point of deletion. If you are working on a giant project and it takes an architectural shift it would be nice to have the memories that just don't apply anymore eventually get deleted automatically without have to manually curate it.

▲hellisothers 27 minutes ago | parent | prev [-]

In a related vein I’m a prompt purist, minimal prompt to kick things off, if there are questions it will ask. In contrast to my peers who spend hours drafting (or asking ai to draft) huge spec documents. They perform being busy better but we’re achieving the same impact.

▲XenophileJKO 3 minutes ago | parent | next [-]

I think that is the most efficient way. You can easily probe to see if their assumptions match your expectations. If they align then you don't have to specify anything.

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.

▲mr_roboto 7 minutes ago | parent | prev [-]

I go both ways on that. For small things I absolutely agree. The largest project I'm working on is approaching 1M lines all by Claude with 188 architecture documents that act as the source of truth for how the system works. I don't think it would have been successful without that.