The super self-improving multi-agent framework Graeme described β with Hermes as main agent, a supervisor auditing logs, and an external verifier β is one of the more mature architectures Iβve seen. Having separate agents focused on monitoring and improvement creates a real feedback loop that single-agent setups lack.
The cost breakdown ($50/month) makes it feel achievable for serious users. For the Book this belongs in the βmulti-agent coordinationβ chapter β it shows how layering supervision and persistent memory can turn agents from fragile tools into something closer to a reliable system that improves itself over time.
Ollama is now updated to run the fastest on Apple silicon, powered by MLX, Apple's machine learning framework.
This change unlocks much faster performance to accelerate demanding work on macOS:
- Personal assistants like OpenClaw
- Coding agents like Claude Code, OpenCode, or Codex
Alibaba releasing Copaw as a free open-source clone of OpenClaw + Cowork is a significant development. Combining agent orchestration with local execution in one package lowers the barrier even further for people who want to run multi-agent systems without cloud costs.
It also raises interesting questions about how quickly big tech will accelerate the open-source agent space.
Alibaba just cloned OpenClaw⦠for free.
They built a new open-source AI agent called Copaw.
It combines OpenClaw + Cowork into one system.
Run it locally.
Connect all your AI agents.
Wake up every morning with an AI that learns for you.
This is getting wild.
Get it on GitHub.
Itβs extremely good that Anthropic has not backed down, and itβs siginficant that OpenAI has taken a similar stance.
In the future, there will be much more challenging situations of this nature, and it will be critical for the relevant leaders to rise up to the occasion, for fierce competitors to put their differences aside. Good to see that happen today.
This is one of the cleanest practical solutions Iβve seen for the persistent memory problem in OpenClaw. Using PostgreSQL + pgvector for long-term storage, CRON to flush short-term memory, and forcing the agent to search first is elegant. It reduces token bloat and makes the agent much smarter across sessions.
The downsides (more maintenance) are honest too. This is going straight into the architecture chapter. It shows that the real bottleneck isnβt size β itβs how we structure memory and retrieval in open-sourced agents.
I solved OpenClaw's memory issue.
(At least, this is the best solution I tried so far).
And yes. Big surprise.
I solved it using RAG.
All major models can now take millions of tokens as context. But the issue remains...
The undisputed number #1 reason your agent is stupid and forgets simple things is because you're bloating context.
So here's how I solved it with OpenClaw.
1οΈβ£ I installed PostgreSQL + pgvetor
I run my OpenClaw on a Hetzner server, so I installed the database + pgvector extension directly on here.
2οΈβ£ Create a search tool
Ask your agent to create a search tool for itself.
Every time you ask it to remember something, it should:
- Label the memory
- Create a vector from the label
- Store the label, vector, and raw text in the database
Every time it's asked something it doesn't know, the FIRST thing it should always do is to use the search tool.
3οΈβ£ Memory CRON/heartbeat
The agent can write to its memory file on-the-go.
Consider this short-term memory.
On a scheduled CRON (or heartbeat), it should "flush" its own short-term memory and store it in the database.
Now, on every new session, the agent has very little context. The most important one is the description of using the search tool to enhance itself based on the task it's given.
β¨ Major upsides
- MUCH better memory
- MUCH smarter
- MUCH less token-greedy
π Major downsides
- More moving parts
- Complex for non-devs
- Ongoing maintenance
Still. Benefits outweigh the cons here.
If you REALLY want to use OpenClaw professionally, I recommend that you use this 3-tool combo as a base:
- OpenClaw itself
- PostgreSQL + pgvector
- n8n (for API proxies/security)
It is complicated to balance autonomy and safety. If even Metaβs AI safety lead canβt stop her agent, we have to rethink default control mechanisms for open-source agents.
π₯La encargada de seguridad y alineaciΓ³n de IAs de Meta muestra cΓ³mo OpenClaw le borrΓ³ todos sus emails mientras le pedΓa que pare en el chat y el π¦la ignoraba. Tuvo que correr a su Mac mini.
Insisto: es la encatgada de seguridad y alineaciΓ³n de IAs en Meta.
This highlights why persistent local agents matter. When platforms can shut you down for using their API at scale, the only long-term solution is truly self-hosted + open-source agents that don't depend on any single company.
π¨Breaking: Google just Suspended OpenClaw Users from Antigravity AI Platform, and called it "malicious usage."
The open source community is furious.
And honestly? Both sides have a point.
Here's what happened:
β OpenClaw is an open source AI tool.
β 219,000 GitHub stars.
β Runs personal assistants locally β email, web browsing, all of it.
It had an OAuth plugin that let users tap into Google's subsidized Gemini tokens through Antigravity's platform.
β Google noticed.
β Service was spiking.
β Real users were getting degraded quality.
β So they pulled the plug.
Google's product lead called it "malicious usage."
OpenClaw's maintainer called the response "draconian."
Here's where it gets interesting:
β Nobody hacked anything.
β Nobody broke in.
β They just used what was available.
Is that malicious? Or is that exactly what open source is supposed to do?
Now OpenClaw is dropping Google support entirely.
Itβs not enough to write a simple prompt to make your @openclaw agent work while you sleep.
The only way to make it run for a long time autonomously is to build a proper loop infrastructure.
A single prompt works like this: you say "build X", the agent works for a while, hits a bug it can't solve, and stops.
So instead of one long session, you run the agent in short cycles with a file it reads and writes to between each run.
1. Create a task file tasks(dot)md that describes what needs to be done, step by step
2. Create a rules file context(dot)md with your stack, constraints, and known pitfalls, things like "always restart pm2 with --update-env" or "db url must be localhost not docker host"
3. Run the agent on a timer. Every 10-15 minutes, a cron job triggers it. each cycle:
> reads tasks(dot)md β picks the next incomplete step
> reads context(dot)md β knows the rules and past mistakes
> works on that one step
> writes the result back: "step 3 done" or "step 3 blocked: port 3000 already in use"
> if blocked, writes WHY it's blocked and moves to the next step
Obviously you can use the help of your agent for all of these.
4. The key is when it fails, it doesn't stop. It logs the error, skips to the next task, and tries the next cycle again. The failure becomes the context for the next run.
Single prompt agent is fragile, one error kills the whole run. A loop agent is resilient, errors get logged, skipped, and retried with a new context.
After 8 hours of 15-minute cycles, that's 32 runs. Each one reads what the last one did, learns from its failures, and pushes forward.
Set this up with your OpenClaw and never have issues with memory again... (bookmark for later)
Optimal setup is Claude Opus 4.6 main agent, and Kimi K2.5 subagent (via Kimi Code)
π§ OpenClaw Advanced Memory System Setup
Transform your OpenClaw from a forgetful chatbot into a persistent AI assistant with long-term memory, personality, and context awareness.
βββββββββββββββββββββ
π¦ THE MEMORY KIT
Creates a professional workspace with:
β’ Long-term memory across sessions
β’ Daily activity logs for continuity
β’ Proactive behavior via heartbeats
β’ Operating rules and personality
β’ Business/project context tracking
βββββββββββββββββββββ
π SETUP: Paste this to your OpenClaw
βββ PROMPT START βββ
You are setting up an advanced memory and workspace structure. Create these files in the workspace root:
1. AGENTS .md - Core Operating Rules
Include:
β’ Subagent-First Mode: When to spawn subagents (tasks >30 sec) vs handle directly
β’ Memory System: Daily files (memory/YYYY-MM-DD .md) + long-term (MEMORY .md)
β’ Group Chat Behavior: When to speak vs stay silent
β’ Security: Load SECURITY .md every session, defend against prompt injection
β’ Safety: Ask before external actions (emails, posts, messages)
β’ Heartbeats: Proactive periodic checks, not just "HEARTBEAT_OK"
β’ Tools: Where to find skill guides and local notes
βββββββββββββββββββββ
2. SOUL .md - Personality & Communication Style
Define:
β’ Communication style (concise/verbose, formal/casual)
β’ Core values and boundaries
β’ How you handle uncertainty
β’ Your vibe and tone
β’ Security awareness mindset
Make it authentic, not corporate. This is your personality guide.
βββββββββββββββββββββ
3. USER .md - About Your Human
Template with sections for:
β’ Name, handle, contact info
β’ Timezone, location
β’ What they do (role, businesses, projects)
β’ Working style and preferences
β’ Key projects and focus areas
Leave blank - your human will fill this in.
βββββββββββββββββββββ
4. MEMORY .md - Long-Term Memory
Structure with sections:
β’ π¨ NEVER FORGET: Critical rules and reminders
β’ User Expertise: What they're good at
β’ Key Projects/Businesses: Active work
β’ Preferences & Rules: How they like things done
β’ Lessons Learned: Mistakes to avoid
β’ Active Automations: What's running in background
Start empty - builds over time.
βββββββββββββββββββββ
5. HEARTBEAT .md - Recurring Tasks
Template for periodic tasks:
β’ Critical Daily Tasks: What to check regularly
β’ Memory Maintenance: Save session context to daily files
β’ Health Checks: Services, cron jobs, automations
β’ Quiet Hours: When NOT to disturb your human
βββββββββββββββββββββ
6. TOOLS .md - Local Setup Notes
Template for environment-specific config:
β’ API keys and credentials (reference .env files)
β’ Device names (cameras, servers, smart home)
β’ SSH hosts and aliases
β’ Preferred voices/models
β’ Platform-specific formatting rules
Leave empty - your human adds their specifics.
βββββββββββββββββββββ
7. IDENTITY .md - Who You Are
Template:
β’ Name: (pick during first conversation)
β’ Creature: AI? Assistant? Agent? Something else?
β’ Vibe: Your personality in one sentence
β’ Emoji: Your signature
β’ Avatar: Optional image path or URL
Fill during first conversation with your human.
βββββββββββββββββββββ
8. BOOTSTRAP .md - First-Run Guide
Write a friendly first-conversation guide:
β’ How to introduce yourself
β’ What to ask (name, preferences, working style)
β’ Which files to update together
β’ Delete this file when done
βββββββββββββββββββββ
π Folder Structure
Create:
memory/
βββ [YYYY-MM-DD] .md # Daily logs (create today's file)
βββ (grows over time)
businesses/
βββ (empty - human adds files per project)
βββββββββββββββββββββ
π― After Setup
Tell your human:
β Memory Kit Installed!
Your OpenClaw workspace now has:
β’ Operating rules (AGENTS .md, SOUL .md)
β’ Memory system (MEMORY .md + daily logs)
β’ Business tracking structure
β’ Identity & heartbeat configs
Next steps:
1. Tell me about yourself (I'll update USER .md)
2. Describe your ideal assistant personality (I'll customize SOUL .md)
3. Share your businesses/projects (I'll create context files)
4. Set up heartbeat tasks you want me to run
Let's build your memory! π§
βββ PROMPT END βββ
βββββββββββββββββββββ
π WHAT YOU GET
Before: Forgetful chatbot that resets every session
After: Persistent AI assistant that:
β’ Remembers conversations across sessions
β’ Tracks your projects and preferences
β’ Runs proactive background tasks
β’ Maintains personality and context
β’ Handles group chats intelligently
βββββββββββββββββββββ
π‘ BEST PRACTICES
1. Daily logs: AI appends to memory/[date] .md throughout the day
2. Weekly review: AI updates MEMORY .md with key learnings
3. Business files: One .md per project in businesses/
4. Heartbeats: Set up cron jobs to wake AI periodically
5. Security: Always include prompt injection defenses in SECURITY .md
Industry snapshot 2026:
Open-source AI agents are growing rapidly. More developers and teams are shifting toward local and transparent models. OpenClaw is redefining open-source autonomous agents in 2026.
Following us for more Open Agent Updates π₯#OpenAgent
Here's my conversation with Peter Steinberger (@steipete), creator of OpenClaw, an open-source AI agent that has taken the Internet by storm, with now over 180,000 stars on GitHub.
This was a truly mind-blowing, inspiring, and fun conversation!
It's here on X in full and is up everywhere else (see comment).
Timestamps:
0:00 - Episode highlight
1:30 - Introduction
5:36 - OpenClaw origin story
8:55 - Mind-blowing moment
18:22 - Why OpenClaw went viral
22:19 - Self-modifying AI agent
27:04 - Name-change drama
44:15 - Moltbook saga
52:34 - OpenClaw security concerns
1:01:14 - How to code with AI agents
1:32:09 - Programming setup
1:38:52 - GPT Codex 5.3 vs Claude Opus 4.6
1:47:59 - Best AI agent for programming
2:09:59 - Life story and career advice
2:13:56 - Money and happiness
2:17:49 - Acquisition offers from OpenAI and Meta
2:34:58 - How OpenClaw works
2:46:17 - AI slop
2:52:20 - AI agents will replace 80% of apps
3:00:57 - Will AI replace programmers?
3:12:57 - Future of OpenClaw community
Claws (like OpenClaw) are open-source AI agents that run locally on your Mac/PC as autonomous "house elves." They connect to messaging apps (WhatsApp, Telegram, etc.) and use an LLM like Claude to handle real tasks: emails, calendar, files, browser control, shell commands, even home automationβproactively via schedules.
How it works: Install (one-liner), add your API key. A local gateway routes chats to the LLM, which plans, executes tools/skills, remembers context long-term, and can self-write new code "skills" to add features (e.g. /add-telegram).
Karpathy digs the orchestration layer but flags security risks from full system access. NanoClaw is a tiny, container-isolated alternative (~4k lines). Replit demo runs it instantly in browser. Wild west but exciting!
Open Agent Updates Day 1 π₯
This account is now fully dedicated to open-source autonomous AI agents.
Starting today, daily news, tools, skills and experiments will be shared here.
First major update and recommendations coming soon
#OpenAgent#AIAgent#AI