> For the complete documentation index, see [llms.txt](https://world-models-from-scratch.gitbook.io/wmfs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://world-models-from-scratch.gitbook.io/wmfs/chapters/chapter_01.md).

# Chapter 1: Understanding World Models

Before we can build a world model, we need an intuitive understanding of what it means. This chapter defines a 'world' and a 'world model'. We then introduce the vocabulary used throughout the book.

## What You Will Learn

By the end of this chapter, you should be able to:

* define the boundary of a world for a specific task
* identify observations, actions, states, and transitions within that world
* explain how repeated transitions produce a rollout
* explain why a model may predict several possible futures
* distinguish a learned world model from a rule-based simulator
* identify the main components of a world-modeling system

## Contents

* [1.1 What Is a World Model?](/wmfs/chapters/chapter_01/01-what-is-a-world-model.md)
* [1.2 Why Do We Need World Models?](/wmfs/chapters/chapter_01/02-why-we-need-world-models.md)
* [1.3 World Models vs. Simulators](/wmfs/chapters/chapter_01/03-world-models-vs-simulators.md)
* [1.4 Components of a World Model](/wmfs/chapters/chapter_01/04-components-of-a-world-model.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://world-models-from-scratch.gitbook.io/wmfs/chapters/chapter_01.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
