Async Runs

Monitor and manage asynchronous agent processing jobs.

runs

List async job runs across agents.

lettactl runs [options]

Options

FlagTypeDescription
--activebooleanShow only active/running jobs
--agent, -astringFilter by agent name
--limit, -lnumberLimit number of results
--watch, -wbooleanContinuously poll and refresh the run list (Ctrl+C to stop)

Examples

Active runs
lettactl runs --active
Agent runs
lettactl runs -a my-agent
Watch mode
lettactl get runs --watch --active

run

Get details about a specific async run.

lettactl run <run-id> [options]

Options

FlagTypeDescription
--waitbooleanWait for the run to complete
--streambooleanStream run output
--messagesbooleanShow messages produced by the run

Examples

Check run
lettactl run abc-123
Wait for completion
lettactl run abc-123 --wait --messages

track

Track async runs until completion. Auto-exits when all runs reach a terminal state. Exit code 1 if any run failed (CI/CD friendly).

lettactl track [run-ids...] [options]

Options

FlagTypeDescription
--agent, -astringTrack all active runs for an agent

Examples

Track specific runs
lettactl track <run-id-1> <run-id-2>
Track by agent
lettactl track --agent my-agent

run-delete

Cancel and delete a specific async run.

lettactl run-delete <run-id>

Examples

Cancel run
lettactl run-delete abc-123