# ed agent logs

> Prints recent lines from the log of Edith's background services.

- Canonical URL: https://getedith.pro/docs/cli/agent/logs
- Updated: 2026-12-02

Prints recent lines from the log of Edith's background services.

```
ed agent logs [--last 1h] [--json]
```

`--last` takes any window the `log` tool accepts, such as `10m`, `2h` or `1d`. JSON is an array of
lines.

This reads the system log rather than the agent, so it works even when the
agent is not running.

## Where to go next

- [`ed agent status`](https://getedith.pro/docs/cli/agent/status), for the live state
- [`ed agent`](https://getedith.pro/docs/cli/agent), the rest of this group
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
