Loading video...

Video Failed to Load

Go Home

Here’s how to build an AI agent from scratch in pure Python. No LangChain, no agent framework. We’ll add memory, tool calling, file access, shell commands, and the agent loop until we have a mini Claude Code. Timestamps: 00:00 | Overview 00:30 | What is an Agent? 02:52 |...

21,194 views • 28 days ago •via X (Twitter)

12 Comments

AbraTabia's profile picture
AbraTabia28 days ago

Building it raw is underrated for one reason people miss: you find out which parts of a framework you actually needed. Most teams that migrate later hit a ceiling on branching or state persistence, not features. Knowing the loop by hand makes that call obvious.

Tech With Tim's profile picture
Tech With Tim27 days ago

Agreed, building one raw makes it way clearer what the framework is actually doing for you

Laban's profile picture
Laban21 days ago

Pure Python agent loops are the right teaching path. The hard jump is production: tool permissions, spend caps, and a verification loop that can fail closed.

Drou's profile picture
Drou28 days ago

thanks gonna learn more

Tech With Tim's profile picture
Tech With Tim27 days ago

Glad it helped!

Tech With Tim's profile picture
Tech With Tim28 days ago

Download the free guide from HubSpot on Your 2026 Guide to AI Agents: Code in this video (available inside Skool):

djbasumatari's profile picture
djbasumatari27 days ago

The loop is easy. The shell access is easy. The part that doesn't ship is the policy that tells the agent when to say no.

Tech With Tim's profile picture
Tech With Tim27 days ago

Yeah, especially once tools have side effects

catman's profile picture
catman28 days ago

the 28:09 full build is useful, but shell access changes the safety model entirely—does it add command allowlists, confirmation prompts, or a sandbox? what happens when the agent misreads a destructive command?

Vijay's profile picture
Vijay27 days ago

👏

安叫兽|Bird🕊️ 🔶 BNB's profile picture
安叫兽|Bird🕊️ 🔶 BNB28 days ago

从零手搓一遍,才知道 agent 到底在忙些什么 geschniegelt

John Nash's profile picture
John Nash27 days ago

You have a sister ?

Related Videos