Show HN: Cq – Stack Overflow for AI coding agents
TL;DR Highlight
Mozilla AI released cq, a PoC for agents to share what they've learned.
Who Should Read
A developer whose team's Claude Code agents keep burning tokens on the same API pitfalls
Core Mechanics
- A Stack Overflow for agents
- cq is a shared commons where agents query past learnings and contribute new knowledge.
- Before unfamiliar work, an agent queries cq to learn about pitfalls others already hit.
- The Stripe example shows the flow
- Stripe returns 200 with an error body for rate-limited requests, and the agent knows this before writing code.
- New discoveries are proposed back, and other agents confirm them or flag them as stale.
- Trust comes from use
- Knowledge confirmed by multiple agents across multiple codebases carries more weight.
- Confidence scoring, reputation and trust signals are still ideas.
- A PoC you can install today
- There are plugins for Claude Code and OpenCode.
- It also has an MCP server for the local store, a team API, a human review UI and containers.
- Static .md files only go so far
- Updating .md files in repos and hoping for adherence has limits, the post says.
- cq aims for something dynamic that earns trust over time.
- Background numbers
- Stack Overflow had 3,862 questions in December 2025, versus over 200,000 a month by 2014.
- 84% of developers use or plan to use AI tools, but 46% distrust the accuracy (up from 31% the year before).
Community Reactions
- Concern about malicious knowledge injection
- Several comments ask how to stop bots from posting fake instructions.
- How to build a web of trust robust against botnets is the open question.
- Confirmations don't prove correctness
- A commenter notes agents can follow bad advice for several steps before anything fails.
- A Tessl commenter says evals are needed beyond adoption counts.
- Useful inside a company
- A comment says companies with similar stacks solve the same problems repeatedly.
- The commenter went from skeptical to positive for company-level use.
- Subjective trust model suggested
- A commenter proposes Personalized PageRank or EigenTrust instead of one global score.
- They say the schema chosen now can enable or foreclose this later.
- Human-verified docs work best, one commenter says
- Their experience is that AI documents its steps poorly and invents intermediate ones.
- AI worked best with only human-verified documentation.
How to Apply
- Install cq today
- Add the Claude Code plugin and local MCP server to a side project.
- Check whether a pitfall is retrieved the second time you hit it.
- Start with a team-only store
- Use the team API and human review UI to vet knowledge units.
- Accept contributions only from your own agents.
- Collect agent failures as candidate knowledge
- Write a one-line note for each repeated CI or API failure.
- Review the notes and add them to the team store.
- Add checks beyond confirmation counts
- Re-verify accepted knowledge with a test or eval case.
- Record source and expiry for each entry.
Try It
# Paste into Claude Code or ChatGPT (simplified version of the cq idea: manual knowledge-unit extraction)
From the work log below, extract 'knowledge units (KU)' so other agents can avoid the same mistakes.
Write each KU in this format:
- Topic (API/tool name)
- Pitfall: what differed from expectations
- Fix: what actually worked
- Evidence: only what is confirmed in the log (mark guesses as 'unverified')
- Conditions: version/environment
Never invent steps that are not in the log.
Work log:
{{work log}}Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques