Leanpub Header

Skip to main content

Filters

Category: "Artificial Intelligence"

Books

  1. The Engineer’s Grok Bot Playbook
    The Engineer’s Grok Bot Playbook
    Build a personal AI team, improve engineering outcomes, and connect your work to a second brain
    Geison Goes

    Build a personal team of Grok Bot assistants and a second brain that preserves what you learn, without handing over your judgment or your security boundaries. This evidence-first playbook gives software engineers the roles, prompts, workflows, and metrics to test what actually improves their work.

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

  3. Coding Is The Easier Part
    Coding Is The Easier Part
    Makers, Machines, and the Mess in Between
    Kresimir Koncic

    In just a matter of days, a wave of rushed AI products exposed how far we are from the robots sci-fi writers spent decades crafting. Remember Commander Data, producing Sherlock Holmes–like deductions from his positronic brain; or WALL-E, spinning his tiny treads across a cosmic hush just to chase a crush. Even Arnie the Terminator was really polite when he decimated several police vehicles, with no intention of grazing a single cop. James Cameron even subtitled the sequence “Human Casualties: 0.0” just to soothe our nerves. Our actual machines are far from the level of Schwarzenegger excellence, but I’m not beginning this book by rattling the familiar skeletons in the AI closet. That topic belongs in the last part. What matters here is the connected narrative that robots will automagically create entire software suites, clean our inboxes, cure cancers or make coffee in a stranger’s house, with the last one being an unusual holy grail. Some gurus go further, promising the revolution will wipe illustrators, screenwriters, and musicians off the Earth, while the surviving coders will turn into sweaty blue-collars tapping ceramic tiles instead of their clickety keyboards. But just like WALL-E, we’ve tread this space before. I wrote my first QBASIC video game somewhere around 1996, right around the time Microsoft released IntelliSense, a little helper-bot that could pop up and write substantial chunks of code. It was followed by a long parade of development tools: Heftier code generators, collections of prebuilt components such as Bootstrap, content management systems such as WordPress and Drupal, and low-to-no-code builders such as Replit or Tabnine. Even Figma, the designer’s weapon of choice, was made to spout complete user interfaces. On top of that, gig platforms such as Fiverr began offering ghost-coding for just a couple of bucks. You’re guessing it right: Communities around these tools kept shouting that developers could finally rest and sip beach cocktails. But the opposite happened, and the number of programmers kept growing over the last 30 years, which brings us to the first irony. Pair the shortage of engineering talent with the ever-growing demand for software, and you get a simple revelation: It was precisely those sleep-deprived programmers who pushed hardest for stronger, more efficient tooling. For example, the JetBrains study shows that three out of four programmers had already embraced coding copilots. Stack Overflow, the site which has been steadily drained by those copilots, reports similar numbers. The result is the same: The people supposedly being automated away were first in line to build – and buy – that very same automation.

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

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

  6. Know Everything, Read Almost Nothing
    Know Everything, Read Almost Nothing
    Building a Graph-Routed Second Brain So Your AI Reads 5 Pages, Not 4,000
    Joel Bryan Juliano

    Build an Obsidian second brain your AI can actually use, without making it read everything you have ever written.

  7. LadybugDB for Edge Agent AI memory

    Vector stores don't think — they search. They find fragments that sound like your query, then forget they ever looked. Every session starts from nothing. Every context window is a memory that dissolves at sunset.But the deeper problem isn't amnesia. It's that when agents do remember, they remember in someone else's house — on servers you don't control, in formats you can't inspect, under terms you didn't write.Memory Graph is a book about building something different: persistent, structured, queryable memory that lives inside your application — no external servers, no data leaving your process, no infrastructure you don't own. An embedded graph database that travels with your agent the way a nervous system travels with a body.You'll learn how to model not just facts, but relationships between facts. Causality. Temporal ordering. The layered structure of meaning that makes memory more than a search index. You'll build ontologies that enforce what can be known and how. You'll combine graph traversal with semantic search — so your agents find not just what's similar, but what's connected.The result is an agent that remembers the way you do: structurally, contextually, privately — with memory that belongs to you.

  8. Neuro-Symbolic AI & Knowledge Graphs. Deterministic Solvers, GraphDBs, Ontologies, and Zero-Hallucination Architectures
    No Description Available
  9. 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.

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

  11. Production-Grade Python, LangChain & LangGraph
    Production-Grade Python, LangChain & LangGraph
    A deployment-first handbook for developers who know Python syntax but have not shipped Python
    Fiodar Sazanavets

    AI engineering is becoming one of the most valuable and in-demand areas of software development, and Python, LangChain, and LangGraph are core skills for building the systems behind it. Learn how to turn basic Python knowledge into production-grade backend and agentic AI applications—and move toward an engineering niche centered on building and controlling AI rather than competing with it.

  12. Hermes: Organizations as Swarming Agents

    Scrum transformed human teams. Now it's transforming AI agents. Discover the architecture behind the next productivity revolution.

  13. Java AI Frameworks
    Java AI Frameworks
    A hands-on comparison of Spring AI and LangChain4j
    Nicolas Duminil

    This is a hands-on, code-first book. Every example is real, tested, and runs against a local model with no cloud key required, except where a capability genuinely needs one. You get working Maven projects, not snippets, and a clear-eyed account of each stack's strengths, gaps, and surprises. The full source code is on GitHub under an open-source license What you'll learn:Build a working AI service in three stacks and grade them with one shared testGround answers in your own documents with RAG, and tune what retrieval returnsGive a model memory and tools, and reach external systems over the Model Context ProtocolAdd vision and audio, structured output, production observability, and securityGo from assistants to agents, and see where the JVM's agent story is headingWho it's for: Java developers and architects choosing an AI stack, or already committed to one and curious what the alternatives do differently. Comfort with modern Java and either Spring Boot or Quarkus is all you need. No machine-learning background required.

  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. Building Production-Ready AI Agents with LlamaIndex
    Building Production-Ready AI Agents with LlamaIndex
    From First Query to Multi-Agent Systems: A Practical Guide for Python Developers
    Steve Publications

    Go beyond simple chatbots and build production-ready AI agents with LlamaIndex. Through practical projects and working Python code, you will learn to design reliable systems with retrieval, workflows, multi-agent architectures, observability, and deployment techniques for real-world applications.