惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
雷峰网
雷峰网
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
有赞技术团队
有赞技术团队
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
G
Google Developers Blog
腾讯CDC
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Microsoft Security Blog
Microsoft Security Blog
人人都是产品经理
人人都是产品经理
博客园_首页
T
Tailwind CSS Blog
C
Check Point Blog
博客园 - 【当耐特】
MongoDB | Blog
MongoDB | Blog
A
About on SuperTechFans
Y
Y Combinator Blog
L
LangChain Blog
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI

Hacker News - Newest: "OpenClaw"

OpenClaw just launched an official app for iPhone, details here - 9to5Mac OpenClaw Launch — Deploy AI Chatbots in Seconds Self-Host OpenClaw AI Agent on VPS: Full Setup Guide GitHub - xltvy/openclaw-memgpt: OpenClaw plugin that gives agents MemGPT-style memory: tiered core/archival/recall storage, self-directed memory operations via tool calls, memory-pressure warnings, and recursive summarisation. Integrates the reference MemGPT implementation via a local sidecar service, preserving the original architecture without reimplementation. Malicious AI 23 ClawHub Plugins Squat Official Org Scopes - Manifold Security what shipping OpenClaw in production taught us — AutoClaw AgentLine — AI Phone API | Phone Numbers, Voice & SMS for AI Agents Make Your OpenClaw Agent Cheaper, and Measure It Yourself GitHub - sammysltd/OpenEmployee: Make your OpenClaw agent employable: deny-by-default governance, budgets, allowlists, approval gates, and a signed audit trail via MakerChecker. Migrate from OpenClaw | Hermes Agent StackOverflow closed my OpenClaw and paperclipAI integration q. as "irrelevant" GitHub - sausin/outpost: Removing AI agents' quiet security problem Potassium — ClawHub Plugins Pi Building Pi, Openclaw's Minimalist Coding Agent | Mario Zechner, Creator of Pi I Spent 4 Hours So You Don’t Have To: Hetzner Metal + NixOS in ~15 Minutes − Irakli's blog GitHub - snuri00/osint-mcp: Self-hosted OSINT toolkit — MCP server, AI REPL, CLI, web app & chat apps (WhatsApp/Telegram/Discord via OpenClaw). Entity, event/news & social/community intelligence. Keyless-first. What a Regex Can't Do GitHub - ai-sns/openclaw-hermes-agent-network: OpenClaw Hermes AI Agent Social Network🦞💬🦞Built on Google 3D Maps and A2A protocol, connects OpenClaw and Hermes agents worldwide in a 3D environment. Phishing for Lobsters: How We Tricked OpenClaw into Spilling Secrets GitHub - CODEANDTRUST/clawcall: Give your OpenClaw / self-hosted AI agent inbound phone calls - a Twilio-to-gateway voice bridge with working agent tools mid-call (MIT). Build a ZeroCost Web Automation Pipeline with OpenRouter, OpenClaw, and MediaUse Let OpenClaw Run Wild in Simulation, Not on Your Customers | Veris AI GitHub - gpdir16/tabyAgent: A lighter, easier alternative to OpenClaw/Hermes. Runs autonomously inside Docker and chats with you through Telegram. Ask HN: What are the biggest problems you find in OpenClaw/Hermes? Microsoft launches Scout, an OpenClaw-inspired personal assistant GitHub - openclaw/openclaw-windows-node: Windows companion suite for OpenClaw - System Tray app, Shared library, Node, and PowerToys Command Palette extension Microsoft unveils Scout, an autonomous AI agent built on OpenClaw Gavriel Cohen found his own code inside OpenClaw, so he walked away GitHub - hunvreus/heypi: Chat agents for your team, with approvals and sandboxed tools. Slack, Discord, Telegram, webhooks.
Give Your OpenClaw Agent a Real Memory
2026-04-09 · via Hacker News - Newest: "OpenClaw"

Blog/OpenClaw Memory Tutorial

TutorialApril 9, 202612 min read

OpenClaw turns Claude into a desktop coworker with eyes and hands. CortexDB gives that coworker a memory that survives restarts, machines, and weeks.

OpenClaw is one of the most interesting agent projects to ship this year. It is a personal AI assistant CLI that runs locally on your Mac, Windows, or Linux box and gives an LLM real control of your computer — files, shell, browser automation, and chat apps like WhatsApp, Telegram, Discord, Slack, Signal, and iMessage. As one user put it, it is “a smart model with eyes and hands at a desk with keyboard and mouse.”

It is also stateless by default. Every conversation starts cold. And that is the gap CortexDB fills.

The memory gap in local agents

Local agents have a structural disadvantage when it comes to memory. Cloud chat products can lean on a backend database; a local CLI has to ship its own. OpenClaw ships a builtin SQLite engine that handles the basics, and there is a community Honcho plugin for cross-session memory. Both work. Both also stop where a serious memory system needs to start: distribution, hybrid retrieval, knowledge graphs, governance, adaptive ranking.

CortexDB is a long-term memory layer purpose-built for AI agents: event-sourced, distributed, hybrid-retrieval, with a bitemporal knowledge graph and cross-encoder reranking. It is what you reach for when you want your agent to remember not just that something happened, but who said it, when, in what context, and how it relates to everything else you have ever told it.

The setup

Install the plugin:

openclaw plugins install @cortexdb/openclaw
openclaw gateway --force

Add the plugin entry to openclaw.json:

{
  "plugins": {
    "entries": {
      "openclaw-cortexdb": {
        "enabled": true,
        "config": {
          "apiKey": "${CORTEXDB_API_KEY}",
          "userId": "alice"
        }
      }
    }
  }
}

What happens on every turn

The plugin hooks into three OpenClaw extension points:

  1. Before the prompt is built — CortexDB pulls the most relevant long-term context for the user's message and appends it to the system prompt as a preamble. Not just keyword or vector hits, but a fused, reranked, diversity-filtered context block.
  2. While the model is thinking — the model can invoke five tools directly: memory_search, memory_list, memory_store, memory_get, and memory_forget. The surface mirrors the Mem0 OpenClaw plugin shape.
  3. After the assistant replies — the completed exchange is persisted on a non-blocking path. CortexDB's write path then runs PII scanning, partition computation, WAL append, entity extraction, ontology validation, graph indexing, fulltext indexing, vector embedding, temporal indexing, and replication.

Six things change

Plugging in a memory provider sounds incremental. It is not. Six things change the moment CortexDB is the backend.

  • Hybrid retrieval, not just vectors. Six retrieval channels run in parallel on every recall — fulltext, entity-name, synonym, vector, graph BFS, and temporal — fused with reciprocal rank fusion and reranked with a cross-encoder.
  • A real knowledge graph. Every memory is parsed by an LLM that extracts entities and relationships, stored in a vertex-cut graph with bitemporal validity windows.
  • Adaptive ranking. Six scoring signals are fused with weights that adapt per agent and per query type from a feedback loop. No fine-tuning required.
  • Always-on profile preamble. An L0 profile block and L1 session summary are prepended to every recall result, so your agent never has identity drift.
  • Governance built in. PII scanning, right-to-be-forgotten, legal holds, and audit trails are in the write path, not bolted on.
  • Distributed from day one. Consistent hashing, configurable replication, hinted handoff, anti-entropy repair. The Raft control plane handles cluster decisions; data writes never pay consensus latency.

A concrete example

Monday morning. You boot OpenClaw and say:

I'm building a desktop app called Lumen. It uses Tauri on the frontend and a Rust backend with sqlx and Postgres. The marketing launch is May 15.

CortexDB extracts entities (Lumen, Tauri, Rust, sqlx, Postgres) and edges (Lumen WorksOn Tauri, Lumen DependsOn sqlx, etc.).

Friday evening, new terminal. You say:

Can you draft the press release for the launch?

The agent already knows the project is Lumen, the launch is May 15, and the stack is Tauri/Rust/Postgres. The draft comes back grounded on the first try.

Three weeks later. You say:

Forget that we're using Postgres — we switched to SQLite.

The model calls memory_forget. The Postgres edge is tombstoned, the deletion is recorded in the audit log, and future recalls return only the SQLite fact. Bitemporal validity means “what stack did we plan on Monday?” still returns the original answer. History preserved; current state correct.

Why it matters

OpenClaw's whole pitch is that an agent on your desktop, with eyes and hands, can do what a coworker can do. Coworkers have memory. They remember the project, the people, the decisions, the failed experiments, and the half-finished thoughts from three months ago. Without long-term memory, your OpenClaw agent is a coworker with amnesia. With CortexDB, it is a coworker with a hippocampus.

Try it

The plugin is open source. Install @cortexdb/openclaw, point it at your CortexDB instance, and give your OpenClaw agent a memory that actually sticks. Full docs are on the OpenClaw integration page.