Endpoint
job/* branch to your repository, triggering the GitHub Actions workflow (run-job.yml) to spin up the agent container.
Authentication
Requiresx-api-key header. See Authentication.
Request Body
The task prompt for the LLM agent. This is what the agent will execute.
Example Request
Response
Success (200)
Unique identifier for this job (8-character hash)
Git branch name (
job/{job_id})GitHub pull request URL (if job creates a PR)
Error Responses
Missing Job Field (400)
Unauthorized (401)
Internal Error (500)
How It Works
- Server receives job request
- Calls
createJob(job)fromlib/tools/create-job.js - Generates unique
job_id(8-char hash from timestamp + random bytes) - Creates
job/{job_id}branch - Commits
job.md(task prompt) andjob.config.json(LLM config) - Pushes branch to GitHub
- GitHub Actions workflow detects new
job/*branch - Workflow spins up Docker agent container
- Agent executes task, creates PR with results
- Returns job metadata to caller
Job Configuration
The agent uses your default LLM settings from environment variables or GitHub repository variables:LLM_PROVIDER(default:anthropic)LLM_MODEL(default:claude-sonnet-4-20250514)LLM_MAX_TOKENS(default:4096)
llm_provider and llm_model fields.