Community Plugins
Community-maintained integrations for various agent runtimes. Each differs in target platform, integration depth, and maintenance status — check the linked README before adopting.
ZCode memory integration
Source: examples/agent-hook-plugin
The ZCode community integration adds cross-project, cross-session memory through config-driven lifecycle hooks, an OpenViking MCP server, and 5 skills:
- SessionStart injects the user profile.
- UserPromptSubmit recalls relevant memories.
- PreToolUse redirects direct
viking://reads to MCP tools. - Stop captures unseen rollout turns in a detached worker, then commits the OpenViking session.
ZCode does not expose PreCompact, SessionEnd, or subagent lifecycle hooks. The adapter therefore commits on Stop, uses ZCode rollout files as the authoritative incremental transcript, and falls back to hook stdin only when no rollout file is available.
Install
Prerequisites: Node.js 18+, a running OpenViking server, and ZCode.
For a managed connection, select OpenViking Managed Service, then:
- Volcengine: enter your service API key. The installer supplies the URL.
- BytePlus: enter your instance's full HTTPS service URL, then its API key. See BytePlus setup.
Older installers use Custom URL for BytePlus.
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.The installer detects ~/.zcode/ or the zcode binary, installs the runtime under ~/.openviking/agent-integrations/zcode/, merges hooks and MCP configuration into ~/.zcode/cli/config.json, and installs openviking-memory, openviking-skills, ov-experience-memory, openviking-rule-search, and ov-memory-doctor into ~/.zcode/skills/<name>. A skill you edited, or an existing unmanaged directory of the same name, is preserved on upgrade and uninstall.
After restarting ZCode, verify that:
~/.zcode/cli/config.jsoncontainshooks.enabled: true, OpenViking entries underhooks.events, andmcp.servers.openviking.~/.zcode/skills/holds the 5 skill directories, each with aSKILL.md.OPENVIKING_DEBUG=1produces diagnostics in~/.openviking/logs/zcode-hooks.log.
| Symptom | Cause | Fix |
|---|---|---|
| Hooks not firing | Hook configuration is disabled or stale | Re-run the installer and restart ZCode |
| Recall returns nothing | OpenViking is unavailable or has not extracted memories yet | Check curl http://127.0.0.1:1933/health and wait for extraction |
| MCP tools not appearing | The MCP proxy failed to start | Check the absolute mcp.servers.openviking command in ~/.zcode/cli/config.json |
| Duplicate captures | An older installation left duplicate hook entries | Run curl -fsSL https://openviking.ai/install | bash -s -- --uninstall --yes --harness zcode, then reinstall |
Implementation details and currently verified ZCode assumptions are documented in the plugin's README and DESIGN.md.
Once installed, start a new ZCode session and ask it to follow https://docs.openviking.ai/agents/en/onboarding.md. It checks the connection and walks you through the first use; see One-click setup.
Kimi Code memory integration
Source: examples/agent-hook-plugin
The Kimi Code integration is a native managed plugin. It reuses the shared OpenViking hook runtime and adds only Kimi-specific event mapping, wire transcript decoding, output formatting, and commit policy:
- UserPromptSubmit recalls memory and prints raw context text for Kimi to inject.
- PreToolUse blocks direct Read/Glob/Grep access to
viking://URIs. - Stop, PreCompact, and SessionEnd capture new
wire.jsonlturns; Interrupt runs the same capture synchronously within one two-second OpenViking request budget. - The plugin manifest exposes the OpenViking MCP server and the 5 skills under the plugin root's
skills/(openviking-memory,openviking-skills,ov-experience-memory,openviking-rule-search,ov-memory-doctor) without editing Kimi's legacy config files.
Install
Prerequisites: Node.js 18+, a running OpenViking server, and Kimi Code CLI.
For a managed connection, select OpenViking Managed Service, then:
- Volcengine: enter your service API key. The installer supplies the URL.
- BytePlus: enter your instance's full HTTPS service URL, then its API key. See BytePlus setup.
Older installers use Custom URL for BytePlus.
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.The installer assembles a self-contained runtime under $KIMI_CODE_HOME/plugins/managed/openviking-memory/ (default Kimi home: ~/.kimi-code/), then updates only the openviking-memory entry in plugins/installed.json. Existing plugin records are preserved. Re-run the same command to upgrade. To remove only this plugin:
curl -fsSL https://openviking.ai/install | bash -s -- --uninstall --yes --harness kimicodeThe verified host contract and version are recorded in hosts/kimicode/DESIGN.md.
Once installed, start a new Kimi Code session and ask it to follow https://docs.openviking.ai/agents/en/onboarding.md. It checks the connection and walks you through the first use; see One-click setup.
Antigravity memory integration
Source: examples/agent-hook-plugin
The Antigravity integration serves the Antigravity desktop app and the agy CLI, which load the same plugins from ~/.gemini/config/plugins/:
- SessionStart injects the user profile.
- PreInvocation recalls relevant memories on the first model call of each turn. Antigravity runs this hook before every model call, so later calls in a tool loop skip recall.
- PreToolUse denies file tool calls whose location argument is a
viking://URI and points to the OpenViking MCP tools. Shell commands (run_command) are not checked. - Stop captures the finished steps of the conversation transcript in a detached worker, then commits the OpenViking session.
Antigravity hooks use their own hooks.json format: each top-level key names a hook, and context is returned as injectSteps system messages. A Claude Code hooks.json therefore cannot be reused.
The plugin also carries the OpenViking MCP server and 5 skills (openviking-memory, openviking-skills, ov-experience-memory, openviking-rule-search, ov-memory-doctor): the agent can search and manage memory itself through the MCP tools, and each skill is also invocable as /<name>.
Install
Prerequisites: Node.js 18+, a running OpenViking server, and the Antigravity app or agy.
This noninteractive command uses the connection saved in ~/.openviking/ovcli.conf. Configure it first with ov config: select OpenViking Managed Service, then Volcengine (service API key) or BytePlus (full HTTPS service URL and API key). See BytePlus setup.
curl -fsSL https://openviking.ai/install | bash -s -- --yes --harness antigravityThe installer writes the plugin to ~/.gemini/config/plugins/openviking-memory and its runtime to ~/.openviking/agent-integrations/antigravity. If a directory of that name exists and OpenViking did not write it, the installer leaves it in place and stops. Connection settings come from ~/.openviking/ovcli.conf as for the other integrations. The plugin directory holds plugin.json, hooks.json, mcp_config.json, and skills/. If ~/.gemini/config/mcp_config.json already defines an MCP server named openviking, the installer keeps yours and does not write the plugin's mcp_config.json, so no tool appears twice.
Restart the Antigravity app or start a new agy session, then verify that:
- the
agylog under~/.gemini/antigravity-cli/log/reportsloaded 1 named hooks; - after a turn,
~/.openviking/hook-state/antigravity/<conversation-id>.jsonrecordslastStep; - the plugin directory contains
skills/openviking-memory/SKILL.md, andmcp_config.jsonunless your own configuration already has anopenvikingserver.
To uninstall:
curl -fsSL https://openviking.ai/install | bash -s -- --uninstall --yes --harness antigravityAstrBot plugin
AstrBot is a multi-platform IM bot framework supporting QQ, Telegram, Discord, Lark, and 20+ other platforms.
Source: astrbot_plugin_openviking_memory
Provides auto-capture of group/DM conversations, semantic recall before each LLM request, and configurable venue memory isolation.
Install: In AstrBot WebUI, search OpenViking Memory in the Plugin Marketplace; or install from URL: https://github.com/t0saki/astrbot_plugin_openviking_memory.git
The current plugin requires AstrBot 4.23.1+ and a compatible OpenViking server. Use a User key for global; venue needs an Admin key to create users. Check the linked plugin README before migrating an older configuration.
Key features:
- Auto-recall and auto-capture via hooks — the model doesn't need to invoke tools
self_scope=globalshares one bot identity;venuecreates a separate user per group/DM. People are represented as peers. Legacyisolation_modevalues are mapped to these scopes.- Automatic commit by message count, token threshold, or idle timeout
- Backfills platform message history on first venue encounter
Open WebUI tool server
Open WebUI is a self-hosted AI chat interface.
Source: examples/openwebui-plugin
A standalone FastAPI server that exposes a curated subset of OpenViking endpoints as OpenAPI tools, so Open WebUI can call them as native tools. Setup and endpoint details are in the README.
More examples
The examples/ directory also contains deployment and integration samples beyond agent plugins — Grafana dashboards, Kubernetes Helm charts, multi-tenant setups, snapshot workflows, and SDK snippets.