Docs · alpha · macOS on Apple Silicon

Daily Loop

Two starter apps cover daily use. Brain keeps notes and decisions. LastSecrets keeps credentials. Both store their records in your own node.

Last reviewed 16 November 2026 against the installed command line.

01 · The split

Reasoning in one app, credentials in the other.

BRAIN

Notes and decisions

Use Brain for decisions, designs, rationale, preferences, references, and other long-lived context.

LASTSECRETS

Credentials

Store the value once. Keep only its lastsecrets:// reference in notes, docs, and scripts.

02 · The loop

Run brain init once before the first note.

Write it down, read it back, keep secrets out.

  1. 01

    Put durable reasoning in Brain.

    brain concept new local-search \
      --title "Local search" \
      --body "Embeddings stay on this machine."
  2. 02

    Read it back by name, or ask with a word from the note.

    brain get local-search
    brain ask "embeddings"

    brain get reads by name. brain ask matches by keyword until LastSeek is installed, so use a term from the body. LastSeek is not in the App Registry yet.

  3. 03

    Keep a credential out of your notes.

    lastsecrets init
    printf '%s' "$TOKEN" | lastsecrets put my-api-token \
      --label "My API token" \
      --provider example \
      --purpose demo \
      --env dev \
      --value-stdin
    lastsecrets ref my-api-token

    The value goes in on stdin only. lastsecrets ref prints a lastsecrets:// locator. Read the value with lastsecrets get only at the point of use.

03 · Agents

Give an agent access to Brain over MCP.

Start the MCP serverover stdio
brain mcp
Wire it into Claude Code
brain mcp install

brain mcp install registers Brain with Claude Code and appends instructions to CLAUDE.md. For another client, brain mcp instructions prints the block to paste.

04 · Related

Other pages.

INSTALL

Install LastDB

The installer script, the same steps by hand, the database on its own, and how to confirm it is running.

OPERATE

Node Health

The health check, the status command, and when a restart is the right step.

Build an app: the developer guide →