“I was able to understand the core principles behind how agents work by implementing them myself.”핵심 원리 이해
Hands-On AI Agent Fundamentals and Extension Development with a Silicon Valley Developer
You know about AI agent frameworks, but understanding how they work and applying them in practice can be difficult, right? Drawing on firsthand experience from Silicon Valley, we’ll guide you from the core principles to practical applications.
268 learners
Level Beginner
Course period Unlimited
Reviews from Early Learners
5.0
5.0
이중권
I was curious about the internal workings of AI but felt lost on how to start, and this lecture has quenched that thirst for knowledge. Thank you for always creating such great lectures.
5.0
02년생 개발자
I found the lecture very informative and helpful. I had only used coding agents superficially before, but through this lecture, I gained a clear understanding of how they work internally. To be honest, I think I’ve gained some confidence that I could try building one myself haha - Of course, there will be many challenges...!! So, the lecture was very beneficial, and I don't think there's a better course for grasping the overall theme and direction. Thank you!
5.0
이건머지
It is being a great help in building my fundamentals, from coding from scratch to handling things using libraries.
What you will gain after the course
Directly implement the core loop structure of an AI agent and understand its principles
Building and Optimizing a Local AI Work Agent Using Ollama
Designing a Practical Tool Calling and Function Execution Architecture
Practical Agent Development with File, Web, and Memory Integration
Understanding the Internal Principles of the Vercel AI SDK and Developing Extensions
AI agents that use tools,
built by hand
This TypeScript course is taught by a working developer in Silicon Valley. You’ll first build an AI agent loop by hand, then rebuild it with the Vercel AI SDK. You’ll implement the agent loop once without a framework so you can see how it works, then complete it again using the Vercel AI SDK. It’s a real agent that runs on your laptop without the cloud or paid APIs. In the final bonus section, you’ll swap out only the agent’s model for Kimi K3 and see what becomes possible beyond the limits of local models.
See it for yourself instead of hearing a hundred explanations.
An AI agent is a program that understands a user’s request, chooses tools on its own, performs tasks in multiple steps, and then checks the results. First, see how the finished product actually works. With a single command, the agent selects and uses tools, then decides for itself what to do next. The written flow below breaks it down step by step afterward.
Full-fledged local work agent demo · Since it’s a local model, the wording may vary slightly with each run.
When you expand the conversation to include the tool calls
Once you turn it on, it reads and writes files, performs calculations, fetches content from the web, and remembers the user. Before carrying out risky tasks, it asks a person for confirmation. Below is the actual conversation flow of the local work agent completed at the end of the lecture.
Tool use, multi-step decision-making, memory, and human verification. It all runs on directly written code.
It doesn’t stop at “knowing how to use it”
There’s nothing special about it. The order is simply different—we first implement the principles by hand, then build the framework on top. Usually, people do it the other way around.
You know how to use a framework. But you don’t know what’s happening under the hood.
Because you’ve coded the loop yourself, you understand what the framework is doing under the hood. Even when you encounter a new tool, you adapt quickly.
Once by Hand, Then with the SDK
After implementing the function-calling loop directly in raw code to see how it works, you’ll rebuild the same thing with the Vercel AI SDK. You’ll learn what the framework is doing under the hood.
100% Local, 100% Free
Run models on your own computer with Ollama. No API key, payment, or GPU required. Experiment as much as you like at zero cost.
We also cover robustness
We don't stop at a demo. We build agents that truly hold up in practice—from error recovery, input validation, and infinite-loop prevention to requiring human confirmation for risky operations.
How far can we go by plugging K3 into the same agent?
In the agent we built through Section 7, we simply swap the model for Kimi K3. We leave the code almost entirely unchanged. We directly compare how far the capabilities expand beyond what a small local model could do—and what remains the same. This section was created together with Moonshot AI.
MOONSHOT AI · Collaboration Section
Moonshot AI’s latest flagship model. Start by typing this name into a single line of code.
OFFICIAL K3 MODEL SPEC
BrowseComp 90.4 is Kimi’s officially published evaluation score. It was measured with a 1M-token context and the max inference intensity setting, without context compression.
Kimi K3 공식 성능 근거 보기 →Kimi CLI is this kind of tool.
Whole, without cutting it up
The context window is 1,048,576 tokens. You can insert a 3,600-line code file as-is without splitting it and ask, "Where is this value determined?"
The error screen as-is
It doesn’t require OCR. If you capture a broken screen and send it as-is, the model reads it and pinpoints the bug. It can be built into a tool and plugged into the agent loop as well.
Sub-agents in parallel
The orchestrator breaks the work down, distributes it to sub-agents, and gathers the results back together. Up to 300 can run simultaneously (Beta, available to members).
This is a scene where an image was inserted as-is to have it find bugs. We try it ourselves in Section 8.
It’s a 2.8-trillion-parameter MoE model. We’ll start by reading the official blog together and distinguishing what has been measured in practice from what is merely marketing.
If you’ve made it this far, now it’s time to start with Step 1.
You can get started right away just by installing Ollama. The cost is 0 won.
Someone who knows how to build agents, not just someone who has “used” them
Experience integrating a chatbot API is no longer a differentiator. What job postings are actually asking is whether you can design and control agents that use tools.
The number of JobKorea job postings was obtained through a direct search in August 2026 and may vary depending on the date. The remaining figures are cited from publicly available job market surveys and market outlook reports.
Not “I’ve used AI,” but “I’ve built it.”
Many people have called an API. Far fewer have personally coded the loop in which an agent chooses a tool and determines its next action on its own. By the end of the course, you can write the following on your resume and portfolio.
When asked in an interview, “Isn’t that something the SDK does?”, only those who have looked inside can answer.
This is for people like these, and this is all you need to prepare.
◆Recommended for those who...
- Those who want to properly build an AI agent for the first time
- Those who have found it frustrating to use frameworks as black boxes
- Those who want to be able to use it and understand how it works
- Those who want to experiment freely locally without worrying about costs
◆Prerequisites
- TypeScript / JavaScript Basic Syntax
- Experience using Node.js and npm
- macOS environment (using zsh)
- Install Ollama — CPU is enough without a GPU
A developer who likes building things from first principles
Silicon Valley Developer Waddy
I’m Waddy, a backend server developer with 13 years of experience. After working at various companies in Korea, I recently moved to Silicon Valley, where I’m now developing AI-related applications.
I connected with a developer friend at Toss and ended up joining like this, and I’m very interested in being able to provide a wide range of information online. I’ll do my best to share the knowledge I have in the easiest and most accessible way possible.
"Anyone can use a framework. But once you build one yourself, even just once, you see tools in a completely different way. That perspective is what ultimately makes the difference in skill."
Things you may be wondering about first
Can a complete beginner who has just started coding follow along?
Do I need a GPU or a paid API?
What is Kimi K3, which is covered in the bonus section?
Don't you use frameworks like LangChain?
Is it possible to do this on Windows as well?
What will I have gained by the end of the course?
Is there a reason to take this course even if I've already used the Vercel AI SDK?
Students who implemented it themselves rated it as follows:
“After implementing the agent loop and then rebuilding it with the SDK, I was able to see what was inside for the first time.”구조를 이해하는 실습
“You made the core concepts easy to understand, which made the course even more valuable.”쉬운 설명
“I thought it would be difficult at first, but you explained it in an easy-to-understand way, so I was able to take the course comfortably.”진입 장벽 완화
“I was able to understand the core principles of how agents work by implementing them myself.”핵심 원리 이해
“Because we first implement the agent loop and then build it back up with the SDK, I was able to see what was inside for the first time.”구조를 이해하는 실습
“You made the core concepts easy to understand, which made the course even more valuable.”쉬운 설명
“I initially thought it would be difficult, but you explained it in an easy-to-understand way, so I was able to take the course comfortably.”진입 장벽 완화
So, would Hong really be helpful?
AI Agents—Now Build One Yourself
Open the black box and complete an agent that works with your own hands.
TypeScript · Ollama Local
So it doesn’t end with listening alone
Learning continues beyond the course. We run a KakaoTalk open chat where developers gather to freely share career concerns, workplace situations, and technical discussions. If you get stuck while taking the course, feel free to ask questions.
A KakaoTalk open chat where developers gather
From career discussions and real-world work situations to technical challenges, this is a space where you can casually ask questions and find answers together.
open.kakao.com/o/ggBVZsai
Recommended for
these people
Who is this course right for?
Developers seeking the core principles of AI agent development and their practical application
Developers with experience using LangChain/SDKs who want to understand the underlying principles.
Developers looking to build practical workflow automation AI beyond a simple chatbot
Developers who want to experiment with agents in a local AI environment without relying on paid APIs
Developers looking to strengthen their competitive backend development skills in the AI era
Hello
This is Hong
Inflearn Verified
Career Verified
9,697
Learners
608
Reviews
167
Answers
4.8
Rating
31
Courses
I started studying development after becoming interested in it while idling at home, and I am currently responsible for platform server development in Pangyo. I am continuing my activities as a knowledge sharer because I want to provide you with the methods I used to study, as well as the various problems and solutions you may encounter in practice.
These lectures are not created solely through my own knowledge. There are others who collaborate on every lecture.
Choi, who is working as a server developer and interviewer at Kakao
A server developer currently working at Toss
Ande, who worked at Shinsegae Group and is now a developer at NaverAnde
Silicon Valley developer who joined by the recommendation of a Toss developer, Waddy
[Instructor Career]
[Former] Blockchain developer related to Sandbox IP
[Former] Metaverse Backend Developer
[Current] A server developer becoming a veteran in Pangyo
[Interview History]
[Other Inquiries]
[Official Site]
Curriculum
All
36 lectures ∙ (6hr 57min)
Course Materials:
Reviews
All
21 reviews
5.0
21 reviews
tongnamuu3255Reviews 13
∙
Average Rating 5.0
- davideugen
Reviews 31
∙
Average Rating 4.9
5
75% enrolledI had been using agent tools like Claude Code, Codex, and Hermes quite comfortably, but I had no idea how they actually worked internally. However, after taking this course, the recommended usage methods for each agent started to make sense in a new way. I began to see the reasoning behind prompting methods, why responses sometimes become "dumb," the concepts of context and memory, why token usage was occasionally so high, and the actual flow of the tools and the famous "Loop" that agents use. After completing the section where we build an agent by hand, the tools I use daily felt completely different. While the experience of building an Agent AI from scratch was great, what resonated with me most was gaining an understanding of the principles behind the agents I currently use as tools, which gave me a sense of how to utilize them even better. In particular, the content regarding robustness—such as memory design, error handling, and behavioral guidelines—was a huge help in understanding why agents sometimes behave strangely in practice. I watched the entire course at 2x speed first to get a quick overview of the flow and then followed up with hands-on practice, which turned out to be the most effective method for me. Thank you for creating such a great course.
- jhongInstructor
What you mentioned is indeed the goal of this course. Simply using Claude, using Codex, designing automation pipelines, harness engineering, and so on are all perspectives that are more about how to use these tools. However, they don’t cover what’s going on inside ㅠㅠ That’s why I wanted to share something on this topic with you all. Thank you for leaving such a thoughtful review!!
- koelkorea7927
Reviews 26
∙
Average Rating 5.0
5
28% enrolledSome people may feel that the title is a bit clickbaity, but true to that attention-grabbing title, this is a genuinely excellent course that doesn’t simply use a basic LLM agent and teach you how to use it. Instead, it kindly explains how agents actually work, as well as what it means to customize a local LLM model so that it operates in that way. Moreover, beyond commercial LLM agent tools like ClXX or CoXX, I think this could be a great first step for people who want to enter the more specialized world of advanced AI—where you choose your own model and poke, prod, taste, and enjoy every aspect of it. Of course, the content may seem laughable to AI engineers already well past the beginner stage and working actively in the field. However, considering that what comes naturally to one person may not be easy for another, I think this would be a good choice for people who need a catalyst but lack the confidence to get started.
treasureislandReviews 2
∙
Average Rating 5.0
5
42% enrolledBy implementing the Agent Loop and Tool Calling myself, I was able to get a feel for how AI agents work. But once I understood the principles behind agents, a new question arose. Now I’m also curious about what exactly is happening inside the LLM. It seems like a great course that sparks curiosity about the underlying principles beyond simply teaching how to use them.
hae1on917Reviews 11
∙
Average Rating 4.2
5
44% enrolledI was disappointed that many AI courses on the market simply list how to use libraries or frameworks. However, this course allowed me to fully understand how everything works under the hood by first implementing the agent loop and Tool Calling from the ground up in raw code, without a framework, and then refactoring it with the Vercel AI SDK. It was especially appealing that I could use Ollama to practice as much as I wanted in a local environment without worrying about costs. Rather than stopping at simple toy-level demos, the course also covered practical safeguards such as memory management, input validation, and human confirmation (Human-in-the-loop), which was extremely helpful for applying what I learned in real-world projects. The bonus section on integrating Moonshot AI (Kimi) was also packed with useful content, making this an outstanding course that was absolutely worth the time and money. Highly recommended!
Hong's other courses
Check out other courses by the instructor!
Similar courses
Explore other courses in the same field!





