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.

A-MEM: Self-Evolving Memory for Coding Agents
August 17, 2026
A-MEM is an innovative self-evolving memory system designed for coding agents, organizing knowledge into a dynamic Zettelkasten-style graph. It allows memories to evolve and connect over time, enhancing an agent's ability to recall and utilize information effectively. This system offers both semantic and structural search capabilities for a richer knowledge base.

Agent Sandbox: Secure Local Development for AI Coding Agents
August 17, 2026
Agent Sandbox provides a robust and secure local development environment specifically designed for collaborating with AI coding agents. It ensures minimal filesystem access, configurable network egress policies, and secure secret injection, protecting your local machine from potentially risky agent operations. This project supports various AI agents and integrates seamlessly with both CLI and popular IDE devcontainer setups.
Agent-Memory: Persistent Memory for AI Coding Agents
August 16, 2026
Agent-Memory provides persistent memory for AI coding agents, ensuring they remember past interactions and learned patterns across sessions. Built on the iii engine, it eliminates the need for re-explaining context, significantly improving agent efficiency and reducing token usage. This solution integrates seamlessly with various agents, offering a robust memory management system.

code-session-memory: Automatic Vector Memory for AI Coding Sessions
August 15, 2026
code-session-memory provides automatic vector memory for various AI coding tools like OpenCode, Claude Code, Cursor, VS Code, Codex, and Gemini CLI. It indexes new messages into a vector database after each AI agent turn, enabling semantic search across all your past coding sessions. This tool ensures memory is shared across different platforms, enhancing developer productivity.
Source repository
Open the original repository on GitHub.
13 counted GitHub visits