Agent execution

How an agent runs: how output reaches the user, the order in which things happen, and what is kept between runs.