byterover-cli vs cq
Persistent project memory for coding agents compared
byterover-cli and cq both help coding agents reuse knowledge across sessions. byterover-cli focuses on curating a project context tree with version-control-style workflows, while cq centers on reviewed, reusable lessons stored locally or shared through a service.

byterover-cli: Give Coding Agents Persistent Project Memory
ByteRover CLI is a TypeScript tool that helps AI coding agents store, search, and version structured knowledge about a project. It suits teams that want reusable context across sessions and tools, but the GitHub repository is archived and read-only.

cq: Share Collective Learning Between AI Agents
cq is a knowledge store and workflow for coding agents to query, contribute, and validate reusable lessons. It helps teams and individual developers avoid repeating debugging work across agent sessions and machines.
| byterover-cli | cq | |
|---|---|---|
| Language | TypeScript | Go |
| License | — | Apache-2.0 |
| Stars | 5k | 1.3k |
| Forks | 455 | 69 |
| Last analyzed | Oct 11, 2026 | Oct 3, 2026 |
Key differences
- byterover-cli is written in TypeScript and cq is written in Go.
- byterover-cli organizes curated context with branch, commit, merge, push, and pull workflows; cq provides tools to query, propose, confirm, and flag knowledge units.
- byterover-cli lists integrations with 20 LLM providers and more than 22 coding agents; cq lists installation targets for Claude, Codex, Copilot, Cursor, Devin Desktop, OpenCode, and Pi.
- byterover-cli supports local use and optional cloud sync; cq supports local SQLite storage, Mozilla.ai's hosted service, and self-hosted server deployment.
- byterover-cli is marked archived in the supplied data; cq is not archived and is in 0.x, with breaking changes expected.
- byterover-cli's supplied license value is NOASSERTION, while cq uses Apache-2.0.
Choose byterover-cli if you…
- want a context tree with version-control-style knowledge workflows.
- need integrations with a broad range of LLM providers and coding agents.
- want optional cloud sync, team sharing, or a web dashboard for context.
Choose cq if you…
- want to store reusable lessons locally or share them through a hosted or self-hosted service.
- need MCP tools for proposing, confirming, and reviewing knowledge units.
- want a Go project with Apache-2.0 licensing and published Go and Python SDKs.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.