AI Engineering from Scratch - FAQ

Everything you need to know about the world's most comprehensive AI engineering curriculum. Get answers to your questions about learning path, projects, tools, and more.

General Questions

What is AI Engineering from Scratch? ▼

AI Engineering from Scratch is a comprehensive, open-source curriculum designed to teach you how to build AI systems from the ground up. It covers everything from math foundations to advanced topics like multi-agent systems, with 503 lessons across 20 phases. Each lesson includes hands-on code implementation and produces reusable artifacts like prompts, skills, agents, and MCP servers.

Who is this curriculum for? ▼

The curriculum is designed for multiple levels:

• Beginners: New to programming and AI should start at Phase 0 (Setup & Tooling)

• Python developers: New to ML should start at Phase 1 (Math Foundations)

• ML practitioners: New to deep learning should start at Phase 3 (Deep Learning Core)

• Deep learning experts: Wanting to learn LLMs and agents should start at Phase 10 (LLMs from Scratch)

• Senior engineers: Focusing on agent engineering should start at Phase 14 (Agent Engineering)

How long does it take to complete the curriculum? ▼

Total estimated time: ~320 hours

• Phase 0-3: ~80 hours (Foundations)

• Phase 4-9: ~100 hours (Specialized domains)

• Phase 10-12: ~80 hours (LLMs & Multimodal)

• Phase 13-19: ~60 hours (Engineering & Production)

The actual time depends on your background and pace. Many students complete phases selectively based on their existing knowledge.

Curriculum & Learning Path

How is the curriculum structured? ▼

The curriculum is organized into 20 progressive phases:

1. Phase 0: Setup & Tooling (12 lessons)

2. Phase 1: Math Foundations (22 lessons)

3. Phase 2: ML Fundamentals (18 lessons)

4. Phase 3: Deep Learning Core (13 lessons)

5. Phases 4-9: Specialized domains (Vision, NLP, Speech, etc.)

6. Phase 10: LLMs from Scratch (22 lessons)

7. Phase 11: LLM Engineering (15 lessons)

8. Phase 12: Multimodal AI (25 lessons)

9. Phase 13: Tools & Protocols (23 lessons)

10. Phase 14: Agent Engineering (42 lessons)

11. Phase 15-18: Advanced topics (Autonomous Systems, Infrastructure, Ethics)

12. Phase 19: Capstone Projects (17 projects)

Can I skip phases if I already know the material? ▼

Absolutely! The curriculum is designed to be modular. You can:

• Use the /find-your-level skill in compatible AI tools (Claude, Cursor, etc.)

• Take the 10-question placement quiz that maps your knowledge to a starting phase

• Browse the curriculum on the website to identify your knowledge gaps

• Review phase prerequisites before jumping ahead

Just be aware that advanced topics build on foundations - if you skip ahead and struggle, come back to fill the gaps.

What programming languages are used? ▼

The curriculum uses multiple programming languages:

• Python: Primary language for most lessons (math, ML, deep learning, agents)

• TypeScript: Used for multi-agent systems and web-related tools

• Rust: For performance-critical components and tokenizers

• Julia: For mathematical computing and specialized algorithms

You don't need to know all languages - each lesson specifies which language is used and provides implementations.

Learning Experience & Tools

What makes this curriculum different from other AI courses? ▼

Key differentiators:

• End-to-end implementation: Build algorithms from raw math before using frameworks

• Reusable artifacts: Every lesson produces real tools (prompts, skills, agents, MCP servers)

• Production focus: Goes beyond theory to cover infrastructure, ethics, and deployment

• Comprehensive coverage: From linear algebra to autonomous swarms

• Open-source: Free and MIT licensed with active community

• Multi-language approach: Learn the right tool for each job

• Agent integration: Built-in skills for AI coding assistants

How do the AI agent skills work? ▼

Each lesson produces SKILL.md files that integrate with AI coding assistants:

• Installation: Use npx skills add rohitg00/ai-engineering-from-scratch

• Compatibility: Works with Claude, Cursor, Codex, OpenClaw, Hermes

• Usage: Skills appear as commands in your AI assistant (e.g., /find-your-level)

• Benefits: Context-aware assistance for specific lessons and tasks

• Installation script: python3 scripts/install_skills.py for advanced options

Do I need special hardware to run the code? ▼

