---
title: Reference
---

This section documents the cross-cutting mechanics of the `cratis` CLI: the flags available on every command, how to control output format, and how the CLI resolves the Chronicle server connection.

## Topics

- [LLM](/cli/reference/llm/) — Configuring the language model that Cratis tools like Prologue use.
- [Prologue](/cli/reference/prologue/) — Capturing a running system and interpreting the captures into a Screenplay.
- [Screenplay](/cli/reference/screenplay/) — Generating a Screenplay from the source code of a Cratis Arc application, and validating the documents you have.
- [Global Options](/cli/reference/global-options/) — Flags such as `--output`, `--quiet`, `--yes`, and `--debug` that apply to every command.
- [Output Formats](/cli/reference/output-formats/) — The four output formats (`table`, `plain`, `json`, `json-compact`) with guidance on when to use each and token cost comparisons.
- [Connection](/cli/reference/connection/) — Connection string format, resolution order, and environment variable configuration.
