BlogChecklist

What your coding agent forgets before you deploy.

Coding agents write code that works on your machine. These are the things they most often leave out, each with a quick check.

How the Agent API works
  • Ten checksEach takes a minute
  • Most are smallOne line, one file
  • Linked fixesEach links to a full page
  • Ask your agentIt can run most checks itself

The short answer

Before you deploy, ask your coding agent to go through this list. Most failures on a first deploy come from a handful of things that work on your machine and not on a server. The usual ones: an out-of-date lock file, no start script, a hardcoded port, localhost addresses, missing variables, tables that were never created, files saved to disk and timers inside the app.

Say this to your coding agent

Check this project against the deploy checklist: lock file, start script, PORT, localhost URLs, environment variables, migrations, uploads, SQLite and timers. Fix anything that fails.

The checklist

  1. The lock file matches package.json

    Run npm install and commit package-lock.json. See the lock file error.

  2. There is a start script, and the build passes

    npm run build should pass on your machine, and package.json needs a start script for a server app. See Express and Next.js.

  3. The app reads PORT and listens on 0.0.0.0

    Never a fixed port, never 127.0.0.1. See never started listening.

  4. There is no localhost in the code

    Search for localhost and 127.0.0.1. Use relative paths or an environment variable for the API address.

  5. Every variable the code reads is set

    Names in your .env must exist online too. See environment variables.

  6. The database comes from DATABASE_URL

    Not a local address and not SQLite. See add a database and SQLite resets.

  7. Migrations create the tables

    Use a tool Antideploy detects, or run your migration before the app listens. See relation does not exist.

  8. Uploads go to a bucket

    Nothing important is saved to the app's disk. See file uploads.

  9. Timers are scheduled jobs

    Replace node-cron and setInterval with a route and a scheduled job. See scheduled jobs.

  10. Secrets are not in the code

    No keys in files you commit, and none in NEXT_PUBLIC_ or VITE_ variables. Keep .env out of Git.

For Python projects

  • Every import is in requirements.txt, including the server: gunicorn for Flask and Django, uvicorn for FastAPI
  • The Python version is pinned in .python-version if your packages need a specific one
  • Django lists your address in ALLOWED_HOSTS

01Questions

Checklist questions, answered.

Anything else? Write to us and a person answers.

support@antideploy.com
Can my agent run these checks?

Yes. Ask it to check each item and fix what fails. The checks are plain: searching files, running the build and reading package.json.

Does Antideploy check any of this for me?

Before it builds, Antideploy reads your project and flags code that would deploy and then lose data: SQLite, uploads on disk, a job queue that needs a worker, and a scheduler inside the process.

What if a deploy still fails?

Read the failure reason, then the logs. Antideploy states the cause in one sentence for the causes it recognises, and the Fix an error section of this blog has a page for each common one.

Deploy something. Start with one sentence.

Paste one sentence into your coding agent, click Approve once, and get a live link. No card, no trial clock.

Start from GitHub or a folder
Prompt copied Paste it into Claude Code, Codex or Cursor and press Enter.