Skip to content
A

Agents From Scratch

Build AI agents from first principles using a local LLM

by pgusoFree

#1953in AI
0In stores

Description

AI Agents from Scratch is a free tutorial repository that teaches how AI agents work by building a single agent step by step on top of a loc…

Highlights

  • 12 lessons that grow one agent step by step
  • Runs on a local LLM with no frameworks or cloud APIs
  • Covers tools, agent loop, memory and planning
  • Lessons on evals and runtime telemetry
  • Companion JavaScript and AI product courses

Ratings & Reviews

No ratings yet

Be the first to rate Agents From Scratch.

People also visit

A

AI Agent Camp

Non-engineer-friendly AI agent training curriculum

AI
Launch
L

learn-agent-skills

Focused interactive tutor

AI Skills
Get
A

ai-agents-architect

Expert in designing and building autonomous AI agents

AI Skills
Get
C

course-guide

Topic router for the AI Engineering from Scratch curriculum

AI Skills
Get
A

AgentSwarms

Learn Agentic AI Hands-On (Free)

AI
Launch
A

Agent Systems Handbook

A practical AI agents handbook covering agent systems, agentic workflows

AI
Launch

Agents From Scratch FAQ

What will I learn from this repo?

How an AI agent is built from a single LLM call upward: system prompts, structured output, routing, tools, the agent loop, memory, planning, atomic actions, Atom of Thought, evals and telemetry.

Do I need an API key or cloud service?

No. The lessons use a local LLM and avoid cloud APIs and agent frameworks.

Who is it for?

Developers who can already write code and want to understand what happens inside an agent rather than relying on a framework.

Is there a version in another language?

The README links a related AI Agents from Scratch project in JavaScript and an AI Product from Scratch course.

What are the best Agents From Scratch alternatives?

Popular alternatives to Agents From Scratch include AI Agent Camp, AgentSwarms and Agent Systems Handbook. See all Agents From Scratch alternatives

Developer Stuff

Badges