How to Learn AI Agents from Scratch: 7 Steps and 14 Free Resources
A seven-step path from understanding language models to scheduling agent tasks, with 14 free resources and the hands-on requirements for each.
AI AGENTS · LEARNING PATH · 7 STEPS
What’s Inside
- Seven steps, from how language models work to tasks that run on a schedule.
- Fourteen free English-language resources, two for each step.
- Each resource includes its format, duration, and any practice requirements.
- Extra resources for Codex, n8n, and the Claude API.
All resources are free. Hands-on requirements are listed beside each link.
A model generates an answer one piece at a time. Its context window limits how much text it can see, so an agent can lose track of an earlier instruction.
1. Understand How Language Models Work
A model generates an answer one piece at a time. Its context window limits how much text it can see, so an agent can lose track of an earlier instruction.
Large Language Models explained briefly · 3Blue1Brown · Video · 7 min 58 sec. Learn how a model predicts the next part of a text. The video and transcript are freely available.
AI capabilities and limitations · Claude Academy · Course · 13 lessons · 3.5 hours. Learn about context, working memory, and the limits of a model’s knowledge. The course is free; sign in to save your progress.
2. Learn to Give AI Clear Tasks
Give the agent the source material, describe the result you need, and show one successful example. This makes it easier to understand which information to use and how to format the answer.
Prompting best practices · Anthropic · Article · about 20 min. Learn how to provide context and requirements. The article is open to read; no account is needed.
Prompt Engineering Interactive Tutorial · Anthropic · GitHub · Hands-on tutorial · 9 chapters. Start with prompt structure, clear instructions, and example answers. The notebooks and exercises are public. Running the API examples requires a Claude API key; they use Claude 3 Haiku.
3. Learn Claude Code or Codex
Give an agent a small task in a practice folder. Review its plan first, then inspect the changes it makes to files.
Claude Code 101 · Claude Academy · Course · 12 lessons · 1.5 hours. Learn setup, planning, and how to try a first task. The course is free. Using Claude Code requires an eligible paid plan or Claude API access. Basic terminal skills are useful.
Codex · OpenAI · ChatGPT Learn · Guides and practical examples. Open a project in Code mode. For a quick start, see learn.chatgpt.com/docs/quickstart.
4. Understand How an Agent Calls Tools
An agent sends a request to a tool, receives the result, and uses it to decide what to do next.
What are Tools? · Hugging Face · Course lesson. Learn what information a tool needs. The lesson is open to read without an account. Some hands-on course exercises require Python and a Hugging Face account.
Tool use with Claude · Anthropic · Documentation. Follow an example tool call for weather data and its result. The docs are open. Running examples through the Claude API requires an API key and API access.
5. Connect AI to External Services
MCP is an open standard for connecting services. With your permission, an agent can use an MCP server to read documents and tables.
What is the Model Context Protocol? · Model Context Protocol · Official introduction. Learn how an application differs from an MCP server. The documentation is open. To connect services yourself, you need a compatible client and server; connected services may require sign-in.
Introduction to Model Context Protocol · Claude Academy · Course · 10 lessons · 1 hour. Build an MCP server with Python. The course is free; basic Python skills are required. Later lessons that build a chat application require a Claude API key.
6. Schedule a Recurring Run
Set a task to run on a schedule or in response to an event. Start with a familiar task, such as a morning summary of changes in a project.
Automate tasks with the Codex app · OpenAI · Video · 4 min 35 sec. See how to set up a project-change summary. The interface shown reflects the app at the time of recording. Check your plan’s access and current documentation before running tasks.
Claude Code in Action · Claude Academy · Course · 9 lessons · 1 hour. Includes a lesson on scheduled tasks and headless mode. The course is free. You should already know Claude Code, Git, and the terminal. Practice requires access to Claude Code.
7. Decide When You Need an Agent
If the steps are known in advance, define them once. An agent is useful when the next step depends on the result.
Building effective agents · Anthropic · Article. Learn when to choose a workflow and when to use an agent. The article is open. Start with the section that explains the difference between workflows and agents.
AI Agents Course · Hugging Face · Course · 3–4 hours per week. Module 2 covers smolagents, LlamaIndex, and LangGraph. The course and certification are free; the recommended pace is one chapter per week. Python, basic LLM knowledge, and a Hugging Face account are useful for practice. Model-run limits depend on the service you choose.
Additional Resources
- Scheduled tasks in ChatGPT and Codex with your ChatGPT plan — After the video in Step 6, check where a task runs, whether the app or working folder must stay open, and what your plan includes.
- Codex access and usage limits — Check plan eligibility, usage limits, and Codex Cloud access before practicing.
- Schedule Trigger · n8n — An alternative for fixed workflows. The guide is open; practice requires access to n8n. To self-host n8n, use the one-click app image on our KVM VPS.
- Building with the Claude API · Claude Academy — Free course on prompts, tools, and agents. API examples require an API key.
Done When
- You understand how a model reads context and why an agent can lose earlier instructions.
- You have completed at least one Claude Code or Codex course, and an agent has completed its first task in a practice folder.
- One familiar task runs on a schedule.
- You know when a defined workflow is enough and when you need an agent.