Skip to content

Quickstart

sivtr has two everyday paths:

  • For humans: open the sivtr TUI panel to browse terminal output and agent sessions together, search across sources, and copy the exact part you need.
  • For agents: install the bundled sivtr-memory skill, then use CLI commands such as sivtr search, sivtr copy --print, and sivtr show to retrieve local workspace memory.

Follow Installation first. The important point is that agent workflows need both parts:

  • the sivtr CLI must be on PATH;
  • the bundled sivtr-memory skill must be installed with npx skills add Ariestar/sivtr --skill sivtr-memory -g.

After that, the agent can be told to “use sivtr first” and will have a concrete procedure for searching local memory.

2. Put terminal history into the workspace

Section titled “2. Put terminal history into the workspace”

If this is your first time using sivtr, install shell integration once:

Terminal window
sivtr init powershell
# or: sivtr init bash
# or: sivtr init zsh
# or: sivtr init nushell

Restart the shell, then work normally:

Terminal window
bun run build
cargo test
git status --short

Recent commands and output will now appear in the workspace. Agent sessions (Claude, Codex, Hermes, OpenCode, Pi) are read from their local session directories.

Run:

Terminal window
sivtr

This is the most important entry point. It is not terminal-only, and it is not tied to one agent provider. It puts local workspace memory into one interface.

The workspace TUI has four panes:

PanePurpose
SourceChoose a source, such as terminal, Claude, Codex, Hermes, OpenCode, or Pi.
SessionsChoose a terminal record or agent session.
DialoguesChoose a dialogue turn or command block.
ContentInspect input, output, tool results, or message content.

Common keys:

KeyAction
0 / 1 / 2 / 3Focus Source, Sessions, Dialogues, or Content
j / kMove inside the focused pane
h / lMove to the previous / next pane
SpaceToggle the current source, session, or dialogue
/Search the workspace
n / NNext / previous search result
iCopy input or question
oCopy output or answer
yCopy input + output
cCopy bare command when available
:Set a line filter for the next copy
tOpen the current content in full view
zToggle focused pane fullscreen
?Help
q / EscBack or quit

Workspace search supports prefixes:

QueryScope
errorContent
#buildDialogue or command-block title
>releaseSession title

The unified workspace is the default entry point. When you only want one source, use a more specific picker.

Terminal command blocks only:

Terminal window
sivtr copy --pick

One agent provider only:

Terminal window
sivtr copy claude --pick
sivtr copy codex --pick
sivtr copy hermes --pick
sivtr copy opencode --pick
sivtr copy pi --pick

These are filtered workspace views, not the main entry point.

5. Copy directly when you know what you need

Section titled “5. Copy directly when you know what you need”

When you already know what to fetch, you do not need to open the TUI:

Terminal window
sivtr copy # latest command + output
sivtr copy out # latest output only
sivtr copy cmd # latest command only
sivtr copy out 2 # previous command output
sivtr copy 2..4 # recent range

Read agent sessions:

Terminal window
sivtr copy claude out --print
sivtr copy codex out --print
sivtr copy hermes out --print
sivtr copy opencode out --print
sivtr copy pi out --print

For agent use, prefer --print so the command returns text instead of opening an interactive UI or only writing to the clipboard.

6. Let the agent search workspace memory first

Section titled “6. Let the agent search workspace memory first”

When something fails, tell the agent:

Fix the terminal error. Use sivtr first.

The agent should search the same workspace memory:

Terminal window
sivtr search terminal --match "error|failed|panic|Traceback|Exception|exit code|FAILED" --format json --limit 20
sivtr search terminal --status failure --latest 1 --format json
sivtr copy out 1 --print
sivtr copy cmd 1..10 --print

Then it can read code, patch the issue, and rerun the smallest relevant verification command.

This is the core value: what you can see in the unified workspace, the agent can also read through commands.

Search results include refs. A ref can point to a terminal command block, an agent session, a dialogue, or a specific content block.

Terminal window
sivtr search terminal --match "build error" --format json --limit 20
sivtr show terminal/current/2
sivtr show claude/<session>/3
sivtr show claude/<session>/3/2

Refs let humans and agents return to the same evidence instead of relying on vague summaries.

8. Use the single-output browser when needed

Section titled “8. Use the single-output browser when needed”

Besides the workspace TUI, sivtr also has a single-buffer browser for temporary long output:

Terminal window
cargo test 2>&1 | sivtr
sivtr run bun run build

This browser is for one captured output. The bare sivtr workspace TUI is the main entry point for terminal and agent memory together.