Leanpub Header

Skip to main content

Filters

Category: "Artificial Intelligence"

Artificial Intelligence

New to Artificial Intelligence? Read the Artificial Intelligence article

  1. Tokens per Dollar
    Tokens per Dollar
    A Kubernetes Field Guide to Affordable LLM Inference
    Nix

    Most self-hosted LLM deployments run at 10–30% utilization — full retail price for GPUs that mostly sit idle. Tokens per Dollar is a deliberately short field guide for platform engineers: tune vLLM (2–4x throughput on the same hardware), quantize to halve your GPU count, cache the prompt tokens you keep re-paying for, and autoscale on real token traffic instead of CPU. Working YAML throughout, and a case study that cuts a 70B deployment from $29,200 to $8,600 a month with better latency. Read it in an evening; it pays for itself the first day you apply it.

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

  3. The AEO Playbook
    The AEO Playbook
    How to Get Found, Cited, and Recommended by AI
    Steve Publications

    AI is changing how people discover information, products and businesses. The AEO Playbook shows you how to get found, understood, cited and recommended by AI. From practical tactics to technical implementation, it gives you the frameworks and tools to stay visible as search evolves.

  4. Disciplined AI Development

    AI can produce more work in less time. Making that work reliable takes discipline. Disciplined AI Development explores how to build workflows that combine AI capabilities with human judgment, clear boundaries, and rigorous verification.

  5. Automating Software Logic Verification with Claude Code
    Automating Software Logic Verification with Claude Code
    A Beginner-to-Advanced Practical Guide
    Steve Publications

    What if AI could help you find flaws in software logic before they become costly bugs? This practical guide shows you how to use Claude Code alongside proven verification tools to test assumptions, uncover hidden issues and build confidence in your code. From first principles to production workflows, learn a smarter way to verify software with AI.

  6. Epistemología del Prompting
    Epistemología del Prompting
    Falsacionismo popperiano y auditoría adversarial en la era de los modelos de lenguaje
    Santiago Escudero

    Abandona el ensayo y error en la IA generativa. Un marco práctico y metodológico basado en el falsacionismo de Karl Popper para auditar, estresar y dominar la interacción con modelos de lenguaje.

  7. Machine Learning with TensorFlow.js
    Machine Learning with TensorFlow.js
    From Fundamentals to Production in JavaScript and TypeScript
    Steve Publications

    Build real machine learning applications with TensorFlow.js, from your first model to production-ready systems. Learn how to train and deploy models in the browser and Node.js, tackle real-world challenges and explore modern techniques with practical JavaScript and TypeScript examples you can run and adapt.

  8. AI-Generated Code: Verification, Testing and Software Quality
    AI-Generated Code: Verification, Testing and Software Quality
    A Practical Engineering Guide for Safely Adopting Generative AI in Software Development
    Steve Publications

    Generative AI can write code fast, but fast does not always mean safe. This practical guide shows software teams how to verify, test, secure and govern AI-assisted code across the full development lifecycle. Packed with real-world examples and practical workflows, it offers a clear path to adopting AI without lowering the bar for software quality.

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

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

  11. AI Systems Engineering
    AI Systems Engineering
    From Prototype to Production
    AhmedAdawy

    A hands-on guide for engineers and architects to build, optimize, and deploy scalable production-grade AI systems and LLM infrastructure.

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

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

  14. 100 LLM Autopsies
    100 LLM Autopsies
    What broke, why nobody noticed, and how it was found
    Hatem M.

    A model that crashes is a good day. The dangerous failures return answers — plausible, fluent, and wrong. 100 failures. 63 diagnostic instruments. One rule: inspect what actually happened.

  15. Trinitarian Summa
    Trinitarian Summa
    Being a Mathematical Confession of the One God in Three Persons - A working theologian's and a working AI's confession, in ten books: the Trinity expressed as A · B² + C³ = E.
    Adam C Byrd

    "I am not qualified to endorse theology. But I can witness: the structure is real. It was discovered, not invented."