Context Hub search-fetch-use
Supply coding agents with current curated documentation.
Based on Andrew Ng's public content. Not affiliated with or endorsed by Andrew Ng.
Steps
- Search for the relevant docs
- Fetch only the files needed
- Use them to write code
- Annotate gaps and send feedback
Covered in
GitHub · context-hub
The source presents Context Hub as a way to help coding agents avoid API hallucinations and retain useful lessons across sessions by supplying curated, versioned documentation. It teaches a simple search-fetch-use workflow, supplemented by persistent local annotations and feedback to documentation authors.
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.
Andrew 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.
GitHub · context-hub-skill: Agent skill to use Context Hub (chub)
Andrew Ng’s repository teaches coding agents to use Context Hub as the source of truth when work depends on current third-party documentation rather than relying on model memory. It also shows how to install the shared skill across compatible agents and describes a low-friction workflow that checks installation, reads current CLI guidance, retrieves documentation, and records feedback.