Skip to content

Feature Request: Visual workflow orchestration with agentic loop support for issue-driven development #11378

Open

Description

@phoben

Summary

Issue-driven development follows well-established best practices: research → requirements design → planning → implementation → testing → submission. Each phase is goal-driven, and the Agent needs to loop — repeatedly generating prompts for the next iteration based on the output of the current one — to reliably achieve each phase's objective.

I'd like to see Orca provide a visual workflow orchestration layer that:

  1. Defines workflow stages — research, design, plan, implement, test, submit — as a configurable pipeline in orca.yaml
  2. Agentic loops per stage — the Agent iterates autonomously within each stage until its goal is met, generating prompts to drive the next round of work
  3. Automated stage progression — once a stage's exit criteria are satisfied, automatically advance to the next
  4. Human-in-the-loop checkpoints — stages that require approval (e.g., design review, merge decision) surface as actionable cards on the Kanban board for unified processing
  5. Visual canvas — an optional drag-and-drop editor to compose and reorder workflow stages

Example Configuration

`yaml

orca.yaml

workflow:
stages:
- id: research
label: "Research & Context Gathering"
prompt: "Research the codebase to understand {{issue}} thoroughly"
loop:
maxIterations: 5
exitCondition: "Research is complete and all relevant files have been identified"
requiresApproval: false

- id: plan
  label: "Solution Design"
  prompt: "Design a solution for {{issue}} based on the research findings"
  loop:
    maxIterations: 3
    exitCondition: "A clear implementation plan has been produced"
  requiresApproval: true

- id: implement
  label: "Implementation"
  prompt: "Implement the approved plan"
  loop:
    maxIterations: 10
    exitCondition: "All changes are implemented and tests pass"
  requiresApproval: false

- id: review
  label: "Code Review & Testing"
  prompt: "Review the implementation and run tests"
  loop:
    maxIterations: 3
    exitCondition: "All tests pass and no review issues remain"
  requiresApproval: true

`

Why This Matters

Without structured workflows, users have to manually guide the Agent through each phase, breaking the flow and requiring constant context re-establishment. A native workflow engine would make Orca a true end-to-end development companion rather than a one-shot prompt executor.

Related

  • This builds on the issueCommand concept ([Feature] customizable task worktree prompt #9066) but extends it into a full pipeline
  • Similar to LangGraph / CrewAI flow patterns but integrated directly into Orca's workspace lifecycle
  • The approval cards on Kanban would complement existing project management features

Activity

  1. AmethystLiang commented on Jul 29, 2026

    @AmethystLiang
    Contributor

    thanks for writing this up. Will look into it

  2. ntluong95 commented on Sep 25, 2026

    @ntluong95
  3. mhingston commented on Oct 4, 2026

    @mhingston

    I think this request is still valuable, but #15012 ("workflow script the runtime executes — phases, not an LLM loop") now suggests a cleaner split of responsibilities.

    One possible reframing:

    That would preserve the strongest parts of this proposal without introducing a second LLM-driven orchestration loop that overlaps the coordinator runtime. The visual builder could emit/modify the same executable workflow representation used by #15012, while semantic judgement remains inside bounded agent() steps.

    Would that separation fit the intended direction here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions