From 5a3db749ed0b767b26ce6f0ab1ca2995baa4230b Mon Sep 17 00:00:00 2001 From: Abir Abbas Date: Wed, 18 Feb 2026 12:34:45 -0500 Subject: [PATCH 1/3] docs: add Railway one-click deploy to Quick Start section Adds a "Deploy with Railway (fastest)" subsection as the first entry in Quick Start, linking to the published railway.com/deploy/swe-af template with env var setup and trigger instructions. Co-Authored-By: Claude --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a33e8c..bebaa2f 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,24 @@ This is the core factory-control behavior: control agents supervise worker agent ## Quick Start -### 1. Requirements +### Deploy with Railway (fastest) + +[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/swe-af) + +One click deploys SWE-AF + AgentField control plane + PostgreSQL. Set two environment variables in Railway: + +- `CLAUDE_CODE_OAUTH_TOKEN` — run `claude setup-token` in [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) (uses Pro/Max subscription credits) +- `GH_TOKEN` — GitHub personal access token with `repo` scope for draft PR creation + +Once deployed, trigger a build: + +```bash +curl -X POST https://.up.railway.app/api/v1/execute/async/swe-planner.build \ + -H "Content-Type: application/json" \ + -d '{"input": {"goal": "Add JWT auth", "repo_url": "https://github.com/user/my-repo"}}' +``` + +### 1. Requirements (local) - Python 3.12+ - AgentField control plane (`af`) From 60b34845fd62bea7924f52b0b693d24edefd742c Mon Sep 17 00:00:00 2001 From: Abir Abbas Date: Wed, 18 Feb 2026 12:41:51 -0500 Subject: [PATCH 2/3] docs: add X-API-Key header to Railway trigger example Co-Authored-By: Claude --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bebaa2f..c0bfbbe 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,7 @@ Once deployed, trigger a build: ```bash curl -X POST https://.up.railway.app/api/v1/execute/async/swe-planner.build \ -H "Content-Type: application/json" \ + -H "X-API-Key: this-is-a-secret" \ -d '{"input": {"goal": "Add JWT auth", "repo_url": "https://github.com/user/my-repo"}}' ``` From dc01b60dc310f454a0e9c4aca6b03911cf5e32df Mon Sep 17 00:00:00 2001 From: Abir Abbas Date: Wed, 18 Feb 2026 12:43:39 -0500 Subject: [PATCH 3/3] docs: fix Railway curl placeholder to control-plane URL Co-Authored-By: Claude --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c0bfbbe..f92f937 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,7 @@ One click deploys SWE-AF + AgentField control plane + PostgreSQL. Set two enviro Once deployed, trigger a build: ```bash -curl -X POST https://.up.railway.app/api/v1/execute/async/swe-planner.build \ +curl -X POST https://.up.railway.app/api/v1/execute/async/swe-planner.build \ -H "Content-Type: application/json" \ -H "X-API-Key: this-is-a-secret" \ -d '{"input": {"goal": "Add JWT auth", "repo_url": "https://github.com/user/my-repo"}}'