docs/images/agents/en/trae.md
Requires macOS/Linux and Node.js 18+. Run the command for your client; Hooks and MCP are configured together:
# TRAE
bash <(curl -fsSL https://ovrelease.tos-cn-beijing.volces.com/memory-plugin-shared/install.sh) --harness trae --dist tos
# TRAE CN
bash <(curl -fsSL https://ovrelease.tos-cn-beijing.volces.com/memory-plugin-shared/install.sh) --harness trae-cn --dist tos
# Both
bash <(curl -fsSL https://ovrelease.tos-cn-beijing.volces.com/memory-plugin-shared/install.sh) --harness trae,trae-cn --dist tos
When asked where to connect, select Volcengine OpenViking Cloud and enter your API key. Choose Self-hosted / local only for a locally running OpenViking server.
openviking is connected in TRAE settings.See the complete TRAE integration guide.
| Problem | Suggested fix |
|---|---|
| Automatic recall does not run after installation | Quit TRAE completely, restart it, and create a new Agent session. |
| A new session cannot recall the previous turn | Check ~/.openviking/logs/trae-hooks.log or trae-cn-hooks.log and confirm that Stop committed successfully. |
| Connection/authentication fails | Check ~/.openviking/ovcli.conf and restart TRAE. |