Leanpub Header

Skip to main content

Filters

Category: "Large language models"

Large language models

  1. The SGLang Production Handbook
    The SGLang Production Handbook
    Architecture, Deployment, and Optimization for Large Language Model Inference
    Steve Publications

    Take a practical journey through SGLang, from its core architecture to real-world deployment and optimization. Built for engineers who need to run LLM inference reliably at scale, this handbook breaks down the tools, techniques and operational know-how needed to build and maintain production-ready SGLang systems.

  2. Architecture at Machine Speed
    Architecture at Machine Speed
    Building Go Systems That Humans and AI Can Safely Change
    Nathan B. Crocker

    AI can write code at machine speed. Can your architecture keep up? Architecture at Machine Speed shows how to build Go systems that remain coherent as humans and AI agents change them at unprecedented velocity. Through a real-world application built from the ground up, you'll learn to turn architectural intent into explicit boundaries, enforceable constraints, and automated safeguards—because when code becomes abundant, coherence becomes the scarce resource.

  3. Agentic Coding Harnesses, Compared & Explained
    Agentic Coding Harnesses, Compared & Explained
    Master Claude Code, Aider, OpenCode, Goose, and Codex — Then Run Them Locally
    Yohan J. Rodríguez

    A vendor-neutral, mechanism-level field guide to operating and extending agentic coding harnesses (542 manuscript pages).

  4. Mastering Claude Fable 5.1 Prompting
    Mastering Claude Fable 5.1 Prompting
    From First Principles to Advanced Workflows: A Complete Guide for Developers, Analysts and Power Users
    Steve Publications

    Unlock the full potential of Claude Fable 5.1 with practical prompting techniques built for real-world work. Learn how to get better results from coding, research and complex workflows, avoid common mistakes and build reliable AI systems with proven strategies and ready-to-use prompts.

  5. AI in the Browser
    AI in the Browser
    Building Privacy-Preserving Local Intelligence with WebGPU, WebAssembly, and On-Device LLMs
    Steve Publications

    What if your browser could run AI without sending your data to a server? AI in the Browser shows you how to build fast, private and fully local AI applications using WebGPU, WebAssembly and on-device LLMs. From GPU compute to a complete local chat interface, you’ll build everything yourself with practical code.

  6. Forecasting with Large Language Models
    Forecasting with Large Language Models
    A Complete Guide to Time Series Prediction from Classical Methods to LLMs
    Steve Publications

    Forecasting is changing fast. This practical guide takes you from ARIMA and exponential smoothing to Transformers, PatchTST and foundation models like Chronos and TimesFM. With clear explanations, hands-on Python examples and an honest look at what works and what fails, you’ll learn how to build forecasting systems that hold up in the real world.

  7. TypeScript in the AI Era
    TypeScript in the AI Era
    Building Modern Applications with Type-Safe Code and Intelligent Systems
    Steve Publications

    Build production-ready applications with TypeScript in the age of AI. Go beyond the basics to master type-safe development, modern full-stack architectures, LLMs, intelligent agents, tool calling and the Model Context Protocol. With practical, runnable examples throughout, this book shows you how to build, test, secure and deploy serious TypeScript AI systems.

  8. CLAUDE.md Under Test: What Claude Code Rules Actually Do
    CLAUDE.md Under Test: What Claude Code Rules Actually Do
    Thirty-nine measured trials on whether written rules are obeyed, when Claude Code hooks earn their place, and how both fail - with the full harness and every trial's data.
    yurukusa

    My pitch was that rules written in CLAUDE.md get skipped, so you need enforcement. Then I measured it. In 22 trials with the ban written in, the banned command was never attempted. In 17 without it, 17 out of 17. This is the whole record: the instrument, every trial, the limits, and the harness so you can check me.

  9. From Zero to Agents: A Foundational AI/ML Course, Built From First Principles
    From Zero to Agents: A Foundational AI/ML Course, Built From First Principles
    Volume 2: Sequences, Fine-Tuning, and Agents
    Junaid Hassan

    The second half of a from-scratch AI/ML course that refuses to skip the hard parts: LSTMs, real attention, a working transformer, LoRA fine-tuning derived and measured, and a genuine multi-tool, multi-agent system — every mechanism built by hand, then checked against PyTorch and real numbers.

  10. The Local AI Stack: Building a Sovereign Machine Learning Workstation with Hyper-V, WSL2, and GPU Virtualization

    The Local AI Stack: Building a Sovereign Machine Learning Workstation with Hyper-V, WSL2, and GPU Virtualization Renting GPU time from AWS costs more than the GPU. Every prompt you send to a cloud API is a prompt someone else logs. If your ML work runs on hardware you don't own, on a network you don't control, then you don't own your ML work.

  11. The Quantization Black Book
    The Quantization Black Book
    Krzysztof Rybiński

    The Quantization Black Book The definitive engineering reference for 4-bit quantization of large language models — from 70B all the way to 400B parameters. Written for the people who actually have to fold these models onto real hardware and keep them fast, accurate, and deployable. This is not an overview. It is a deep technical field manual covering the full quantization stack: the math, the algorithms, the hardware setup, the calibration process, the runtime kernels, and the memory tricks that make the difference between a model that runs and a model that doesn't.

  12. High-Advancing Technical AI via Curriculum Reasonin

    📘 Advancing Technical AI via Curriculum Reasoning — 119‑Page Engineering BlueprintA research‑grade handbook for building high‑precision reasoning models through structured curriculum design.This 119‑page ebook is a complete, end‑to‑end framework for Machine Learning Engineers, AI Researchers, and systems architects who want to push LLMs beyond pattern matching and into true inferential reasoning.

  13. The Claude Code Safety Field Manual
    The Claude Code Safety Field Manual
    A free, verified guide to Claude Code hooks: which PreToolUse or PostToolUse matcher can refuse a tool call, what to check when a hook is not working, and how to prove a guard actually fires.
    yurukusa

    Installing safety hooks for Claude Code takes about thirty seconds. Proving they actually refuse anything is the step almost everyone skips — and an unverified guard looks exactly like a working one. Free: the pre-flight checklist, which event can refuse a tool call and which only watches, how to make a guard fire on purpose, what a broken hook does, and a catalogue of all 916 example hooks in cc-safe-setup.

  14. From Zero to Agents - A Foundational AI/ML Course, Built From First Principles
    From Zero to Agents - A Foundational AI/ML Course, Built From First Principles
    Volume 1: Language, Math, and Neural Networks from Scratch
    Junaid Hassan

    A from-scratch AI/ML course that treats you like an engineer, not a tourist — three modules covering language-as-numbers, the math foundations, and neural networks, each concept built in raw Python first, then PyTorch, so you always know what's really happening under the hood.

  15. Multi-Agent AI Systems The Complete Handbook for Building Intelligent  Scalable, and Autonomous Agent Teams

    What happens when AI agents stop working alone and start working as a team?Artificial Intelligence is entering a new phase in which intelligent systems can do more than respond to individual instructions. Multiple specialized agents can collaborate, divide complex tasks, communicate with one another, use tools, evaluate results, and coordinate their actions toward a shared objective.Multi-Agent AI Systems: The Complete Handbook for Building Intelligent, Scalable, and Autonomous Agent Teams provides a practical roadmap for understanding this emerging paradigm.The book begins with the fundamentals of multi-agent systems and explains why collaboration between specialized agents can be valuable for complex workflows. Readers will learn about hierarchical, peer-to-peer, and hybrid architectures, along with roles such as manager, planner, worker, critic, and supervisor agents.It then moves into modern frameworks and technologies, including CrewAI, AutoGen, LangGraph, MetaGPT, LLMs, vector databases, and agent memory systems. Practical chapters explain how to design agent teams, decompose tasks, establish communication protocols, manage shared memory, coordinate workflows, integrate tools and APIs, and recover from failures.Readers will also explore advanced concepts such as dynamic replanning, parallel execution, swarm intelligence, agent debates, self-organizing systems, human-in-the-loop workflows, and multimodal agents.The book goes beyond experimentation and addresses the challenges of deploying multi-agent systems in real environments. Cloud deployment, Docker, Kubernetes, monitoring, logging, scaling, evaluation, benchmarking, testing, and cost optimization are included.Real-world applications demonstrate how agent teams can support software development, research, customer service, content creation, and business operations.Equally important, the book examines AI safety, privacy, security, transparency, governance, alignment, and responsible AI development.Whether you are a student discovering agentic AI, a developer building your first agent team, a researcher exploring collaborative intelligence, or a professional preparing for the next generation of AI applications, this book provides a foundation for moving from individual AI agents toward coordinated intelligent systems.Understand the architecture. Design the team. Build the agents. Coordinate the intelligence.