Skip to main content
Back

Cyber Monday Deal: Get 20% off all AlphaSignal Pro subscriptions. Ends soon.

Leiden Drops a Free 472-Page Textbook on Agentic LLMs

Four Leiden University researchers released a 472-page open textbook covering how large language models reason, act, and interact as autonomous agents.

Pro

Paper, Full Access
  • Four Leiden University researchers released Agentic Large Language Models, a 472-page textbook on arXiv.
  • Organised around three pillars: reasoning, acting, and interacting, with seven parts total.
  • Serves as the primary text for a new graduate LIACS course taught by the authors.
  • Early chapters cover transformers, training pipelines, and scaling laws from scratch.
  • Builds on the authors' earlier JAIR survey of the agentic LLM literature.
  • Released under CC0 public domain, aimed at graduate students and researchers.

Four Leiden University researchers have posted a 472-page textbook on arXiv. Agentic Large Language Models, written by Max van Duijn, Michiel van der Meer, Aske Plaat, and Niki van Stein, develops a curriculum around language models that reason, act, and interact. Its CC0 public-domain dedication allows readers to copy, adapt, and redistribute the material without seeking permission.

The book serves as the primary reading material for a new graduate course at Leiden University’s LIACS, taught by the four authors. Their definition of an agentic LLM covers systems that use model outputs to choose steps, retrieve information, call tools, affect an environment, or coordinate with other agents.

Three verbs define the field

An earlier survey, published in the Journal of Artificial Intelligence Research, established the book’s taxonomy. The authors organize agentic systems around three capabilities: reasoning, acting, and interacting.

Cycle connecting reasoning, acting, and interacting in an agentic language model
The book connects reasoning, acting, and interacting through a recursive feedback cycle.
Pillar Topics Purpose
Reasoning Reflection, retrieval, planning, and multi-step inference Improve how a model selects and revises decisions
Acting Tool use, action models, software interfaces, and robotics Turn model decisions into changes in software or physical environments
Interacting Multi-agent coordination and simulated social behavior Distribute tasks and study behavior that emerges among agents

The recursive cycle feeds results from one capability into the next. Reasoning selects an action, an environment or another agent returns feedback, and reflection shapes the following decision. This process can improve behavior during a task while the underlying model weights remain fixed.

From tokens to teams

The course syllabus starts with language-model fundamentals before moving into agent design. That sequence gives readers a self-contained review of transformers, training, and scaling before introducing the three agentic pillars.

  • Language-model foundations: tokenization, embeddings, attention, and transformer architecture.
  • Training pipeline: data preparation, pretraining, fine-tuning, preference tuning, inference, and benchmarks.
  • Scaling and efficiency: scaling laws, small and distilled models, computational efficiency, and sustainability.
  • Reasoning, Part II: reflection, retrieval, planning, and methods for multi-step decision-making.
  • Acting, Parts III and IV: tool use, action models, and integration with robots and external systems.
  • Interacting, Part V: multi-agent systems, collaborative problem-solving, and emergent social behavior.
Diagram of the transformer architecture covered in the textbook
The opening material reviews transformer architecture before introducing agentic systems.

Why agents enter the data loop

The authors connect agent research to a constraint in model training: suitable pretraining data is becoming harder to expand, and adding more data can produce diminishing gains. Agents that operate in software, simulations, or physical environments generate interaction trajectories containing observations, decisions, actions, and outcomes. Those records can support training and evaluation when they are filtered and validated carefully.

Tool integration also moves language models into operational systems. The survey cites assistants in medicine and finance, along with robots and general software tools. Current implementation layers include LangGraph for stateful workflows, OpenAI’s Agents SDK for tools and handoffs, and Anthropic’s computer-use capability for operating graphical interfaces.

Production questions exposed by the taxonomy

  • Reasoning: Can the system explain or verify the basis for a decision, and how does it recover from a failed plan?
  • Acting: Which tools may the model call, what permissions do they receive, and which actions require approval?
  • Interacting: How are tasks assigned among agents, and how are loops, conflicts, and cascading errors detected?
  • Evaluation: Do benchmarks measure completed tasks, costs, latency, safety, and recovery rather than text quality alone?

Prerequisites and implementation resources

The intended audience includes graduate students and researchers in artificial intelligence and computer science. Readers should be comfortable with machine-learning concepts such as loss functions and model training. Prior familiarity with individual agent papers, including ReAct, Reflexion, and Voyager, is unnecessary. The authors also address researchers in cognitive science, social science, and the humanities who have sufficient technical preparation.

The arXiv submission does not include a companion repository of agent implementations. The course’s resource index collects frameworks, papers, and benchmarks for each section, while runnable projects still require external documentation and tutorials for tools such as LangChain, AutoGen, or CrewAI. The textbook provides the conceptual structure needed to compare those implementations and decide how reasoning, acting, and interaction should fit into a system.