GeekCoding101 make your way to geek

LLM Tutorials and Notes

16 posts on llm, newest first.

16posts
2024first post

This page collects every GeekCoding101 post tagged llm: hands-on tutorials on working with large language models, from Claude Code and MCP servers to AI agents you build yourself in Python. Newer posts are step-by-step builds and tests you can rerun on your own machine. Earlier posts are short explainers on foundation models, fine-tuning, quantization and model size.

Start here: pick a post by goal

If you want to…Read
Understand what an LLM is built onEmpower Your AI Journey: Foundation Models Explained
Learn how a pre-trained model gets specializedFine-Tuning Models: Unlocking the Extraordinary Potential of AI
See why small on-device models differ from GPT-4Parameters vs. Inference Speed: Why Is Your Phone’s AI Model ‘Slimmer’ Than GPT-4?
Make a model smaller and fasterQuantization: How to Unlock Incredible Efficiency on AI Models
Build your first agentWhat Is an AI Agent? How to Build One from Scratch in Python
Give an LLM tools through a standard protocolWhat Is an MCP Server? How to Build One in Python
Lock down an MCP serverMCP Authorization: Protect an MCP Server with OAuth 2.1
Stop Claude Code permission prompts safelyClaude —dangerously-skip-permissions: What It Does and When to Use It
See an agent framework tested end to endI Ran DeepSeek’s dsh-superagent End to End: A Hands-On Deep Dive
Compare Claude effort levels on cost and resultsClaude Fable 5.2 Effort Levels, Tested: 26 Runs vs Opus 5.5 and Fable 5.1
Serve models in productionRay Serve Guide: Autoscaling, FastAPI & Ollama
Use an LLM to write a practical scriptRemove Duplicate Photos with a Python Script

Building agents and MCP servers

If you are new to agents, start with the agent post. It explains the agent loop and builds a working Python agent with tools on the Claude API. Next, read the MCP server post to expose tools, resources and prompts through the Model Context Protocol. Then read the MCP authorization post to add OAuth 2.1, so the server rejects requests without a valid token.

Running Claude Code and agent frameworks safely

Two posts focus on what an agent is allowed to do on your machine:

  • The --dangerously-skip-permissions post covers what the flag does, why it refuses to run as root, and the Claude Code permission modes. It also covers safer options: allow rules, sandbox and auto mode.
  • The dsh-superagent deep dive covers installing DeepSeek’s dsh-superagent on a Mac and letting it fix a real GitHub issue. It also walks through the framework’s two-layer authorization gate.

LLM fundamentals

The 2024 posts are short reads. They explain the ideas the hands-on posts build on:

  • foundation models vs task models
  • fine-tuning a pre-trained model
  • how parameter count affects inference speed
  • quantization from FP32 to INT8

Serving models

The Ray Serve guide covers deployments, autoscaling, batching and multi-model pipelines. It also explains when to choose Ray Serve over FastAPI or Ollama.

FAQ

Where should I start if I’m new to LLMs? Read the foundation models post, then the fine-tuning post. Together they cover the difference between a general pre-trained model and one trained further for a specific task. After that, the AI agent tutorial is a good first build.

What is the difference between an AI agent and a chatbot? A chatbot answers one message at a time. An agent runs in a loop: the model decides to call a tool, sees the result, and keeps going until the task is done. The AI agent post builds this loop step by step in Python.

What is an MCP server? It is a program that uses the Model Context Protocol to offer tools, resources and prompts to an LLM client. The MCP server post shows how to build, test and connect one with the Python SDK.

Is claude --dangerously-skip-permissions safe to use? It removes Claude Code’s approval prompts, so the agent acts without asking first. The dedicated post explains when that is reasonable. It also covers safer ways to cut down on prompts, such as allow rules or a sandbox.

Are these posts free? Yes. Every post on GeekCoding101 is free to read, with no sign-up.