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

  1. Review the agent

    Open the agent on EveAgents and review its instructions, source files, requirements, and available integration variants before deploying it.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. 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