Scripting with the TaskForceAI CLI

Last updated: 2026-07-14
1 min read

Scripting with the TaskForceAI CLI

Use --prompt to run without the terminal UI. Complete /login in an interactive session first.

Text Output

taskforceai --prompt "Summarize the release notes"

JSON Output

taskforceai --prompt "List three deployment risks" --output-format json

Use --output-format streaming-json when a script needs each run update as it arrives.

Local Coding Context

taskforceai \
  --prompt "Review the current workspace for regressions" \
  --local-coding \
  --workspace "$PWD" \
  --output-format json

Agent Teams

taskforceai \
  --prompt "Investigate this failure from multiple angles" \
  --agent-teams \
  --agent-count 4 \
  --output-format streaming-json

The current CLI does not accept a positional prompt or the legacy --non-interactive and --json flags.

Still need help?

Our support team is available to assist you.

Contact Support