Requirements vary by phase:

• Phases 0-3: Standard laptop (CPU sufficient)

• Phases 4-12: GPU recommended for deep learning

• Phases 13-19: Production infrastructure (cloud options provided)

• Cloud options: GPU setup guides included (AWS, GCP, Azure)

• Local setup: Docker containers for reproducible environments

• Alternatives: Colab notebooks for cloud-based GPU access

Projects & Artifacts

What kind of projects will I build? ▼

Projects range from foundational to advanced:

• Math: Vector operations, matrix transformations, optimization algorithms

• ML: Linear regression, decision trees, neural networks from scratch

• Deep learning: CNNs, RNNs, transformers, attention mechanisms

• Specialized: Computer vision pipelines, NLP systems, audio models

• LLMs: Tokenizers, training loops, fine-tuning pipelines

• Agents: Autonomous workers, multi-agent systems, computer-use agents

• Production: Deployable systems, observability stacks, safety mechanisms

What artifacts do I get from each lesson? ▼

Every lesson produces reusable artifacts:

• Prompts: Task-specific templates for AI assistants

• Skills: SKILL.md files for AI coding assistants

• Agents: Autonomous worker implementations

• MCP servers: Tool integrations for MCP-compatible clients

• Code: Runnable implementations in multiple languages

• Documentation: Detailed explanations and use cases

By the end, you'll have a portfolio of 503+ artifacts you can actually use.

What are the capstone projects? ▼

Phase 19 includes 17 end-to-end capstone projects:

• Terminal-native coding agent

• RAG over codebase system

• Real-time voice assistant

• Multimodal document QA

• Autonomous research agent

• DevOps troubleshooting agent

• End-to-end fine-tuning pipeline

• Production RAG chatbot

• Code migration agent

• Multi-agent software engineering team

• LLM observability dashboard

• Video understanding pipeline

• MCP server with registry

• Speculative-decoding inference server

• Constitutional safety harness

• GitHub issue-to-PR agent

• Personal AI tutor

Each combines multiple phases and typically takes 20-40 hours to complete.

Community & Support

How can I get help if I'm stuck? ▼

Multiple support options:

• GitHub Issues: Report bugs or ask questions on the repository

• Discussions: Community forum on GitHub for general questions

• AI Integration: Use the built-in skills in your coding assistant

• Website Resources: Detailed documentation and lesson explanations

• Community Projects: Fork and modify for your use cases

• Social Media: Follow for updates and community spotlights

Can I contribute to the curriculum? ▼

Yes! We welcome contributions:

• Lessons: Submit new lessons or improvements to existing ones

• Documentation: Fix typos, clarify explanations

• Code: Improve implementations or add new languages

• Translations: Help translate content to other languages

• Design: Contribute to UI/UX improvements

See CONTRIBUTING.md for guidelines and templates.

Is there a community of learners? ▼

Yes! Join our growing community:

• GitHub Stars: 36,386+ stars and counting

• Discussions: Active forum on GitHub

• Twitter: Follow for updates and community spotlights

• Discord/Slack: Join channels for real-time discussion (links on website)

• Local Meetups: Organize or join in-person events

• Study Groups: Form learning groups with other participants

Technical & Licensing

What is the license for this curriculum? ▼

The entire curriculum is licensed under the MIT License. This means:

• You can use it for free, even commercially

• You can modify and distribute it

• You can incorporate it into your own projects

• Attribution is appreciated but not required

See the full license in the LICENSE file.

Are there any prerequisites for the curriculum? ▼

Minimal prerequisites:

• Basic programming knowledge (any language helps, Python is used extensively)

• Desire to understand how AI works, not just call APIs

• Computer with internet access

• For advanced phases: familiarity with machine learning concepts

Math fundamentals are taught from the ground up, but some high school math helps.

How is the curriculum maintained and updated? ▼

Maintenance approach:

• Active development: Regular updates with new lessons and technologies

• Community contributions: Pull requests from contributors worldwide

• GitHub Actions: Automated testing and validation

• Release cycles: Major updates quarterly, minor updates weekly

• Research integration: Incorporating latest papers and techniques

• Issue tracking: Addressing bugs and improvement requests

Ready to Start Your AI Engineering Journey?

Join thousands of engineers building the future with hands-on AI expertise.