{"repo":"sidpalas/background-agent-railway","free":true,"listed":false,"github":"https://github.com/sidpalas/background-agent-railway","clone":"git clone https://github.com/sidpalas/background-agent-railway.git","description":"Self-hosted background coding agent with OpenCode sandboxes on Railway","language":"TypeScript","stars":12,"topics":[],"license":null,"category":"ai-agents","readme_excerpt":"Background Agent on Railway This is the companion repo for \"I Built a Remote Coding Agent Platform on Railway (OpenCode, Claude Code, Codex) \" (a video I created in partnership with Railway). It is a full-stack demo that provisions AI agents into sandbox sessions running on Railway. (inspired by Ramp's internal agent \"Inspect\") Deployment Template! Video Progression: 1. Run opencode locally 2. Run opencode inside a container 3. Deploy to Railway 4. Add code-server to container image 5. Use the Railway API to deploy 6. Create a custom API for the control plane 7. Add a frontend (+ add proxy) 8. Install other coding agents 9. Configure GitHub access and pre-clone the repo Development Notes Project structure - packages/api : Express + TypeScript API, Railway integration, session management, and proxying. - packages/web : React + Vite frontend. - packages/sandbox : Sandbox container image used by session environments. - docker-compose.yml : Local API + Postgres + sandbox containers for development. Prerequisites - Mise - Docker + Docker Compose Local development 1. Start local infra: 2. Configure API environment variables: 3. Install dependencies: 4. Run API and web app in separate terminals: The API runs on http://localhost:3000 and the web app runs on http://localhost:5173 . Useful API commands Useful web commands","default_branch":null,"files":null,"tree":[],"storefront":"/r/sidpalas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sidpalas/background-agent-railway/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}