by campfirein
ByteRover CLI (brv) - The portable memory layer for autonomous coding agents (formerly Cipher)
# Add to your Claude Code skills
git clone https://github.com/campfirein/byterover-cliGuides for using ai agents skills like byterover-cli.
byterover-cli is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by campfirein. ByteRover CLI (brv) - The portable memory layer for autonomous coding agents (formerly Cipher). It has 4,944 GitHub stars.
byterover-cli's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/campfirein/byterover-cli" and add it to your Claude Code skills directory (see the Installation section above).
byterover-cli is primarily written in TypeScript. It is open-source under campfirein on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh byterover-cli against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
ByteRover CLI (brv) gives AI coding agents persistent, structured memory. It lets developers curate project knowledge into a context tree, sync it to the cloud, and share it across tools and teammates.
Run brv in any project directory to start an interactive REPL powered by your choice of LLM. The agent understands your codebase through an agentic map, can read and write files, execute code, and store knowledge for future sessions.
📄 Read the paper for the full technical details.
Or download our self-hosted PDF version of the paper here.
Key Features:
brv webui)All benchmarks are run using the production byterover-cli codebase in this repository - no separate research prototype.
We evaluate on two long-term conversational memory benchmarks:
LoCoMo - 96.1% overall accuracy (1,982 questions, 272 docs).
LongMemEval-S - 92.8% overall accuracy (500 questions, 23,867 docs).
All metrics are LLM-as-Judge accuracy (%). See the paper, or self-hosted PDF for full details.
No Node.js required - everything is bundled.
curl -fsSL https://byterover.dev/install.sh | sh
Supported platforms: macOS ARM64, macOS x64 (Intel), Linux x64, Linux ARM64.
Requires Node.js >= 20.
npm install -g byterover-cli
brv --version
cd your/project
brv
The REPL auto-configures on first run - no setup needed. Type / to discover all available commands:
/curate "Auth uses JWT with 24h expiry" @src/middleware/auth.ts
/query How is authentication implemented?
ByteRover Cloud is a hosted platform for teams to sync, share, and manage context knowledge across projects and machines. Everything works locally by default - Cloud adds collaboration and persistence without changing your workflow.
Sign in from the dashboard, or run brv login with an API key.
Most users only need brv webui. The commands below are for advanced users and automation. Run brv --help for the full, up-to-date reference.
brv # Start interactive REPL
brv webui # Open the ByteRover dashboard (primary UI)
brv status # Show project and daemon status
brv curate # Add context to knowledge storage
brv curate view # View curate history
brv query # Query context tree and knowledge
brv review pending # List pending review operations
brv review approve # Approve curate operations
brv review reject # Reject curate operations
brv push # Legacy — migrate or snapshot context to cloud
brv pull # Legacy — restore context from cloud snapshot
Use
brv vc push/brv vc pullfor version-controlled sync going forward.
brv vc init # Initialize version control for context tree
brv vc status # Show version control status
brv vc add # Stage files for the next commit
brv vc commit # Save staged changes as a commit
brv vc log # Show commit history
brv vc branch # List, create, or delete branches
brv vc checkout # Switch branches
brv vc merge # Merge a branch into the current branch
brv vc clone # Clone a ByteRover space repository
brv vc push # Push commits to ByteRover cloud
brv vc pull # Pull commits from ByteRover cloud
brv vc fetch # Fetch refs from ByteRover cloud
brv vc remote # Show current remote origin
brv vc remote add # Add a named remote
brv vc remote set-url # Update a remote URL
brv vc config # Get or set commit author
brv vc reset # Unstage files or undo commits
brv providers list # List available LLM providers
brv providers connect # Connect to an LLM provider
brv providers switch # Switch active provider
brv providers disconnect # Disconnect a provider
brv model list # List available models
brv model switch # Switch active model
brv hub list # List available hub packages
brv hub install # Install a hub package
brv hub registry add # Add a custom registry
brv hub registry list # List registries
brv hub registry remove # Remove a registry
brv connectors list # List connectors
brv connectors install # Install a connector
brv space list # Deprecated — use web dashboard
brv space switch # Deprecated — use brv vc clone
brv ships with operational defaults that suit most users. The brv settings command group lets you inspect and override these values.
brv settings # List all settings with current and default values
brv settings list # Alias for `brv settings`
brv settings get <key> # Show current and default for one key
brv settings set <key> <value> # Update one key (restart required)
brv settings reset <key> # Restore one key to its default (restart required)
Available keys:
| Key | Default | What it controls |
|---|---|---|
agentPool.maxSize |
10 | Maximum concurrent active projects (one agent process per project) |
agentPool.maxConcurrentTasksPerProject |
5 | Parallel brv curate / brv query tasks within a single project |
llm.iterationBudgetMs |
600000 | Wall-clock budget for the agentic loop on one task, in milliseconds |
llm.requestTimeoutMs |
120000 | Wall-clock budget for one direct LLM HTTP request, in milliseconds |
taskHistory.maxEntries |
1000 | Number of task records brv query-log view retains per project |
Raise llm.iterationBudgetMs when a single brv curate or brv query on a slow local LLM (Ollama on CPU, heavy quantization, cold model load) routinely hits the default 10-minute cap on legitimate work. Lower it on cloud providers when you want a stuck task to surface as an error faster instead of waiting out the full budget. The cap is enforced per task, not per request.
llm.requestTimeoutMs bounds one HTTP request to the LLM. A frozen Ollama or LM Studio connection aborts at this boundary and the retry layer treats it as a transient error rather than wasting the full iteration budget. The setting must satisfy llm.requestTimeoutMs <= llm.iterationBudgetMs; the daemon rejects writes that violate the rule and falls back to defaults for both keys when the file violates it at startup. Suggested presets:
| Profile | llm.requestTimeoutMs |
llm.iterationBudgetMs |
|---|---|---|
| Cloud | 120000 (2 min) | 600000 (10 min) |
| Local LLM, fast GPU | 300000 (5 min) | 1200000 (20 min) |
| L |