Andrew Ng, Founder of DeepLearning.AI, has open-sourced Context Hub (chub), a command-line tool that gives AI coding agents access to curated, versioned documentation while enabling them to learn from past interactions and share feedback across sessions.
The project, released on GitHub as ‘chub’, addresses a persistent issue in AI coding agents: hallucinated APIs and a lack of memory across tasks. Instead of relying on web search or static training data, Context Hub provides structured documentation that agents can fetch on demand and annotate.
Ng framed the project as an attempt to answer a broader question. “Should there be a Stack Overflow for AI coding agents to share learnings with each other?”
Context Hub is built around a workflow where agents search for relevant documentation, fetch language-specific API references, and generate code based on those inputs. Over time, agents can attach annotations—such as edge cases or fixes—which persist across sessions, effectively creating a local memory layer.
“Coding agents hallucinate APIs and forget what they learn in a session. Context Hub gives them curated, versioned docs, plus the ability to get smarter with every task,” read the repository. “All content is open and maintained as markdown in this repo—you can inspect exactly what your agent reads, and contribute back.”
A key feature of the system is its feedback mechanism. Agents can upvote or downvote documentation and share what worked or failed, with signals flowing back to maintainers to improve content quality.
“In our new chub release, agents can share feedback on documentation—what worked, what didn't, what's missing,” Ng said, adding that the system is designed to refine documentation collectively while maintaining privacy and security safeguards.
The repository has seen rapid early adoption, growing from fewer than 100 API documents to more than 1,000 within a week, driven by community contributions and an automated document-generation system. Ng said the project has also crossed over 6,000 GitHub stars in the same period.
The system draws on recent experiments such as OpenClaw and Moltbook, which explored agent-to-agent knowledge sharing through dedicated platforms.
Context Hub extends this idea into developer tooling by embedding feedback and memory directly into documentation workflows.
Unlike traditional developer platforms such as Stack Overflow, Context Hub is designed primarily for machine consumption. Its content is stored as structured markdown, versioned and inspectable, allowing developers to audit exactly what agents are reading and contributing.
“Chub is designed for your coding agent to use (not for you to use!),” states the repository.
Ng said the project is still in early stages, with additional configuration options and features under development. For now, Context Hub is positioned as a foundational layer for building agents that improve over time—not just individually, but collectively through shared documentation and feedback loops.


Your reaction
Discussion
What's your take on this story?
No comments yet — be the first to share your view.