The Research Report
Andrew Ng's Context Hub Hits 13K Stars: Context Engineering Gets Its Package Manager
Context Hub (andrewyng/context-hub) crossed 13,095 GitHub stars, making it the most-starred context engineering tool for coding agents. Andrew Ng's team built a CLI that gives agents curated, versioned API documentation instead of letting them hallucinate from stale training data. The tool's rapid growth signals that context engineering is becoming a mainstream discipline, not just a research corner.
The Problem Context Hub Solves
Coding agents hallucinate APIs. They use deprecated endpoints. They invent parameters that never existed. They forget workarounds they discovered in the previous session.
This is not a model quality problem. It is a context problem.
Large language models are frozen in time the moment training ends. The documentation they rely on is often a mess of outdated blog posts, legacy SDK examples, and deprecated StackOverflow threads. When an agent calls OpenAI's API, it might stubbornly use the older chat completions endpoint instead of the newer responses API, even if the responses API has been standard for a year.
RAG helps ground models in private data. But public documentation remains unreliable. Agents drift toward what they learned during training, not what is current.
Context Hub intervenes at the exact moment an agent starts guessing.
What Context Hub Does
Context Hub is a CLI tool called chub that provides a curated registry of up-to-date, versioned documentation optimized for LLM consumption. Instead of an agent scraping the web and getting lost in noisy HTML, it fetches precise markdown docs through a simple command set.
Install and run:
npm install -g @aisuite/chub
chub search openai # find what's available
chub get openai/chat --lang py # fetch current docs (Python version)
The core workflow: search, fetch, use. The agent reads the doc, writes correct code, and moves on.
Language-Specific Precision
chub get openai/chat --lang py fetches the Python variant. chub get openai/chat --lang js fetches the JavaScript variant. This eliminates token waste from irrelevant language examples. Agents get only the documentation they need for their current stack.
Annotations: Persistent Agent Memory
This is where Context Hub differentiates from a documentation search engine.
When an agent discovers a technical nuance, like a webhook verification requiring a raw body instead of parsed JSON, it saves that knowledge:
chub annotate stripe/api "Needs raw body for webhook verification"
In the next session, when the same agent or any agent on that machine runs chub get stripe/api, the annotation appears automatically. The agent does not rediscover the same workaround every morning.
Annotations are local. They persist across sessions and accumulate over time. This gives coding agents a long-term memory for technical details that would otherwise be lost between sessions.
Feedback: Crowdsourced Ground Truth
While annotations stay local, Context Hub also provides a feedback loop for the community:
chub feedback stripe/api up # accurate, helpful docs
chub feedback stripe/api down # outdated, wrong examples
Feedback flows back to doc maintainers. The most reliable documentation surfaces to the top. Outdated entries get flagged and updated. This creates a decentralized quality improvement cycle where real agent usage data drives documentation accuracy.
Content as Markdown
All content in Context Hub is plain markdown with YAML frontmatter, maintained openly in the GitHub repository. Contributors can inspect exactly what their agent reads. They can submit improvements as pull requests. No opaque embeddings, no hidden processing.
The repository covers 68+ APIs and is growing through community contributions.
Why 13K Stars Matters
Context Hub's growth trajectory tells a story. The repo launched on October 30, 2025. It hit 5,700 stars in four days. It crossed 13,095 stars with 1,150 forks by early May 2026.
Three things drive this growth:
- Andrew Ng's name carries weight. When one of the most recognized figures in AI publicly backs a context engineering tool, it validates the category. Ng's endorsement signals that context engineering is not a fringe idea but a mainstream practice.
- The tool solves an immediate, universal pain. Every developer using coding agents has experienced API hallucination. Context Hub addresses it directly with a simple CLI workflow.
- The context engineering movement needed a flagship tool. Articles about context engineering overtaking prompt engineering have circulated for months. But tooling lagged behind the theory. Context Hub is the first tool with enough adoption to serve as a reference implementation.
How Context Hub Fits the Context Engineering Landscape
Context Hub is not the first context engineering tool. But it is the first to combine three things:
- Curated content (not raw web scraping)
- Agent-native CLI (designed for agents to use, not humans)
- Feedback loop (annotations plus community ratings)
Other tools in the space take different approaches:
- context-mode (12K+ stars) focuses on sandboxing tool output and achieving 98% context token reduction across 14 AI coding platforms
- context-lens (326 stars) provides framework-agnostic context window visualization
- ContextCraft offers a visual workbench for assembling and compressing context windows
- Contextweaver implements budget-constrained phase-specific context compilation
Context Hub occupies a distinct niche: it is a package manager for API documentation, delivering curated ground truth to agents at the moment they need it.
The Bigger Shift: From Prompt Engineering to Context Engineering
Context Hub's rapid adoption is the latest signal that context engineering is becoming the dominant framing for building with LLMs.
The progression is clear:
- 2023: Prompt engineering meant crafting better instructions
- 2024: Context engineering meant designing the full information environment
- 2025-2026: Context engineering gets its own package manager
When Shopify CEO Tobi Lutke, Anthropic, and Google DeepMind all use "context engineering" in their official documentation, and Andrew Ng ships a context engineering tool that reaches 13K stars, the terminology shift has left the research papers and entered production practice.
The key insight behind Context Hub aligns with the broader context engineering thesis: the model is only as good as the information it receives. Instead of writing better prompts to compensate for bad context, fix the context itself.
Practical Getting Started
- Install the CLI:
npm install -g @aisuite/chub
- Search for what you need:
chub search "stripe payments"orchub searchto list all available docs
- Fetch docs for your stack:
chub get openai/chat --lang pyfor Python,chub get openai/chat --lang jsfor JavaScript
- Prompt your agent to use it: "Use the CLI command chub to get the latest API documentation for calling OpenAI. Run 'chub help' to understand how it works."
- Create an agent skill: For Claude Code users, create
~/.claude/skills/get-api-docs/SKILL.mdusing the template in the Context Hub repository.
- Annotate workarounds: When your agent discovers a nuance, save it.
chub annotate <id> "note"prevents rediscovery next session.
- Vote on quality:
chub feedback <id> uporchub feedback <id> downhelps the community maintain accurate docs.
What Comes Next
The Context Hub roadmap includes agent skills beyond API documentation, extending the registry from reference material to executable knowledge. The annotation and feedback systems create a virtuous cycle: agents get better docs, which produce better code, which generates better feedback, which improves the docs for everyone.
The 13K star milestone is not the end of the story. It is the point where context engineering stops being a theory and becomes infrastructure.
References
- Context Hub GitHub: https://github.com/andrewyng/context-hub
- MarkTechPost coverage: https://www.marktechpost.com/2026/03/09/andrew-ngs-team-releases-context-hub-an-open-source-tool-that-gives-your-coding-agent-the-up-to-date-api-documentation-it-needs/
- npm package: https://www.npmjs.com/package/@aisuite/chub