Skip to content

Conversation

@Timorleiderman
Copy link

Summary

  • Add --path, --description, and --mode CLI options to opencode agent create command
  • Enables non-interactive agent creation for scripting and automation use cases

Usage

opencode agent create --path ./my-project --description "Review TypeScript code" --mode subagent

When all three arguments are provided, the command runs non-interactively and outputs only the created file path. When any argument is missing, it falls back to interactive prompts.

Add --path, --description, and --mode options to enable non-interactive
agent creation. When all three arguments are provided, the command runs
without prompts and outputs only the file path for easy scripting.
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