Installing the library also installs the gwenflow command. It is a thin layer over the library for quick experiments and scripted flow runs.

Models and tools by name

The command line names models as provider/model-name and tools by a short key, the same names flow files use. A bare model name (gpt-5-mini) means OpenAI. The default model is openai/gpt-4o-mini. The provider’s API key comes from the environment, as in Python (see Models). gwenflow tools lists the tool keys: The same mapping is available in Python, in gwenflow.registry:

ask: one question to one agent

The answer is rendered as Markdown in the terminal.

run: run a flow file

Runs a flow defined in YAML or JSON and prints the result of its output nodes (the nodes no other node consumes). A failing node prints its error and exits with status 1.

autoflow: plan and run a team

Asks the model to break the query into agents with dependencies, then runs them as a flow. See AutoFlow.