llm

Articles about large language models: how they work and how to use them from Python.

AI-Assisted Coding: Cursor, Claude Code, Copilot Workflow

Since late 2025, some companies hand you an AI assistant in the interview and grade how you drive it. That is how mainstream AI assisted coding has become: the typing is cheap now, and the judgment is the job. This post shows the loop that keeps you safe, spec first, small diffs, verify everything, by extending a real project and catching a planted bug. “Debugging is twice as hard as writing the code in the first place. So if you ... Read More

Python AI for Beginners: Call an LLM in 25 Lines

Python AI for beginners does not have to mean months of maths before you get to touch anything fun. You can call a real large language model, the same kind that powers the chat assistants you already use, in about 25 lines of Python. This post gets you from zero to a working AI script: get a key, install one library, send a prompt, and read the reply. Then we build a tiny study helper that explains any Python error ... Read More

AI Project in Python: Building a Complete AI Application

246 posts ago you typed your first print(). This AI capstone project is where all of it pays off: one production-grade Document Assistant that reads your files, answers questions with cited sources, and ships behind a real API. Python fundamentals, RAG, guardrails, evals, Docker, all wired into a single running system you can put on your resume. We are building an AI-Powered Document Assistant. Picture a smart librarian who has read every document you own. You hand it your files, ... Read More