Human-in-the-Loop (HITL)
flyteplugins-hitl
Human-in-the-Loop (HITL) plugin for Flyte. This plugin provides an event-based API for pausing workflows and waiting for human input.
pip install flyteplugins-hitlQuick Start(example, may need adjustment)
pip install flyteplugins-hitl
from flytekit import task, workflow
from flyteplugins.hitl import Event, EventScope, event_task_env, new_event
@task
def my_task() -> None:
event_task_env(...)
@workflow
def my_workflow() -> None:
my_task()Available Imports (4)
An event that waits for human input via an embedded FastAPI app.
extends dataclass — configuration or data structure for plugin setup
from flyteplugins.hitl import Event
Configuration type for Human-in-the-Loop (HITL).
from flyteplugins.hitl import EventScope
Task for Human-in-the-Loop (HITL).
from flyteplugins.hitl import event_task_env
Task for Human-in-the-Loop (HITL).
from flyteplugins.hitl import new_event
Dependencies
Related Plugins
Anthropic Claude
This plugin provides integration between Flyte and Anthropic's Claude API, enabling you to use Flyte tasks as tools for Claude agents.
Deck
This plugin provides additional renderers to improve task visibility within Flytekit.
Envd
envd is a command-line tool that helps you create the container-based development environment for AI/ML.
Flyte Interactive
FlyteInteractive plugin provides users' favorite interface to develop and debug a flyte task interactively. We support vscode, jupyter (WIP), and neovim (WIP).