ByteRover CLI (brv) is a portable memory layer for autonomous coding agents that gives AI assistants persistent, structured context across sessions and projects. Formerly known as Cipher, it provides an interactive REPL powered by configurable LLM backends where the agent understands your codebase through an agentic map, reads and writes files, executes code, and stores knowledge in a context tree for future sessions. The tool works with Cursor, Windsurf, Claude Desktop, Claude Code, Gemini CLI, Kiro, VS Code, and Roo Code through MCP integration, making it a universal memory layer that bridges multiple AI coding environments.
The core innovation is treating agent memory as a first-class, shareable artifact rather than ephemeral conversation context. Developers curate project knowledge into structured context trees that capture architectural decisions, codebase conventions, dependency relationships, and debugging history. ByteRover Cloud extends this with team synchronization, allowing shared context knowledge across projects, machines, and team members while keeping everything functional locally by default. The MCP server integration means any MCP-compatible editor automatically gains access to the accumulated project memory, enabling new coding agents to start with full historical context rather than rediscovering patterns from scratch.
Built in TypeScript with SOC 2 compliance considerations for enterprise environments, ByteRover CLI has attracted over 4,300 GitHub stars under the Elastic License 2.0. The project maintains compatibility extensions for major editors including a Zed extension and integration with the OpenClaw context engine. Performance benchmarks cite 96.1% accuracy on the LoCoMo evaluation, indicating strong retrieval quality for coding-specific memory tasks. The self-improving memory architecture means the system becomes more useful over time as agents accumulate project-specific knowledge, addressing the fundamental limitation of stateless AI coding assistants that lose context between sessions.