Skip to main content

Documentation Index

Fetch the complete documentation index at: https://sitectl.libops.io/llms.txt

Use this file to discover all available pages before exploring further.

Task Agent commands create and manage coding-agent work through the LibOps API. Every task command requires --organization-id; create and list can also be narrowed to a project or site.

task create

Create a task from a prompt:
sitectl libops task create \
  --organization-id "$ORGANIZATION_ID" \
  --site-id "$SITE_ID" \
  "Update the OJS template and open a pull request."
By default, task create stays attached and polls for updates. Pass --no-wait to return immediately after the task is queued.
sitectl libops task create \
  --organization-id "$ORGANIZATION_ID" \
  --project-id "$PROJECT_ID" \
  --no-wait \
  "Audit the deployment workflow."
Use --agent-model to select a coding-agent model and --poll-interval to adjust the attached polling interval.

task list

List recent tasks and current monthly usage:
sitectl libops task list --organization-id "$ORGANIZATION_ID"
sitectl libops task list --organization-id "$ORGANIZATION_ID" --site-id "$SITE_ID" --limit 25

task get

Inspect a task as JSON:
sitectl libops task get "$TASK_ID" --organization-id "$ORGANIZATION_ID"

task respond

Reply when a task needs more input:
sitectl libops task respond \
  "$TASK_ID" \
  "Use the current main branch." \
  --organization-id "$ORGANIZATION_ID"
Pass --prompt when the task prompt should be updated along with the response.

task cancel

Cancel a queued or running task:
sitectl libops task cancel "$TASK_ID" --organization-id "$ORGANIZATION_ID"