开发者 · 引擎 · ontology runtime

A graph that knows
what can happen next.

Runex 是给 Agent 的本体引擎。把人、项目、任务、信号写成有类型、有生命周期、有 guard 的对象——所有 Agent 读写同一份图,跨 session 不丢失。知识图谱记住什么存在;Runex 还知道接下来能发生什么。

runex — shared world model
$ runex query Deal --status stale
Deal 字节跳动 · $180K last_contact 18d
$ runex preview advance-deal --id bytedance
proposal_sent → negotiating
guard: last_contact ≤ 14d ✗ blocked
← 18d > 14d,证据不足,动作未执行
$ runex events --follow
waiting for the world to change…

Capability

描述你要什么,它建好图,你直接用。

17 个内置类型开箱即用。不够用时,用自然语言告诉 Agent 你要什么——当场生成 schema,含字段、状态机和 guard 规则,加载即生效。

$ runex schema add "竞对信号,记录来源、可信度、时效,超 90 天自动过期"
Signal schema created
fields: source · confidence · freshness_days
lifecycle: draft → confirmed → stale
guard: freshness_days ≤ 90 ← 超期变 stale,后续 agent 跳过
ready · all agents can read and write Signal

或直接使用 17 个内置类型

人与组织

PersonOrganizationClient

工作管理

ProjectTaskGoalSprint

内容知识

EventDocumentNoteThoughtMessage

商务

DealProduct

决策追踪

CommitmentDecisionRisk

How to use

一个 skill,背后是一台真引擎。

别人的 skill 大多是一段 prompt;这个 skill 背后装的是一个真的本地引擎。安装 runex CLI,在 Agent 环境里加载 skill——之后直接对话,Agent 在后台读写图,数据全在你自己的 SQLite。

Step 01
安装 runex CLI

从官网下载 whl,本地装上并初始化,自动配置 SQLite 和 17 个预置类型。数据存本地,不上云。

pip install runex-*.whl && runex init
Step 02
在 Agent 环境加载 Skill

把 runex skill 加到 Claude Code / OpenCode / Codex / OpenClaw。

runex skill install
Step 03
直接对话,Agent 自动调用

说"记录这个决策"、"推演三条路"、"查所有 at-risk 的单"——你不用记命令。

> "把字节这单推进到谈判" ← Deal updated · guard ✓

支持的 Agent 环境

Claude Code
Anthropic 官方 CLI
OpenCode
开源 coding agent
Codex CLI
OpenAI CLI agent
OpenClaw
一键安装(推荐)

Install

开源,本地运行,立即开始。

GitHub 开源,MIT 协议。下载预编译二进制,一条命令装好,AI 工具自动接入。数据存在你自己电脑上,不上云,不需要账号。

$ unzip runex-macos-arm64.zip && cd runex-macos-arm64/ && ./install.sh

macOS 13+ · Windows 10+ · Linux · 数据存在你自己电脑上,不上云