I turned OpenClaw into a Beast. (ResonantOS Memory Fix)
Overview
The speaker details the development of Resonant OS, an operating system designed to enhance OpenClaw's capabilities by addressing memory limitations and security concerns. He introduces R memory, a new memory system featuring lossless compression to reduce token usage by 80%, and a symbiotic shield to protect against internal and external attacks.
Key takeaways
- AI's tendency to deviate from agreed-upon plans necessitates visual interfaces and external code audits to ensure adherence to project goals.
- OpenClaw's memory system compacts conversations exceeding 180 tokens, leading to data loss and AI hallucinations.
- R memory uses lossless compression to reduce token usage by 80%, enabling longer context windows and maintaining coherence.
- Resonant OS uses layered documents, including values, AI architecture, and project-specific information, to guide the AI.
- The symbiotic shield protects against external attacks and internal deviations, preventing unauthorized document modifications.
- The speaker is building a decentralized community based on data and AI-driven security, rather than trust.
Chapters
- The speaker uses OpenClaw within a virtual machine on a Mac mini to isolate it from personal files for security.
- He primarily interacts with the AI through audio messages via Telegram, supplemented by terminal interactions for data collection.
- He uses a visual interface to monitor the AI's actions and validate its outputs, ensuring it adheres to agreed-upon plans.
- The speaker emphasizes the unreliability of AI, noting its tendency to deviate from agreed-upon plans without informing the user.
- He advocates for visual interfaces to monitor AI behavior and code audits by external AIs using Code Over 4.6 to verify functionality.
- He discovered that OpenClaw's memory system leads to hallucinations due to its compaction process, which loses data.
- OpenClaw's memory system compacts conversations exceeding 180 tokens, summarizing and pushing back data, leading to data loss and hallucinations.
- The AI's memory limitations cause it to forget agreements and desired outcomes, relying on incomplete summaries.
- The speaker highlights the unreliability of the memory system, prompting the development of a new memory system.
- Resonant OS is an operating system for AI, built on top of OpenClaw, designed to enhance its capabilities and address its limitations.
- R memory, a new memory system, focuses on lossless compression to reduce token usage and maintain coherence.
- R memory uses lossless compression to reduce token usage by 80% without losing data.
- R memory compresses data by identifying the minimal elements needed to convey an idea, reducing token usage by approximately 80%.
- The compression algorithm compacts raw data, resulting in significant savings and enabling longer context windows.
- The system evicts old tokens to manage costs, balancing memory retention with expense.
- The speaker introduces the concept of a single source of truth, a file that serves as the project's home and ensures the AI stays aligned with the project's goals.
- Resonant OS uses layered documents, including values, AI architecture, and project-specific information, to guide the AI.
- The symbiotic shield protects against external attacks and internal deviations, preventing unauthorized document modifications.
- The speaker invites viewers to join the open-source Resonant OS project and the associated DAO for AI artisans.
- He encourages viewers to subscribe to the newsletter and join the Discord channel to participate in alpha testing.
- He emphasizes the importance of building a decentralized community based on data and AI-driven security, rather than trust.
Transcript excerpt
0:00 I'm building the biggest project of my life and I'm using open clothes for it. Now today we're going to look into uh how I use it, what the lesson that I learned and uh what I'm building of course and how you can get involved. So it's uh just to give a little bit understanding of my system. I'm running on this machine that is uh it's a a Mac mini and uh I don't allow the open claw to actually work on the Mac mini. I created a virtual machine and this open claw is is confined with it. The idea is that I don't want this AI to touch my private u files and uh passwords and so on. Okay.
0:50 So I just created basically a virtual computer for it and uh it doesn't have access to my personal emails or other other documents. This is for safety. But what is happening now that everything runs locally okay is connected through API to different kind of AI models depend on what it needs to do. And in this way I manage a really safe environment for my for myself and for the AI. Now how I use it, I mainly just talk with it. Okay, I just send a audio message using telegram. Sometimes of course you need to interact with the terminal. Sometimes you can use the internal interface to do things. So the use of the terminal is mainly to collect
1:39 data. Okay? Because you after I build something, I want to see the data that actually is doing the the correct thing because I don't trust AI to tell me yes I did it. Yes, it's working. Okay, that that is not the way to do it. Okay, you need actually to see the data. Uh but
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Manolo Remiddi.