Skip to main content

Simulation · no model and no key

Build an agent, then watch it play

Seven parts. With all of them on, the agent picks up a key and goes around a wall to the door. Turn one part off and see exactly where the task breaks.

  1. 1
    World

    A grid, a wall, a key and a door. That's everything the agent can touch.

  2. 2
    Goal

    Pick up the key, then stand on the door. Without a goal there is no end.

  3. 3
    State

    Where it stands, and whether the key is in hand. Only an action changes that.

  4. 4
    Sensors

    Without a sensor the policy doesn't know where the key is.

  5. 5
    Actions

    Step or pick up. With pickup off, the key stays on the floor.

  6. 6
    Policy

    A plan finds a way around. Walking straight gets stuck at the wall.

  7. 7
    Loop

    Step, observe, decide, until success or until the budget runs out.

Plans a detour

Walks straight

The agent is at the starting point. Goal: pick up the key and reach the door. Versus: The agent is at the starting point. Goal: pick up the key and reach the door.

Keyboard: left and right arrows step, space plays. 1 of 10 · Start

Accessibility settings

These settings change how this site looks on this device only. They are saved in this browser.

Text

Colour

Light and dark mode are in the top bar, next to search.

Reading and navigation