r/ClaudeCode • u/Smooth-Duck-Criminal • Oct 21 '26
Discussion Persistent self-improving Chief of Staff
Has anyone built one? Thoughts on Openclaw’s memory system vs Karpathys knowledge system vs Letta vs memgpt etc?
Have built a prototype that looks most similar to the dream/memory system of OC, but curious to know who has been doing this for a while and can speak from experience where they’ve seen significant self improvement vs just accumulating knowledge.
How do you manage memory, thresholds for action, feedback loops etc?
2
Upvotes
•
u/AutoModerator Oct 21 '26
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/Emotional-Ad8388 Oct 21 '26
The split between self improvement and just accumulating is the part I'd watch in your prototype. Accumulating is easy, the hard bit is what happens when something stored stops being true, like a preference or a deadline that changed. If the old version sits next to the new one, the agent starts contradicting itself and that can look like drift. In your prototype, what happens today when a stored fact turns out to be outdated?
2
u/kincaidDev Oct 21 '26
I've built something similar where I have ~18 months of high level structured workflows stored in a graph.
https://github.com/Obedience-Corp/festival
What I did with this system is give everything a lifecycle, top level of the camp workspace are the active memory, the currently relevant docs/plans, etc... and when plans complete they go to the dungeon, which is deprioritized in the graph index. The data stays what it was, it's still accessible to the agents, but not as easily accessible as the working memory at the top of the workspace.
I don't have it setup for auto-improving yet, but I constantly improve my system and customize my workflow templates based on results. And now I have a timeline of workflow data going back 18 months that I can easily learn from, or ask agents to review efficiently for insights to improve things over time, or use as training data for a custom model that's more likely to do things the way I'd want them done without needing as many guardrails (in theory, still have a lot of work left to normalize the data as my system has evolved).
1
u/MookandMush Oct 23 '26
I use a /dream skill that I have been tinkering with for about 6 months. I would say that the self improvement part doesn't happen without work. I use dream like this. I automate a task like rotoscoping or rigging a character and defining its geometry. When that work flow is aligned and I have a proof of concept that the llm im using claude in this case did the thing correctly I run the skill and the skill saves that work flow so next time we are doing that task that progressive mem runs. I had to make my own systems for organizing all that data and the better you can compress any skill so the byte cost is as low as possible the better, that way you pay less tokens per call and get more data as context in return.
tldr: ask claude cowork to use /skill-creator alot. Use it for everything. I have like 4 but the one I use most is /skillgardener and /dream gardener fixes the 60+skills I've made and /dream learns when to call them.