•  1
    Official accounts of AI in India in 2026 measure progress by what was built: compute, models, an institute and a summit. We ask a different question: for whom has AI in India been made safe, and who bears the cost when it errs? Working from public documents covering January to December 2026, we review governance, international engagement, documented harms, developer disclosures, published bias studies, security and agentic payments. We find that the documented costs fell along long-standing line…Read more
  •  120
    Roughly fifty distinct methods have been proposed for improving the answers a large language model produces at inference time. They are usually catalogued by name and by reported benchmark gain, which tells a practitioner little about when a method will help. This tutorial organises the field differently, and works through each method with a concrete example before stating the general rule. We characterise every method by three parameters: the number of attempts it makes, the source of its corre…Read more
  •  27
    Search systems and RAG pipelines get judged by metrics, and metrics are easy to misread. This book covers about seventy of them one at a time, explaining what each actually measures, working the arithmetic through on real examples, and showing where it misleads you. It also covers which ones have to be read together, since some popular metrics are quietly measuring the same thing, and others that look almost interchangeable turn out to track different properties that both matter. The last chapte…Read more
  •  227
    Agent Algorithmics treats tool-using AI agents as algorithmic objects rather than as applications of language models. It develops the machinery for operating them under real constraints. Action selection when the budget is finite and shrinking. Verification, abstention, and refusal as control decisions with thresholds you derive rather than tune. Speculation, parallelism, and the protocols that decide when work becomes permanent. Memory, retrieval, capability boundaries, and the evaluation of sy…Read more
  •  117
    An agent is a system in which a model chooses the control flow at run time. Everything difficult about building one follows from that single property, because the set of reachable states stops being enumerable and test coverage stops meaning anything. This book catalogues thirty patterns for building agents that keep working, organised around failure evidence. Five recurring failure modes are consolidated from published incident analyses, among them a taxonomy derived from more than 1,600 annota…Read more
  •  98
    When a retrieval-augmented system gives a wrong answer, the fault usually lies in retrieval rather than in the language model. Either the passage was never found, or it was found and ranked too low to make the cutoff, or it reached the prompt and the model did not use it. This book treats that claim as an engineering position and works through its consequences over twenty-four chapters. Information retrieval and service operations are taught from scratch along the way, because the argument canno…Read more
  •  290
    This document defines the Zero Trust Identity and Authorization Profile (ZT-IAP v1.0), a normative security specification for identity, authentication, authorization, transport protection, proof of possession, observability, and operational practice in zero trust architectures. The profile applies to systems deployed across cloud, on-premises, hybrid, and edge environments, and provides consistent, verifiable requirements for how human, workload, device, and non-human identities — including auto…Read more
  •  328
    Many reasoning problems are ill-defined. Goals, constraints, and acceptable solutions are not fully specified at the outset and emerge only through attempted constructions and failures. We introduce Chain-of-Feasibility, a knowledge refinement framework that models reasoning progress as iterative restriction of a feasible solution space. The framework represents partial approaches, constraints, and failures as explicit epistemic artifacts stored in a persistent structure. Feasibility is defined …Read more
  •  1554
    Autonomous agents built on large language models (LLM) interpret natural language, generate probabilistic outputs, and invoke tools as context evolves. These behaviors strain identity and access management systems built for stable and predictable principals. We systematize mechanisms across identity, authorization, runtime enforcement, and policy, and identify a maturity gap. Deployed controls are agent-agnostic, while agent-specific proposals lack production validation. We prove that stacks eva…Read more
  •  362
    Adaptive security defenses promise better protection against evolving threats, but deployment remains dangerous, a single bad rule can cause massive outages. We present HiCRAB, the first framework to provide formally verified safe deployment of security rules. HiCRAB uses hierarchical conservative bandits to learn rule quality while maintaining mathematical safety guarantees, enabling 10x faster deployment than current practice with zero production incidents. We prove safety properties under adv…Read more
  •  354
    Operators in hyperscale networks must decide under partial and asynchronous telemetry whether to act (Unhealthy, U), to stand down (Healthy, H), or to abstain (Inconclusive, I). Acting on stale or uncorroborated evidence is unsafe; abstaining when a fault is real prolongs impact. We present CoreSec Consensus, a role-partitioned, snapshot-consistent, certificate-carrying consensus scheme for operational root-cause analysis (RCA) and mitigation at the scale of Clos fabrics. CoreSec groups agents b…Read more
  •  534
    Criticality-stratified learning targets strict accuracy on a critical subset of inputs while allowing relaxed accuracy on others, matching real systems that route heavy compute only when needed and safely reuse cached results elsewhere. We give split uniform-convergence guarantees that size data needs separately for the critical and optional strata, clarify when passive i.i.d. sampling incurs a 1/p_c draw penalty, and show that if criticality can be detected pre-label or pre-compute, the label a…Read more
  •  837
    We introduce MoralBench, a consolidated benchmark dataset for evaluating moral alignment, ethical reasoning, and socially sensitive dialogue generation in large language models (LLMs). MoralBench combines three datasets generated via a large language model: (1) a 1K high-fidelity safety-alignment prompt set, (2) a 10K abstracted variation set for domain transfer and low-specificity alignment testing, and (3) a 19,132-record rich metadata preference dataset with structured ethical annotations. Th…Read more
  •  658
    We study whether diverse supervisory controls for large models admit a low-dimensional representation. We formalize a two-coordinate projection $(a,\tau)$ capturing (i) alignment style relative to a reference family and (ii) randomness versus idempotency, and define the Control Sufficiency Index (CSI) to quantify fidelity. We give simple structural results (two-dimensional sufficiency under regularity, a one-dimensional impossibility for mixed greedy--sampling regimes, Lipschitz stability of ser…Read more
  •  325
    We present Opal, an operator view of reinforcement learning from human feedback (RLHF). Objectives are expressed as ladders of two primitives on a base utility: additive penalties and multiplicative pairwise weights. We show a simple reduction law with if-and-only-if conditions: such ladders collapse to a normal form on pairwise margins when the reference is fixed, penalties are additive, and weights are independent of intermediate margins. When these assumptions do not hold (reference shift, no…Read more
  •  387
    We observe that various systems, from artificial intelligence to scientific disciplines, appear to progress by finding more efficient ways to encode and manage uncertainty. This paper presents the Uncertainty Encoding Principle (UEP) as a provisional framework for organizing these observations, not as a universal law or comprehensive theory. UEP suggests that some systems may improve by transforming their representations to reduce complexity while preserving decision-relevant information. We emp…Read more
  •  1104
    Large language models are increasingly aligned to human preferences through reinforcement learning from human feedback (RLHF) and related methods such as Direct Preference Optimization (DPO), Constitutional AI, and RLAIF. While effective, these methods exhibit recurring failuresrs ie eward hacking, sycophancy, annotator drift, and misgeneralization. We introduce the concept of the Alignment Gap, a unifying lens for understanding recurring failures in feedback-based alignment. Using a KL-tilting …Read more