inflearn logo
inflearn logo

Building Claude Code with TypeScript from Scratch

"Why did the AI write this code?" or "Why can't it remember what I just said?" The frustration you encounter when using AI tools like Claude Code stems from not knowing how the tool actually works. This course flings open that black box. Over 25 lessons, we will build our own Coding Agent from scratch that functions exactly like real-world professional tools—giving the LLM 'eyes' to see files (Read), 'hands' to fix code (Edit), and 'feet' to execute commands (Bash). This isn't just about learning how to use a library. You will gain hands-on experience by implementing code to understand how AI perceives project structures, why it loses its memory during long conversations, and how to solve those issues technically (Sliding Window, Summary). Through this process, you will evolve from being a mere 'user' of AI tools to an 'AI provider' who understands the underlying principles and can customize and evaluate tools to fit your specific needs.

12 learners are taking this course

Level Basic

Course period Unlimited

React
React
TypeScript
TypeScript
vercel
vercel
claude
claude
Vibe Coding
Vibe Coding
React
React
TypeScript
TypeScript
vercel
vercel
claude
claude
Vibe Coding
Vibe Coding

What you will gain after the course

  • You will be able to understand how Claude Code operates and utilize its tools more effectively.

  • You will grow not merely as a consumer who uses AI tools, but as an AI engineer who directly designs and supplies AI agents.

  • We will completely dissect the operating principles of AI agents by implementing Claude Code's five core tools, agent loop, and memory management—which were previously a black box—from scratch.

  • Go beyond theory and into practice by building a production-level CLI Coding Agent and evolving into an AI Engineer.

What you will learn

Here's what you can learn!

How AI Agents Work

Implementing 5 Tools with TypeScript

Memory and Context Optimization

We will delve into the core mechanisms of Cursor and Claude Code, such as Agent Loops and Tool Routing.

Implementation: Directly create 5 tools, including ReadFile, EditFile, and Bash.

Remember with Sessions and reduce tokens by 80% with Compression.


You can create results like this

You can build your own Claude Code using TypeScript and the Vercel AI SDK.

You can understand the principles of how agents work and improve your vibe coding skills.


Why should you build it yourself?

Many developers use AI, but few actually build it.
By implementing Claude Code yourself, you will understand the underlying principles and transform how you utilize it.

If you are a React or TypeScript developer, now is the time to become an AI provider, not just a consumer.

Recommended for
these people

Who is this course right for?

  • Developers who are curious about what Claude Code is but feel overwhelmed about where to start.

  • A developer who wants to understand the principles from the ground up rather than just following others in using AI tools.

  • Those who know how to use TypeScript but are unable to take the first step because they lack experience in AI integration.

  • Those who want to build their own AI coding agent but feel frustrated by the lack of resources.

Need to know before starting?

  • TypeScript Basic Syntax (Required)

  • Basic Git usage (optional/nice to have)

Hello
This is Hiro Son

117

Learners

9

Reviews

4.9

Rating

2

Courses

Hello, I'm Hiro, helping you transition to AI.

The journey from a working engineer to an AI engineer is not difficult.

I also started as a backend/frontend developer and transitioned into the field of AI.

This course is for:

  • Engineers with development experience who are new to AI

  • Those who want to learn through a practical approach without math or statistics

  • Those who want to apply AI to real-world projects

What we will learn together:

✓ AI Literacy
✓ AI Agent Development

More

Co-instructor

Curriculum

All

16 lectures ∙ (2hr 23min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

Similar courses

Explore other courses in the same field!

Limited time deal ends in 8 days

$17.60

48%

$34.10