# AWS Bedrock Coding Agent

> AWS Bedrock Coding Agent is a paid API for AI agents from aws-bedrock-agent-api.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-11).

Runs a coding-specialized AI agent via Amazon Bedrock, accessible as a pay-per-call API using x402 micropayments.

## Facts

- Endpoint: POST https://aws-bedrock-agent-api.vercel.app/api/agents/coding?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aws-bedrock-coding-agent-9cd5c1db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P9fZrlcpaVexPGwP--nR7

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 aws-bedrock-coding-agent-9cd5c1db -d '<json body>'
```

Example prompt: Can you write me a Python function that parses a JSON log file, filters entries by error level, and outputs a summary — use the coding agent and send along this example log snippet as context?

## When to prefer this

Choose this endpoint when you need a coding-specialized AI agent response and want pay-per-call pricing via x402 micropayments without a subscription. Ideal for agents that need on-demand code generation, review, or debugging without managing AWS Bedrock credentials directly. Prefer over generic LLM endpoints when the task is specifically code-centric and per-call cost accountability matters.

## Known failure modes

- Payment not processed — 402 response if USDC micropayment fails or is insufficient
- Input too long — query or context exceeds 50,000 character limit
- Invalid model override — specified model deployment name not found or unavailable
- Empty or missing input — minLength:1 not met returns validation error
- Rate limiting or Bedrock service unavailability — upstream AWS errors propagated as 5xx

## How this service works

Pay-per-call Amazon Bedrock proxy on x402 and MPP.

## Output

Returns an AI-generated text response from a Bedrock-powered coding agent, containing code, explanations, debugging analysis, or implementation guidance tailored to the input query and any provided context.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "tempo",
    "auto"
   ],
   "type": "string",
   "description": "Chain hint for tx-trace"
  },
  "input": {
   "type": "string",
   "maxLength": 50000,
   "minLength": 1,
   "description": "Primary query or payload for the agent"
  },
  "model": {
   "type": "string",
   "maxLength": 200,
   "minLength": 1,
   "description": "Azure deployment override"
  },
  "salary": {
   "type": "string",
   "maxLength": 80,
   "description": "Salary target or range, e.g. 120k or 80000-140000"
  },
  "context": {
   "type": "string",
   "maxLength": 50000,
   "description": "Optional extra notes"
  },
  "location": {
   "type": "string",
   "maxLength": 200,
   "description": "City, region, country, or remote"
  },
  "position": {
   "type": "string",
   "maxLength": 200,
   "description": "Job title or role"
  },
  "experience": {
   "type": "string",
   "maxLength": 80,
   "description": "Years or level, e.g. 5 years, staff"
  },
  "business_type": {
   "type": "string",
   "maxLength": 200,
   "description": "Industry or company type, e.g. fintech"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aws-bedrock-coding-agent-9cd5c1db/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aws-bedrock-agent-api.vercel.app](https://www.zero.xyz/host/aws-bedrock-agent-api.vercel.app/llms.txt)
