Skip to main content
Ask AI

Artifacts & headless output

Terminal-native artifacts

Every artifact the agent produces renders directly in your terminal — New Relic-grade and streamed as it generates:

  • Dashboards — aligned KPI billboards with trend arrows, sparklines, threshold status colors, braille line charts, horizontal block bars, proportional pie bars, and heat-colored tables.
  • Reports — a hero card plus sections and entity deep links.
  • Test plans — priority badges.
  • Navigation paths — coverage gauge, step flows with slow-step highlighting, and user-path funnels with drop-off markers.
  • Data tables, code, and session workspace deep-link cards.

Live generation shows a streaming progress line, for example ◫ generating dashboard · "nightly health" · 3 widgets, and the full block lands in scrollback exactly once.

Browse artifacts in the UI

Use /artifacts in the interactive UI to browse and view any artifact from the conversation in full.

The artifacts subcommand

testrelic artifacts list
testrelic artifacts show <id>
testrelic artifacts export <id> --format md|txt|json|png|pdf

Headless / print mode

Run a one-shot query with -p (alias --print) and choose an output format:

testrelic -p "why did the nightly regress?" --output-format text
tr -p "list newly failing tests" --output-format json
tr -p "stream the triage" --output-format stream-json
  • --output-format accepts text, json, or stream-json.
  • Artifacts render as ANSI on a tty and as plain text when piped.
  • --resume <id> and --continue / -c carry context across runs.
  • stdin is piped into the prompt, so the CLI composes with other Unix tools.
git diff | tr -p "do these changes risk the checkout suite?"

Next steps

Slash commands · Configuration

Was this page helpful?
Last updated on by Srivishnu Ayyagari