Get started

Legato docs

What Legato is, how pages work, and where to start.

Legato is a menu bar app for your Mac that shows pages: small dashboards your agents, your scripts and Legato itself keep up to date. Click the Legato icon and the panel opens, with your pages in a sidebar and the one you chose beside it.

  1. Your agentWrites a page file
  2. Legato on your MacChecks and loads it
  3. Your menu barKeeps it in view

Everything happens on the Mac. Pages are files on it, the data they fetch stays on it, and there's no account or cloud service to send pages through. Legato's own servers only hear from it about its trial and license and to check for updates, never about your pages.

The panel's sidebar lets a little of your desktop show through, and its pages sit on a solid background, light or dark as your Mac is set. Pages and their buttons also appear in Spotlight: type a page's name to open it, or a button's name to press it. In Shortcuts, actions open a page, press a button, or read a page's summary or a card's value.

What a page is

A page is a JSON file in ~/Library/Application Support/Legato/Pages, named after its id: the page budget is budget.json. It has a title, an SF Symbol icon, and a list of cards: numbers, lists, tables, progress bars, status cards, calendars and more. See Pages and Cards.

Legato watches the folder and shows a page as soon as its file is written. A file with a mistake still shows, as a page that says what's wrong, so nothing disappears silently.

A page can also fetch its own data. Its sources name an API on the internet or on your home network, or this Mac's Calendar or Reminders; Legato fetches them on a schedule and fills the cards in. Cards can have buttons that call an API, and credentials stay in the Mac's Keychain. See Sources and Buttons.

Three ways to write a page

Use it whenStart here
An agent, over MCPClaude Code, Codex, Claude Desktop or another MCP client on this Mac makes or updates the page for you.Connect an agent
A script, with legato setA shell script, Python, launchd or cron job writes the page from data it gathers.Your first page from a shell
Any program, writing the fileSomething that can't run a command saves JSON into the Pages folder.Writing and versions

The first two use the same legato tool, which comes inside the app. It checks the page, writes the file whole, opens Legato if it isn't running, and waits for Legato to load the page. If something in the page is wrong, nothing is written: the old page stays as it was, and the error says what to fix.

Agents have to run on this Mac. A chat app in a browser can't reach Legato.

Pages in these docs

Get started

Install Legato, write a first page and connect the agent that will keep it current.

Get started

On your Mac

Pages & cards

What goes in a page file, the cards it can show, and how to design one that reads at a glance.

Pages

Arranging pages

Cards

Design

Sources & buttons

Pages that fetch their own data from an API, and buttons that send something back.

Sources

Mapping

Buttons

Secrets and lists

History

Keep what a service forgets, and read it back on any page.

History

Examples

Agents & CLI

The MCP tools an agent uses and the legato command a script uses.

Agents

Command line

Reference

Sizes Legato holds a page to, and what each error means.

Reference

For agents

You can also browse Features, which pairs an illustrated preview of each card and page template with a prompt for your agent and its JSON.

For agents

Every docs page is also plain Markdown: add .md to its URL (this page is /docs/index.md), or send Accept: text/markdown. /llms.txt lists them all, and /llms-full.txt is every page in one file.

The page format is a JSON Schema. Legato installs it in the Pages folder as .schemas/page.schema.json, the site publishes it at https://legatobar.com/schemas/page.schema.json, and legato schema or the get_page_schema tool gives any part of it. When the docs and the schema disagree, the schema wins.