
# Watch a build on the Live screen

While an agent builds a Work item, the item's console page is the Live screen. The timeline's count, arrows, Play, Replay and Back to now move only what you see; none of them re-runs a step or rewinds the builder.

Success: the agent posts the link from `data.tell_person`, and the timeline shows its `agc now` lines as it works.

## Execution contract

- **Before starting:** the agent owns an open Work item and its folder's mirror runs (`agc up --detach`).
- **Do:** post `data.tell_person` once; run `agc now "<line>"` before each step.
- **Success:** each step is a row on the screen.
- **If blocked:** `live.not_running` means start the mirror; `live.not_writer` means use the mirror's credential.
- **Human handoff:** the person watches in the console; nothing waits on them.

## Ask your agent

```text
Start on the booking page. Send me the link to watch it being built,
and say what you're doing at each step.
```

You get "Watch this build at <link>." Open it signed in to the console.

## Steps

```bash
agc up --detach                                        # opens the live session; may answer data.tell_person
agc now "Adding the bookings table and its migration"  # one line per step, before starting it
```

`agc init` (making item 1), `agc task start`, `agc task take` and `agc up` answer `data.live` (`{ item, url }`) and `data.tell_person`. Post the sentence as it is, once per item.

## What does the timeline show?

A row per step: the ask, each `agc now` line, each command that did work ("Ran agc check · 7 of 7 passed"), a failed check, a pause, and the release steps. Saves fold under the row before them; with no `agc now`, they read like "Changes in api and data".

## What does "7 of 10" mean?

The row in view, out of the rows you can step to. Following the build, it reads "10 of 10" and grows.

- **‹ and ›** (Previous step, Next step) move one row. Forward onto the newest row is Back to now.
- **The track** under the count has a pill per row; a pill does what its row does.
- **Clicking a row** holds the camera on that step: the blueprint and checks as they stood right after it. The toast says "Camera held on this step. It stays here until you choose Back to now." The builder keeps working, and new rows keep arriving.

## Does Play re-run the build?

No. **Play** and **Replay** ("Replay from the start") hold each row in turn, one every one to two seconds, about 12 seconds for a whole build. Replay reads back earlier steps and starts at the first kept row; Play continues from the row you hold. Reaching the newest row ends playback. **Pause**, or clicking a row, stops there. Playback runs no code and never touches the builder.

## What does Back to now do?

It lets go of the held row so the camera follows the builder again. Once the session has ended or the item is live, it reads **Back to the end**.

## Errors

| Code | Exit | Where | Cause | Fix |
|---|---|---|---|---|
| `live.not_running` | 1 | `agc now` | No live session in this folder | `agc up --detach`, then again |
| `live.not_writer` | 12 | `agc now` | The session is written as another credential | Use the mirror's credential |
| `cli.usage` | 2 | `agc now` | Empty, or over 120 characters | Shorten it |

```json
{
  "ok": false,
  "product": "agent.cloud",
  "command": "now",
  "error": {
    "code": "live.not_running",
    "message": "No live session runs in this folder for camp-bookings, so nobody would see that line: the folder's mirror carries the session while you build an open Work item.",
    "fix": "Run `agc up --detach`, then `agc now` again.",
    "retryable": false,
    "docs": "agc help now"
  },
  "next": [{ "cmd": "agc up --detach", "why": "start the mirror, which opens the item’s live session" }]
}
```

## Limits

| Limit | Value |
|---|---|
| `agc now` line | 120 characters |

## Related

- [The Work tab and builders](/docs/ship/work-tab-and-builders.md)
- [Working with your coding agent](/docs/getting-started/working-with-your-coding-agent.md)
- [Local development with agc up](/docs/build/local-development-with-agc-up.md)
- [Devboxes](/docs/ship/devboxes.md)

<!-- feedback:start -->
---
Wrong, outdated or unclear? Run `agc feedback docs "ship/the-live-screen: <what is wrong>" --body <file>` with the sentence quoted in the file. No code or app data is sent.
<!-- feedback:end -->
