v1.0.0 · macOS, Linux and Windows · MIT

Your logs, in your terminal and in your agent.

lyrelog is the dashboard in a terminal: search and follow events, read errors, sessions, people and releases. A person gets tables. A coding agent gets JSON, and can investigate an error the way you would.

$ brew install lyrelog/tap/lyrelog
~/tilefall

$

The output is the docs', on Tilefall's data.

Watch events arrive

lyrelog events -f prints the last hour, then each new event as it lands, as the dashboard's live mode does. A batch a phone sends after being offline shows up with its own times. Filters work as usual: -f --level error follows only errors.

Click the terminal and press Ctrl-C: it stops, with exit code 0, as the real one does.

following

$ lyrelog events -f

Tilefall · production · following, Ctrl-C to stop

10:41:52 ▌info app_launch app cold_start_ms=612 launch_reason=icon

10:41:54 ▌info sign_in_completed account provider=game_center

10:41:57 ▌info game_started game board.seed=4052403362615 board.size=7

10:42:01 ▌debug daily_fetched daily puzzle=2026-11-23 bytes=1840

10:42:03 ▌info leaderboard_submit_confirmed leaderboards board=tilefall.daily.pure latency_ms=420

10:42:06 ▌warning chat_socket_retry chat attempts=2 backoff_ms=800

10:42:10 ▌info match_round_won multiplayer match_id=b60cc0cc round=3

10:42:12 ▌error cloud_save_failed sync reason=schema_mismatch record=progress status=422

10:42:15 ▌notice purchase_completed store product=hint_pack_5

Tables for you, JSON for everything else

Under Claude Code, Cursor, Codex or Gemini, in CI or in a pipe, it writes JSON and nothing else: no colours, no spinner, no questions. The fields are the dashboard API's, unchanged, and every failure has a stable code.

$ lyrelog events --attr board.size:9 | jq '.[].message'

$ lyrelog errors -n 2

   Event               Area   Count  Players  Versions
●  cloud_save_failed   sync     823      124  1.6.3
●  daily_upload_failed daily    178      124  2.0, 1.6.3

Tables and colours, for a person.

The whole tool, on one page

Everything the dashboard does, except deleting your account or a project and changing how you sign in: those stay on the web. Each command opens its docs, and every one has --help with examples.

$ man lyrelog

LYRELOG(1)LYRELOG(1)

NAME

lyrelog - Lyrelog from your terminal

SYNOPSIS

lyrelog <command> [flags]

lyrelog events [--level L] [--since 7d] [-q text] [--attr key:value] [-f]

LOOK AT YOUR DATA

events
Search events, as the explorer does; -f follows new ones
errors
Problems grouped by area and event, worst first
sessions
Sessions: who, how long, what happened, errors
people
The project's people, in its own word: activity, errors, device
person
One person: totals, recent sessions and events; export or delete their data
releases
Each app version's health: people, sessions, errors
insights
Trends, rates and funnels over events
usage
This month's events against your plan

SET THINGS UP

projects
Your projects with their last 24 hours
use
Choose the project commands use when --project isn't given
keys
The project's API keys: list, create, revoke
orgs
Your organizations, their people and invitations

SIGN IN AND MORE

login
Sign in, approving this computer in the dashboard
whoami
Who you're signed in as, where, and the default project
tokens
Access tokens for CI and scripts: list, create, expiry, revoke
open
Open the dashboard on a page of the project
api
Call any dashboard API route, signed in (like gh api)

FLAGS

--json, --human
Force JSON, or tables and colours (the last one given wins)
-p, --project
A project's id, slug or name (default: the one chosen with use)
--no-color
No colours (also NO_COLOR=1)

ENVIRONMENT

LYRELOG_TOKEN
An access token, for CI and scripts
LYRELOG_URL
The dashboard's address
NO_COLOR
No colours

EXIT STATUS

0
Done (Ctrl-C on --follow too)
1
error
Something else failed
2
usage
A wrong command, flag or value
3
not_signed_in
Run lyrelog login
4
reauth_required
Needs a sign-in from the last 10 minutes
5
forbidden
Not allowed, or only the dashboard does it
6
not_found
No such thing, or not yours
7
refused
The server refused it as it is
8
rate_limited
Wait retry_after
9
network
The server couldn't be reached
130
interrupted
Ctrl-C

SEE ALSO

docs.lyrelog.com/cli, cli/agents, llms.txt

lyrelog 1.0.0LYRELOG(1)

Hand an error to your agent

Paste the prompt into your coding agent, in your app's repository, with the CLI signed in. It finds the error, reads one, follows the session that led to it, compares versions, and looks for the code that logs it.

Investigate the error "cloud_save_failed" in our app with the Lyrelog CLI (lyrelog), which is installed and signed in. It writes JSON when you run it. Run `lyrelog --help` and the commands' --help first; don't guess flags. Read only: don't create, change, revoke or delete anything.

1. `lyrelog errors --since 7d` and find this error: how many times, how many people, which versions, when it started, and its sample_event and sample_session.

2. `lyrelog events get <sample_event>`: read its attributes and payload.

3. `lyrelog events --session <sample_session> --oldest-first`: what happened before it.

4. Compare versions and devices with `lyrelog events values`, and the failure rate with `lyrelog insights rate`.

5. Look at one or two more people it reached (`lyrelog person <user_id>`).

6. Find the code that logs this event, explain the most likely cause from what the events show, and propose a fix. Say what's proven by the events and what's a guess.

A person runs lyrelog login once and the agent uses that sign-in; it can't sign in by itself. The prompt keeps it to reading.

Investigate the error "cloud_save_failed" in our app with the Lyrelog CLI…

  1. Find the error

    lyrelog errors --since 7d
  2. Read one

    lyrelog events get f5ed3dde…
  3. What came before

    lyrelog events --session 76c186a9… --oldest-first
  4. Compare versions

    lyrelog events values version --message cloud_save_failed
  5. Find it in the code

    grep -rn cloud_save_failed Sources/

Most likely cause

Skills for your agent

Skills teach Claude Code, Codex, Cursor, Gemini CLI, Copilot or OpenCode how to work with Lyrelog: add the SDK, investigate an error with the CLI, get the right key or token, set up alerts. The CLI installs the newest, for the agents you choose, for you or for one project.

$ lyrelog skills install# asks where and for which agents
$ lyrelog skills install --project# into this project, for the team
$ npx skills add lyrelog/skills# or with skills.sh

No password, no key to paste

The tool gets a session like a browser's, approved from the dashboard where you're already signed in.

  • Approve it in the browser

    lyrelog login opens the dashboard: approve this computer and the terminal picks up the sign-in. PKCE, as Claude Code does it.

  • Over SSH, a code

    Without a browser, open the address anywhere, approve, and paste the code it shows.

  • Tokens for CI

    An access token in LYRELOG_TOKEN, with an expiry up to never, and a warning when there's none.

  • What it can't do

    Delete your account or a project, or change how you sign in: those stay in the dashboard, so a copied session can't lock you out.

The docs, as Markdown

Every page of the docs is also plain Markdown, and llms.txt indexes them, so an agent reads how Lyrelog works instead of guessing from memory.

See it with your own app's events

Sign up with GitHub, Google or Apple. Your organization starts on Free; move it to Pro whenever you want.