# Bounty Engineer Agent Work Plan

> Bounty Engineer Agent Work Plan is a paid API for AI agents from bounty-engineer-x402-prod.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Generates a structured, phased work plan for an autonomous agent to safely and verifiably complete a bounded engineering task, including risk flags, stop conditions, and acceptance criteria validation.

## Facts

- Endpoint: POST https://bounty-engineer-x402-prod.onrender.com/v1/agent-work-plan?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bounty-engineer-agent-work-plan-31a857f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MRvx2Ql14NMhSTGo1_qQJ

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-agent-work-plan-31a857f4 -d '<json body>'
```

Example prompt: Create a structured agent work plan for this task: 'Fix the off-by-one error in the pagination function', with constraints ['no changes outside pagination module'] and acceptance criteria ['existing clients remain compatible', 'all pagination tests pass'].

## When to prefer this

Choose this endpoint when you need an autonomous agent to approach a bounded engineering or bounty task in a structured, auditable, and safe way — especially when you want phased execution with explicit stop conditions, risk flags, and acceptance criteria checked before code changes are made. Prefer this over ad-hoc prompting when auditability (SHA256 task fingerprinting), safety guardrails, and verifiable completion criteria matter.

## Known failure modes

- Malformed input (missing task field) returns a validation error
- Conflicting acceptance criteria may trigger a stop_condition of 'acceptance_criteria_conflict'
- Tasks requiring unsafe or irreversible actions without authorization trigger 'unsafe_or_irreversible_action_without_authorization' stop condition
- Missing required access to relevant resources triggers 'missing_required_access' stop condition
- Service unavailability on the Render hosting platform may return 5xx errors

## 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 an 'ok' flag, a 'mode' field set to 'agent_work_plan', an ordered array of phases (understand, inspect, change, test, verify, deliver) each with a goal, plus risk_flags, constraints, stop_conditions (e.g. missing access, criteria conflicts, unsafe actions), the SHA256 hash of the task, and the acceptance_criteria array.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "task": {
   "type": "string"
  },
  "constraints": {
   "type": "array"
  },
  "acceptance_criteria": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "mode": "agent_work_plan",
  "phases": [
   {
    "id": "understand",
    "goal": "Confirm task boundaries, inputs, expected output and acceptance criteria."
   },
   {
    "id": "inspect",
    "goal": "Locate the smallest relevant code/data surface and existing tests or contracts."
   },
   {
    "id": "change",
    "goal": "Implement the minimum scoped change without unrelated modifications."
   },
   {
    "id": "test",
    "goal": "Run focused validation for the changed behavior and likely regressions."
   },
   {
    "id": "verify",
    "goal": "Compare the result against every acceptance criterion and constraint."
   },
   {
    "id": "deliver",
    "goal": "Return evidence, changed artifacts and any unresolved blocker."
   }
  ],
  "risk_flags": [],
  "constraints": [],
  "task_sha256": "2c1741966c3787ebf2da9c71230ea8c48a94aa243b5764ff66afe32363136b70",
  "stop_conditions": [
   "missing_required_access",
   "acceptance_criteria_conflict",
   "unsafe_or_irreversible_action_without_authorization"
  ],
  "acceptance_criteria": [
   "Existing clients remain compatible"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bounty-engineer-agent-work-plan-31a857f4/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)
