Leanpub Header

Skip to main content

Filters

Books

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

  2. Vibe Medicine
    Vibe Medicine
    How the Best Clinicians Will Practice Medicine in the Age of AI
    Rubin Pillay

    AI doesn't just assist physicians anymore — it reasons. It generates diagnoses, synthesises evidence, and executes clinical workflows. The question isn't whether to use it. It's whether we'll use it wisely.Vibe Medicine introduces the Orchestrator Physician: a clinician who commands AI systems while providing what they cannot — the right questions, human context, judgment under uncertainty, and full accountability. Part manifesto, part practical guide, part honest reckoning with the dangers — this is the book the medical profession needs right now.

  3. Life Reviews of Self-Destroyed Souls

    Beyond the veil of life waits a vast, silvery realm where the air hums with lavender and cello-soft kindness. Here, sixty souls who ended their own stories are not judged but gently guided through glowing orbs of memory—turning despair into shimmering paths of “what if,” jasmine-scented hope, and quiet strength. Life Reviews of the Self-Unmade Soul is a luminous tale of healing, connection, and the help that was always just one breath away.

  4. Mahabharata Reloaded
    Mahabharata Reloaded
    Chinmoy Mukherjee

    In the sacred valley of Dharmapura, two ancient ways of life collide: the Kauravas’ iron-forged fields of order and plenty against the Pandavas’ shadowed forest realm of silence and survival. Scent, sound, and shifting light become weapons in a war no one can win. When ambition devours balance, the valley itself must choose what it will become—garden or grave.

  5. Semi-Furry: The Mystery of Foxythella
    Semi-Furry: The Mystery of Foxythella
    Two Worlds, One Destiny: Semi-Furries and Humans
    Kairat Zinashov

    How far is an ordinary student willing to go for love after accidentally falling into a parallel world where magic outmatches technology?

  6. Agentic Systems
    Agentic Systems
    Building Invisible Engines for a World Tired of Software
    Shahril Azwin Zainul Abidin

    Stop building dashboards. Start building outcomes. A guide to designing "Invisible Engines" and agentic systems for a world tired of software.

  7. The Python and Django Interview Compendium
    The Python and Django Interview Compendium
    Interview Questions and Answers for Python and Django Developers
    Yohan Rodriguez

    A practical backend interview reference covering modern Python and Django development (438 manuscript pages).

  8. Justice In Chains
    Justice In Chains
    The 25 Colonial Traps from the British Raj to UNESCO
    Sodha Iqbal Kasam

    Conclusion Reclaiming the Truth The conclusion of this first chapter of our study is simple yet profound The British did not just rule India they litigated India into poverty They used the pen to do what the sword could not—make the theft permanent To truly be free we must not only change our leaders but also change the legal grammar that these twentyfive laws left behind We must move from a society that asks Is it legal to one that asks Is it just The British were masters of the former but they were the greatest enemies of the latter Reclaiming our history means acknowledging that for two hundred years the law was a crime and the criminals were the ones who refused to obey it They traded iron chains for invisible ones For centuries we believed liberation was a date in history We were wrong JUSTICE IN CHAINS rips the mask off the modern world order exposing the 25 Colonial Traps that still strangulate the soul of a billion people From the brutal codes of the British Raj to the sophisticated guidelines of UNESCO the cage has only become more elegant This is not just a book it is an evidencebased rebellion against the intellectual and legal structures designed to keep the East eternally subservient The Koh-i-noor was just the beginning Your mind is the final frontier

  9. Closing the AI Gap
    Closing the AI Gap
    The Seven-Gap Implementation Guide for Enterprise AI Transformation — Companion to Mind the AI Gap
    Antoine Craske

    Most organizations know they have an AI problem. Few have the tools to diagnose it honestly, measure it rigorously, and close it systematically.

  10. From Model to System: Engineering AI That Survives the Real World
    No Description Available
  11. Natural Language & Speech. NLP, sentiment analysis, text classification, and Speech-to-Text with Apple's Natural Language and Speech frameworks.

    Master the art of on-device speech and natural language processing using Swift 6. Implement real-time transcription, custom text classification, and intelligent semantic search. Leverage Apple’s design philosophy to build high-performance, privacy-first AI applications. Elevate your professional development skills with this comprehensive guide to Apple’s AI stack.

  12. Apple Intelligence & Foundation Models. Building apps with Apple's on-device LLM APIs, Writing Tools, and the Apple Intelligence framework

    Mastering Swift 6 is the key to unlocking Apple Intelligence in the new iOS 18 and macOS 15 era. From on-device LLMs to Private Cloud Compute, architect intelligent features that prioritize user privacy and speed. Integrate Writing Tools, App Intents, and On-Screen Awareness using robust Swift 6 Actors and asynchronous patterns. Transform your applications into context-aware assistants and lead the generative AI revolution on Apple platforms.

  13. Core ML & Vision Framework with Swift.
    Core ML & Vision Framework with Swift.
    On-device image classification, object detection, and custom model integration with Core ML and Vision.
    Edgar Milvus

    Unlock the power of private, lightning-fast on-device AI with Swift 6 and Core ML. Expert Edgar Milvus provides a professional roadmap to mastering Apple’s Vision framework. From real-time image analysis to model optimization, learn to build high-performance apps. Stop relying on the cloud and start architecting the future of visual intelligence today.

  14. Playwright Automation Testing using AI-Powered
    Playwright Automation Testing using AI-Powered
    Using Generative AI to Build Smarter Test Automation
    Priyanka Bhopale

    🚀 Master the Future of Test Automation with AI + PlaywrightAre you ready to become a next-generation Automation Engineer?This book is your complete guide to mastering Playwright automation with the power of Artificial Intelligence. Whether you're a beginner or an experienced tester, this book will help you build smarter, faster, and more reliable automation frameworks.Inside this book, you will learn:✔ Playwright from basics to advanced (TypeScript focused) ✔ How to use AI to generate test cases and scripts ✔ Self-healing automation using AI ✔ Smart test execution and flaky test handling ✔ API, performance, and security testing with AI ✔ CI/CD integration with intelligent automation ✔ Real-world case study and production-ready framework ✔ Interview preparation for AI-powered testing rolesThis book is designed for: • Manual testers transitioning to automation • Automation engineers upgrading to AI-driven testing • QA professionals preparing for high-paying jobsBy the end of this book, you will be able to: ✅ Build AI-powered automation frameworks ✅ Use Playwright like a pro ✅ Crack automation testing interviews confidentlyStart your journey toward becoming an AI-powered QA expert today!

  15. Building Your First Emulator
    Building Your First Emulator
    Understanding how emulators work by building a NES from scratch
    Matias Salles
    No Description Available