Cette page est affichée en anglais. Une traduction française est en cours.
ConfigsMay 29, 2026·3 min de lecture

ByteRover CLI — Portable Memory Layer for Coding Agents

ByteRover CLI (brv) provides persistent context memory for autonomous coding agents, enabling Claude Code, Codex, and other AI tools to retain and retrieve knowledge across sessions automatically.

Prêt pour agents

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 29/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
CLI Tool
Installation
Single
Confiance
Confiance : Established
Point d'entrée
ByteRover CLI Overview
Commande de staging sûr
npx -y tokrepo@latest install 97de2dce-5b37-11f1-9bc6-00163e2b0d79 --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

Introduction

ByteRover CLI (brv) adds a portable memory layer to AI coding agents. It captures what agents learn during sessions, compresses that knowledge with AI, and injects relevant context back into future sessions, solving the statelessness problem that limits agent effectiveness across conversations.

What ByteRover CLI Does

  • Captures and compresses agent session context automatically
  • Injects relevant historical context into new coding sessions
  • Provides a knowledge management interface for reviewing stored memories
  • Supports multiple coding agents through a unified memory protocol
  • Enables context sharing between different agent types and models

Architecture Overview

ByteRover runs as a TypeScript CLI process alongside the coding agent. It hooks into session start and end events, capturing tool calls, code changes, and conversation context. A compression pipeline powered by LLM summarization reduces raw session logs into structured memory entries stored in a local database. At session start, a retrieval system finds and injects relevant memories based on the current project and task.

Self-Hosting & Configuration

  • Install globally via npm and run brv init in your project directory
  • Configure which coding agents to attach to (Claude Code, Codex, etc.)
  • Set memory retention policies (days, token budget, relevance threshold)
  • Choose the compression model (local or API-based LLM)
  • Export and import memory stores for team sharing

Key Features

  • Automatic session capture without manual bookmarking
  • AI-powered compression that distills sessions to key learnings
  • Relevance-based retrieval for context injection at session start
  • Cross-agent memory sharing (memories from Claude Code available in Codex)
  • Local-first storage with optional team sync

Comparison with Similar Tools

  • Mem0 — general AI memory platform; ByteRover is coding-agent-specific
  • Claude Code CLAUDE.md — static project context; ByteRover is dynamic session memory
  • ECC — harness optimization; ByteRover focuses specifically on memory persistence
  • OpenViking — context database for agents; ByteRover is a lightweight CLI layer

FAQ

Q: Does ByteRover send my code to external servers? A: Memory compression can use a local LLM. API-based compression is optional and configurable.

Q: How much storage does the memory layer use? A: Compressed memories are small. A typical project accumulates a few megabytes over months of sessions.

Q: Can I share memories with my team? A: Yes. Memory stores can be exported and imported, or synced through shared file systems.

Q: Does it slow down agent startup? A: Memory retrieval adds a few hundred milliseconds at session start. The context injection happens before the first prompt.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires