🐦 Twitter Post Details

Viewing enriched Twitter post

@AndrewYNg

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: https://t.co/OCkyxXQMCq

Media 1
Media 2

πŸ“Š Media Metadata

{
  "media": [
    {
      "type": "photo",
      "url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/2031051809499054099/media_0.jpg",
      "filename": "media_0.jpg"
    },
    {
      "type": "photo",
      "url": "https://crmoxkoizveukayfjuyo.supabase.co/storage/v1/object/public/media/posts/2031051809499054099/media_1.jpg",
      "filename": "media_1.jpg"
    }
  ],
  "processed_at": "2026-03-09T17:07:11.288916",
  "pipeline_version": "2.0"
}

πŸ”§ Raw API Response

{
  "type": "tweet",
  "id": "2031051809499054099",
  "url": "https://x.com/AndrewYNg/status/2031051809499054099",
  "twitterUrl": "https://twitter.com/AndrewYNg/status/2031051809499054099",
  "text": "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.)\n\nWhy 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.\n\nContext 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.\n\nThanks Rohit Prsad and Xin Ye for working with me on this!\n\nnpm install -g @aisuite/chub\n\nGitHub: https://t.co/OCkyxXQMCq",
  "source": "Twitter for iPhone",
  "retweetCount": 9,
  "replyCount": 8,
  "likeCount": 68,
  "quoteCount": 2,
  "viewCount": 3119,
  "createdAt": "Mon Mar 09 16:57:41 +0000 2026",
  "lang": "en",
  "bookmarkCount": 45,
  "isReply": false,
  "inReplyToId": null,
  "conversationId": "2031051809499054099",
  "displayTextRange": [
    0,
    278
  ],
  "inReplyToUserId": null,
  "inReplyToUsername": null,
  "author": {
    "type": "user",
    "userName": "AndrewYNg",
    "url": "https://x.com/AndrewYNg",
    "twitterUrl": "https://twitter.com/AndrewYNg",
    "id": "216939636",
    "name": "Andrew Ng",
    "isVerified": false,
    "isBlueVerified": true,
    "verifiedType": null,
    "profilePicture": "https://pbs.twimg.com/profile_images/733174243714682880/oyG30NEH_normal.jpg",
    "coverPicture": "https://pbs.twimg.com/profile_banners/216939636/1483126470",
    "description": "",
    "location": "Palo Alto, CA",
    "followers": 1399948,
    "following": 1064,
    "status": "",
    "canDm": false,
    "canMediaTag": true,
    "createdAt": "Thu Nov 18 03:39:11 +0000 2010",
    "entities": {
      "description": {
        "urls": []
      },
      "url": {}
    },
    "fastFollowersCount": 0,
    "favouritesCount": 1723,
    "hasCustomTimelines": true,
    "isTranslator": false,
    "mediaCount": 454,
    "statusesCount": 1986,
    "withheldInCountries": [],
    "affiliatesHighlightedLabel": {},
    "possiblySensitive": false,
    "pinnedTweetIds": [
      "2008956639894786402"
    ],
    "profile_bio": {
      "description": "Co-Founder of Coursera; Stanford CS adjunct faculty. Former head of Baidu AI Group/Google Brain. #ai #machinelearning, #deeplearning #MOOCs",
      "entities": {
        "description": {
          "hashtags": [
            {
              "indices": [
                97,
                100
              ],
              "text": "ai"
            },
            {
              "indices": [
                101,
                117
              ],
              "text": "machinelearning"
            },
            {
              "indices": [
                119,
                132
              ],
              "text": "deeplearning"
            },
            {
              "indices": [
                133,
                139
              ],
              "text": "MOOCs"
            }
          ],
          "symbols": [],
          "urls": [],
          "user_mentions": []
        },
        "url": {
          "urls": [
            {
              "display_url": "andrewng.org",
              "expanded_url": "http://www.andrewng.org",
              "indices": [
                0,
                23
              ],
              "url": "https://t.co/XidcMETENd"
            }
          ]
        }
      }
    },
    "isAutomated": false,
    "automatedBy": null
  },
  "extendedEntities": {
    "media": [
      {
        "allow_download_status": {
          "allow_download": true
        },
        "display_url": "pic.twitter.com/EXAVvU74SG",
        "expanded_url": "https://twitter.com/AndrewYNg/status/2031051809499054099/photo/1",
        "ext_media_availability": {
          "status": "Available"
        },
        "features": {
          "large": {
            "faces": []
          },
          "orig": {
            "faces": []
          }
        },
        "id_str": "2031050636863926272",
        "indices": [
          279,
          302
        ],
        "media_key": "3_2031050636863926272",
        "media_results": {
          "id": "QXBpTWVkaWFSZXN1bHRzOgwAAQoAARwvvcsTGvAACgACHC++3BmbABMAAA==",
          "result": {
            "__typename": "ApiMedia",
            "id": "QXBpTWVkaWE6DAABCgABHC+9yxMa8AAKAAIcL77cGZsAEwAA",
            "media_key": "3_2031050636863926272"
          }
        },
        "media_url_https": "https://pbs.twimg.com/media/HC-9yxMa8AA4pLz.jpg",
        "original_info": {
          "focus_rects": [
            {
              "h": 759,
              "w": 1356,
              "x": 0,
              "y": 0
            },
            {
              "h": 894,
              "w": 894,
              "x": 0,
              "y": 0
            },
            {
              "h": 894,
              "w": 784,
              "x": 0,
              "y": 0
            },
            {
              "h": 894,
              "w": 447,
              "x": 0,
              "y": 0
            },
            {
              "h": 894,
              "w": 1356,
              "x": 0,
              "y": 0
            }
          ],
          "height": 894,
          "width": 1356
        },
        "sizes": {
          "large": {
            "h": 894,
            "w": 1356
          }
        },
        "type": "photo",
        "url": "https://t.co/EXAVvU74SG"
      }
    ]
  },
  "card": null,
  "place": {},
  "entities": {
    "hashtags": [],
    "symbols": [],
    "urls": [
      {
        "display_url": "github.com/andrewyng/cont…",
        "expanded_url": "https://github.com/andrewyng/context-hub",
        "indices": [
          926,
          949
        ],
        "url": "https://t.co/OCkyxXQMCq"
      }
    ],
    "user_mentions": []
  },
  "quoted_tweet": null,
  "retweeted_tweet": null,
  "isLimitedReply": false,
  "article": null
}