The AI That Teaches You AI - A Voice-Guided, Interactive Training Platform Where Claude Code Teaches You How to Master Claude Code
This isn't just documentation. This is an AI tutor that:
- Speaks to you via natural voice synthesis (Elisabeth guides, Finn celebrates)
- Controls a real terminal to demonstrate commands live
- Watches you practice and provides instant feedback
- Adapts to your level from beginner to advanced
- Uses your own Claude Code subscription - no separate API costs
┌─────────────────────────────────────────────────────────────────┐
│ "Hello Colin, let me show you how to use print mode..." │
│ 🔊 Elisabeth speaking │
├─────────────────────────────────────────────────────────────────┤
│ $ claude -p "What is TypeScript?" │
│ TypeScript is a strongly typed programming language that... │
│ ▌ [Live Terminal] │
├─────────────────────────────────────────────────────────────────┤
│ ✅ Step 3/10 Complete │ [Get Hint] │ [Skip] │ [Repeat] │
└─────────────────────────────────────────────────────────────────┘
- Claude Code has 50+ CLI options and powerful features
- Documentation is scattered across READMEs, help output, and forums
- Learning by reading is slow; learning by doing is fast
- No interactive way to practice with immediate feedback
An embedded training platform where:
- Claude Code (the AI) acts as your personal tutor
- Real terminal shows actual command execution
- Voice guidance explains concepts naturally
- Progressive lessons take you from zero to expert
- Your own subscription powers the training (no extra cost)
┌─────────────────────────────────────────────────────────────────────────┐
│ FRONTEND (React + Vite) │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ Tutorial UI │ │ Voice Player │ │ Progress │ │
│ │ (Lessons) │ │ (Subtitles) │ │ Tracker │ │
│ └──────┬───────┘ └──────┬───────┘ └──────┬───────┘ │
│ │ │ │ │
│ ┌──────▼─────────────────▼─────────────────▼───────┐ │
│ │ xterm.js Live Terminal │ │
│ └──────────────────────┬───────────────────────────┘ │
└─────────────────────────┼───────────────────────────────────────────────┘
│ WebSocket
┌─────────────────────────┼───────────────────────────────────────────────┐
│ │ NODE.JS BACKEND │
│ ┌──────────────┐ ┌────▼─────────┐ ┌──────────────┐ │
│ │ Tutorial │ │ Terminal │ │ Voice │ │
│ │ Engine │──│ Manager │──│ Manager │ │
│ │ (Orchestr.) │ │ (node-pty) │ │ (edge-tts) │ │
│ └──────┬───────┘ └──────┬───────┘ └──────────────┘ │
│ │ │ │
│ ┌──────▼─────────────────▼─────────────────────────┐ │
│ │ Session Manager (Auth + Credentials) │ │
│ └──────────────────────┬───────────────────────────┘ │
└─────────────────────────┼───────────────────────────────────────────────┘
│
▼
┌───────────────────────┐
│ Claude Code CLI │
│ (Your Subscription) │
└───────────────────────┘
| Module | Duration | Topics |
|---|---|---|
| Getting Started | 15 min | Installation, version check, first query |
| Session Management | 20 min | Starting sessions, resuming, context |
| CLAUDE.md Basics | 25 min | Project config, hierarchy, best practices |
| Module | Duration | Topics |
|---|---|---|
| Hooks System | 30 min | PreToolUse, PostToolUse, Stop hooks |
| Custom Subagents | 35 min | Task spawning, explore/plan agents |
| MCP Integration | 30 min | Using MCP tools, server connections |
| Module | Duration | Topics |
|---|---|---|
| MCP Server Development | 45 min | Build your own MCP server |
| Multi-Agent Pipelines | 40 min | Orchestrating agent workflows |
| CI/CD Integration | 30 min | GitHub Actions, automation |
| Self-Healing Systems | 45 min | Autonomous development ecosystems |
| Module | Duration | Topics |
|---|---|---|
| BACON-AI Framework | 60 min | 12-phase methodology |
| Testing Pyramid | 45 min | TUT, FUT, SIT, UAT, RGT |
| OpenAI Agents SDK | 40 min | Cross-platform agent development |
| Gemini Live Voice | 35 min | Real-time voice AI integration |
| Computer Use Tools | 50 min | Browser automation, screenshots |
British AI instructor - Clear, patient, professional
- Role: Explains concepts, guides through lessons
- Voice:
en-GB-SoniaNeural - Style: "Hello Colin, let me show you how this works..."
Norwegian AI assistant - Enthusiastic, encouraging
- Role: Celebrates successes, confirms completions
- Voice:
nb-NO-FinnNeural - Style: "Hei! Fantastisk! You've mastered that perfectly!"
Use your existing Claude Code Pro subscription - no extra API costs!
# Your existing login is automatically used
claude --version # If this works, you're ready!For users without subscription or for programmatic access:
export ANTHROPIC_API_KEY=sk-ant-...Try the platform without any credentials (simulated terminal):
[Demo Mode] - Full tutorial content, pre-recorded responses
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | React + Vite | Fast, modern UI |
| Terminal | xterm.js | Real terminal emulation |
| Backend | Node.js + Express | Server & WebSocket |
| PTY | node-pty | Pseudo-terminal management |
| Voice | edge-tts | Microsoft TTS (FREE!) |
| Audio | Howler.js | Cross-browser audio playback |
| Styling | Tailwind CSS | Utility-first CSS |
| Real-time | Socket.io | WebSocket communication |
- Node.js 18+ (LTS recommended)
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Claude Code subscription OR Anthropic API key
# Clone the repository
git clone https://github.com/thebacons/claude-code-tutor.git
cd claude-code-tutor
# Install dependencies
npm install
# Start development servers
npm run dev# Start the tutor (opens in browser)
npm start
# Or run specific components
npm run dev:frontend # Just the React app
npm run dev:backend # Just the Node.js serverclaude-code-tutor/
├── app/ # Frontend React application
│ ├── src/
│ │ ├── components/
│ │ │ ├── Tutorial/ # Lesson UI components
│ │ │ ├── Terminal/ # xterm.js integration
│ │ │ ├── Voice/ # Audio controls, subtitles
│ │ │ └── Auth/ # Login, session management
│ │ ├── hooks/ # React hooks
│ │ ├── services/ # API & WebSocket clients
│ │ └── App.tsx # Main application
│ └── package.json
│
├── server/ # Backend Node.js server
│ ├── src/
│ │ ├── managers/
│ │ │ ├── TerminalManager.ts # node-pty processes
│ │ │ ├── VoiceManager.ts # edge-tts synthesis
│ │ │ ├── SessionManager.ts # Auth & credentials
│ │ │ └── TutorialEngine.ts # Lesson orchestration
│ │ ├── tutorials/
│ │ │ └── lessons/ # YAML lesson definitions
│ │ └── index.ts # Server entry point
│ └── package.json
│
├── shared/ # Shared types & utilities
├── docs/ # Extended documentation
└── package.json # Workspace root
- React frontend with tutorial UI
- CLI command reference database
- Simulated terminal for basics
- 10 training modules
- Node.js backend with node-pty
- WebSocket terminal streaming
- Live Claude Code execution
- Session management
- edge-tts MCP integration
- Voice narration for lessons
- Subtitles display
- Mute/volume controls
- All 15+ lessons implemented
- Progress persistence
- Adaptive difficulty
- Practice exercises
- Docker deployment
- Multi-user support
- Analytics dashboard
- Mobile responsive
- BACON-AI Framework training
- Cross-vendor AI integration
- Custom lesson creation
- Collaborative learning
We welcome contributions! See CONTRIBUTING.md for guidelines.
# Fork and clone
git clone https://github.com/YOUR_USERNAME/claude-code-tutor.git
# Create feature branch
git checkout -b feature/amazing-feature
# Make changes and test
npm test
# Submit PR
git push origin feature/amazing-featureThe AI Agent market is exploding:
- $5.4B → $52B projected growth by 2030 (68% CAGR)
- Claude Code is the most capable AI coding assistant
- Training gap: Most users only scratch the surface of capabilities
- Enterprise demand: Companies need structured AI upskilling
This project follows the BACON-AI 12-Phase Methodology:
- Behavioral Alignment - Voice protocols, personality consistency
- Analysis - Deep research before implementation
- Context Engineering - Progressive validation gates
- Orchestration - Multi-agent coordination
- Novelty Integration - Continuous learning and improvement
Learn more: BACON-AI Framework
- Email: hello@bacon-ai.cloud
- GitHub: @thebacons
- Project: claude-code-tutor
MIT License - See LICENSE for details.
Built with 🥓 by BACON-AI
"The AI That Teaches You AI"