Skip to main content
This guide runs a minimal workflow with a direct runner. It gives you the fastest path to the Tilebox Workflows execution model before publishing workflow releases or deploying to a cluster. Use this path when you are developing locally as a developer. If you want an agent to do the setup and iteration for you, start with Onboard your agent and then follow Iterate on workflow releases with agents.

Prerequisites

Create a workflow file

Create a file named hello_workflow.py.
hello_workflow.py
The root task submits one subtask. Tilebox tracks both tasks as part of the same job, and the direct runner executes all eligible work.

Run the workflow

Run the file locally.
The script submits a job, starts a direct runner, executes the root task and subtask, and exits after the queued work is complete.

Inspect the job

Open the job in the Tilebox Console to inspect task state, logs, and the execution trace. For scripted inspection, use the jobs client or the Tilebox command-line tool:

Next steps

Tasks

Define task inputs, subtasks, dependencies, retries, and identifiers.

Build and deploy a workflow

Package the same kind of workflow code as a release and deploy it to a cluster.