Skip to main content
SDK
Wallet
SDK
FIND YOUR WAY
Wallet

Connect your wallet to build, save and manage SDKs.

Library

Official · SDK

Decision Lab

Compares options against stated priorities, including trade-offs, risks, and a recommendation. It does not invent probabilities.

Version 1

What it does

Compares options against stated priorities, including trade-offs, risks, and a recommendation. It does not invent probabilities.

Try this SDK

Enter the required inputs and run this SDK using the published version.

Examples fill the form. They are not a test result.

Remix this SDK

Open an editable version in the AI Builder and make it your own.

Developer details

Version 1

Inputs

Outputs

Operations

  1. 01

    compare

    Analyze

Content hash

a45e973ebc9e2b603340d60ec8a1a610885c4b80dde5881f3787ded36dbb659a

Blueprint
{
  "name": "Decision Lab",
  "steps": [
    {
      "id": "compare",
      "op": "ai.analyze",
      "args": {
        "options": {
          "$ref": "inputs.options"
        },
        "problem": {
          "$ref": "inputs.problem"
        },
        "priorities": {
          "$ref": "inputs.priorities"
        }
      },
      "config": {
        "task": "Compare the options against the stated priorities. Put the option-by-option analysis in option_analysis, trade-offs in tradeoffs, risks in risks, the comparison frame in framework, and a recommendation in recommendation. Use uncertainty to state what is not known. Do not assign probabilities or claim certainty when the inputs do not support it.",
        "responseSchema": {
          "type": "object",
          "required": [
            "option_analysis",
            "tradeoffs",
            "risks",
            "framework",
            "recommendation",
            "uncertainty"
          ],
          "properties": {
            "risks": {
              "type": "string"
            },
            "framework": {
              "type": "string"
            },
            "tradeoffs": {
              "type": "string"
            },
            "uncertainty": {
              "type": "string"
            },
            "recommendation": {
              "type": "string"
            },
            "option_analysis": {
              "type": "string"
            }
          }
        }
      }
    }
  ],
  "inputs": {
    "options": {
      "type": "string",
      "required": true,
      "maxLength": 4000
    },
    "problem": {
      "type": "string",
      "required": true,
      "maxLength": 2000
    },
    "priorities": {
      "type": "string",
      "required": true,
      "maxLength": 2000
    }
  },
  "limits": {
    "timeoutMs": 60000,
    "maxOutputBytes": 131072
  },
  "outputs": {
    "decision": {
      "from": {
        "$ref": "steps.compare.result"
      },
      "type": "object"
    }
  },
  "description": "Compares options against stated priorities, including trade-offs, risks, and a recommendation. It does not invent probabilities.",
  "capabilities": [
    "ai.analyze"
  ],
  "schemaVersion": "1.0"
}
Decision Lab | SDK