# Validate AI- or MCP-generated actor pipelines

**Use case:** 

Before an agent ships a pipeline it built, get a deterministic safe-to-deploy verdict: exit code, agent contract and the issues it must fix.

## Input

```json
{
  "stages": [
    {
      "actorId": "apify/rag-web-browser",
      "alias": "fetch"
    },
    {
      "actorId": "apify/website-content-crawler",
      "alias": "crawl",
      "fieldMapping": {
        "startUrls": "markdown"
      }
    }
  ],
  "validateRuntime": false,
  "codegenMode": "minimal",
  "paginationMode": "limit_1000",
  "suggestionMode": "schema_only",
  "strictness": "default",
  "emitAgentContract": true,
  "emitSignals": true,
  "trackChanges": false,
  "sampleSize": 10
}
```

## Output

```json
{
  "agentContract": {
    "label": "Agent contract"
  },
  "signals": {
    "label": "Signals"
  },
  "decisionPosture": {
    "label": "Decision posture"
  },
  "exitCodeRecommendation": {
    "label": "Exit code recommendation"
  },
  "ciArtifacts": {
    "label": "Ci artifacts"
  },
  "canaryPlan": {
    "label": "Canary plan"
  },
  "pipelineFingerprint": {
    "label": "Pipeline fingerprint"
  },
  "readinessScore": {
    "label": "Readiness score"
  },
  "oneLine": {
    "label": "One line"
  }
}
```

## About this Actor

This example demonstrates how to use [Actor Pipeline Builder — Validate Multi-Actor Workflows](https://apify.com/ryanclinton/actor-pipeline-builder) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ryanclinton/actor-pipeline-builder) to learn more, explore other use cases, and run it yourself.