Skip to content

Conversation

@vaporwavie
Copy link

@vaporwavie vaporwavie commented Jan 7, 2026

Note

Feature request: #6999

This PR adds the -q | --quiet argument, which aims to provide a cleaner output to the user for CLI runs, suppressing tool calls and focusing on the actual response from the agent.

Usage

# shorthand
opencode run -q "list the files in this directory"

# verbalized
opencode run --quiet "list the files in this directory"

# specifying a model
opencode run -m "opencode/gemini-3-flash" "list the files in this directory" --quiet

# wrapped around a function
function ask() {
  if [ -z "$1" ]; then
    echo "Usage: ask <question>"
    return 1
  fi

  local model="opencode/gemini-3-flash"
  opencode run -m $model "$*" -q | glow -
}

Demo

Dry Run

opencode-quiet-mode.mov
Scenario Preview
Before image
After image

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant