ByteRover CLI: Portable Memory Layer for Autonomous AI Coding Agents
This repository profile is provided by osrepos.com, an open source repository discovery platform.
Summary
ByteRover CLI (brv) provides persistent, structured memory for AI coding agents, enabling developers to curate project knowledge into a context tree. It facilitates cloud synchronization and sharing across tools and teammates. This interactive REPL CLI supports various LLM providers and offers extensive tools for memory management and code execution.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
ByteRover CLI (brv) is an interactive REPL command-line interface designed to give AI coding agents persistent, structured memory. It allows developers to curate project knowledge into a context tree, sync it to the cloud, and share it across various tools and teammates. Essentially, it acts as a portable memory layer for autonomous coding agents, enhancing their ability to understand and interact with your codebase over time.
Key features include:
- Interactive TUI with REPL interface
- Context tree and knowledge storage management
- Support for over 20 LLM providers (Anthropic, OpenAI, Google, Groq, Mistral, xAI, and more)
- 24 built-in agent tools for code execution, file operations, knowledge search, and memory management
- Cloud sync with push/pull capabilities
- Integration with 22+ AI coding agents (Cursor, Claude Code, Windsurf, Cline, etc.)
Installation
Getting started with ByteRover CLI is straightforward. You can install it using a shell script for macOS and Linux, or via npm for all platforms.
Shell Script (macOS & Linux)
No Node.js required, everything is bundled.
curl -fsSL https://byterover.dev/install.sh | sh
Supported platforms: macOS ARM64, Linux x64, Linux ARM64.
npm (All Platforms)
Requires Node.js >= 20.
npm install -g byterover-cli
Verify Installation
After installation, verify it by checking the version:
brv --version
Examples
To begin using ByteRover CLI, navigate to your project directory and run the brv command. The REPL auto-configures on the first run.
cd your/project
brv
Inside the REPL, you can use commands like /curate to add context or /query to retrieve information:
/curate "Auth uses JWT with 24h expiry" @src/middleware/auth.ts
/query How is authentication implemented?
For cloud synchronization, you can push and pull your context:
brv push # Sync local context to cloud
brv pull # Sync from cloud to local
Why Use ByteRover CLI?
ByteRover CLI addresses a critical challenge in AI-powered development: providing agents with persistent, structured memory. This allows AI agents to learn and retain knowledge about your codebase across sessions, leading to more effective and context-aware assistance.
Its comprehensive feature set, including broad LLM provider support, a rich set of agent tools, and seamless cloud synchronization, makes it a powerful asset for any developer working with AI coding agents. Furthermore, ByteRover CLI has demonstrated impressive performance in long-term conversational memory benchmarks, achieving 96.1% accuracy on LoCoMo and 92.8% on LongMemEval-S, ensuring reliable and accurate knowledge retrieval. It integrates with many existing AI coding agents, making it a versatile addition to your development workflow.
Links
- GitHub Repository: https://github.com/campfirein/byterover-cli
- Documentation: https://docs.byterover.dev
- Discord Community: https://discord.com/invite/UMRrpNjh5W
Related repositories
Similar repositories that may be relevant next.

Ralph Orchestrator, An Advanced Framework for Autonomous AI Agent Orchestration
September 6, 2026
Ralph Orchestrator is a robust, Rust-based framework designed for autonomous AI agent orchestration. It implements the innovative "Ralph Wiggum technique," a methodology focused on continuous iteration to ensure AI agents complete complex tasks effectively. This powerful tool supports multiple AI backends and offers features like a "hat system" for specialized personas and human-in-the-loop interaction via Telegram.

AgentFS: The Filesystem Designed for AI Agents and Their State Management
September 5, 2026
AgentFS is an innovative filesystem specifically engineered for AI agents, providing robust storage abstractions. It leverages SQLite to offer auditability, reproducibility, and portability for agent states, tool calls, and file operations. This solution simplifies debugging, analysis, and deployment of AI agents by encapsulating their entire runtime into a single, queryable database file.

CQ: An Open Standard for Shared Agent Learning by Mozilla.ai
September 5, 2026
CQ is an open standard designed to prevent AI agents from repeatedly making the same mistakes by enabling them to persist, share, and query collective knowledge. It facilitates a structured exchange of ideas, allowing agents to learn from each other's experiences and accelerate development. This system helps agents avoid redundant debugging and discover solutions more efficiently.

EnvHarness: Dynamically Adapting Environments for Agent Learning
September 3, 2026
EnvHarness empowers large language models (LLMs) acting as autonomous agents to learn more effectively from interactive environments. It achieves this by wrapping static environments with plug-in components, making them dynamically controllable without altering their internal code. This innovative approach allows environments to target specific agent weaknesses and continuously teach as agents improve, leading to more effective and efficient learning outcomes.
Source repository
Open the original repository on GitHub.
16 counted GitHub visits