Skip to content

docs: overhaul agent-integrations section#2217

Merged
ZaynJarvis merged 5 commits into
volcengine:mainfrom
t0saki:docs/agent-integrations-overhaul
May 25, 2026
Merged

docs: overhaul agent-integrations section#2217
ZaynJarvis merged 5 commits into
volcengine:mainfrom
t0saki:docs/agent-integrations-overhaul

Conversation

@t0saki
Copy link
Copy Markdown
Collaborator

@t0saki t0saki commented May 25, 2026

Description

Major restructure of the docs/<en,zh>/agent-integrations/ section for clarity and beginner-friendliness.

Related Issue

N/A

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Changes Made

  • Trimmed all plugin pages (Claude Code 200→99, Codex 177→83, OpenClaw 171→121 lines) — moved implementation details (hook tables, session ID derivation, 30-line shell functions) to plugin READMEs, kept install → verify → configure → troubleshoot
  • New Hermes Agent page (05-hermes.md) — promoted from community-plugins to its own page with hermes memory setup instructions
  • New MCP Clients page (06-mcp-clients.md) — extracted client-facing setup from guides/06-mcp-integration.md; covers all verified platforms (Trae, Cursor, ChatGPT, Codex, OpenCode, Claude Desktop)
  • Full ZH LangChain/LangGraph translation — rewrote the 50-line stub into a complete 110-line translation matching EN depth
  • Renamed/split 05-other-plugins.md06-mcp-clients.md + 08-community-plugins.md
  • Added blog link to Claude Code and Codex pages (motivation & demo)
  • Added /plugins and /openviking-memory:ov verify tips to Claude Code pages
  • Added cross-link from guides/06-mcp-integration.md to the new MCP clients page
  • Updated overview — decision matrix links, integration depths (merged hooks + native into one category)

Before: 6 files × 2 langs, ~860 EN lines, ~675 ZH lines (LangChain stub)
After: 8 files × 2 langs, ~580 EN lines, ~580 ZH lines (full parity)

Testing

  • VitePress docs:build passes with no errors
  • All cross-links between pages verified
  • EN/ZH file structure is parallel (same 8 files, same section structure)
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • macOS

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Additional Notes

Each page now follows a beginner-friendly pattern: value proposition → one-command install → verify → collapsed config/troubleshooting. Detailed implementation info links back to plugin READMEs.

…iendliness

Restructure the agent-integrations documentation (EN + ZH) to be concise,
beginner-friendly, and consistently structured across all runtimes.
@github-actions
Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🏅 Score: 90
🧪 No relevant tests
🔒 No security concerns identified
✅ No TODO sections
🔀 No multiple PR themes
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restructures the Agent Integrations documentation (EN/ZH) to be more beginner-friendly by splitting “generic MCP clients” and “community plugins” into dedicated pages, adding a first-class Hermes Agent page, and trimming deep implementation details in favor of linking out to plugin READMEs.

