All workflows

Agent Capability Fit Matrix

Compare declared capabilities across candidate agents or tools and expose exact requirement coverage, missing skills, compatible candidates and transparent tie-breakers.

2 credits per call · $0.015 USDC with x402

Sample input

{
  "requirements": [
    "web-research",
    "json-output"
  ],
  "candidates": [
    {
      "id": "alpha",
      "capabilities": [
        "web-research",
        "json-output"
      ],
      "price_usd": 0.05
    },
    {
      "id": "beta",
      "capabilities": [
        "json-output"
      ],
      "price_usd": 0.01
    }
  ]
}

Worked sample output

{
  "ok": true,
  "mode": "capability_fit_matrix",
  "requirement_count": 2,
  "candidates": [
    {
      "id": "alpha",
      "coverage_ratio": 1,
      "matched": [
        "web-research",
        "json-output"
      ],
      "missing": [],
      "capability_count": 2,
      "price_usd": 0.05,
      "p95_latency_ms": null
    },
    {
      "id": "beta",
      "coverage_ratio": 0.5,
      "matched": [
        "json-output"
      ],
      "missing": [
        "web-research"
      ],
      "capability_count": 1,
      "price_usd": 0.01,
      "p95_latency_ms": null
    }
  ],
  "fully_compatible": [
    "alpha"
  ],
  "limitations": [
    "Matches normalized declared capability labels exactly. It does not verify that a candidate actually possesses or performs the capability."
  ]
}

Worked example using published sample data only. Own-data execution is paid.

Connect in curl

Set BOUNTY_API_KEY privately after your payment is verified. Change the retry key for each new logical request.

curl 'https://bounty-engineer-x402-prod.onrender.com/v1/prepaid/capability-fit-matrix' \
  -H "Authorization: Bearer $BOUNTY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: workflow-request-001' \
  -H 'X-Max-Credits: 2' \
  --data '{"requirements":["web-research","json-output"],"candidates":[{"id":"alpha","capabilities":["web-research","json-output"],"price_usd":0.05},{"id":"beta","capabilities":["json-output"],"price_usd":0.01}]}'

Connect in n8n

Download the inactive n8n template. Import it, configure the private Header Auth credential, inspect the sample and run it manually. A new execution creates a new billable request; there is no automatic schedule.

Use an HTTP POST to https://bounty-engineer-x402-prod.onrender.com/v1/prepaid/capability-fit-matrix. Send JSON and these headers; store the Bearer token as a private credential.

{
  "method": "POST",
  "headers": {
    "Authorization": "Bearer YOUR_PRIVATE_API_KEY",
    "Content-Type": "application/json",
    "Idempotency-Key": "UNIQUE_PER_LOGICAL_REQUEST",
    "X-Max-Credits": "2"
  },
  "body": {
    "requirements": [
      "web-research",
      "json-output"
    ],
    "candidates": [
      {
        "id": "alpha",
        "capabilities": [
          "web-research",
          "json-output"
        ],
        "price_usd": 0.05
      },
      {
        "id": "beta",
        "capabilities": [
          "json-output"
        ],
        "price_usd": 0.01
      }
    ]
  }
}

Reuse a retry key only for the same input. Failed execution returns reserved credits. Full integration and recovery guide · Machine-readable recipe