Leanpub Header

Skip to main content

Filters

Category: "Artificial Intelligence"

Artificial Intelligence

New to Artificial Intelligence? Read the Artificial Intelligence article

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

  2. Graph Engineering: The Loop That Remembers

    The loop writes code and clears context. The commit log records MAX_RETRIES = 3, but the reason it's three vanished on Friday night. The artifact survived; the decision evaporated.The Loop That Remembers inverts the premise: memory isn't the sixth piece, it's what the loop exists to produce. Two graphs, a promoted lattice, bounded context, and an evaluator checking claims against edges.

  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. Irreplaceable
    Irreplaceable
    Learn the craft of working with AI, and your value goes up, not away.
    Duncan McTavish

    Written for people who never asked to become AI users and now are. Not a tour of the technology, but a practical guide to working with it well — the habits that make good results repeatable, and the judgement to know when to check.

  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. Mastering LLM Quantization: Architecture and Code

    A Comprehensive Engineering Guide to Low-Precision AI, Quantized Inference, GPU Kernels, and Production DeploymentQuantization is one of the key techniques for making large language models more efficient. By representing weights, activations, and other model data at reduced precision, engineers can lower memory requirements, improve hardware utilization, and potentially increase inference throughput. Achieving these benefits, however, requires careful trade-offs between numerical accuracy, computational cost, memory bandwidth, and hardware support. Mastering LLM Quantization: Architecture and Code is a 44-chapter engineering reference covering the mathematics, algorithms, implementation techniques, GPU kernels, evaluation methods, and deployment systems behind quantized language models. It connects theoretical foundations with practical approaches to building and optimizing low-precision inference pipelines.

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

  8. The Orange Book of Machine Learning - Green edition
    The Orange Book of Machine Learning - Green edition
    The essentials of making predictions using supervised regression and classification for tabular data.
    Carl McBride Ellis

    The essentials of making predictions using supervised regression and classification for tabular data. Tech stack: python, pandas, scikit-learn, CatBoost, LightGBM, XGBoost, TabPFN, TabICL

  9. Neuro-Symbolic AI & Knowledge Graphs. Deterministic Solvers, GraphDBs, Ontologies, and Zero-Hallucination Architectures
    No Description Available
  10. Complete Machine Learning Algorithms
    Complete Machine Learning Algorithms
    Reference Guide With Detailed Formula Explanations
    Krzysztof Kołek

    Stop guessing which machine learning algorithm to use. This book provides clear mathematical explanations, decision frameworks, and real-world examples to help you select, implement, and evaluate models correctly from data to deployment.

  11. Claude Code Masterclass
    Claude Code Masterclass
    Build Real-World Software with Claude Code, AI Workflows, and Hands-On Projects
    Luca Berton

    Learn Claude Code by building real projects. This hands-on companion turns the Claude Code Masterclass workshop into a practical self-paced guide for planning, coding, testing, reviewing, refactoring, and shipping software with AI.

  12. Architecting Production-Ready Gen AI and Agentic AI Systems
    Architecting Production-Ready Gen AI and Agentic AI Systems
    A Practitioner’s Guide to Architecture, Retrieval, Agents, Evaluation, Security, Governance, FinOps, and Production Operations
    Srinivas Bommena

    An AI system becomes an architecture problem when it can influence decisions, invoke tools, carry state or change the outside world. This practitioner playbook shows how to design Gen AI and Agentic AI systems that remain reliable, governable and defensible once they reach production.

  13. Building Your LLM Twin
    Building Your LLM Twin
    A Production-Grade Guide to Engineering Large Language Models from Concept to Deployment
    Steve Publications

    What if you could build an AI that writes just like you? In Building Your LLM Twin, you'll follow a hands-on journey from raw writing data to a fully deployed AI that captures your unique voice. Learn to build, fine-tune and scale real-world LLM systems with practical code, proven techniques and the tools to take your project from concept to production.

  14. Agentic Cybersecurity: Engineering Autonomous AI Defense

    Design, Build, and Operate Autonomous AI Systems for Modern Cyber DefenseCybersecurity is evolving beyond traditional automation toward intelligent systems capable of continuously analyzing security telemetry, investigating threats, coordinating specialized tools, and executing controlled defensive actions. This shift introduces new engineering challenges involving agent architecture, decision-making, authorization, operational reliability, and the verification of security-critical actions.

  15. Fix the Ladder
    Fix the Ladder
    Growing Junior Engineers in the Age of AI
    Giordano Scalzo

    AI can help engineers ship code they cannot explain. This complete, illustrated guide helps engineering managers and CTOs grow judgement alongside that speed, with a six-session mentoring course, reusable exercises, and the business case for junior hiring.