# Deploy AI generated code

Get AI generated code into production without spending days on infrastructure setup or worrying whether the production details are right. Upload the files and Tokay builds a production environment around the code.

## Keep your momentum

Move straight from the coding session into deployment instead of stopping to translate working code into infrastructure. Paste the files, drop in a folder, connect GitHub, or let your agent submit the source through [Tokay](/getting-started).

Tokay reads the code to determine how it starts, which packages it needs, which environment variables it expects, and whether it depends on supported databases or system tools. We use that evidence to prepare the build and runtime setup around the app the agent actually wrote.

## Hand off the production details

You can rely on Tokay to cover the setup that makes an app safe and dependable in production while keeping the important decisions in your hands. Before deployment, Tokay shows the detected Services, resources, and environment variables together for review, then asks you for the private values only you know.

If a secret appears in the source, we flag it so you can move the value into encrypted storage. When a small code change is needed for a safe deployment, Tokay shows the exact diff and waits for your approval.

## Let the code run the way it was designed

The app gets the runtime it needs without you having to assemble and operate each part yourself. Tokay keeps long running processes alive, starts scheduled work when it is due, and gives web apps and webhooks an HTTPS endpoint.

When the code expects a supported database, Tokay creates it in the Project and supplies the connection through the environment variables the app already reads. The system runs together on your Workspace's dedicated virtual machine.

## Let your agent finish the job

Claude Code, Codex, or whichever agent wrote the code can return a verified running service instead of handing you another deployment task. Through Tokay's GraphQL API, it can submit the source, review the detected setup, set the write only secret values you provide, deploy the Services, diagnose a failed deployment, and verify the live app.

Tokay keeps the healthy version active until the new deployment passes its checks. Destructive database migrations wait for human confirmation. Point your agent to [app.tokay.io/llms.txt](https://app.tokay.io/llms.txt) for the deployment protocol.

Tokay has a very generous free tier with no credit card. [Get started](/getting-started).
