Build an Agentic AI System in Python with the Claude Agent SDK

Claude Agent SDK Python tutorial - building autonomous AI agents

What Is the Claude Agent SDK? Last year we built an AI agent from scratch using raw API calls and a while loop. That’s still the right approach if you want to understand how agents work. But if you want to ship one? There’s a faster path now. The Claude Agent SDK is Anthropic’s official … Read more

How to Trade Prediction Markets on Polymarket Using NOAA Weather Data

NOAA surface weather map for Polymarket weather prediction trading

Polymarket lets you trade on the outcome of real-world events. Weather markets are a good fit for data-driven trading: NOAA publishes free historical and forecast data, and many weather contracts resolve on official sources. If you can estimate the probability of an event better than the crowd, you can place informed bets. This tutorial shows … Read more

How We Built YouTube2Text: Extracting YouTube Transcripts with Python and Cloudflare Workers

YouTube has captions on most videos, but getting them out as clean text is surprisingly painful. There is no official “download transcript” API for casual use, third-party tools are ad-ridden, and most Python libraries that once worked have been broken by YouTube’s constant anti-scraping changes. So we built YouTube2Text — a free tool where you … Read more

Build a GPT From Scratch in PyTorch: A Beginner-Friendly Guide

Transformer architecture diagram with PyTorch code

Ever wondered how models like ChatGPT actually work under the hood? In this tutorial, we’ll build a tiny GPT model from scratch using PyTorch — no PhD required. We’ll lean on Andrej Karpathy’s brilliant nanoGPT repo as our guide and strip the architecture down to its essentials. By the end, you’ll understand the core building … Read more