Deploy Eve Agents with Railway
Deploy any published standalone agent or compatible integration variant from one maintained template, then add only the credentials it needs.
Deploy on Railway (opens in a new tab)Railway deployment steps
Review the agent
Open the agent on EveAgents and review its instructions, source files, requirements, and available integration variants before deploying it.
Create an EveAgents API key
Open API Keys from your account menu, create a key named Railway, and copy it. Paste it into the EVEAGENTS_API_KEY field when Railway asks.
Open the EveAgents template
Use Deploy with Railway on the agent page, review the prefilled values in the inline deployment section, then open the published Railway template.
Choose the agent
Set EVE_AGENT_SLUG to the slug at the end of the agent URL. Leave EVE_INTEGRATION_SLUG empty for the standalone agent, or set it to an integration assigned to that agent.
Add the model credential
Choose OpenAI, Claude, or Gemini in the agent page's deployment section. Copy the generated EVE_MODEL value, then paste that provider's API key into EVE_PROVIDER_API_KEY in Railway.
Configure the integration
If you selected an integration variant, add every credential listed below the integration selector in the Deploy the agent section. Direct-credential channels can run entirely on Railway; Vercel Connect-backed variants also need an external Connect authorization setup.
Keep route authentication enabled
Keep ROUTE_AUTH_BASIC_USER and the template-generated ROUTE_AUTH_BASIC_PASSWORD. They protect the Eve session routes on the public Railway domain.
Deploy the service
Confirm the variables and deploy. The template builds the selected published files, starts Eve on Railway's PORT, exposes public networking, and checks /eve/v1/health.
Verify the live agent
Open the generated domain, confirm the health endpoint, run a representative task, and update any Slack, Discord, webhook, or OAuth callback URLs to use the Railway domain.
Official resources
- Railway template deployment documentation (opens in a new tab)
- EveAgents Railway template source (opens in a new tab)
- Railway variables documentation (opens in a new tab)
- Create an OpenAI API key (opens in a new tab)
- Create a Claude API key (opens in a new tab)
- Create a Gemini API key (opens in a new tab)
- Railway template kickbacks (opens in a new tab)
- Eve deployment documentation (opens in a new tab)
- Vercel Connect documentation (opens in a new tab)