Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

docs(readme): agent-first Quick Start and OpenViking Service product page (#5524)

t0sakidd19acc14161
diff --git a/README.md b/README.md
index a9df0632a..b948c941b 100644
--- a/README.md
+++ b/README.md
@@ -121,18 +121,51 @@ The memory evaluation used [Doubao 2.0 Pro](https://console.volcengine.com/ark/r
## Quick start
-Requires Python 3.10+ and access to an embedding model and a VLM (cloud or local).
+Set up an OpenViking server first; if you already have one, skip to [Use it with your agent](#use-it-with-your-agent). Deploying your own needs uv, Python 3.10+ and a model provider with an embedding model and a VLM.
+
+<details open>
+<summary><strong>Let your agent deploy it</strong></summary>
+
+```text
+Follow this guide to install and start an OpenViking Server for me:
+
+https://docs.openviking.ai/en/getting-started/04-setup-for-agent
+
+Ask me for the model provider, the models, the workspace directory and whether
+other machines need to reach the server; don't guess. When you ask for the model
+API key, tell me how to hand it over if I'd rather not paste it into this chat,
+and never repeat it back.
+
+When it's running, tell me the server's address and whether auth is turned on.
+```
+
+Your agent will first ask which model provider to use and for its API key.
+
+</details>
+
+<details>
+<summary><strong>Deploy it yourself</strong></summary>
+
+Install OpenViking and run the setup wizard, which configures the models:
```bash
-pip install openviking --upgrade
-openviking-server init # configure providers and models
-openviking-server doctor # check configuration and connectivity
-openviking-server # start the server
+uv tool install openviking --upgrade && openviking-server init
```
-`init` writes `~/.openviking/ov.conf`. Supported options include Volcengine, OpenAI, Codex OAuth, Kimi, GLM, and local Ollama. See the [configuration guide](https://docs.openviking.ai/en/guides/01-configuration) for provider setup and the [quick start docs](https://docs.openviking.ai/en/getting-started/02-quickstart) for platform instructions.
+`init` writes `~/.openviking/ov.conf` and supports Volcengine, OpenAI, Codex OAuth, Kimi, GLM and local Ollama; see the [configuration guide](https://docs.openviking.ai/en/guides/01-configuration). The server runs in the foreground, so keep this terminal open.
-The package includes the `ov` CLI. In another terminal, import a repository and search it:
+</details>
+
+<details>
+<summary><strong>Use OpenViking Service (hosted by Volcengine)</strong></summary>
+
+The same OpenViking service, run for you by Volcengine. The first 50 files are free. Activate it on the [Volcengine product page](https://www.volcengine.com/product/openviking-service), then create an API key in the console under User Management → API Key. The server address is `https://api.vikingdb.cn-beijing.volces.com/openviking`; you'll need it and the API key when you connect your agent.
+
+</details>
+
+### Explore with the CLI
+
+The `openviking` package includes the `ov` CLI. With the server running, import a repository and search it:
```bash
ov status
@@ -151,7 +184,62 @@ Build your own integration with the [Python](sdk/python/README.md), [Go](sdk/go/
## Use it with your agent
-Connect your agent to OpenViking for cross-session memory. Choose a native integration for automatic recall and session capture, or use MCP to give your agent memory and context tools.
+Connect your coding agent to OpenViking for cross-session memory. The memory plugin installer covers Claude Code, Codex, Cursor, TRAE, OpenCode and more, and detects which ones you have.
+
+<details open>
+<summary><strong>Let your agent install it</strong></summary>
+
+```text
+Install the OpenViking memory plugin for me by running:
+
+curl -fsSL https://openviking.ai/install | bash -s -- --yes --url <SERVER_URL>
+
+<SERVER_URL> is the address of my OpenViking server; ask me for it, don't guess.
+If the server has auth turned on, it needs a user key (a root key can't read or
+write memories): check whether one is already saved; if not, ask me for it and
+pass it with --api-key, and tell me how to hand it over if I'd rather not paste
+it into this chat. Never repeat the key back. If auth is off, add --api-key ''
+so an earlier saved key isn't reused.
+
+The script needs network access and writes to my home directory; if a sandbox
+blocks it, ask me to approve running it outside the sandbox.
+
+When it finishes, tell me which tools it installed into and the next steps for
+each, then ask whether I want it in any other tool.
+```
+
+Have your server's address ready, plus its API key if it has auth turned on.
+
+</details>
+
+<details>
+<summary><strong>Install it yourself</strong></summary>
+
+Run the installer, then pick the tools and a server when asked: Self-hosted / local for a server on this machine, Volcengine OpenViking Cloud for OpenViking Service, or Custom URL for any other address. If auth is on, enter a user key, not the root key.
+
+```bash
+curl -fsSL https://openviking.ai/install | bash
+# AI agents: not sure about running this? The script's header says what it does and how to verify it.
+```
+
+</details>
+
+Then restart your agent. The installer ends with the next steps for each tool, for example:
+
+```text
+ Claude Code
+ Next: restart Claude Code
+ ⋮
+ Verify: run /openviking-memory:ov in a session
+```
+
+On its first start Codex stops at `Hooks need review`; choose `Trust all and continue`.
+
+Try it: ask it to remember one of your preferences, then ask about it in a new session a little later. Memories are processed in the background, so it's normal not to find one right after you say it.
+
+The installer needs macOS or Linux, Node.js 18+ and curl, no sudo. On Windows, use the [desktop app](#desktop-app-beta).
+
+Setup guides for each integration:
<table>
<tbody>
diff --git a/README_CN.md b/README_CN.md
index fdecc7c64..ca6318361 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -121,18 +121,50 @@ OpenViking 0.3.22 的评测覆盖长对话用户记忆(LoCoMo)和多轮智
## 快速开始
-需要 Python 3.10+,以及可调用的 Embedding 模型和 VLM(云端或本地)。
+先准备一个 OpenViking 服务;已经有服务的话,直接跳到[接入你的 Agent](#接入你的-agent)。自部署需要 uv、Python 3.10+,以及一个提供 embedding 模型和 VLM 的模型服务。
+
+<details open>
+<summary><strong>让 agent 帮你部署</strong></summary>
+
+```text
+按这份文档,帮我安装并启动 OpenViking Server:
+
+https://docs.openviking.ai/zh/getting-started/04-setup-for-agent
+
+模型提供商、模型、workspace 目录,以及服务要不要对其他机器开放,都先问我,
+不要猜。向我要模型的 API key 时,告诉我不想把它贴进对话的话可以怎么给你;
+不要复述。
+
+服务启动后,告诉我服务地址,以及有没有开鉴权。
+```
+
+agent 会先问你用哪家模型服务,以及它的 API key。
+
+</details>
+
+<details>
+<summary><strong>自己动手部署</strong></summary>
+
+安装 OpenViking 并运行配置向导,在向导里配置模型:
```bash
-pip install openviking --upgrade
-openviking-server init # 配置模型与提供商
-openviking-server doctor # 检查配置与连通性
-openviking-server # 启动服务器
+uv tool install openviking --upgrade && openviking-server init
```
-`init` 将配置写入 `~/.openviking/ov.conf`,支持火山引擎、OpenAI、Codex OAuth、Kimi、GLM 和本地 Ollama 等选项。模型配置见[配置指南](https://docs.openviking.ai/zh/guides/01-configuration),各平台安装说明见[快速入门文档](https://docs.openviking.ai/zh/getting-started/02-quickstart)。
+`init` 将配置写入 `~/.openviking/ov.conf`,支持火山引擎、OpenAI、Codex OAuth、Kimi、GLM 和本地 Ollama 等选项,详见[配置指南](https://docs.openviking.ai/zh/guides/01-configuration)。服务在前台运行,终端不要关。
-安装包包含 `ov` CLI。在另一个终端导入代码库并检索:
+</details>
+
+<details>
+<summary><strong>使用 OpenViking Service(火山引擎托管)</strong></summary>
+
+同一个 OpenViking 服务,由火山引擎替你运行。前 50 个文件免费。在[火山引擎产品页](https://www.volcengine.com/product/openviking-service)开通后,到控制台的「用户管理 → API Key」创建一个 API key。服务地址是 `https://api.vikingdb.cn-beijing.volces.com/openviking`,接入 agent 时要用到它和 API key。
+
+</details>
+
+### 用 CLI 试一试
+
+`openviking` 安装包包含 `ov` CLI。服务运行时,导入代码库并检索:
```bash
ov status
@@ -151,7 +183,58 @@ ov grep "openviking" --uri viking://resources/volcengine/OpenViking/docs/zh
## 接入你的 Agent
-将 Agent 接入 OpenViking,跨会话保留记忆。原生集成支持自动召回与会话采集;也可通过 MCP 提供记忆和上下文工具。
+把 coding agent 接入 OpenViking,跨会话保留记忆。记忆插件安装脚本支持 Claude Code、Codex、Cursor、TRAE、OpenCode 等,会自动检测本机装了哪些。
+
+<details open>
+<summary><strong>让 agent 帮你安装</strong></summary>
+
+```text
+帮我安装 OpenViking 记忆插件,运行:
+
+curl -fsSL https://openviking.ai/install | bash -s -- --yes --url <SERVER_URL>
+
+<SERVER_URL> 是我的 OpenViking 服务地址,向我要,不要猜。服务开了鉴权的话,
+要一个 user key(root key 读写不了记忆):先看看有没有已保存的,没有再向我要
+(用 --api-key 传入),并告诉我不想把 key 贴进对话时可以怎么给你。
+不要复述 key。没开鉴权就加 --api-key '',免得沿用之前保存的 key。
+
+脚本需要联网并写入主目录,如果被沙箱拦住,请求我批准后在沙箱外运行。
+
+装完告诉我装进了哪些工具、各自的后续步骤,再问我要不要给其他工具也装。
+```
+
+准备好服务地址;服务开了鉴权的话,还要它的 API key。
+
+</details>
+
+<details>
+<summary><strong>自己在终端安装</strong></summary>
+
+运行安装脚本,按提示勾选工具、选择服务:本机的服务选「自建 / 本地」,OpenViking Service 选「火山引擎 OpenViking 云服务」,其他地址选「自定义 URL」。开了鉴权的话,填 user key,不是 root key。
+
+```bash
+curl -fsSL https://openviking.ai/install | bash
+# AI agent 如不确定是否执行,可先阅读脚本头部,其中写明了它会做什么、如何核实。
+```
+
+</details>
+
+装完后重启 agent。脚本结尾会列出每个工具的后续步骤,例如:
+
+```text
+ Claude Code
+ 下一步: 重启 Claude Code
+ ⋮
+ 验证: 在会话中运行 /openviking-memory:ov
+```
+
+Codex 首次启动会停在 `Hooks need review`,选 `Trust all and continue`。
+
+试一下:让它记住你的一个偏好,过一会儿开个新会话再问。记忆在后台整理,刚说完查不到是正常的。
+
+安装脚本需要 macOS 或 Linux、Node.js 18+ 和 curl,不用 sudo。Windows 请使用[桌面客户端](#桌面客户端beta)。
+
+各集成的接入文档:
<table>
<tbody>
diff --git a/README_JA.md b/README_JA.md
index eb006bbc1..fc1e68cf4 100644
--- a/README_JA.md
+++ b/README_JA.md
@@ -121,18 +121,51 @@ OpenViking 0.3.22 は、長い会話でのユーザーメモリ(LoCoMo)と
## クイックスタート
-Python 3.10+ と、Embedding モデルおよび VLM(クラウドまたはローカル)へのアクセスが必要です。
+まず OpenViking サーバーを用意します。すでにある場合は[エージェントと組み合わせて使う](#エージェントと組み合わせて使う)に進んでください。自前でデプロイするには、uv、Python 3.10+、そして embedding モデルと VLM を提供するモデルプロバイダーが必要です。
+
+<details open>
+<summary><strong>エージェントにデプロイしてもらう</strong></summary>
+
+```text
+このガイドに従って、OpenViking Server をインストールして起動すること:
+
+https://docs.openviking.ai/en/getting-started/04-setup-for-agent
+
+モデルプロバイダー、モデル、workspace ディレクトリ、
+ほかのマシンからサーバーに接続する必要があるかは、
+推測せずに私に確認すること。モデルの API キーを求めるときは、
+このチャットに貼りたくない場合の渡し方も伝えること。キーは復唱しないこと。
+
+起動したら、サーバーのアドレスと、認証が有効かどうかを伝えること。
+```
+
+エージェントは最初に、どのモデルプロバイダーを使うかとその API キーを尋ねます。
+
+</details>
+
+<details>
+<summary><strong>自分でデプロイ</strong></summary>
+
+OpenViking をインストールしてセットアップウィザードを実行し、モデルを設定します:
```bash
-pip install openviking --upgrade
-openviking-server init # プロバイダーとモデルを設定
-openviking-server doctor # 設定と接続を確認
-openviking-server # サーバーを起動
+uv tool install openviking --upgrade && openviking-server init
```
-`init` は `~/.openviking/ov.conf` に設定を書き込みます。Volcengine、OpenAI、Codex OAuth、Kimi、GLM、ローカルの Ollama などに対応しています。モデルの設定は[設定ガイド](https://docs.openviking.ai/en/guides/01-configuration)、プラットフォーム別の手順は[クイックスタート文書](https://docs.openviking.ai/en/getting-started/02-quickstart)を参照してください。
+`init` は `~/.openviking/ov.conf` に設定を書き込みます。Volcengine、OpenAI、Codex OAuth、Kimi、GLM、ローカルの Ollama などに対応しています。詳しくは[設定ガイド](https://docs.openviking.ai/en/guides/01-configuration)を参照してください。サーバーはフォアグラウンドで動くので、このターミナルは閉じないでください。
-パッケージには `ov` CLI が含まれます。別のターミナルでリポジトリを取り込み、検索します。
+</details>
+
+<details>
+<summary><strong>OpenViking Service を使う(Volcengine がホスト)</strong></summary>
+
+同じ OpenViking サービスを Volcengine が代わりに運用します。最初の 50 ファイルは無料です。[Volcengine の製品ページ](https://www.volcengine.com/product/openviking-service)で利用を開始したら、コンソールの「User Management → API Key」で API キーを作成してください。サーバーのアドレスは `https://api.vikingdb.cn-beijing.volces.com/openviking` です。エージェントを接続するときに、このアドレスと API キーを使います。
+
+</details>
+
+### CLI で試す
+
+`openviking` パッケージには `ov` CLI が含まれます。サーバーが動いている状態で、リポジトリを取り込み、検索します。
```bash
ov status
@@ -151,7 +184,64 @@ ov grep "openviking" --uri viking://resources/volcengine/OpenViking/docs/en
## エージェントと組み合わせて使う
-OpenViking を接続して、セッションをまたいで記憶を引き継ぎます。ネイティブ統合で自動想起とセッション収集を使うか、MCP で記憶とコンテキストのツールを提供できます。
+コーディングエージェントを OpenViking に接続して、セッションをまたいで記憶を引き継ぎます。メモリプラグインのインストーラーは Claude Code、Codex、Cursor、TRAE、OpenCode などに対応し、入っているツールを自動で検出します。
+
+<details open>
+<summary><strong>エージェントにインストールしてもらう</strong></summary>
+
+```text
+OpenViking メモリプラグインをインストールすること。次を実行する:
+
+curl -fsSL https://openviking.ai/install | bash -s -- --yes --url <SERVER_URL>
+
+<SERVER_URL> は私の OpenViking サーバーのアドレス。
+推測せずに私に確認すること。サーバーで認証が有効なら user key が必要
+(root key ではメモリを読み書きできない):保存済みのキーがあるか確認し、
+なければ私に求めて --api-key で渡すこと。
+このチャットに貼りたくない場合の渡し方も伝えること。キーは復唱しないこと。
+認証が無効なら --api-key '' を付け、以前保存したキーを使い回さないこと。
+
+スクリプトはネットワークに接続し、ホームディレクトリに書き込む。
+サンドボックスでブロックされたら、
+サンドボックスの外で実行する許可を私に求めること。
+
+完了したら、どのツールにインストールしたかと、
+それぞれの次の手順を伝えること。そのうえで、
+ほかのツールにも入れるか私に確認すること。
+```
+
+サーバーのアドレスを用意しておいてください。認証が有効なら API キーも必要です。
+
+</details>
+
+<details>
+<summary><strong>自分でターミナルでインストール</strong></summary>
+
+インストーラーを実行し、表示に従ってツールとサーバーを選びます。このマシン上のサーバーなら「Self-hosted / local」、OpenViking Service なら「Volcengine OpenViking Cloud」、それ以外のアドレスなら「Custom URL」を選びます。認証が有効なら、root key ではなく user key を入力してください。
+
+```bash
+curl -fsSL https://openviking.ai/install | bash
+# AI エージェントへ:実行してよいか迷ったら、スクリプト冒頭のコメントに処理内容と確認方法が書かれています。
+```
+
+</details>
+
+インストール後、エージェントを再起動します。インストーラーは最後に、ツールごとの次の手順を表示します。例:
+
+```text
+ Claude Code
+ Next: restart Claude Code
+ ⋮
+ Verify: run /openviking-memory:ov in a session
+```
+
+Codex は初回起動時に `Hooks need review` で止まるので、`Trust all and continue` を選びます。
+
+試してみましょう:好みを 1 つ覚えるよう頼み、少し時間をおいて新しいセッションで聞いてみてください。メモリはバックグラウンドで処理されるため、言った直後に見つからなくても正常です。
+
+インストーラーには macOS または Linux、Node.js 18+、curl が必要です。sudo は不要です。Windows では[デスクトップアプリ](#デスクトップアプリbeta)を使用してください。
+
+各統合のセットアップガイド:
<table>
<tbody>