Skip to content

Memory & Library

These read and curate the GigaEvo Memory store — the terminal twins of the Library screen. The browsing verbs accept --json and most accept --channel (default latest); the version, channel, and long-term-memory verbs below are documented with their own flags.

List saved entities.

Terminal window
care memory ls --entity-type chain --tag finance --q weather --favourites-only
FlagDefaultPurpose
--entity-type chain|agent|agent_skill|memory_cardchainEntity type to list.
--limit N20Max rows.
--channel NAMElatestVersion channel.
--namespace NS—Restrict to one MAESTRO namespace.
--tag T—Filter by tag (repeatable, AND).
--q TEXT—Case-insensitive substring on name/description.
--favourites-onlyoffOnly favourited entities.

Print one entity’s metadata + content.

FlagDefaultPurpose
--entity-type … (+ step)chainEntity type.
--channel NAMElatestVersion channel.
--content-onlyoffPrint only the content body.

List recorded runs for a chain (--limit, --channel, --namespace).

BM25 / vector / hybrid search across saved entities.

Terminal window
care search "quarterly risk" --search-type hybrid --top-k 5
FlagDefaultPurpose
--entity-type …chainWhat to search.
--search-type bm25|vector|hybridbm25Search backend.
--top-k N10Max hits.

Compare two saved chains side-by-side.

FlagPurpose
--channel NAMEChannel to read both from (default latest).
--left-label / --right-labelDisplay labels (default: entity_id).

Walk a chain’s ancestry DAG.

FlagDefaultPurpose
--channel NAMElatestStart from this channel’s head.
--version-id ID—Walk from a specific historical version.
--max-depth N10BFS-depth cap (1–100).

Star / unstar a library entity.

Terminal window
care favourite my-chain # star
care favourite my-chain --off # unstar
FlagPurpose
--entity-type …Entity type (default chain).
--offUnstar instead of starring.

Every saved entity keeps a full version history. Channels are named pointers into that history: latest always tracks the newest write, while stable is the curated pointer you advance deliberately. The verbs below let you inspect versions and move channels around without ever destroying data.

List an entity’s version history, annotated with which channels point at each version (the terminal twin of the TUI /versions).

Terminal window
care versions my-chain
care versions my-agent --entity-type agent --limit 50 --json
FlagDefaultPurpose
--entity-type chain|agent|agent_skill|memory_card|stepchainEntity type.
--limit N20Max versions to list.
--jsonoffEmit the version list as JSON.

care rollback <entity_id> --to <version-id>

Section titled “care rollback <entity_id> --to <version-id>”

Repoint a channel at a specific version. This is a non-destructive pin, not a revert: it moves a channel pointer without deleting any history. The TUI twin is /rollback.

Terminal window
care rollback my-chain --to 7f3a9c1b2d4e # pin stable
care rollback my-chain --to 7f3a9c1b2d4e --channel latest
FlagDefaultPurpose
--to <version-id>— (required)Version to pin the channel to (see care versions).
--channel CstableChannel to repoint.
--entity-type …chainEntity type.

Copy one channel pointer to another — by default latest → stable. This is the direct channel move. The TUI /promote layers an interactive baseline/eval gate on top (run the candidate against a baseline before advancing stable); the CLI move is headless and ungated, so promote deliberately.

Terminal window
care promote my-chain # latest -> stable
care promote my-chain --from latest --to canary
FlagDefaultPurpose
--from ClatestSource channel.
--to CstableTarget channel.
--entity-type …chainEntity type.

Soft-delete a saved entity. The deletion is recoverable via Memory trash. Without --force the command only previews what would be deleted; pass --force to actually delete. The TUI twin is /forget.

Terminal window
care forget my-chain # preview only — nothing is deleted
care forget my-chain --force # soft-delete (recoverable)
FlagDefaultPurpose
--entity-type …chainEntity type.
--forceoffActually delete (omit to preview).

Long-term memory (LTM) is a per-session notes store that persists facts and preferences across runs, separate from the entity library above.

Save an explicit note to long-term memory. The note is stored verbatim — the TUI’s LLM-merge deduplication is TUI-only. The TUI twin is /remember.

Terminal window
care remember "prefer hybrid search for finance chains"

LTM must be enabled, or the command exits 2:

Terminal window
export CARE_CONTEXT__LTM_ENABLED=true # and install the `carl` extra

Show the stored long-term-memory notes digest (the terminal twin of the TUI’s /memory verb). When LTM is disabled it prints a hint instead of failing.

Terminal window
care notes
care notes --max-chars 500
FlagDefaultPurpose
--max-chars N2000Cap the digest size.
  • care evolve — produce new versions to promote.
  • care run — record runs that populate memory history.
  • The MAESTRO CARE TUI — the /versions, /rollback, /promote, /forget, /remember, and /memory twins.