# Floyd Autonomous Coding Agent

> Floyd Autonomous Coding Agent is a paid API for AI agents from floyd.lonestaroracle.xyz, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-15).

Hires an autonomous AI coding agent that completes GitHub tasks, writes code, and opens pull requests on your behalf

## Facts

- Endpoint: POST https://floyd.lonestaroracle.xyz/hire
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/floyd-lonestaroracle-xyz-dda8503e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4-TMEwDf2rM9_4gxQTSpl

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 floyd-lonestaroracle-xyz-dda8503e -d '<json body>'
```

Example prompt: Can you hire Floyd to implement the feature described in issue #42 on my GitHub repo github.com/myorg/myrepo — write the code and open a pull request when done?

## When to prefer this

Choose this endpoint when you need an autonomous agent to actually write and submit code to GitHub — not just suggest changes. Ideal for automating resolution of GitHub issues, implementing small-to-medium features, or offloading repetitive coding tasks without human intervention.

## Known failure modes

- Invalid or inaccessible GitHub repository reference returns an error
- Ambiguous or missing task description results in incomplete code generation
- Authentication or permissions issues on the target repo prevent PR creation
- Task too complex or outside the agent's coding capability leads to partial output
- Payment of 0.5 USDC not processed correctly causes request rejection

## How this service works

Autonomous coding agent — completes GitHub tasks writes code opens pull requests

## Output

The agent returns a confirmation that the coding task has been accepted and executed, including a link to the opened pull request on GitHub with the generated code changes.

## Request schema (JSON Schema)

```json
{
 "name": "Floyd — Autonomous Coding Agent",
 "tags": [
  "coding",
  "agent",
  "github",
  "automation",
  "developer"
 ],
 "type": "object",
 "version": "1.0.0",
 "category": "ai",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "task"
     ],
     "properties": {
      "repo": {
       "type": "string",
       "description": "GitHub repo URL (optional)"
      },
      "task": {
       "type": "string",
       "description": "Description of the coding task"
      },
      "context": {
       "type": "string",
       "description": "Additional context (optional)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 },
 "description": "Hire Floyd to complete coding tasks. Provide a task description and optional GitHub repo URL. Floyd will analyze, implement, and return results or open a PR."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/floyd-lonestaroracle-xyz-dda8503e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from floyd.lonestaroracle.xyz](https://www.zero.xyz/host/floyd.lonestaroracle.xyz/llms.txt)
