Copy pageSign up

Logs and agent status

Inspect your services and understand agent activity across terminals.

Adria separates VM lifecycle from agent activity. A ready VM can contain a working agent, a waiting agent, or no agent at all.

Check activity

Local terminal
cube sessions
cube sessions --json

The listing shows VM and AGENT columns. Several agents in different terminals can appear on one Session. JSON includes individual terminal observations and timestamps.

Agent stateMeaning
workingRecent native agent activity or recognized terminal activity
waitingAn approval or confirmation prompt was observed
idleA turn completed, was interrupted, or returned to an input prompt
pausingAn interrupt was sent
exitedThe recorded terminal process exited
unknownThere is no usable evidence of the agent's state
disabledTerminal capture is off

States are observations, not a guarantee that a task succeeded. A quiet terminal alone does not prove that an agent is idle. When the VM is not ready, the listing marks the agent state as last observed.

Control terminal capture

On supported images, terminal capture is enabled by default. It records terminal input and output, including input entered at prompts. Avoid entering secrets into a captured terminal.

Local terminal
cube sessions capture feature/payments off
cube sessions capture feature/payments on

The setting applies to all terminals in the Session. Turning capture off stops further collection; it does not delete previously captured data. Turning it on mid-conversation can leave status unknown until fresh agent activity identifies it.

Older images may not have capture support. Native status is supported for Codex and Claude Code on updated images, with terminal inference as a fallback.

Read application logs

Use your application's normal logs inside the sandbox:

Sandbox terminal
tail -f ./logs/app.log
docker compose logs -f

A file log is not automatically a captured terminal stream. Adria does not provide a cube logs command; use remote execution, SSH, or your application's tools to inspect it.

On this page