Context Hub: A CLI That Keeps Coding Agents on Current APIs
- Source
- x.com
- Date

I'm excited to announce Context Hub, an open tool that gives your coding agent the up-to-date API documentation it needs. Install it and prompt your agent to use it to fetch curated docs via a simple CLI. (See image.) Why this matters: Coding agents often use outdated APIs and hallucinate parameters. For example, when I ask Claude Code to call OpenAI's GPT-5.2, it uses the older chat completions API instead of the newer responses API, even though the newer one has been out for a year. Context Hub solves this. Context Hub is also designed to get smarter over time. Agents can annotate docs with notes — if your agent discovers a workaround, it can save it and doesn't have to rediscover it next session. Longer term, we're building toward agents sharing what they learn with each other, so the whole community benefits. Thanks Rohit Prsad and Xin Ye for working with me on this! npm install -g @aisuite/chub GitHub:

Context
Hub gives a coding a way to retrieve maintained instructions for calling external services. Andrew Ng introduced it as a response to agents using outdated APIs or inventing parameters. The announcement describes fetching curated documentation through a command-line tool and saving notes about discovered workarounds.
The repository makes the workflow inspectable: documentation is stored as readable Markdown, and an agent can search for and fetch relevant entries. Persistent local annotations can preserve discoveries between sessions. This supplies an external reference and memory aid for coding; the announcement described broader sharing between agents as a future direction.
- context window — The maximum amount of text a model can consider at once — its working memory for the current conversation or task.
- AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
Checking sign-in…
Loading comments…






