G GnOuGo
gnougo-labs/flow-gallery GnOuGo master mascot

flow-gallery

Official LAB Public

A catalog of reusable GnOuGo Flows for planning, validating, observing, and executing agent workflows.

workflowvalidationmcpobservability
gnougo-labs/flow-gallery/workflow-plan.gnougo-flow.yaml GnOuGo workflow mascot./workflow-plan.gnougo-flow.yaml
v0.1.0
version: 1
name: workflow-plan-gallery
skill:
  description: Produces a validated workflow plan from a clear automation goal.
  tags: [planning, validation, mcp]
  inputs:
    goal: { type: string, required: true }
    context: { type: string, required: false }
  outputs:
    workflow_yaml: { type: string }

workflows:
  main:
    inputs:
      goal:
        type: string
        required: true
        description: Outcome the generated workflow must achieve
      context:
        type: string
        required: false
        default: No additional context.
      model:
        type: string
        required: false
        default: gpt-4o-mini
    steps:
      - id: announce
        type: emit
        input:
          message: "Preparing a safe workflow for: ${data.inputs.goal}"
          level: thinking

      - id: discover_document_tools
        type: mcp.list
        input:
          servers: [GnOuGo.Document.Mcp]
          include: [tools]

      - id: build_plan
        type: workflow.plan
        input:
          mode: basic
          generator:
            model: "${data.inputs.model}"
            instruction: "${data.inputs.goal}"
            context: "${data.inputs.context}"
            reasoning: medium
            prefilter: true
          policy:
            allowed_step_types:
              - template.render
              - set
              - emit
              - mcp.list
              - mcp.call
              - workflow.call
            denied_step_types: [workflow.plan, workflow.execute]
            allow_remote_workflow_refs: false
          limits:
            max_steps_total: 12
          validate:
            mode: strict
            compile: true
            dry_run: true
            repair: auto
            max_repair_attempts: 2

    outputs:
      workflow_yaml:
        expr: "${data.steps.build_plan.yaml}"
        type: string
        description: Compiled YAML returned by workflow.plan
      available_document_tools:
        expr: "${len(data.steps.discover_document_tools.tools)}"
        type: number
        description: Official document tools available to the planner

Semantic view

Workflow graph

Semantically valid

Generated from the validated YAML with GnOuGo.Flow.Mermaid. Emit steps are hidden to keep the execution graph focused.

main

Entrypoint
flowchart TD n0_start(("Start")) n1_end(("End")) n2_inputs[/"Inputs: context, goal, model"/] n3_discover_document_tools[("discover_document_tools - mcp.list")] n4_build_plan[["build_plan - workflow.plan"]] n5_outputs[/"Outputs: available_document_tools, workflow_yaml"/] n0_start --> n2_inputs n3_discover_document_tools --> n4_build_plan n2_inputs --> n3_discover_document_tools n4_build_plan --> n5_outputs n5_outputs --> n1_end