@junebugg1214

CortexAI OpenClaw

Native OpenClaw plugin for Cortex portable context, cross-channel identity resolution, and durable per-user/per-thread memory.

当前版本
v1.6.0
code-plugin社区source-linked

Cortex Native Plugin For OpenClaw

This directory contains the real OpenClaw-native Cortex plugin package scaffold:

What it does:

  • starts a managed cortex-mcp sidecar by default
  • injects live routed Cortex context in before_prompt_build
  • seeds per-user and per-thread memory in agent_end
  • resolves the same person across Telegram, WhatsApp, Discord, Slack, web chat, and similar channels
  • keeps context self-hosted and user-owned

Install from a local packed tarball today:

cd examples/openclaw-plugin
TARBALL="$(npm pack --silent)"
openclaw plugins install "./$TARBALL" --force --dangerously-force-unsafe-install
openclaw plugins enable cortexai-openclaw
openclaw gateway restart

OpenClaw's installer flags this package because it launches the managed cortex-mcp sidecar with Node process APIs. Use --dangerously-force-unsafe-install only for this trusted repo checkout or a pinned reviewed artifact.

Once published, the install UX becomes:

openclaw plugins install cortexai-openclaw --dangerously-force-unsafe-install
openclaw plugins enable cortexai-openclaw
openclaw gateway restart

Recommended config:

{
  plugins: {
    entries: {
      "cortexai-openclaw": {
        enabled: true,
        hooks: {
          allowPromptInjection: true,
          allowConversationAccess: true
        },
        config: {
          transport: "managed-child",
          defaultTarget: "chatgpt",
          smartRouting: true,
          autoSeedThreads: true,
          projectDirStrategy: "agent-workspace",
          maxContextChars: 1500,
          failOpen: true,
          serviceRestartLimit: 3,
          serviceRestartBackoffMs: 1000
        }
      }
    }
  }
}

OpenClaw handles channel delivery and agent execution. Cortex handles portable context, cross-channel identity, and durable memory.

源码与版本

源码仓库

Junebugg1214/Cortex-AI

打开仓库

源码提交

9bd325ab718c1e555670c7fbe3499d85511e0a7e

查看提交

安装命令

openclaw plugins install clawhub:cortexai-openclaw

元数据

  • 包名: cortexai-openclaw
  • 创建时间: 2026/04/29
  • 更新时间: 2026/04/29
  • 执行代码:
  • 源码标签: main

兼容性

  • 构建于 OpenClaw: 2026.4.22
  • 插件 API 范围: >=2026.4.22
  • 标签: latest
  • 文件数: 8