Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.byterover.dev/llms.txt

Use this file to discover all available pages before exploring further.

ByteRover x OpenClaw Give your OpenClaw agents persistent memory with ByteRover. One setup script installs context retrieval and automatic memory curation — so your agents remember decisions, patterns, and fixes across sessions.

Prerequisites

Ensure the following are installed and available in your PATH:
RequirementHow to install
Node.jsnodejs.org
OpenClaw CLI (openclaw)docs.openclaw.ai/install
The script verifies each prerequisite and stops with a clear error message if anything is missing. If the brv CLI is missing, the script installs it from https://byterover.dev/install.sh. The byterover Clawhub skill is installed automatically via npx clawhub@latest install byterover --force.

Quick Start

curl -fsSL https://byterover.dev/openclaw-setup.sh | sh
The interactive script will:
  1. Verify prerequisites and back up your config
  2. Prompt you to enable each feature (Context Engine, Memory Flush)
  3. Update your workspace protocol files (AGENTS.md, TOOLS.md) with ByteRover commands
After it finishes, the script prints “Connect an LLM provider” as the next step — see Next Steps below. For a minimal integration that only installs the ByteRover Skill (no plugin), use the connector install instead.

Features

The setup script configures two optional features. You choose which to enable during the interactive setup.

Context Engine

Automatically retrieves relevant knowledge before each agent response and stores new insights after each turn. Installs the @byterover/byterover plugin as an OpenClaw context engine. Requires OpenClaw v2026.3.22+. You can also install directly with openclaw plugins install @byterover/byterover — see the full setup guide for details.

Automatic Memory Flush

Experimental — behavior may change in future updates.
Automatically curates insights to ByteRover when the agent’s context window approaches compaction. The agent reviews the session for architectural decisions, bug fixes, and patterns, then runs brv curate to save them before context is compacted. Learn more about compaction behavior.

Next Steps

Connect an LLM provider

ByteRover CLI needs an LLM provider to enable its agent features. Run one of the following to get started:
brv providers connect byterover         # Free, requires login with ByteRover account
brv providers connect <llm-provider>    # Requires 3rd API key: OpenAI, Anthropic ...
Supported list: OpenRouter, Anthropic, OpenAI, Google Gemini, xAI, Groq, Mistral, DeepInfra, Cohere, Together AI, Perplexity, Cerebras, Vercel, MiniMax, GLM, Moonshot AI, and OpenAI Compatible. To see all available providers: brv providers list

Reference

Configuration details, troubleshooting, and advanced topics