mayros tasks

List, inspect, and manage background agent tasks tracked in AIngle Cortex.

Global options

  • --cortex-host <host> — Cortex host (default: 127.0.0.1 or from config)
  • --cortex-port <port> — Cortex port (default: 8080 or from config)
  • --cortex-token <token> — Cortex auth token (or set CORTEX_AUTH_TOKEN)

Subcommands

tasks list

List background tasks with optional filters.

Options:

FlagDescription
--status <status>Filter: pending, running, completed, failed, cancelled
--agent <id>Filter by agent ID
--limit <n>Max tasks (default: 20)
--format <fmt>Output: terminal, json (default: terminal)

tasks status <taskId>

Show detailed information about a specific task including agent, description, status, timing, progress, result, and errors.

Options: --format <fmt> (terminal or json)

tasks cancel <taskId>

Cancel a running or pending background task.

tasks summary

Show aggregate statistics: total, running, completed, failed, cancelled, and pending task counts.

Options: --format <fmt> (terminal or json)

Examples

bash
mayros tasks list
mayros tasks list --status running --agent ops
mayros tasks status task-abc123
mayros tasks cancel task-abc123
mayros tasks summary
mayros tasks summary --format json