MCPcopy Create free account
hub / github.com/ai-hero-dev/ai-hero

github.com/ai-hero-dev/ai-hero @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
538 symbols 1,671 edges 380 files ⚖ CC 0 documented · 0% updated 19d ago★ 1,7812 open issues

Browse by type

Functions 358 Types & classes 180
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

AI Hero

From Zero to AI Hero

Welcome!

AI Hero is the course I'm building to take you from zero to fully-fledged AI engineer.

It's going to be the perfect course for anyone looking to transition from frontend, backend, or full-stack development to working with AI.

I'm open sourcing most of the code for the course, including:

  • Examples
  • Exercises
  • Libraries & SDKs (like Evalite, my evals framework)
  • Articles

Following repo notifications can be pretty painful, so get on my newsletter to stay up to date.

Examples

The bit I'm currently working on is the examples directory.

Each example is a self-contained, runnable code sample that demonstrates a concept or technique.

Anything marked with TODO is, well, you get it.

Quickstart

Let's get you running your first example.

1. Install node

You'll need Node.js installed to run the exercises and examples. LTS (Long Term Support) is recommended.

2. Install PNPM

Install pnpm using Corepack.

3. Install Dependencies

# Installs all dependencies
pnpm install

4. Add A .env File

Create a .env file in the root of the project with the following content:

# Your OpenAI API key
OPENAI_API_KEY=your-api-key

# OR your Anthropic API key
ANTHROPIC_API_KEY=your-api-key

I'll be adding a guide on running the examples with local models soon.

5. Run An Example

Runs the first example of examples/vercel-ai-sdk. Each example links to a corresponding article on AI Hero.

pnpm run example v 01

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 314
Interface 168
Method 44
Class 12

Languages

TypeScript100%

Modules by API surface

courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/system-context.ts13 symbols
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/system-context.ts13 symbols
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/system-context.ts11 symbols
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/system-context.ts11 symbols
examples/model-context-protocol/07-my-mcp-on-http/crawl-site.ts10 symbols
examples/model-context-protocol/06-my-mcp/crawl-site.ts10 symbols
examples/model-context-protocol/04-logging-with-stdio-transport/crawl-site.ts10 symbols
examples/_TODO/agents/03-cms-agent-TODO/server/cms-client.ts9 symbols
courses/01-deepsearch-in-typescript/00-apps/07-migrated-to-v5/src/server/scraper.ts9 symbols
courses/01-deepsearch-in-typescript/00-apps/06-final-app/src/server/scraper.ts9 symbols
courses/01-deepsearch-in-typescript/00-apps/05.5-day-8-app-with-resumable-streams/src/server/scraper.ts9 symbols
courses/01-deepsearch-in-typescript/00-apps/05-day-8-app/src/server/scraper.ts9 symbols

For agents

$ claude mcp add ai-hero \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page