Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hey Teach

Proto-framework to learn about harnesses and other AI meta for programmers.

Minimal TypeScript/Node turn-based coding harness. Lessons are plugins; the harness teaches how agent loops work under free NVIDIA NIM constraints.

Read first: docs/ARCHITECTURE.md · docs/TURN_LOOP.md · docs/TOOLS.md · docs/SESSIONS.md · docs/VERIFY.md

Requirements

  • Node.js 20+
  • Optional: NVIDIA_API_KEY for real NIM calls

Install & run (mock — default)

npm install
npm run start

Opens a Claude Code–shaped REPL in the current working directory (workspace root). Uses MockClient so no API key is required.

npm run typecheck

NIM mode

cp .env.example .env
# set NVIDIA_API_KEY and optionally NIM_MODEL

npm run start -- --model nim

Hits https://integrate.api.nvidia.com/v1 via the OpenAI SDK. Tool-calling quality depends on the model; see docs/NIM_CONSTRAINTS.md.

Sessions

Conversation threads persist under .hey-teach/sessions/ (gitignored). Default: resume the most recent session. --new starts fresh; --session <id> resumes a specific one. See SESSIONS.md.

Slash commands

Command Action
/lesson [id] List lessons, or activate one (writes missing starter files)
/tools List tools
/sessions List saved sessions
/new Start a fresh session
/doctor Probe NIM endpoint + model (auth vs chat hang)
/clear Clear conversation history (same session id)
/help Show help
/quit Exit

What this teaches

Not in this prototype

Graders, IDE UI, persistence, multi-agent, rich TUI, production hardening.

About

Proto-framework to learn about harnesses and other AI meta for programmers.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages