Leanpub Header

Skip to main content

Filters

Category: "Artificial Intelligence"

Books

  1. LangGraph Crash Course: Build AI Agents with Python

    Learn LangGraph the fast, practical way by building real projects from your very first chapter. This hands-on guide cuts out the fluff and walks you step-by-step from simple graphs to powerful AI agents like ReAct and RAG. If you prefer learning by doing, this book will get you up and running quickly without overwhelming you.

  2. MLX Swift & Local LLMs. Deep dive into Apple's MLX framework for high-performance machine learning.
    MLX Swift & Local LLMs. Deep dive into Apple's MLX framework for high-performance machine learning.
    Building custom inference engines, fine-tuning local models (LoRA), and leveraging Unified Memory directly from Swift.
    Edgar Milvus

    Transform your Apple devices into AI powerhouses with native MLX Swift and local LLMs. Master "Metal-to-Model" workflows, leveraging unified memory for lightning-fast, zero-copy inference. Implement LoRA fine-tuning, 4-bit quantization, and real-time streaming for a superior user experience. Build the next generation of privacy-centric, offline-first AI applications directly in Swift 6.

  3. Create ML Studio. Training custom models without Python: tabular, image, sound, and motion classifiers using Create ML in Swift.

    Unlock the power of custom Machine Learning on Apple platforms without a single line of Python. Master Create ML Studio to train bespoke Image, Sound, and Motion classifiers entirely in Swift. Leverage Swift 6 concurrency and advanced MLOps to automate retraining and ensure model quality. Stop relying on generic AI—build and deploy your own native, private intelligence today!

  4. AI for Influencers
    AI for Influencers
    Beat the Algorithm, 10x Your Output, and Score the Biggest Brand Deals!
    Martin Grant

    Enough talk, let's get started today and make sure you get ahead in 2026! This is AI for Influencers: Beat the Algorithm, 10x Your Output, and Score the Biggest Brand Deals!

  5. AI for Students
    AI for Students
    Boost Your Grades, Master Complex Topics, and Study 3x Faster!
    Martin Grant

    You are studying in one of the strangest moments in the history of education. The institution testing you is measuring skills from twenty years ago...!

  6. AI for Virtual Assistants
    AI for Virtual Assistants
    Double Your Output, Automate the Boring Stuff, and Win Back your Weekends!
    Martin Grant

    You are not going to be replaced by AI. You are going to be replaced by a VA who uses AI. This book makes sure that VA is you.

  7. TypeDB for Edge AI Agents
    TypeDB for Edge AI Agents
    Volodymyr Pavlyshyn

    Your AI agent is only as smart as what it remembers. Most developers treat knowledge representation as an afterthought -- a data structure problem, not an architecture problem. They flatten complexity into schemas that can't express relationships, deploy embeddings without grounding, and build agents that degrade under their own reasoning load. This book changes that. **TypeDB for Edge AI Agents** is a practitioner's guide to building knowledge systems that actually work at the scale and complexity your agents demand. TypeDB is built on type theory -- the same mathematics that powers formal verification and programming language safety. For agents, that means you can express constraints that prevent bugs in your knowledge layer, reason about what's possible and what's forbidden, and build memory systems that don't require constant hallucination detection. With the Rust rewrite in TypeDB 3.0, your agents can carry sophisticated knowledge graphs on-device -- no round-trip to a server, no latency, no external dependencies. This book covers everything from the PERA data model and OWL ontologies to promise graphs for multi-agent coordination, giving you the patterns to design knowledge systems that scale without becoming incoherent. Whether you're an ML engineer, AI architect, or backend developer building production agent systems, this book bridges the gap between type theory and working code. You'll learn to design knowledge graphs that don't decay, structure agent memory that doesn't degrade over time, and coordinate multi-agent systems that respect causality and distributed constraints. Stop building agents that confidently hallucinate -- start building agents that reason correctly, remember reliably, and coordinate with certainty.

  8. THE SECRET OF MEANING — On Chosen Constraints and a Life Worth Living

    Meaning is not a treasure waiting to be found. It is a craft waiting to be made.

  9. Foundation Models for Tabular Data
    Foundation Models for Tabular Data
    The Definitive Guide to In-Context Learning, PFN Theory, and Production Deployment for Structured Data
    Valery Manokhin

    Gradient-boosted trees have dominated tabular ML for a decade. A new class of pretrained models just broke through — making accurate predictions on unseen datasets in seconds, with zero gradient steps on your data. This book explains why it works, when it fails, and how to deploy it.

  10. 手把手教你开发AI Agent:零基础打造你的24小时智能助理
    手把手教你开发AI Agent:零基础打造你的24小时智能助理
    从AI使用者,升级为AI系统创造者
    kejia shao

    从 AI 使用者,升级为 AI 系统创造者——亲手打造你的 24 小时智能助理。

  11. #BlendedAI - Building Human/AI Systems - Episode 02 - BPR Reborn - A Collection of Cases

    A book sharing both the conceptual and practical part of experiments carried out with AIs on the integration of humans and AIs as team members.

  12. You Cannot Have Everything: A Philosophical Case for Constraint

    The reason you can't have everything is also the reason anything exists at all.

  13. CASHBOT: If You Buy a Humanoid Robot, How Much Money Could You Make?
    CASHBOT: If You Buy a Humanoid Robot, How Much Money Could You Make?
    The Small-Business Playbook for Tesla Optimus and the First Real Robot Service Businesses
    Finxter

    If a humanoid robot carries about $28,000 a year in fixed cost, then at $60 contribution per billable hour it breaks even at roughly 467 billable hours per year, or just under 9 hours per week. But if supervision is heavier and contribution drops to $28 per hour, break-even jumps to 1,000 hours per year, or about 19.2 hours per week.

  14. SwiftUI for AI Apps. Building reactive, intelligent interfaces that respond to model outputs, stream tokens, and visualize AI predictions in real time

    Stop building static interfaces for dynamic AI and master the art of reactive, intelligent design.Leverage Swift 6 concurrency and @Observable to handle real-time token streaming and async outputs.From SwiftData persistence to animated visualizations, learn to architect production-ready Apple apps.The ultimate guide to building fluid, professional user experiences powered by modern AI models.

  15. Metagraph for AI Agents
    Metagraph for AI Agents
    Volodymyr Pavlyshyn

    Metagraphs for Agentic AI: Beyond Triples, Beyond HypergraphsFrom Knowledge Graphs to Knowledge ArchitecturesThe triple is not enough.Every AI engineer building agent memory hits the same wall. You model a meeting as a knowledge graph triple — and immediately lose the fact that five people were in the room, a decision was made, and that decision caused three downstream actions. You reify. You flatten. You create workarounds. And your "knowledge graph" becomes a tangle of auxiliary nodes that machines can traverse but no human can reason about.This book shows you the way out. What You'll Learn Metagraphs are graph structures where edges connect sets of nodes to sets of nodes — and where edges themselves can be referenced as first-class nodes. They are the missing data structure for AI agents that need to remember, reason, and coordinate like humans do.This book takes you on a complete journey:Hypergraphs first. You'll learn what they are, why they matter, and where they break down. You'll implement them three ways — in SQL, in LadybugDB (Cypher), and in TypeDB — so you understand the tradeoffs viscerally, not just theoretically.Then metagraphs. You'll see how metagraphs solve the fundamental hypergraph problem (edges that can't be nodes), explore RDF named graphs as a lightweight metagraph, and implement full metagraphs in the same three database paradigms with production-ready, commented code.Then the big ideas. Semantic Spacetime. Holonic systems. Human cognitive architecture mapped to graph structures. Multi-agent coordination. Promise Theory for autonomous AI networks. This is where metagraphs stop being a data structure and become an architecture for intelligence. Who This Book Is For You're a software engineer, AI researcher, or knowledge graph practitioner who builds real systems. You've used Neo4j or RDF stores. You've built RAG pipelines. You've felt the limits. You want to know what comes next.No PhD required. Every concept comes with working code in SQL, Cypher, TypeQL, SPARQL, and Python. What Makes This Book Different This isn't a theoretical monograph. It's the distillation of two and a half years of research, 130+ published articles, and hands-on implementation at the intersection of knowledge graphs and agentic AI.Every chapter bridges theory and practice. You'll read about Basu and Blanning's formal metagraph definition — and then build the schema in PostgreSQL. You'll learn Mark Burgess's Promise Theory — and then model a multi-agent coordination protocol as a six-layer promise graph. You'll understand why labeled property graphs are secretly metagraphs — and what that means for your Neo4j deployment today. 18 Chapters. Three Parts. One Argument. Part I — The Hypergraph Foundation (7 chapters): From the knowledge representation crisis through hypergraph theory to three complete database implementations.Part II — The Metagraph Solution (5 chapters): Metagraphs as the answer, RDF named graphs as a bridge, and three full metagraph implementations with detailed commentary.Part III — Theory Meets Practice (6 chapters): Semantic Spacetime, labeled property graphs, AI memory and human cognition, holonic systems, agent-to-agent interaction, and Promise Graphs for network-of-networks coordination. The Core Thesis If you want AI agents that reason like humans, you need knowledge structures that capture how humans actually organize knowledge — not as flat collections of facts, but as nested, hierarchical, context-rich, temporally-aware structures where relationships themselves carry meaning and can be the subject of further reasoning.Metagraphs are that structure. This book shows you why, and how to build with them.