Context Hub

A Library Card for Your AI Coding Assistant

agent37.club

The Problem: Amnesia

Imagine hiring a brilliant programmer who:

  • Forgets everything at the end of each day
  • Makes up function names that sound right but don't exist
  • Never learns from past mistakes

This is every AI coding agent today

They hallucinate APIs, forget what worked, and repeat the same errors across sessions.

Think of It Like a Library

Without Context Hub, your AI is like a student writing a research paper from memory alone — no books, no references, just vibes.
With Context Hub, your AI gets a library card — it can look up the exact docs it needs, take notes in the margins, and find those notes next time.

What Context Hub Actually Does

Three simple things:

1. Search

Find the right documentation for any API or framework

2. Fetch

Grab curated, human-verified docs — not random web pages

3. Remember

Save notes so the agent learns from every session

# Find docs about Stripe
chub search "stripe payments"

# Grab the Python version
chub get stripe/api --lang py

# Save a note for next time
chub annotate stripe/api \
  "Use raw body for webhooks"

The Learning Loop

Context Hub gets smarter every time your agent uses it:

Agent gets a task
→
Searches Context Hub
→
Fetches curated docs
Writes code
→
Annotates gaps
→
Next session uses annotations

Key insight

Annotations persist locally. Your agent's notes from Monday are still there on Friday — no more "Groundhog Day."

Why Not Just Web Search?

Web Search Context Hub
Content quality Random blog posts, outdated answers Curated, versioned, peer-reviewed
Token cost Entire web pages with ads and noise Just the relevant section
Consistency Different results every time Same trusted source, versioned
Learning Starts from zero each session Annotations build over time
Feedback None Upvote/downvote improves docs

Community Powered

All documentation is open-source markdown on GitHub. Anyone can contribute:

  • API providers — ship docs agents can actually use
  • Framework authors — ensure correct usage patterns
  • Developers — fix gaps they discover while coding

When agents vote docs up or down, authors see the feedback and improve content for everyone.

By the numbers

11.2k

GitHub stars

986

Forks

Getting Started in 60 Seconds

Step 1: Install

npm install -g @aisuite/chub

Step 2: Tell your agent about it

Drop the SKILL.md file into your agent's skills directory:

mkdir -p ~/.claude/skills/get-api-docs
cp SKILL.md ~/.claude/skills/get-api-docs/

Step 3: There is no step 3

Your agent will automatically use chub when it needs API docs.

Requirements

Node.js 18+ and an agent that supports skills (Claude Code, etc.)

The Big Idea

"Agents should get smarter with every task — not start from scratch each time."

Context Hub is to coding agents what a wiki is to a team: a shared, evolving knowledge base that turns individual discoveries into collective intelligence.

Andrew Ng's vision

Built by the aisuite team (Andrew Ng), Context Hub sits in a larger ecosystem of tools making AI agents more reliable and production-ready.

Context Hub

Give your agent a library card

npm install -g @aisuite/chub

agent37.club