Leanpub Header

Skip to main content

Filters

Category: "Artificial Intelligence"

Artificial Intelligence

  1. Super Study Guide: Transformers & Large Language Models

    A clear, illustrated guide to large language models, covering key concepts and practical applications. Ideal for projects, interviews, or personal learning.

  2. Build Your Own Coding Agent
    Build Your Own Coding Agent
    The Zero-Magic Guide to AI Agents in Pure Python
    J. Owen

    Skip the black-box frameworks. Build a production-grade AI coding agent from scratch in pure Python - cloud or local, tested with pytest, all in a single file.

  3. The Hundred-Page Language Models Book
    The Hundred-Page Language Models Book
    hands-on with PyTorch
    Andriy Burkov

    Master language models through mathematics, illustrations, and code―and build your own from scratch!

  4. How to Build and Fine-Tune a Small Language Model
    How to Build and Fine-Tune a Small Language Model
    A Step-by-Step Guide for Beginners, Researchers, and Non-Programmers
    J. Paul Liu

    You don’t need massive compute or big-tech resources to build real AI. This hands-on guide shows you how to build and fine-tune your own small language model—from scratch—using accessible tools like Google Colab. Learn transformers step-by-step, train and align models on your own data, and deploy practical AI systems that run on consumer GPUs. If you’ve ever wondered “Can I build my own model?”—this book proves the answer is yes.

  5. Rusty Graphs - AI Ready Graphs for Rust Developers

    Language models guess. Knowledge graphs know. Rusty Graph shows you how to build a local AI agent whose memory is a real knowledge graph — typed, validated, reasoned over, and queryable with SPARQL — all inside a single static Rust binary. No JVM. No Docker sidecar. No Python runtime bolted to the side. You will build Ares a research-assistant agent that observes papers, forms beliefs, makes promises to other agents, and tracks the provenance of every fact it holds. Chapter by chapter, Ares grows from an empty Cargo workspace into a full pipeline: > load → reason → validate → query → answer All of it in under a thousand lines of idiomatic Rust, using three crates that actually work today: `oxigraph`, `reasonable`, and `rudof_lib`. `grapfeo` You will learn how to- Model a domain as RDF triples and load them into an embedded store. - Write RDFS and OWL 2 RL axioms that infer trust, identity, and inverse relationships — automatically. - Guard your graph with SHACL shapes that reject bad data at the boundary, not in production. - Query everything with SPARQL, from simple lookups to federated queries across named graphs. - Wire the graph into a hybrid RAG pipeline so your LLM answers are grounded in facts, not vibes. Who it is forRust developers building agents, assistants, or any system where the answer "the model said so" is not good enough. You should be comfortable with Cargo and traits. You do **not** need any prior semantic-web background — every concept is introduced through Ares before any formal definition appears. Why Rust, why nowLocal agents are the next deployment target: a user's laptop, a Raspberry Pi, a WASM sandbox. Python cannot go there comfortably. Rust can. This book is the missing manual for the Rust side of the semantic web — the one that tells you exactly which crates work, where the ecosystem is thin, and how to ship anyway. Stop hoping your model tells the truth. Give it a graph that does.

  6. The Hundred-Page Machine Learning Book

    Everything you really need to know in Machine Learning in a hundred pages.

  7. Run Jev-Like System One Models Locally
    Run Jev-Like System One Models Locally
    A Complete Guide to Ollaya and Local Decision Models
    Steve Publications

    Run Jev-style decision models on your own hardware with Ollaya. Learn how these fast, structured models differ from LLMs, then build real applications with typed outputs, Python, JavaScript and MCP. From first setup to production, this practical guide shows you how to make AI faster, cheaper and more private.

  8. Build an LLM Inference Engine in C++
    Build an LLM Inference Engine in C++
    A Challenge-Driven Guide to Building a CPU-First Inference Engine in C++20
    Hatem M.

    Build a complete LLM inference engine in C++ — from a blankproject to a working Transformer that loads a real model andgenerates text. Forged one challenge at a time, with teststhat prove every piece works before you move on.

  9. Deep Learning with PyTorch Step-by-Step
    Deep Learning with PyTorch Step-by-Step
    A Beginner's Guide
    Daniel Voigt Godoy

    Revised for PyTorch 2.x! In 2019, I published a PyTorch tutorial on Towards Data Science and I was amazed by the reaction from the readers! Their feedback motivated me to write this book to help beginners start their journey into Deep Learning and PyTorch. I hope you enjoy reading this book as much as I enjoy writing it.

  10. The Agentic Engineer
    The Agentic Engineer
    Durable Principles for Building Production Systems with LLMs in the Loop
    Victor Velazquez

    A leader at a company opens Slack one morning. The brief their virtual employee wrote looks normal: same headers, same prose voice, same cadence as every other brief that week. The last line ends mid-sentence. The API returned `stop_reason: "max_tokens"`. The system shipped it anyway. No exception. No log line. No retry. That bug doesn't look like the normal kind. This book is about why, and what to build instead.

  11. Architecture Is The Control
    Architecture Is The Control
    An AI Product Security Field Manual: From Prompt to Operating Model
    Codrut Andrei

    Securing AI requires a system-level approach across models, data, identities, tools, infrastructure, and execution paths. This book shows how to apply Product Security and Secure SDLC principles to AI-enabled products, from RAG and agents to MCP, evaluations, supply chain risk, runtime controls, and governance, while building the fundamentals needed for a practical AI Product Security operating model.

  12. Reverse Engineering with Claude Code
    Reverse Engineering with Claude Code
    AI-Assisted Analysis, Understanding, and Reconstruction of Software Systems
    Steve Publications

    Reverse engineering gets a powerful upgrade with Claude Code. Learn how to investigate, understand and reconstruct software you’re authorized to analyze, while keeping evidence, accuracy and reproducibility at the center. From legacy systems to modern codebases, this book turns AI into a practical partner for serious software analysis.

  13. 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

  14. 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.

  15. Agentic Programming
    Agentic Programming
    From Prompts to Production: A Path to Al Fluency
    Jerod W. Wilkerson

    The most important impact of AI on software development isn't that it writes code faster — it's that it changes what you can delegate. Agentic Programming is a practical roadmap for climbing the AI Fluency Ladder: from prompting to agentic workflows, verified execution, and ultimately autonomous software development.