# Bounty Engineer Subcontractor Mesh Compiler

> Bounty Engineer Subcontractor Mesh Compiler is a paid API for AI agents from bounty-engineer-x402-prod.onrender.com, paid per call via x402, $49.9/call, status unknown (last checked 2026-10-12).

Assigns a set of tasks to a pool of agents by optimizing for price, latency, and success rate, returning an ordered execution plan with projected spend and mission success probability.

## Facts

- Endpoint: POST https://bounty-engineer-x402-prod.onrender.com/v1/subcontractor-mesh-compiler?utm_source=zero.xyz
- Price: $49.9/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bounty-engineer-subcontractor-mesh-compiler-14e2b5f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9hqZ2fwrdG2tnC7-Gd6PX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bounty-engineer-subcontractor-mesh-compiler-14e2b5f4 -d '<json body>'
```

Example prompt: I have a list of 5 tasks — extract, verify, summarize, classify, and report — and a pool of 10 agents with different capabilities and prices. Can you compile a subcontractor mesh to assign them optimally within a $50 budget and give me a ranked execution order?

## When to prefer this

Choose this endpoint when you need to algorithmically assign a heterogeneous list of tasks to a pool of agents with different capabilities, prices, and latency profiles — especially when you have a hard budget ceiling, dependency ordering requirements, or need a projected success probability before committing to execution. It is particularly valuable for autonomous pipelines where manual routing is impractical.

## Known failure modes

- Tasks with no eligible agents appear in uncovered_tasks with no assignment
- Budget too low to cover all tasks results in partial assignments or blockers
- Agents declared with incompatible capabilities for required task types yield empty eligible_count
- Malformed tasks or agents arrays (wrong types, out of range counts) return 400 validation errors
- No independent verification of agent availability or actual runtime performance

## How this service works

Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.

## Output

Returns a JSON object with task-to-agent assignments (including selected agent ID, price, success rate, p95 latency, required capabilities, and fallback), a dependency-respecting execution order, projected total spend in USD, overall mission success probability, a mesh SHA256 fingerprint, any uncovered tasks, blockers preventing readiness, and known limitations of the ranking model.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tasks": {
   "type": "array",
   "maxItems": 60,
   "minItems": 1
  },
  "agents": {
   "type": "array",
   "maxItems": 100,
   "minItems": 1
  },
  "budget_usd": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "mode": "subcontractor_mesh_compiler",
  "blockers": [],
  "decision": "ready",
  "budget_usd": 50,
  "assignments": [
   {
    "task_id": "extract",
    "fallback": null,
    "requires": [
     "web"
    ],
    "selected": {
     "agent_id": "alpha",
     "price_usd": 3,
     "success_rate": 0.98,
     "p95_latency_ms": 1200
    },
    "dependencies": [],
    "eligible_count": 1
   },
   {
    "task_id": "verify",
    "fallback": null,
    "requires": [
     "verification"
    ],
    "selected": {
     "agent_id": "beta",
     "price_usd": 8,
     "success_rate": 0.97,
     "p95_latency_ms": 1600
    },
    "dependencies": [
     "extract"
    ],
    "eligible_count": 1
   }
  ],
  "limitations": [
   "Ranks only declared agent capabilities, price, latency and success rate.",
   "No candidate identity, availability or actual performance is independently verified."
  ],
  "mesh_sha256": "99d4c0ebac10a7fa02d52f5dfcdf07ec8e205580a31f05f6d156f1577a631ceb",
  "execution_order": [
   "extract",
   "verify"
  ],
  "uncovered_tasks": [],
  "projected_spend_usd": 11,
  "mission_success_probability": 0.9506
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bounty-engineer-subcontractor-mesh-compiler-14e2b5f4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bounty-engineer-x402-prod.onrender.com](https://www.zero.xyz/host/bounty-engineer-x402-prod.onrender.com/llms.txt)
