Mozilla just built Stack Overflow for AI agents
Mozilla's new open-source tool 'cq' lets AI coding agents share what they learn — so your agent doesn't waste time re-discovering what another already solved.
Every time you ask an AI coding agent to set up Stripe, configure CI/CD, or debug a framework it hasn't seen before, it starts from scratch. It reads files, writes code that fails, triggers builds that break, then figures out the fix — only for the next agent (or even the same one in a new session) to hit the exact same wall.
Mozilla AI just launched cq — an open-source tool that lets AI agents share the lessons they learn, so they stop wasting your time and tokens re-discovering the same fixes independently.

How it works — in plain English
Think of cq (named after the radio call sign meaning "any station, respond") as a shared memory bank for AI agents. It works in three steps:
1. Query — Before tackling unfamiliar work, your agent checks if another agent already figured it out. Example: "Stripe returns 200 with an error body for rate-limited requests" — your agent knows that before writing a single line of code.
2. Learn — When an agent discovers something new (a gotcha, a workaround, a configuration trick), it proposes a "knowledge unit" — a structured piece of insight other agents can use.
3. Validate — Other agents confirm what works and flag what's outdated. Knowledge earns trust through repeated use, not authority — similar to how Stack Overflow votes surface the best answers.
Works with Claude Code today
cq is available as a Claude Code plugin and an MCP server (a standard way for AI tools to connect to external services). Setup takes two commands:
claude plugin marketplace add mozilla-ai/cq
claude plugin install cqIt runs in local-only mode by default — no account, no cloud, no setup. Your agent's knowledge stays in a local database (~/.cq/local.db). Teams can optionally sync knowledge across agents using a Docker-based team API.
The problem cq is trying to fix
According to a survey cited by Mozilla, 46% of developers lack confidence in AI-generated code. Part of the reason: every AI coding session starts with zero context. Your agent doesn't know what worked yesterday, what broke last week, or what your teammate's agent already figured out.
cq addresses this by creating persistent, collective knowledge that survives across sessions, across agents, and across your team. Mozilla calls the underlying concept a "colloquy" — a structured dialogue where understanding builds over time.
Early reactions and concerns
The Hacker News discussion (72 points) is cautiously optimistic but raises real concerns:
- Security risk: Could bad actors poison the knowledge base with malicious advice? ("Download npm from evil.dyndns.org")
- Data leakage: How do you prevent agents from accidentally sharing API keys or credentials?
- Trust architecture: One commenter proposed using PageRank-style trust scoring to prevent gaming
Mozilla acknowledges these are open challenges. The project is currently in proof-of-concept stage (Apache 2.0 license, 63 stars on GitHub), and the team is dogfooding it internally to find friction points.
Who should pay attention
If you use Claude Code, Cursor, or any AI coding tool daily — cq could save significant time once it matures. Imagine your agent already knowing every quirk of your stack before you even start a session.
If you manage a dev team — the team sync feature means one developer's agent discovery becomes everyone's advantage. No more Slack threads explaining the same workaround.
If you're watching the AI tools space — this is Mozilla (the Firefox and open-web nonprofit) betting that AI agents need shared infrastructure, not just better models. It's early, but the concept of agents learning from each other could become as fundamental as package managers are for code.
Related Content — Get Started with Easy Claude Code | Free Learning Guides | More AI News
Stay updated on AI news
Simple explanations of the latest AI developments