[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-73641":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":39,"readmeContent":40,"aiSummary":41,"trendingCount":16,"starSnapshotCount":16,"syncStatus":42,"lastSyncTime":43,"discoverSource":44},73641,"byterover-cli","campfirein\u002Fbyterover-cli","campfirein","ByteRover CLI (brv) - The portable memory layer for  autonomous coding agents (formerly Cipher)","https:\u002F\u002Fdocs.byterover.dev\u002F",null,"TypeScript",4839,453,27,6,0,16,34,112,48,29.97,"Other",false,"main",[26,27,28,29,30,31,32,33,34,35,36,37,38],"agent","ai","autonomous-agents","cli","coding-assistant","context-memory","developer-tools","knowledge-management","llm","mcp","memory","typescript","vibe-coding","2026-06-12 02:03:16","# ByteRover CLI\n\n\u003Cdiv align=\"center\">\n\n\u003Cimg src=\".\u002Fassets\u002Fimages\u002Flogo\u002Fbyterover-logo.svg\" alt=\"ByteRover Logo\" width=\"280\" \u002F>\n\n\u003Cp align=\"center\">\n\u003Cem>Interactive REPL CLI for AI-powered context memory\u003C\u002Fem>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n\u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-Elastic%202.0-blue.svg\" alt=\"License\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fnpmjs.org\u002Fpackage\u002Fbyterover-cli\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fbyterover-cli.svg\" alt=\"Version\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fnpmjs.org\u002Fpackage\u002Fbyterover-cli\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdw\u002Fbyterover-cli.svg\" alt=\"Downloads\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fdocs.byterover.dev\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDocs-Documentation-green.svg\" alt=\"Documentation\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fdiscord.com\u002Finvite\u002FUMRrpNjh5W\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-Join%20Community-7289da\" alt=\"Discord\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003C\u002Fdiv>\n\n## Overview\n\nByteRover 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.\n\nRun `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.\n\n📄 Read the [paper](https:\u002F\u002Farxiv.org\u002Fabs\u002F2604.01599) for the full technical details.\n\nOr download our self-hosted PDF version of the paper [here](https:\u002F\u002Fbyterover.dev\u002Fpaper).\n\n**Key Features:**\n\n- 🌐 Web dashboard for curating and querying context (`brv webui`)\n- 🖥️ Interactive TUI with REPL interface (React\u002FInk)\n- 🧠 Context tree and knowledge storage management\n- 🔀 Git-like version control for the context tree (branch, commit, merge, push\u002Fpull)\n- 🤖 20 LLM providers (Anthropic, OpenAI, Google, Groq, Mistral, xAI, DeepSeek, and more)\n- 🛠️ 24 built-in agent tools (code exec, file ops, knowledge search, memory management)\n- 🔄 Cloud sync with push\u002Fpull\n- 👀 Review workflow for curate operations (approve\u002Freject pending changes)\n- 🔌 MCP (Model Context Protocol) integration\n- 📦 Hub and connectors ecosystem for skills and bundles\n- 🤝 Works with 22+ AI coding agents (Cursor, Claude Code, Windsurf, Cline, and more)\n- 🏢 Enterprise proxy support\n\n## Benchmark Results\n\nAll benchmarks are run using the production `byterover-cli` codebase in this repository - no separate research prototype.\n\nWe evaluate on two long-term conversational memory benchmarks:\n\n- **LoCoMo** - ultra-long conversations (~20K tokens, 35 sessions) testing single-hop, multi-hop, temporal, and open-domain retrieval.\n- **LongMemEval-S** - large-scale benchmark (23,867 docs, ~48 sessions per question) testing 6 memory abilities including knowledge update, temporal reasoning, and multi-session synthesis.\n\n**LoCoMo** - 96.1% overall accuracy (1,982 questions, 272 docs).\n\n**LongMemEval-S** - 92.8% overall accuracy (500 questions, 23,867 docs).\n\n\u003Cp align=\"center\">\n\u003Cimg src=\"assets\u002Fimages\u002Fbenchmarks\u002Flongmemeval-s-by-category.png\" alt=\"LongMemEval-S Benchmark by Category\" width=\"700\" \u002F>\n\u003C\u002Fp>\n\nAll metrics are LLM-as-Judge accuracy (%). See the [paper](https:\u002F\u002Farxiv.org\u002Fabs\u002F2604.01599), or self-hosted [PDF](https:\u002F\u002Fbyterover.dev\u002Fpaper) for full details.\n\n## Quick Start\n\n### Shell Script (macOS & Linux)\n\nNo Node.js required - everything is bundled.\n\n```bash\ncurl -fsSL https:\u002F\u002Fbyterover.dev\u002Finstall.sh | sh\n```\n\nSupported platforms: macOS ARM64, macOS x64 (Intel), Linux x64, Linux ARM64.\n\n### npm (All Platforms)\n\nRequires Node.js >= 20.\n\n```bash\nnpm install -g byterover-cli\n```\n\n### Verify\n\n```bash\nbrv --version\n```\n\n### First Run\n\n```bash\ncd your\u002Fproject\nbrv\n```\n\nThe REPL auto-configures on first run - no setup needed. Type `\u002F` to discover all available commands:\n\n```\n\u002Fcurate \"Auth uses JWT with 24h expiry\" @src\u002Fmiddleware\u002Fauth.ts\n\u002Fquery How is authentication implemented?\n```\n\n## ByteRover Cloud\n\nByteRover Cloud is a hosted platform for teams to sync, share, and manage context knowledge across projects and machines.\nEverything works locally by default - Cloud adds collaboration and persistence without changing your workflow.\n\n\u003Cp>\n\u003Ca href=\"https:\u002F\u002Fapp.byterover.dev\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTry%20ByteRover%20Cloud-Free-blue?style=for-the-badge\" alt=\"Try ByteRover Cloud\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\nSign in from the dashboard, or run `brv login` with an [API key](https:\u002F\u002Fapp.byterover.dev\u002Fsettings\u002Fkeys).\n\n- 🔄 **Team context sync** — push and pull shared knowledge across teammates\n- 📂 **Shared spaces** — organize context across multiple projects and teams\n- 💻 **Multi-machine access** — sync your context tree across devices with cloud backup\n- 💻 **Multi-machine access** — sync your context tree across devices\n- 🧠 **Built-in hosted LLM** — start immediately with limited free usage\n- 👥 **Team management** — manage members, spaces, and permissions via the web app\n- 📊 **Usage analytics** — track seat allocation and monthly credit consumption\n- 🔒 **SOC 2 Type II** certified infrastructure with privacy mode\n\n\u003Cdetails>\n\u003Csummary>\u003Ch2>CLI Usage\u003C\u002Fh2>\u003C\u002Fsummary>\n\nMost users only need `brv webui`. The commands below are for advanced users and automation. Run `brv --help` for the full, up-to-date reference.\n\n### Core Workflow\n\n```bash\nbrv                  # Start interactive REPL\nbrv webui            # Open the ByteRover dashboard (primary UI)\nbrv status           # Show project and daemon status\nbrv curate           # Add context to knowledge storage\nbrv curate view      # View curate history\nbrv query            # Query context tree and knowledge\nbrv review pending   # List pending review operations\nbrv review approve   # Approve curate operations\nbrv review reject    # Reject curate operations\n```\n\n### Sync (Legacy)\n\n```bash\nbrv push             # Legacy — migrate or snapshot context to cloud\nbrv pull             # Legacy — restore context from cloud snapshot\n```\n\n> Use `brv vc push` \u002F `brv vc pull` for version-controlled sync going forward.\n\n### Version Control\n\n```bash\nbrv vc init              # Initialize version control for context tree\nbrv vc status            # Show version control status\nbrv vc add               # Stage files for the next commit\nbrv vc commit            # Save staged changes as a commit\nbrv vc log               # Show commit history\nbrv vc branch            # List, create, or delete branches\nbrv vc checkout          # Switch branches\nbrv vc merge             # Merge a branch into the current branch\nbrv vc clone             # Clone a ByteRover space repository\nbrv vc push              # Push commits to ByteRover cloud\nbrv vc pull              # Pull commits from ByteRover cloud\nbrv vc fetch             # Fetch refs from ByteRover cloud\nbrv vc remote            # Show current remote origin\nbrv vc remote add        # Add a named remote\nbrv vc remote set-url    # Update a remote URL\nbrv vc config            # Get or set commit author\nbrv vc reset             # Unstage files or undo commits\n```\n\n### Providers & Models\n\n```bash\nbrv providers list       # List available LLM providers\nbrv providers connect    # Connect to an LLM provider\nbrv providers switch     # Switch active provider\nbrv providers disconnect # Disconnect a provider\nbrv model list           # List available models\nbrv model switch         # Switch active model\n```\n\n### Hub & Connectors\n\n```bash\nbrv hub list             # List available hub packages\nbrv hub install          # Install a hub package\nbrv hub registry add     # Add a custom registry\nbrv hub registry list    # List registries\nbrv hub registry remove  # Remove a registry\nbrv connectors list      # List connectors\nbrv connectors install   # Install a connector\n```\n\n### Spaces (Deprecated)\n\n```bash\nbrv space list       # Deprecated — use web dashboard\nbrv space switch     # Deprecated — use brv vc clone\n```\n\n### Other\n\n```bash\nbrv mcp              # Start MCP server\nbrv login            # Authenticate to ByteRover\nbrv logout           # Disconnect and clear credentials\nbrv locations        # List registered projects\nbrv restart          # Restart daemon\nbrv debug            # Debug mode\n```\n\nRun `brv --help` for the full command reference.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Ch2>Supported LLM Providers\u003C\u002Fh2>\u003C\u002Fsummary>\n\nByteRover CLI supports 20 LLM providers out of the box. Connect and switch providers from the dashboard, or use `brv providers connect` \u002F `brv providers switch`.\n\n| Provider | Description |\n|----------|-------------|\n| Anthropic | Claude models |\n| OpenAI | GPT models |\n| Google | Gemini models |\n| Groq | Fast inference |\n| Mistral | Mistral models |\n| xAI | Grok models |\n| Cerebras | Fast inference |\n| Cohere | Command models |\n| DeepInfra | Open-source model hosting |\n| DeepSeek | DeepSeek V3 and R1 reasoning models |\n| OpenRouter | Multi-provider gateway |\n| Perplexity | Search-augmented models |\n| TogetherAI | Open-source model hosting |\n| Vercel | AI SDK provider |\n| Minimax | Minimax models |\n| Moonshot | Kimi models |\n| GLM | GLM models |\n| GLM Coding Plan | GLM models on Z.AI Coding Plan subscription |\n| OpenAI-Compatible | Any OpenAI-compatible API |\n| ByteRover | ByteRover's hosted models |\n\n\u003C\u002Fdetails>\n\n## Worktrees and Knowledge Sources\n\n> **Vocabulary**\n> - **Worktree link** — a subdirectory pointer to a parent project (`brv worktree`)\n> - **Source** — a read-only reference to another project's knowledge (`brv source`)\n> - **Origin** — where an indexed search result came from (`local` vs `shared`)\n\nByteRover can run from a linked subdirectory without creating a nested `.brv\u002F`.\n\n- `projectRoot`: the directory that owns `.brv\u002Fconfig.json`\n- `worktreeRoot`: the linked worktree directory, or `projectRoot` when unlinked\n- `clientCwd`: the shell cwd where you ran `brv`\n\nWhen you run `brv query` or `brv curate` from a linked worktree, implicit defaults use `worktreeRoot` so scope stays stable even if `clientCwd` drifts deeper into the package. Explicit relative paths that you pass yourself, such as `brv curate -f .\u002Fsrc\u002Fauth.ts`, still resolve from `clientCwd` to match normal shell behavior.\n\nUse `brv worktree add` from the project root to register a subdirectory (or sibling) as a worktree. This creates a `.brv` pointer file in the target directory that redirects to the parent project — the same pattern git uses for `git worktree`. Use `brv worktree remove` to unregister, and `brv worktree list` to inspect. To search another project's knowledge from here, use `brv source add \u003Cpath>` (with `brv source list` \u002F `brv source remove` to inspect or detach).\n\n## Documentation\n\nVisit [**docs.byterover.dev**](https:\u002F\u002Fdocs.byterover.dev) for full guides on setup, integrations, and advanced usage.\n\n| Topic | Description |\n|-------|-------------|\n| [Getting Started](https:\u002F\u002Fdocs.byterover.dev) | Installation, first run, and basic usage |\n| [Cloud Sync](https:\u002F\u002Fdocs.byterover.dev) | Push\u002Fpull workflows and team sharing |\n| [Version Control](https:\u002F\u002Fdocs.byterover.dev) | Context tree branching, commits, and collaboration |\n| [LLM Providers](https:\u002F\u002Fdocs.byterover.dev) | Provider setup and model configuration |\n| [AI Agent Integrations](https:\u002F\u002Fdocs.byterover.dev) | Using ByteRover with Cursor, Claude Code, Windsurf, etc. |\n| [Hub & Connectors](https:\u002F\u002Fdocs.byterover.dev) | Skills, bundles, and the connector ecosystem |\n| CLI Reference | Run `brv --help` |\n\n## Contributing\n\nWe welcome contributions! See our [Contributing Guide](CONTRIBUTING.md) for development setup, coding standards, and the PR workflow.\n\n## Community & Support\n\nByteRover CLI is built and maintained by the [ByteRover team](https:\u002F\u002Fbyterover.dev\u002F).\n\n- Join our [Discord](https:\u002F\u002Fdiscord.com\u002Finvite\u002FUMRrpNjh5W) to share projects, ask questions, or just say hi\n- [Report issues](https:\u002F\u002Fgithub.com\u002Fcampfirein\u002Fbyterover-cli\u002Fissues) on GitHub\n- If you enjoy ByteRover CLI, please give us a star on GitHub — it helps a lot!\n- Follow [@kevinnguyendn](https:\u002F\u002Fx.com\u002Fkevinnguyendn) on X\n\n## Contributors\n\n[![Contributors](https:\u002F\u002Fcontrib.rocks\u002Fimage?repo=campfirein\u002Fbyterover-cli&max=40&columns=10)](https:\u002F\u002Fgithub.com\u002Fcampfirein\u002Fbyterover-cli\u002Fgraphs\u002Fcontributors)\n\n## Star History\n\n\u003Ca href=\"https:\u002F\u002Fstar-history.com\u002F#campfirein\u002Fbyterover-cli&Date\">\n  \u003Cimg width=\"500\" alt=\"Star History Chart\" src=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=campfirein\u002Fbyterover-cli&type=Date&v=2\">\n\u003C\u002Fa>\n\n## License\n\nElastic License 2.0. See [LICENSE](LICENSE) for full terms.\n","ByteRover CLI (brv) 是一个为自主编码代理提供持久化、结构化记忆的交互式命令行工具。它支持开发者将项目知识组织成上下文树，并可同步至云端，便于团队成员和工具间共享。其核心功能包括基于React\u002FInk的交互式TUI界面、上下文树与知识存储管理、类似Git的版本控制系统以及与20多个LLM供应商及24种内置工具集成的能力。此外，通过云同步和审查工作流等功能，ByteRover CLI还增强了协作效率。该项目非常适合需要提高代码开发过程中信息管理和协作效率的场景使用，特别是对于那些依赖于AI辅助编码环境的开发者来说尤为适用。",2,"2026-06-11 03:46:29","high_star"]