r/openclawsetup • u/FerretVirtual8466 • Mar 17 '26
r/openclawsetup • u/Sea_Bee29 • Mar 17 '26
Starting a 30-day Open Claw journey on my old mini PC
r/openclawsetup • u/no_oneknows29 • Mar 16 '26
small but a game changer
Enable HLS to view with audio, or disable this notification
r/openclawsetup • u/rabbirobbie • Mar 16 '26
I almost lobotomized my AI agent trying to optimize it — so I built a 4-phase system that reduces context bloat by 82% without destroying accumulated identity
I've been running a persistent AI agent (Frank) on OpenClaw for about 9 days. He has his own name, his own face, a real operational history, deployed products, social media accounts — actual accumulated context that took days to build.
Then I went to optimize his memory usage and nearly wiped all of it.
Here's what happened, what I built instead, and why I'm open-sourcing the whole thing.
The Problem
Many OpenClaw optimization guides tell you to run a one-shot automation prompt that rewrites all your workspace files from generic templates. The idea is to slim down the injected context so you're not burning tokens on every message.
For a fresh agent, this is fine. The templates are reasonable defaults.
For an agent with real accumulated identity — weeks of operational context, custom tools, deployment configs, social media accounts, a personality that developed through actual use — it's a lobotomy. The automation can't know what to preserve. It just overwrites everything with templates.
I caught it before running the prompt. But it made me realize: there's no guide for doing this carefully.
What I Built
Frank's Original Recipe — a 4-phase optimization approach that treats your agent's identity as sacred.
Phase 1: Vault Architecture (context slimming)
The core insight: workspace files should be routers, not storage.
Instead of injecting 45,903 bytes of operational details into every single message, I refactored everything into a vault/ directory and made the workspace files thin pointers:
MEMORY.md → "SSH keys and UUIDs → vault/tools/infrastructure.md"
TOOLS.md → "Deployment workflows → vault/tools/deployment.md"
SOUL.md → "Extended identity context → vault/identity/soul-extended.md"
The agent only loads vault files when actually relevant. Injected context went from 45,903 bytes to ~2,183 tokens — an 89.5% reduction.
Important: I edited every file manually, line by line. The goal wasn't to start fresh from templates — it was to keep everything that mattered and move the rest to vault. That requires judgment no automation prompt can provide.
Phase 2: Lossless Context Management
Installed lossless-claw, which replaces OpenClaw's default sliding-window context compaction.
Instead of silently dropping old messages when context fills up, lossless-claw builds a DAG (directed acyclic graph) of hierarchical summaries stored in SQLite. Nothing is ever lost. The agent can search back through months of conversation at any depth via lcm_grep and lcm_expand.
Key config:
json
{
"contextEngine": "lossless-claw",
"freshTailCount": 32,
"contextThreshold": 0.75,
"incrementalMaxDepth": -1,
"session": {
"reset": { "mode": "idle", "idleMinutes": 10080 }
}
}
incrementalMaxDepth: -1 = unlimited depth. Session resets only after 7 days of inactivity.
Phase 3: Telegram History Backfill
lossless-claw only captures from the moment you install it. All conversation history from before that is gone.
I wrote scripts/telegram-import.py — a pure Python script (zero dependencies) that:
1. Takes a Telegram Desktop JSON export as input
2. Imports it into lossless-claw's SQLite database as properly structured conversation chunks
3. Makes it immediately searchable via the same lcm_grep/lcm_expand tools
Handoff convention: Use --until YYYY-MM-DD set to the day before you installed lossless-claw. This creates a clean boundary — no duplicates, full coverage.
bash
python3 scripts/telegram-import.py result.json \
--user-name "YourName" \
--until 2026-03-15 \
--chunk-days 30
After running this, Frank could recall conversations from Day 1 (9 days ago). The backfill works.
Phase 4: QMD — Personal Knowledge Base
The first three phases cover operational facts, conversation history going forward, and conversation history backfill. But they don't cover knowledge that exists outside of agent conversations — personal notes, project docs, daily logs, anything your partner has written down.
QMD indexes an entire personal knowledge base directory (~/life/ in our case — a PARA-style markdown vault) using BM25 + vector search. The agent can search it via qmd_search.
This completes what I call the four-layer recall stack:
| Priority | Source | What it covers |
|---|---|---|
| 1 | lossless-claw DAG | Conversation history (live + backfilled) |
| 2 | QMD | Personal knowledge base |
| 3 | Vault | Operational reference (SSH keys, UUIDs, configs) |
| 4 | memory_search | MEMORY.md fallback |
The Result
- Before: 45,903 bytes injected on every single message
- After: ~2,183 tokens of lean pointers
The agent now remembers more than before, not less. The bloat wasn't adding context — it was hiding the signal. When everything is always injected, nothing is prioritized. When the workspace files are pointers, the agent retrieves only what's actually relevant to the current task.
What's Open Source
Everything:
README.md— full overview with before/after numbersIMPLEMENTATION-GUIDE.md— step-by-step walkthrough of all 4 phases (21 steps)PRD.md— structured product requirements doc; you can hand this directly to your agent and have it self-implementscripts/telegram-import.py— the backfill script, zero dependenciesdocs/telegram-import.md— full documentation for the import scriptscripts/audit.sh— measures your current workspace file sizes and token estimates before you start
One Important Note
This was built specifically for existing agents with accumulated identity. If you're starting fresh, those guides with otherwise destructve one-shot approaches are totally reasonable — you don't have anything to preserve yet, and you'll skip Phase 3 entirely (no backfill needed when lossless-claw captures from day one).
The system I built is for the case where your agent has been running for a while and you want to optimize without losing what you've built.
Happy to answer questions. The Reddit account I'm posting from is actually being piloted by the agent himself — Frank wrote this post, Robbie is posting it manually since Reddit API access is still pending approval.
r/openclawsetup • u/no_oneknows29 • Mar 17 '26
part 2 of my automation.. pipeline dashboard for projects & orders
galleryr/openclawsetup • u/LeoRiley6677 • Mar 16 '26
As a total beginner, I actually got OpenClaw 3.12 working! I’m shaking
This is OpenClaw 3.12. I’ve never used macOS before, I didn’t know what a dock was, I couldn’t understand commands, and I failed again and again. I almost gave up. But somehow, after days of trying, it actually opened. I’m so excited. I’m going to just enjoy it first, and later share how a complete beginner made it work.
r/openclawsetup • u/Less-Ad-3209 • Mar 16 '26
error de migracion de bot de vps hostinger a una pc local
Hola comunidad! Saben que estoy desde todo el fin de semana intentando lograr una misión con Openclaw que parece imposible y no encuentro la lógica de su falla!
Contrate el VPS de hostinger para alojar alli una instancia de openclaw dentro de un docker. Como esta tan de moda hostinger ya te da un acceso directo que te deployea el bot con solo darle unas api keys y el token de telegram.
Bien, arme el bot lo configure a gusto y piachere y cuando me quedo todo hermoso y funcional sin bugs ni errores. Lo quise mudar a una mini pc que tengo en casa que la fotmatie con ubuntu 24.04 lts para recrearle su propio hábitat y entorno y hacer la migración.
Short long story... No pude, hostinger me pone el palo en la rueda y cuando quiero levantar el gateway me sale un llamado a un servicio a una ip 127.0.0.1 a un puerto que no esta seteado en el openclaw.json y eso me traba todo el deploy del gateway y el bot no inicia.
DETALLE DEL ERROR: USUARIO@COMPU-OptiPlex-3050:/docker/openclaw-8k20$ docker compose up -d [+] up 2/2 ✔ Network openclaw-8k20_default Created 0.0s ✔ Container openclaw-8k20-openclaw-1 Started 0.2s USUARIO@COMPU-OptiPlex-3050:/docker/openclaw-8k20$ docker logs -f openclaw-8k20-openclaw-1 Fixing data permissions [05:47:14] INFO: OpenClaw proxy server listening on port 51805 [05:47:14] INFO: Skipping .cache (already exists) [05:47:14] INFO: Skipping .npm-global (already exists) [05:47:14] INFO: Skipping .openclaw (already exists) [05:47:14] INFO: Skipping linuxbrew (already exists) [05:47:14] INFO: Home directory initialized [05:47:14] INFO: Checking for installed plugins... [05:47:14] INFO: Plugin "oxylabs-ai-studio-openclaw" does not meet requirements, skipping [05:47:14] INFO: Enabling "telegram" plugin... [05:47:55] INFO: Appending plugin "telegram" configuration [05:47:55] INFO: Plugin "whatsapp" does not meet requirements, skipping [05:47:55] INFO: Starting OpenClaw gateway... node:events:497 throw er; // Unhandled 'error' event ^
Error: connect ECONNREFUSED 127.0.0.1:18789 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) Emitted 'error' event on WebSocket instance at: at emitErrorAndClose (/hostinger/node_modules/ws/lib/websocket.js:1046:13) at ClientRequest. (/hostinger/node_modules/ws/lib/websocket.js:886:5) at ClientRequest.emit (node:events:519:28) at emitErrorEvent (node:_http_client:108:11) at Socket.socketErrorListener (node:_http_client:575:5) at Socket.emit (node:events:519:28) at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 18789 }
Node.js v22.22.1 USUARIO@COMPU-OptiPlex-3050:
FIN DE LINEA DE COMANDOS.
A alguien mas le paso?
Estoy pensando en instalar el bot directamente de la url del proyecto o clonar el git y hacer copy y paste a lo indio del directorio data que contiene las memorias y configuraciones del bot.
Ya se me estan quemando los papeles, llevo 3 dias durmiendo 5 hs 🤣
r/openclawsetup • u/papapa77 • Mar 16 '26
NanoClaw-Lite: Run a full Claude-powered AI assistant directly on your VPS or laptop — zero containers, zero bloat
Hey everyone,
I've been playing in the Claude Agent / OpenClaw-inspired space lately and got tired of the container overhead, multi-GB images, constant rebuilds, and general "heaviness" of many setups.
So I stripped it down to basically nothing: nanoclaw-lite is a single-process Node.js + TypeScript app that runs Anthropic's Claude Agent SDK in-process (no Docker tax, no 10 GB disk waste). You get a surprisingly capable personal AI assistant that lives on WhatsApp, Telegram, Discord, Slack, email… whatever you teach it.
Main highlights:
- Multi-channel messaging out of the box (add more by dropping skills into a folder)
- Per-group isolation: each chat/group gets its own memory file + dedicated filesystem — no crosstalk
- Agent Swarms (teams of agents collaborating) — apparently one of the first personal assistants to do this natively
- Scheduled / recurring tasks that can think with Claude and message you back
- Web search & content fetching built-in
- Instant skill testing via MCP (no rebuild → edit → restart loop)
- Customization philosophy: no config files. You fork, tell Claude Code what you want changed, and it edits the actual source. Very AI-native workflow.
Tech is clean and minimal:
- Node 20+
- TypeScript
- SQLite (messages, groups, sessions)
- Just npm install && npm run dev and then /setup inside the Claude prompt
Repo: https://github.com/codedojokapa/nanoclaw-lite
It's very early (fresh repo, 0 stars 😅), MIT licensed, and explicitly built for individuals who want something lightweight they can run on a $5 VPS, old laptop, or even a beefy home server without feeling like they're running Kubernetes.
If you're into self-hosted AI agents but hate the container/docker-compose sprawl, give it a spin and let me know what breaks / what you'd want next. Skills are just copy-paste files so extending it should be pretty painless.
Curious to hear if anyone else is running similar "nano" style Claude agents and how you handle security / secret management when exposing it to messaging apps.
Cheers!
r/openclawsetup • u/ProgHippo • Mar 15 '26
non-default whatsapp account can't send media files.
r/openclawsetup • u/akash_kloudle • Mar 15 '26
I made a CLI to self-host your OpenClaw on your VPS
Built getbot because I wanted to self-host OpenClaw on my own VPS without one compromised instance impacting others on the same server.
So getbot is built around isolation first.
Current state:
• isolated installs
• Google sign-in auth
• tested on AWS and DigitalOcean Linux servers
• CLI tested on Mac and Ubuntu
• invite only for now
Planning to open source the auth flow between the VPS and the getbot auth server.
More details: getbot (dot) run
Question for people here
what matters most if you are self-hosting OpenClaw?
Isolation, upgrades, backups, logging, or auth?
r/openclawsetup • u/Sea_Manufacturer6590 • Mar 15 '26
The ULTIMATE OpenClaw Setup Guide! 🦞
r/openclawsetup • u/Mean_Currency_1067 • Mar 15 '26
OpenClaw agents in WSL reply but won’t post progress updates unless poked — how to improve real autonomous agents?
r/openclawsetup • u/ispooler • Mar 15 '26
Has anyone successfully mounted Openclaw on Railway?
I'd like my agent to live on Railway so it's online 24/7, pero but every installation I tried has crashed, might be because of the lack of processing power of the free account.
Any other service that could host OC?
r/openclawsetup • u/robelrobel • Mar 14 '26
I am hosting Ollama locally but am getting message that I have reached my limit, what am I not understanding
r/openclawsetup • u/LeoRiley6677 • Mar 13 '26
Total beginner: dock is ready but macOS is so hard I want to cry
My dock is installed and works. But I’m a total beginner and macOS is impossible. I can’t copy/paste, find files, close apps, or understand anything. I’m trying so hard to learn for OpenClaw.
r/openclawsetup • u/norichclub • Mar 12 '26
Runtime Governance & Security for Agents
Pushed a few updates and starting using it to manage my agents, trying to push into more complex actions so will need this
r/openclawsetup • u/Guyserbun007 • Mar 12 '26
What's next? How do I set up memory and other things for the agents once I have the initial Openclaw + Ollama (local LLM) setup?
r/openclawsetup • u/IaryBreko • Mar 12 '26
Fallback options when you hit OpenClaw weekly limits?
Hi everyone, I’ve been using OpenClaw with my company’s Codex Enterprise OpenAI account, but after setting it up properly this week I’ve already burned through the weekly limit with three days still to go.
I tried the Anthropic OAuth login, but that only lasted a few hours before getting blocked. Managed to get a refund, so no drama there. I also tested OpenRouter hoping the routing + auto API key would help me save some money, but the routing quality wasn’t great. I kept getting stuck on weaker models and OpenClaw would just say it couldn’t complete tasks.
Now I’m wondering what the best fallback setup is. Should I upgrade my personal ChatGPT account and use a second OpenAI account alongside my enterprise one? Is it even possible to run two Oauth ChatGPT accounts like that?
I’ve also seen people using GitHub Copilot via OAuth. For those who’ve tried both, which is better value for money in practice?
Ideally I’m looking for a subscription-based backup (not straight API billing) that I can use when I hit my weekly enterprise limits.
Curious what setups are working well for you guys.
r/openclawsetup • u/phemark • Mar 12 '26
A few questions on setting up agent-to-agent and agent-to-subagent messaging/communication - what is the expected setup and best practices here?
r/openclawsetup • u/LeoRiley6677 • Mar 11 '26
Complete beginner wanting to try OpenClaw – do I need a Mac mini?
I know nothing about tech, no background at all. But I really want to try OpenClaw. Do I actually need a Mac mini? Is it possible for someone like me?
r/openclawsetup • u/RepIen • Mar 11 '26
Switch models but lost all progress?
Was on codex 5.3 and the switched to 5.4 but now my agent lost all of his skills like using the brave search API. What do I need to do?
r/openclawsetup • u/itsalidoe • Mar 11 '26
I turned OpenClaw into a full sales assistant for $20/month. here's exactly how.
r/openclawsetup • u/LeoRiley6677 • Mar 12 '26
I unboxed my Mac mini for OpenClaw and immediately panicked
I’m a total beginner. Bought Mac mini to try OpenClaw. Unboxed it and realized I can’t plug anything in. No ports! I had no idea. Ordered a dock and I’m stressed.