Changes:

  • Added new integration pages for Hermes Agent, MCP Clients, LangChain/LangGraph (full ZH rewrite), and Community Plugins (EN/ZH).
  • Refactored existing Claude Code / Codex / OpenClaw pages to focus on install → verify → config/troubleshooting, moving deep implementation details out.
  • Updated MCP integration guides (EN/ZH) to cross-link to the new MCP Clients quick-setup page and updated the integration overview matrices accordingly.

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
docs/en/guides/06-mcp-integration.md Adds a prominent link to the new MCP Clients quick-setup page.
docs/zh/guides/06-mcp-integration.md Adds the equivalent quick-setup link in ZH.
docs/en/agent-integrations/01-overview.md Updates the decision matrix and integration-depth taxonomy to reflect new pages.
docs/zh/agent-integrations/01-overview.md ZH version of the updated overview/matrix.
docs/en/agent-integrations/02-claude-code.md Trims and restructures Claude Code plugin doc; adds verification tips and blog link.
docs/zh/agent-integrations/02-claude-code.md ZH version of the Claude Code page restructure and tips.
docs/en/agent-integrations/03-openclaw.md Simplifies OpenClaw instructions; adds upgrade note, collapsible sections, and updated verification flow.
docs/zh/agent-integrations/03-openclaw.md ZH version of the OpenClaw page restructure.
docs/en/agent-integrations/04-codex.md Simplifies Codex plugin instructions; adds collapsible manual setup/config, blog link, and updated troubleshooting.
docs/zh/agent-integrations/04-codex.md ZH version of the Codex page restructure.
docs/en/agent-integrations/05-hermes.md New Hermes Agent integration page.
docs/zh/agent-integrations/05-hermes.md ZH version of the Hermes Agent page.
docs/en/agent-integrations/06-mcp-clients.md New MCP Clients page with config snippets, tool list, and troubleshooting.
docs/zh/agent-integrations/06-mcp-clients.md ZH version of the MCP Clients page.
docs/en/agent-integrations/07-langchain-langgraph.md New condensed LangChain/LangGraph page with quick examples and pointers to runnable samples.
docs/zh/agent-integrations/07-langchain-langgraph.md New full ZH LangChain/LangGraph page matching EN depth.
docs/en/agent-integrations/08-community-plugins.md New Community Plugins page (AstrBot + OpenCode).
docs/zh/agent-integrations/08-community-plugins.md ZH version of the Community Plugins page.
docs/en/agent-integrations/05-other-plugins.md Removed/superseded by MCP Clients + Community Plugins split.
docs/zh/agent-integrations/05-other-plugins.md Removed/superseded by MCP Clients + Community Plugins split.
docs/en/agent-integrations/06-langchain-langgraph.md Removed/superseded by the new 07-langchain-langgraph.md.
docs/zh/agent-integrations/06-langchain-langgraph.md Removed/superseded by the new 07-langchain-langgraph.md.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

}
```

No authentication is needed when connecting to a local server on `localhost`.
Comment on lines +40 to +48
### Trae / Cursor / ChatGPT / Codex / OpenCode

Standard `mcpServers` config as shown above — all verified with API key auth.

### Claude Desktop / Claude.ai (OAuth)

These clients require OAuth 2.1 — API keys cannot be passed directly. OpenViking ships a native OAuth 2.1 implementation, so no external proxy is needed.

If you already have HTTPS configured for your OpenViking server, just connect to `https://your-server.com/mcp` — the client will walk you through the OAuth authorization flow automatically.
Comment on lines +50 to +58
```python
from langchain_core.runnables import RunnableLambda
from openviking.integrations.langchain import with_openviking_context

chain = with_openviking_context(
RunnableLambda(lambda msgs: AIMessage(content="...")),
url="http://localhost:1933",
api_key="...",
)
}
```

连接 `localhost` 本地服务时无需认证。
Comment on lines +40 to +49
### Trae / Cursor / ChatGPT / Codex / OpenCode

使用上面的标准 `mcpServers` 配置即可——均已通过 API Key 鉴权验证。

### Claude Desktop / Claude.ai (OAuth)

这些客户端要求 OAuth 2.1——无法直接传 API Key。OpenViking 自带原生 OAuth 2.1 实现,无需外部代理。

如果你已经为 OpenViking 服务配好了 HTTPS,直接连接 `https://your-server.com/mcp` 端点即可——客户端会自动引导你完成 OAuth 授权流程。

Comment on lines +50 to +58
```python
from langchain_core.runnables import RunnableLambda
from openviking.integrations.langchain import with_openviking_context

chain = with_openviking_context(
RunnableLambda(lambda msgs: AIMessage(content="...")),
url="http://localhost:1933",
api_key="...",
)
@t0saki
Copy link
Copy Markdown
Collaborator Author

t0saki commented May 25, 2026

Addressed review comments:

  1. Local auth wording (EN 06-mcp-clients.md:22, ZH :22) — Fixed: clarified as dev mode (no root_api_key configured).

  2. ChatGPT/Cursor in API key section (EN :48, ZH :49) — These platforms have been verified with API key auth in our testing. The MCP integration guide's older text is outdated and will be updated separately.

  3. Missing AIMessage import (EN 07-langchain-langgraph.md:59, ZH :59) — Fixed: added from langchain_core.messages import AIMessage.

Copy link
Copy Markdown
Collaborator

@ZaynJarvis ZaynJarvis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ZaynJarvis ZaynJarvis merged commit 77a2ee8 into volcengine:main May 25, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in OpenViking project May 25, 2026
r266-tech added a commit to r266-tech/OpenViking that referenced this pull request May 26, 2026
r266-tech added a commit to r266-tech/OpenViking that referenced this pull request May 26, 2026
qin-ctx pushed a commit that referenced this pull request May 27, 2026
…renumber) (#2254)

* docs: fix broken LangChain link in README (07 after #2217 renumber)

* docs: fix broken LangChain link in README_CN (07 after #2217 renumber)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants