Leanpub Header

Skip to main content

Filters

Category: "Large language models"

Large language models

  1. Under The Hood
    Under The Hood
    Build Every Layer of a Large Language Model from Scratch
    Ramchand Kumaresan

    Bestselling book on building LLMs. A practical, project-driven manual for engineers who want to understand how modern language models are built — and where they fail — by writing every layer themselves. From a scalar autograd engine to RLHF to fused specialists, in 36 hands-on projects with deliberate sabotage experiments. Build it. Break it. Measure it.

  2. Building AI Agents with C# and .NET 10
    Building AI Agents with C# and .NET 10
    A Developer’s First Guide to the Microsoft Agent Framework
    Rachid DAHIR

    Your C# skills are worth more today than they were a year ago — if you know how to put a language model in the loop. This book shows you how, with the Microsoft Agent Framework: real tools, RAG, multi-agent orchestration, plus the hosting, observability, and safety that separate a demo from a system you ship. Nineteen chapters. 120 runnable projects. No Python detours. Just C# and .NET 10.

  3. Inside llama.cpp
    Inside llama.cpp
    The Complete Guide to Building, Running, and Optimizing Local LLM Inference
    Steve Publications

    Learn how to build, run, and optimize llama.cpp from the ground up. This book covers everything from compiling the code and working with GGUF models to deploying fast, production-ready local LLM inference.

  4. Local Intelligence
    Local Intelligence
    Running Large Language Models on Your MacBook with Apple Silicon
    Steve Publications

    Local Intelligence shows you how to run large language models entirely on your Mac with Apple Silicon. Learn to use tools like Ollama, MLX, and llama.cpp, understand quantization, and build real local AI applications with open-source code.

  5. Machine Learning with Rust, Second Edition
    Machine Learning with Rust, Second Edition
    Implement data pipelines, classical models, deep learning and NLP using burn, candle, linfa and smartcore
    GitforGits | Asian Publishing House

    The latest version of Rust (1.85) has some great new features, like async closures, more stable associated function return types, and const generics that are now mature enough to underpin serious numerical libraries. The linfa and smartcore ecosystems have developed into decent classical machine learning stacks. The Burn training framework feels native to Rust, not like it's been ported from it. The Candle makes it so that loading pre-trained transformer models is more of an engineering task than a research exercise. The crates that used to need all sorts of workarounds now just work.

  6. Claude Code: From Basics to Mastery
    Claude Code: From Basics to Mastery
    The Complete Guide to Agentic Software Development in 2026
    Steve Publications

    Software development is changing fast, and Claude Code is at the center of that shift. Learn how to work effectively with AI agents to write code, automate workflows, and build larger projects with confidence. From setup and prompt design to real-world engineering practices, this book provides a practical guide to modern software development in 2026.

  7. Clarity Engineer : Code Is the Side Effect
    Clarity Engineer : Code Is the Side Effect
    Building AI-Driven Systems Where Engineering Judgment Is the Real Work
    Volodymyr Pavlyshyn

    Code Is the Side Effect"Software engineers are not primarily code writers. We are clarity traders — and that hasn't changed."You've seen the demos. The AI builds a whole feature from a sentence. The agent writes tests, fixes the failing ones, opens the PR. It's remarkable.Then you come back three months later. The codebase is a tangle. Nobody knows why anything is the way it is. The agent that built it has no memory of what it decided or why. And every time you ask it to add something new, it breaks two things you didn't know were connected.This is the pattern that nobody talks about. AI coding tools make the easy parts of engineering dramatically easier. They leave the hard parts untouched — and they create new hard parts that didn't exist before.Ways of Working is the book for engineers who want to work with AI agents rather than be gradually replaced by them — who understand that the tools are genuinely powerful and genuinely limited, and want to build practices that get the most from each.What you will actually learnThe world model framework. Before an agent can build anything well, it needs to understand what it's building and why. This book teaches you to give agents what they need: a structured, queryable representation of your architecture, your component contracts, your behavior specifications, and your code patterns. No world model = no sustained agentic development.Intent documentation. The most expensive bug in agentic codebases is not a hallucination — it's a decision made without context. Why is this rule here? Why is this boundary where it is? Agents can't infer rationale from code. You have to write it down.Spec-Kit and formal specifications. GitHub's Spec-Kit brings machine-readable, traceable, CI-verified specifications to engineering teams. This book shows how to use it to turn requirements into agent inputs that are precise enough to generate correct implementations.Graph explainers. Tools like Graphify and Understand-Anything transform codebases and documents into queryable knowledge graphs — giving agents navigable context instead of flat text. This is the memory substrate that makes multi-agent systems reliable at scale.Agent architecture that holds. What makes an agent coherently itself? When do file-based agent systems break down and what replaces them? How does constraint-based coordination (borrowed from holocracy) solve the autonomy-coherence problem that has stumped AI researchers for decades?Claude Code, for real. A complete treatment of Claude Code's CLAUDE.md convention, permission model, hooks, and slash commands. Plus the oh-my-claudecode ecosystem: 15+ specialized agents, workflow orchestration patterns (autopilot, ralph, ultrawork), and the skills framework for team-specific automation.The AI-native organization. What genuine AI-native teams look like beneath the marketing. How to hire, structure, and lead them. What language-oriented programming and constrained natural language mean for the future of the human-code relationship.Who it's forEngineers who are past the "should I use AI?" question and into the "how do I use it without losing my engineering integrity?" question.Senior engineers. Engineering managers. Technical leaders. People who have noticed that the more they delegate to AI, the less certain they feel — and who want to understand why.From the AuthorI've been building production systems with AI agents for years. Not demos — systems that had to work reliably across months, maintain themselves as requirements changed, and produce outputs that engineers could understand and defend.That experience has made me skeptical in both directions.Skeptical of the "AI will do everything" vision — because I've watched too many AI-generated codebases collapse under the weight of accumulated misunderstanding.Equally skeptical of the "nothing fundamentally changed" position — because the engineers who treat AI coding tools as just faster autocomplete are making a category error they'll pay for in months of maintenance debt.Something genuinely new is happening. This book is my attempt to think about it clearly.

  8. Running OpenClaw in Production
    Running OpenClaw in Production
    A Complete Guide to Securely Deploying, Operating, and Scaling Self-Hosted AI Agents
    Steve Publications

    OpenClaw in Production shows you how to run OpenClaw as a secure, reliable service that can handle real workloads. Whether you're deploying on a Raspberry Pi or operating a Kubernetes cluster, you'll learn the practical skills needed to keep your agents stable, secure, and easy to manage as they grow from a single instance to production at scale.

  9. Systems Thinking for Agentic AI
    Systems Thinking for Agentic AI
    A Software Architect’s Guide to Building Reliable LLM and Agent Systems
    Ediz Najim

    An LLM is not an AI system.Systems Thinking for Agentic AI shows software engineers and architects how to design reliable AI applications with prompts, RAG, tools, memory, orchestration, guardrails, evaluation, observability, and runtime control.Move beyond chatbot demos and learn how to build production-ready agentic AI systems you can reason about, measure, debug, operate, and improve

  10. The Agentic AI book
    The Agentic AI book
    From Language Models to Multi-Agent Systems
    Dr. Ryan Rad

    It's never been easier to build an AI agent — and never been harder to make one that actually works. This book takes you from language model foundations to production-ready multi-agent systems with the depth to predict failure before it happens, engineer graceful degradation over catastrophic failure, and take absolute architectural ownership. Get the paperback from amazon.

  11. Graph Engineering for AI Agents
    Graph Engineering for AI Agents
    Building Reliable, Scalable Agent Systems with Computational Graphs
    Steve Publications

    AI agents become truly powerful when they can reason, adapt and recover instead of following a fixed sequence of steps. This book shows you how to design intelligent agent systems with computational graphs, giving you the tools to build scalable, reliable applications that can handle real-world complexity with confidence.

  12. Claude Code for Legacy Modernization
    Claude Code for Legacy Modernization
    Recover Hidden Business Rules, Build a Verification Harness, and Modernize Critical Systems Without Breaking Production
    Thomas De Vos

    Legacy modernization is an evidence problem before it is a code-generation problem. Use Claude Code to recover hidden behavior, build a verification harness, and move critical systems in controlled, reversible slices without handing production decisions to AI. Includes 26 practical chapters, 86 diagrams, and a runnable companion lab.

  13. The Local LLM Engineer
    The Local LLM Engineer
    Steve Publications

    This book is a practical guide to building and running local AI systems in 2026. Learn how to choose hardware, run modern LLMs, build RAG pipelines and AI agents, and deploy secure, efficient infrastructure while keeping full control of your models and data.

  14. Generative AI for Hackers: Hands-On Cyber Operations in the Cyber Security Era
    Generative AI for Hackers: Hands-On Cyber Operations in the Cyber Security Era
    A Practical Guide to Exploiting and Defending Artificial Intelligence
    Muhammad Ahmad Ejaz

    Stop treating AI like a chatbot. Learn to exploit Prompt Injections, automate OSINT, write evasive payloads, and build autonomous defensive agents in this hands-on technical manual.

  15. Pair Programming with Modern LLMs and Agents
    Pair Programming with Modern LLMs and Agents
    How AI tools like Cursor and Claude Code Radically Transform Software Development
    Michael D. Callaghan

    AI doesn’t fail loudly. It generates code that looks correct and compiles anyway. This book shows you how to make AI dependable by building the context and guardrails that keep your team shipping instead of debugging.