From Static Workflows to Agentic — and What's Still Missing
The product vision Kestra articulated in 1.0: moving from 'manual YAML → natural language' and 'static → autonomous.' What's been built, what the frontier looks like, and what a PM would identify as the gaps between the current product and the full vision.
The 1.0 vision: two axes
Kestra explicitly described their strategic direction in the 1.0 release as movement on two axes:
Axis 1: From manual YAML → natural language
The direction: users should be able to describe what they want in plain language rather than writing every YAML property manually. The progression:
- Current: AI Copilot generates YAML from natural language descriptions in the UI
- Near-term: iterative refinement becomes more capable, handling complex multi-task flows accurately
- Long-term: users describe complete automation strategies in natural language and Kestra generates, validates, and deploys the flows
Axis 2: From static workflows → autonomous agents
The direction: workflows evolve from predetermined task sequences (the flow always does A then B then C) to self-directing agents that determine their own execution paths based on what they find.
- Current: AI Agent task type (single agent with tools and memory running within a flow)
- Near-term: first-class multi-agent coordination patterns, better agent observability, production-grade agent error handling
- Long-term: an "agentic orchestration" layer where agents dynamically compose flows based on objectives rather than following predefined workflows
The tension between axes:
Axis 1 (natural language to YAML) targets simplicity and accessibility. Axis 2 (agentic autonomy) targets power and adaptability. As agents become more autonomous, the YAML model becomes less relevant — a fully autonomous agent doesn't need a user to write its workflow. The PM question: how do these axes intersect? At what point does "an agent that orchestrates other agents" replace "a human who writes a flow that calls agents"?
A ladder sequence — the outcome is determined by distant board conditions. The two-axis strategy is shicho: the outcome of each direction is determined by how LLM capability evolves — conditions that Kestra doesn't control but must anticipate.
What's been built vs. what the vision requires
Built in 1.0 (the foundation):
- AIAgent task type with tools (web search, task execution, flow calling) and memory
- AI Copilot for YAML generation in the UI
- MCP Resources for live documentation access
- Agent Skills for external coding assistant integration
- Human-in-the-loop via Pause task (existing feature, but now central to AI workflow patterns)
The gap between current state and full vision:
Observability for AI runs:
Kestra's execution model tracks task-level state. But for an agent that makes 20 LLM calls across a 30-minute execution, the current observability shows: "the AIAgent task ran for 30 minutes and produced this output." What it doesn't show natively: each LLM call, which tool was called at which step, what the agent's reasoning was at each decision point, what each step cost in tokens. Per-step agent traces require deeper instrumentation than currently exists.
Cost tracking as a first-class metric:
AI runs have a direct financial cost that standard workflow executions don't. Token usage × price per token = execution cost. This should be a first-class metric in Kestra's execution UI — visible alongside duration and status. Currently, cost tracking requires custom logging within the flow.
Agent eval and quality gates:
Kestra has unit tests for flows (introduced in 1.0). But testing AI agent behavior is fundamentally different from testing deterministic tasks — the same prompt can produce different outputs. An eval framework that tests agent behavior against a representative set of scenarios, with human-rated quality scores, doesn't exist in Kestra today.
Long-running agent durability:
For agent loops that run for hours (research tasks, document processing at scale), the current architecture doesn't provide Temporal-grade durability. If the worker process restarts mid-agent-loop, the loop starts from the beginning.
The PM's frontier: what to build next
Given the gap analysis, the most valuable next investments for the AI PM to evaluate:
High value, moderate effort:
1. Per-step agent execution traces — log each LLM call, tool invocation, and agent reasoning step as a sub-execution in Kestra's execution DAG. This gives operators visibility into what the agent did and makes debugging possible without custom logging.
- 1.Cost tracking as a native execution metric — add token usage and estimated cost to the execution metadata for every AI Agent run. Display in the UI alongside duration. Alert when cost exceeds a threshold.
- 1.Confidence thresholds and escalation paths — native configuration on AIAgent tasks to route to human review (Pause task) when the agent's confidence score falls below a threshold. This operationalizes the human-in-the-loop pattern without requiring users to implement it manually.
High value, high effort:
4. Eval framework for AI workflows — a native way to define test scenarios for agent tasks, run them, and track agent quality over time. This is the production AI quality story.
- 1.Agent checkpoint durability — for long-running agents, periodic state checkpointing so that a worker failure mid-loop resumes from the last checkpoint rather than from the beginning.
The PM's decision: which of these to sequence first depends on which customer pain is most acute — a choice that comes from customer discovery, not theory.
Select any text in the lesson to ask a question. Press Esc to close.