Skip to content
Loom
  • Home
  • Posts
  • Notes
  • Series
  • Search
עברית

Posts

  • AI
  • Python
  • git
  • LLM
  • CLI
  • Agents
  • Containers
  • GitHub
  • LLMOps
  • AWS
  • Cheat sheet
  • CI/CD
  • Cloud
  • Docker
  • Kubernetes
  • RAG
  • Claude Code
  • Fine-tuning
  • MCP
  • Security
  • Linux
  • Post·October 19, 2026

    A first Claude Code mod: write, check, test and run it

    Building a mod that blocks npm commands that skip a wrapper script and adds a /node-guard command: the files, claude plugin validate, a test, running it, letting Claude write it, and the pitfalls.

    • #Claude Code
  • Post·October 14, 2026

    Claude Code mods: what they are and when to use one

    A mod is a plugin whose JavaScript or TypeScript runs inside Claude Code. How it works, when to pick it over a hook, skill or MCP server, the layers it runs in, and its risks. Version 2.1.295.

    • #Claude Code
  • Post·October 13, 2026

    Agentic RAG and GraphRAG

    Two steps beyond a fixed RAG pipeline: letting the model search as a tool, as many times as it needs, and building a knowledge graph for questions that span many documents.

    • #AI
    • #RAG
  • Post·October 13, 2026

    Agents: a model with tools in a loop

    What makes a system an agent, how it differs from a workflow, when an agent is worth it and when it is not, a minimal agent in Python, and the Claude Agent SDK.

    • #AI
    • #Agents
  • Post·October 13, 2026

    Computer use and Agent Skills

    Agents that operate a desktop through screenshots, mouse and keyboard, and skills: folders of instructions and scripts that give an agent expertise only when it needs it.

    • #AI
    • #Agents
  • Post·October 13, 2026

    Cost and latency: prompt caching, batches and model choice

    Where the money and time go in an LLM system, and the levers that cut them: the right model and effort, shorter outputs, prompt caching, the Batch API and streaming.

    • #AI
    • #LLMOps
  • Post·October 13, 2026

    Decision map: prompt, RAG, tools, agent or fine-tune?

    The whole series in one place: a decision map for choosing the right technique, what each one changes and costs, a worked example, and a checklist before going to production.

    • #AI
    • #LLMOps
  • Post·October 13, 2026

    Distillation: a small model that learns from a large one

    What knowledge distillation is, why a teacher's soft probabilities teach more than the right answer, and how distillation of LLMs works in practice: teacher data, filtering, fine-tuning a student.

    • #AI
    • #Fine-tuning
  • Post·October 13, 2026

    Embeddings and semantic search

    What an embedding is, how cosine similarity finds texts that mean the same thing, how to create embeddings with Voyage AI, and where to store them.

    • #AI
    • #RAG
  • Post·October 13, 2026

    Putting it together: a support assistant from start to finish

    One small app built with the whole series: a prompt, RAG over help articles, a tool for live order data, input screening, evals, caching and logging. Each step links to the post that explains it.

    • #AI
    • #LLMOps
  • Post·October 13, 2026

    Evals: measuring an LLM system

    Why every LLM system needs an evaluation set, how to build one, code-based checks, LLM-as-judge with a rubric, and how to use evals to compare prompts, models and settings.

    • #AI
    • #LLMOps
  • Post·October 13, 2026

    Fine-tuning: when it helps and how LoRA works

    When fine-tuning beats prompting and RAG, and when it does not, what training data looks like, how LoRA and QLoRA train a model cheaply, and how to check the result.

    • #AI
    • #Fine-tuning
  • Post·October 13, 2026

    AI glossary: my cheat sheet

    The AI terms from the series in one place, grouped by topic, each with a one-line definition and a link to the post that explains it: tokens, RAG, tools, MCP, agents, LoRA, evals and more.

    • #AI
    • #LLM
    • #Cheat sheet
  • Post·October 13, 2026

    Guardrails: checks around the model

    Layered guardrails for LLM applications: screening input with a small model, validating and redacting output, checking actions, limits, and what to show the user when a check fails.

    • #AI
    • #LLMOps
    • #Security
  • Post·October 13, 2026

    How a language model is built

    Transformers, attention, pretraining, fine-tuning and preference training (RLHF, DPO): the stages that turn a pile of text into a chat assistant.

    • #AI
    • #LLM
  • Post·October 13, 2026

    Running models locally: Ollama and quantization

    Why run an open-weight model on your own machine, how much memory it needs, what quantization does, and how to call a local model with Ollama, including from the Anthropic SDK.

    • #AI
    • #LLM
  • Post·October 13, 2026

    MCP: the Model Context Protocol

    What MCP is, why it exists, hosts, clients and servers, tools, resources and prompts, the two transports, and a small MCP server in Python.

    • #AI
    • #Agents
    • #MCP
  • Post·October 13, 2026

    Memory and context management

    How agents keep working when a task outgrows the context window: context engineering, compaction, clearing tool results, notes and the memory tool, with safe file handling.

    • #AI
    • #Agents
  • Post·October 13, 2026

    Multi-agent systems and subagents

    When several agents beat one: the orchestrator-subagent design, what Anthropic measured in its research system, the token cost, and subagents in the Claude Agent SDK.

    • #AI
    • #Agents
  • Post·October 13, 2026

    Multimodal: images and PDFs

    Sending images and PDFs to a model, how image tokens are counted, what vision is still bad at, and what to do with audio.

    • #AI
    • #LLM
  • Post·October 13, 2026

    Observability: seeing what an LLM system does

    What to log for every model call and agent step, traces and spans, a tiny tracer in Python, the metrics worth watching, privacy, and turning production failures into evals.

    • #AI
    • #LLMOps
  • Post·October 13, 2026

    Temperature, top-p and hallucinations

    How the next token is picked, what temperature and top-p do, why current Claude models no longer accept them, and why models hallucinate.

    • #AI
    • #LLM
  • Post·October 13, 2026

    Prompting: how to ask a model

    The system prompt, clear instructions with a reason, few-shot examples, XML tags and long documents: the prompting techniques the official guide recommends.

    • #AI
    • #LLM
  • Post·October 13, 2026

    Better retrieval: hybrid search, reranking and contextual chunks

    Three techniques that fix most RAG retrieval failures: combining keyword and vector search, reranking the candidates, and adding context to every chunk.

    • #AI
    • #RAG
  • Post·October 13, 2026

    RAG: retrieval-augmented generation

    The full RAG pipeline: when you need it, splitting documents into chunks, retrieving the closest ones, and building a prompt that answers only from them.

    • #AI
    • #RAG
  • Post·October 13, 2026

    Reasoning models: thinking before answering

    What thinking is, how adaptive thinking and the effort parameter control it, how to read thinking blocks, and what it costs.

    • #AI
    • #LLM
  • Post·October 13, 2026

    Security: prompt injection and the OWASP LLM Top 10

    The main risks of LLM apps, from prompt injection to excessive agency, and the defenses that work: keeping data apart from instructions, least privilege and screening.

    • #AI
    • #LLMOps
    • #Security
  • Post·October 13, 2026

    Structured outputs and streaming

    Get JSON that always matches your schema with structured outputs and Pydantic, and show the answer while it is being written with streaming.

    • #AI
    • #LLM
  • Post·October 13, 2026

    Tokens and the context window

    What a token is, how to count tokens before you send a request, what fills the context window, and what happens when it runs out.

    • #AI
    • #LLM
  • Post·October 13, 2026

    Tools and function calling

    How a model calls your functions: defining a tool, the tool use loop, tool results and errors, the raw JSON on the wire, the SDK's tool runner, and how to write good tools.

    • #AI
    • #Agents
  • Post·October 13, 2026

    WebMCP: web pages as tools for AI agents

    What WebMCP is and how it relates to MCP: a page registers tools with document.modelContext, forms become tools with two attributes, annotations, iframes, testing in Chrome, and the security risks.

    • #AI
    • #Agents
    • #MCP
  • Post·October 13, 2026

    Five workflow patterns

    Prompt chaining, routing, parallelization, orchestrator-workers and evaluator-optimizer: the patterns that solve most LLM tasks without a full agent, with short Python for each.

    • #AI
    • #Agents
  • Post·October 13, 2026

    GitHub Actions from zero to hero: your first workflow and events

    What GitHub Actions is, the parts of a workflow, a first CI workflow for a Node project, reading runs with gh, and the events that start a workflow: push, pull_request, manual and scheduled.

    • #GitHub
    • #CI/CD
  • Post·October 13, 2026

    GitHub Actions from zero to hero: jobs, expressions, matrix and caching

    Growing a workflow: job options, jobs that wait for each other, expressions and contexts, passing values between steps and jobs, matrix builds, caches and artifacts.

    • #GitHub
    • #CI/CD
  • Post·October 13, 2026

    GitHub Actions from zero to hero: reuse, security and debugging

    Reusable workflows and composite actions, concurrency groups, the security habits that keep a workflow from becoming a back door, debugging a failed run, and what Actions costs.

    • #GitHub
    • #CI/CD
  • Post·October 13, 2026

    GitHub Actions from zero to hero: secrets, permissions and deployments

    Secrets and variables, the GITHUB_TOKEN and its permissions, environments with required reviewers, deploying to a cloud with OIDC instead of stored keys, and a pipeline that pushes a Docker image.

    • #GitHub
    • #CI/CD
  • Post·October 13, 2026

    Kubernetes from zero to hero: clusters, Pods and manifests

    What Kubernetes is and the desired-state idea, the parts of a cluster, a local cluster with kind, a first Pod, and how manifests describe objects in YAML.

    • #Kubernetes
    • #Containers
  • Post·October 13, 2026

    Kubernetes: Deployments, Services and getting traffic in

    Run hello-app as a Deployment that keeps three copies alive, give it a stable address with a Service, compare Service types, and route outside traffic with Gateway API or Ingress.

    • #Kubernetes
    • #Containers
  • Post·October 13, 2026

    Kubernetes: storage, namespaces, debugging and Helm

    Persistent volumes and StatefulSets, namespaces and kubectl contexts, a debugging routine with the common Pod statuses, Kustomize and Helm, and a production checklist.

    • #Kubernetes
    • #Containers
  • Post·October 13, 2026

    Kubernetes: rolling updates, config, probes and autoscaling

    Update hello-app without downtime and roll back, pass settings with ConfigMaps and Secrets, add readiness and liveness probes, set requests and limits, and scale with an HPA.

    • #Kubernetes
    • #Containers
  • Post·October 13, 2026

    Code blocks and scope in Python

    What a code block is in Python, why if, for, while and try don't create a new scope, which blocks do (functions, classes, comprehensions), and the bugs that come from mixing them up.

    • #Python
  • Post·October 13, 2026

    Dictionaries in Python

    A dict stores values by key instead of by position. Creating one, reading safely with get, adding and removing, looping over keys and values, counting, nesting, and the keys you can use.

    • #Python
  • Post·October 13, 2026

    Exceptions in Python: try, except, else, finally

    What happens when Python hits an error at runtime: reading a traceback, catching errors with try/except, else and finally, raising your own exceptions, and why a bare except is a trap.

    • #Python
  • Post·October 13, 2026

    Functions in Python

    def, parameters and return values, default and keyword arguments, the mutable default trap, docstrings and type hints, and passing a function as a value.

    • #Python
  • Post·October 13, 2026

    if, elif, else: conditions in Python

    How Python decides which code to run: if, else and elif, the comparison operators, truthy and falsy values, the conditional expression (x if C else y), and a first look at match.

    • #Python
  • Post·October 13, 2026

    Lists in Python

    A list holds many values in order. Creating one, indexing and slicing, adding and removing items, sorting, copying without surprises, and a word on tuples.

    • #Python
  • Post·October 13, 2026

    Logical operators in Python: and, or, not

    How and, or and not combine conditions in Python: truth tables, short-circuit evaluation, why and/or return one of their operands, precedence, and any() and all().

    • #Python
  • Post·October 13, 2026

    Loops in Python: for and while

    Running code again and again: for over a list or a range, enumerate and zip, while, break and continue, the else clause on a loop, and the loop bugs everyone writes once.

    • #Python
  • Post·October 13, 2026

    The modulo operator % in Python

    What % does in Python and where it's useful: even or odd, every Nth item, wrapping around a list or a clock, splitting seconds with divmod, digits, FizzBuzz, and how it treats negative numbers.

    • #Python
  • Post·October 12, 2026

    What is an LLM

    A large language model predicts the next token, over and over. What that means, what it gets you, and your first API call to one in Python.

    • #AI
    • #LLM
  • Post·October 11, 2026

    The date type in Python

    How to work with dates in Python using datetime.date: creating dates, reading parts of a date, formatting with strftime and isoformat, date arithmetic with timedelta, and invalid dates.

    • #Python
  • Post·October 11, 2026

    f-strings: formatting text in Python

    How f-strings work in Python: putting expressions in braces, format specs for width, alignment, precision, thousands separators and percentages, the = debug specifier, and !r conversions.

    • #Python
  • Post·October 11, 2026

    Indentation in Python and the IndentationError

    How Python uses indentation to group code, the four IndentationError messages you'll meet, why tabs and spaces can trigger a TabError, and how to find and fix them.

    • #Python
  • Post·October 11, 2026

    input(): reading text from the user

    How input() reads a line from the user in Python: the prompt, why the result is always a str, converting it with int() and float(), the ValueError on bad input, and EOFError.

    • #Python
  • Post·October 11, 2026

    Number operations in Python

    The arithmetic operators in Python: + - * / // % and **, the difference between true and floor division, round, the math module, and why floats aren't exact.

    • #Python
  • Post·October 11, 2026

    pip: installing packages in Python

    How pip installs third-party packages from PyPI: install, pin versions, list, show, freeze into requirements.txt, uninstall, and why to use a virtual environment with python -m pip.

    • #Python
  • Post·October 11, 2026

    print(): showing output in Python

    How print() works in Python 3: printing several values, the sep and end arguments, printing to stderr, and the common mistake of printing None.

    • #Python
  • Post·October 11, 2026

    Variable scope and good variable names in Python

    Where a variable can be seen and changed in Python: local, global and nonlocal scope, the global and nonlocal keywords, shadowing, and how to choose clear names that follow PEP 8.

    • #Python
  • Post·October 11, 2026

    Strings in Python: slicing, methods and manipulation

    Python strings: quotes and escapes, raw and triple-quoted strings, indexing and slicing, immutability, the common str methods for changing, splitting and searching text.

    • #Python
  • Post·October 11, 2026

    Type conversion in Python

    How to convert between Python types with int(), float(), str(), bool(), list(), tuple() and set(): what each conversion does, truncation, bases, truthiness, and the errors when a conversion fails.

    • #Python
  • Post·October 11, 2026

    TypeError and type checking in Python

    The common TypeError messages in Python and what they mean, checking types with type() and isinstance(), why type hints are not enforced, and when to check types versus catching the error.

    • #Python
  • Post·October 11, 2026

    uv: a fast Python package and project manager

    What uv is and how to use it: the project workflow with uv init, uv add and uv run, the .venv, pyproject.toml and uv.lock, plus uv venv and uv pip for pip-style work.

    • #Python
  • Post·October 11, 2026

    Variables and types in Python

    How variables work in Python: assignment, names, the basic types int, float, str, bool and None, type(), and the NameError.

    • #Python
  • Post·October 10, 2026

    AWS from zero to hero: the map and a safe account

    What AWS is and the shared responsibility model, Regions and Availability Zones, protecting the root user, the free plan, and a budget before you create anything.

    • #AWS
    • #Cloud
  • Post·October 10, 2026

    AWS: EC2 servers, VPC networks and RDS databases

    Launching and connecting to an EC2 instance and what it costs, a VPC with public and private subnets across two zones, and a managed RDS database the internet can't reach.

    • #AWS
    • #Cloud
  • Post·October 10, 2026

    AWS: IAM, the CLI and S3

    Users, roles and policies in IAM and the best practices that matter, signing in to the AWS CLI with short-term credentials and profiles, and storing files in S3 buckets safely.

    • #AWS
    • #Cloud
  • Post·October 10, 2026

    AWS: Lambda, monitoring and avoiding surprise bills

    Running code on events with Lambda, watching it with CloudWatch and CloudTrail, which service to reach for, and the five causes of nearly every surprise AWS bill.

    • #AWS
    • #Cloud
  • Post·October 10, 2026

    Docker from zero to hero: images, containers and your first run

    What Docker is, images, containers and registries, how containers differ from VMs, installing it, running and managing your first container, and image tags.

    • #Docker
    • #Containers
  • Post·October 10, 2026

    Docker from zero to hero: Compose, debugging and cleanup

    Running the app and its database from one compose.yaml with health checks, the Compose commands, a debugging toolbox, freeing disk space, and habits for production images.

    • #Docker
    • #Containers
  • Post·October 10, 2026

    Docker from zero to hero: a Dockerfile for your own app

    Containerizing a small Node app: writing a Dockerfile and .dockerignore, building and running it, layers and the build cache, multi-stage builds, and CMD versus ENTRYPOINT.

    • #Docker
    • #Containers
  • Post·October 10, 2026

    Docker from zero to hero: ports, volumes and networks

    Connecting containers to the world: publishing ports safely, volumes, bind mounts and tmpfs, user-defined networks for containers that talk by name, and passing configuration and secrets.

    • #Docker
    • #Containers
  • Post·October 10, 2026

    Linux commands: my cheat sheet

    The Linux commands worth knowing by heart, grouped by task: files, searching, text, permissions, processes, services and logs, disk, networking, archives, packages, SSH and shell tricks.

    • #Linux
    • #CLI
    • #Cheat sheet
  • Post·October 10, 2026

    What is Python, and why use it?

    What Python is, what it's good for, and how it differs from languages like C and Java: interpreted, dynamically typed, indentation-based and batteries included.

    • #Python
  • Post·October 9, 2026

    Git commands: my cheat sheet

    The Git commands I keep coming back to, grouped by what you're doing: daily work, branches, undoing, remotes, history, worktrees and more.

    • #git
    • #CLI
    • #Cheat sheet
  • Post·October 9, 2026

    Git from zero to hero: first commits

    Part 1 of the Git guide: what Git is, a one-time setup, a first repository, the three areas a change passes through and the four states of a file.

    • #git
    • #CLI
  • Post·October 9, 2026

    Git from zero to hero: branches, merging and conflicts

    Part 4 of the Git guide: what a branch really is, fast-forward and merge commits, how a three-way merge decides, and how to resolve a conflict calmly.

    • #git
    • #CLI
  • Post·October 9, 2026

    Git from zero to hero: reading diffs and history

    Part 2 of the Git guide: how to read git diff, what each diff command compares, good commit messages, git log, and what a commit really contains.

    • #git
    • #CLI
  • Post·October 9, 2026

    Git from zero to hero: rebase and handy tools

    Part 5 of the Git guide: rebase and the one rule that comes with it, interactive rebase to tidy commits, then stash, cherry-pick, bisect and .gitignore.

    • #git
    • #CLI
  • Post·October 9, 2026

    Git from zero to hero: remotes and GitHub

    Part 6 of the Git guide: clone, push, fetch and pull, remote-tracking branches and ahead/behind, what to do when a push is rejected, force-with-lease and tags.

    • #git
    • #CLI
  • Post·October 9, 2026

    Git from zero to hero: undoing mistakes

    Part 3 of the Git guide: naming commits (HEAD~1, HEAD^2, HEAD@{2}), detached HEAD, and the right undo for each mistake: restore, amend, reset, revert and reflog.

    • #git
    • #CLI
  • Post·October 9, 2026

    GitHub from zero to hero: account, SSH and a first push

    Part 1 of the GitHub guide: what GitHub adds to Git, creating a repository, signing in with gh, an SSH key or a token, and putting a project online.

    • #GitHub
    • #git
  • Post·October 9, 2026

    GitHub from zero to hero: Actions, Pages and releases

    Part 4 of the GitHub guide: a first Actions workflow, secrets and permissions, publishing a site with GitHub Pages, releases with generated notes, Codespaces and Copilot.

    • #GitHub
    • #git
  • Post·October 9, 2026

    GitHub from zero to hero: issues, forks and a protected main

    Part 3 of the GitHub guide: issues and labels, contributing to someone else's project through a fork, branch protection, CODEOWNERS and keeping a repository safe.

    • #GitHub
    • #git
  • Post·October 9, 2026

    GitHub from zero to hero: the GitHub flow and pull requests

    Part 2 of the GitHub guide: the GitHub flow step by step, a good pull request, reviewing with comments and suggestions, and the three ways to merge.

    • #GitHub
    • #git
  • Post·October 8, 2026

    Claude Code slash commands: my cheat sheet, rechecked

    The Claude Code slash commands worth knowing, grouped by what you're doing. Checked against the official docs for v2.1.294.

    • #Claude Code
    • #CLI
    • #Cheat sheet

© 2026 Moris Maor Zakay

  • RSS
  • Source