Deploy an app
Deployment starts with your coding agent. You do not need to package or upload the project by hand.
Ask the agent
Section titled “Ask the agent”From the project directory, ask:
Deploy this app to Kyno. Inspect the code first, create a root Dockerfile if it is missing, use the PORT environment variable, keep persistent data in /data, and pass local credentials as Kyno secrets.
The agent should:
- Inspect the application and its environment requirements.
- Confirm that one root Dockerfile describes the app Kyno should run.
- Exclude
.env,.git,node_modules, and other unnecessary files. - Send non-sensitive settings as
variablesand credentials assecrets. - Call
deploy_files. - Wait for the app to become ready and return its private URL.
Deploy local files
Section titled “Deploy local files”deploy_files is the normal path for a project on your computer. It accepts up to 200 files in one call. For larger uploads, an agent can use begin_upload, upload_file, and deploy_upload.
Never upload a .env file. Kyno rejects .env paths, but secrets should still be passed separately instead of copied into source files or Docker build arguments.
Deploy a public GitHub repository
Section titled “Deploy a public GitHub repository”Ask:
Deploy the public GitHub repository https://github.com/OWNER/REPOSITORY to Kyno.
Kyno accepts public github.com repositories and an optional branch, tag, or commit reference. The repository must have a root Dockerfile.
Workspace access is managed from People in the Kyno console, not from a deployment tool.
What happens after the request
Section titled “What happens after the request”Kyno records the deployment as a durable operation, builds the source in a Firecracker build microVM, creates a root filesystem, and starts the app in a separate Firecracker runtime microVM. A ready app receives a URL under apps.kyno.work.
If deployment fails, ask your agent:
Read the Kyno deployment events for this app, explain the last failure in plain language, fix the project, and redeploy it.