How to Build an AI Agent in Python from Scratch
Build a working AI agent in pure Python. Learn the agent loop, tool calling, reasoning, and memory without relying on a heavy framework.

Contributing author
Khalid Abdelaty writes hands-on data and AI tutorials, focused on practical walkthroughs you can reproduce end to end.
Build a working AI agent in pure Python. Learn the agent loop, tool calling, reasoning, and memory without relying on a heavy framework.
Learn how Grok Bot's Bots, shared cloud computer, skills, and routines fit together by building one agent that researches, verifies, and reports every Monday.
A Windows and WSL walkthrough of Cursor's early-beta Git host, from the first push to the features that still require GitHub.
Learn how to run a quarterly review in ChatGPT Work, from source files to a report, spreadsheet, and deck. Hands-on walkthrough with the checks before sign-off.