File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,25 @@ This is the core factory-control behavior: control agents supervise worker agent
138138
139139## Quick Start
140140
141- ### 1. Requirements
141+ ### Deploy with Railway (fastest)
142+
143+ [ ![ Deploy on Railway] ( https://railway.com/button.svg )] ( https://railway.com/deploy/swe-af )
144+
145+ One click deploys SWE-AF + AgentField control plane + PostgreSQL. Set two environment variables in Railway:
146+
147+ - ` 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)
148+ - ` GH_TOKEN ` — GitHub personal access token with ` repo ` scope for draft PR creation
149+
150+ Once deployed, trigger a build:
151+
152+ ``` bash
153+ curl -X POST https://< control-plane> .up.railway.app/api/v1/execute/async/swe-planner.build \
154+ -H " Content-Type: application/json" \
155+ -H " X-API-Key: this-is-a-secret" \
156+ -d ' {"input": {"goal": "Add JWT auth", "repo_url": "https://github.com/user/my-repo"}}'
157+ ```
158+
159+ ### 1. Requirements (local)
142160
143161- Python 3.12+
144162- AgentField control plane (` af ` )
You can’t perform that action at this time.
0 commit comments