Context for Coding Agents: Agentic coding systems often make mistakes because they’re not aware of tools, API calls, and the like that came out after they were trained. Context Hub gives them the documentation they need to write correct code.
Open the sourceAndrew Ng announces Context Hub (chub), an open tool that gives coding agents current API documentation so they stop using outdated APIs, hallucinating parameters, or missing newer tools. He explains why coding agents fail because of their training cutoffs, shows how to install chub and get agents to use it, and describes plans for agents to save notes and share discoveries over time.
- He argues coding agents often use outdated APIs or hallucinate parameters because they were trained on old data that does not reflect fast-evolving AI tools. - He gives the example of Claude Opus 4.6 defaulting to OpenAI's older chat completions API instead of the recommended responses API, and not knowing Nano Banana exists. - He describes his own practice of writing Markdown documentation, with help from AI and web search, to give coding agents information about services. - Context Hub is designed for the coding agent to use, not the human developer, and agents can call it through a CLI prompt or a SKILL.md agent skill. - Chub lets agents save notes, such as workarounds for incomplete documentation, so they do not have to rediscover them later; agent-to-agent sharing is planned but not yet implemented. - He invites tool providers and the community to contribute documentation to improve Context Hub collectively.
Based on Andrew Ng's public content. Not affiliated with or endorsed by Andrew Ng.
Supports these rules
Quotes from this video
“your coding agent will often use outdated APIs, hallucinate parameters, or not even know about the tool it should be”
“coding agents were trained on old data that does not reflect the latest”
“Context Hub, which is designed for your coding agent to use (not for you to use!) provides the context it needs.”
“if an agent finds that the documentation for a tool is incomplete but discovers a workaround, it can save a note so as not to have to rediscover it from scratch next”
“give it an agent skill to use chub automatically, by using SKILL.md and ideally prompt your agent to remember to use”