Skip to main content
Vercel builds and serves your project from its own platform. Ankra builds the same GitHub repository and runs it on your own cluster, behind HTTPS, with every change built and scanned first. You keep pushing to the same repository. Ankra builds every commit.

What moves, and what it becomes

The setup pull request contains the Dockerfile, the Kubernetes manifests, the CronJobs, the deploy options (.ankra/ankra.yaml) and the build pipeline (.ankra/pipeline.yaml). Ankra’s AI writes it when you add the repository. You review and merge it.

Vercel storage in the Launch Plan

Ankra reads which Vercel storage the code uses and puts one card per service in the project’s Launch Plan. Each card shows how locked in the service is and which choice applies by default. A portability pull request is opt-in. It adds the open-protocol path beside Vercel’s, and the app keeps using Vercel until you set the new variables. Data is copied only when you start a data migration. Running Postgres, Valkey or object storage in your cluster is a managed service. For an organisation that does not have managed services turned on, the plan keeps Vercel Postgres, Vercel KV and Vercel Blob, each card says “managed services are not turned on for this organisation yet”, and no portability pull request is offered for them. Edge Config and the next.config pull request are offered either way.

Portability pull requests

A portability pull request is a small change to your code that Ankra opens on your repository only when you ask for it. Ankra opens two kinds:
  • A service’s portability pull request. It adds the open-protocol path for a Vercel storage service from the table above, beside Vercel’s.
  • The next.config pull request. It moves your vercel.json routing into next.config.

Asking for one

Each portability pull request is an action of the project’s Launch Plan, and a plan-level approval covers it like any other action:
  1. Read the plan with ankra application launch-plan <application>. A storage service’s portability pull request is listed among the plan’s actions, and a Vercel project always offers the next.config pull request.
  2. Approve the plan through the API with that action’s key in action_keys. It is never selected for you.
  3. Open it under the approval with Open an approved portability pull request in the API reference. It needs applications.write. Only you, the approver, can open it, and each approved pull request opens once.
The request answers straight away with the operation that opens the pull request. Ankra reads your repository at the commit the plan was made from and opens the pull request from there. If the branch has moved on since, nothing is opened: analyse the application again and approve the new plan.

When a person has to make the change

Ankra changes only what it can change with confidence. If it cannot, it opens nothing, and the operation fails with the reason. When the change needs a judgement Ankra will not make, the reason starts with needs a person:, for example when next.config already defines redirects(). Make that change yourself.

The next.config pull request

The next.config pull request moves the redirects, rewrites and headers from vercel.json into next.config, and sets output: 'standalone' so the image carries only the standalone server. Your existing configuration is kept as it is: the pull request only adds to it. While Vercel builds the app, the moved rules return nothing, so vercel.json keeps serving your routing on Vercel until you move traffic.

After it opens

The PR shepherd follows every portability pull request and drives it to ready. Ankra never merges a portability pull request, whatever your merge settings, because it changes your code. You review and merge it.

Moving your data (Closed Beta)

Closed beta. Data migration is in closed beta. Where Ankra cannot carry out a step for a service, the run stops before anything at the vendor changes, or rolls back, and gives the reason. Contact support before relying on it for a production move.
When you choose to move a service into your cluster, the Launch Plan carries a data migration for it. The migration plans the move in steps, and one plan-level approval covers all of them. Every service moves before one cutover:
  1. Ankra copies the data in while your app keeps running on Vercel.
  2. It makes each vendor source read-only.
  3. It copies what changed since the first copy and checks counts and checksums.
  4. It switches your app’s variables to the services in your cluster in one change.
The vendor sources then stay read-only for a rollback window, seven days by default. In that window, one command puts the previous variables back and makes the sources writable again. Ankra never deletes data at the vendor. When the window closes, you get a checklist of what to remove there yourself. The switch writes each variable it changes as a secret shared by every environment. While the application keeps one of those variables as a plain value’s shared default, a data migration is not started, and the refusal names the variable: remove or rename the plain value, then start the migration again. A plain value added after the start fails the cutover, and the run rolls back. An environment with its own value of such a variable keeps reading that value after the cutover: the Launch Plan warns about each one, such as “Staging has its own DATABASE_URL, so the cutover does not change it there: Staging keeps reading its own value”, and each run names them too.
Vercel Blob is not S3-compatible, so its data is not copied.

Compared with your Vercel preview

Before you merge the setup pull request, Ankra’s proof run deploys it to an ankra.cc preview and requests its health routes and its home page. For a Vercel project, the proof then requests the same routes on the preview Vercel deployed of the same commit, and compares the two answers. The comparison looks at the shape of each answer, not its exact bytes:
  • the status code
  • the content type
  • for JSON, the keys two levels deep
  • for an HTML page, its title and which of header, nav, main and footer it has
  • the size, which counts as different only when one answer is more than twice the other
Build ids, nonces and timestamps differ between any two deployments, so they are not compared. Each route gets one of three results on the proof card in the pull request: An unknown route is never counted as a match. A difference is a warning. It does not fail the proof and does not block the pull request. A Vercel preview can differ for good reasons, such as variables set only for previews. Check each difference before you move your domain. Ankra finds the Vercel preview from the deployment status Vercel’s GitHub integration posts on the commit, so the GitHub App Ankra uses must be able to read the repository’s deployments. Ankra sends no credential to the Vercel preview. If the preview is protected by Vercel Authentication, its routes show as unknown.

Start from the Vercel project page

The Ankra - Chat & Deploy extension for Chrome puts an Ask Ankra button on your Vercel project page, and also on Lovable, Claude Design and GitHub repository pages. See install the extension.
1

See where the project stands

The button carries a status pill for the project’s repository: Not online yet, Getting ready, N choices to check, Ready to go online, Checking it works, Needs a fix or Live on Ankra. The same pill appears on the repository’s GitHub pages.
2

Review the Launch Plan

Open the panel’s My app tab. The extension fills in the GitHub repository the Vercel project builds and its branch. Open What Ankra will do when you press the button to see the Launch Plan:
  • the decisions only you can make, with their defaults
  • per external service, what stays at Vercel and what Ankra runs open source
  • the result of the proof run of the setup pull request
The portal has no screen for the Launch Plan, so Change these choices in Ankra opens the application without one. To read the whole plan, with every decision and its default, run ankra application launch-plan <application> (From the CLI).
3

Bring your variables

Under Copy my settings from Vercel, paste a Vercel access token for the project’s team and choose Read my settings. The token is used from your browser only and is not stored or sent to Ankra.By default you get the names of the project’s production variables, marked by whether Ankra already has each one. Tick Also copy the values into Ankra’s encrypted app settings before you read, then choose Copy N values to Ankra to copy the values into the application’s encrypted secrets. Values Ankra already holds are never overwritten. Variables marked sensitive on Vercel cannot be read back, so enter those in Ankra.Values can be copied once Ankra has registered the application, which happens on the first deploy.
4

Approve

Click Put it online. Ankra registers the application, opens the setup pull request, builds and scans the image, and deploys it with the plan’s choices. If the setup pull request or the first build is still pending, the request waits and is sent when Ankra is ready.The approval covers exactly the actions the panel lists, for one hour. When Ankra AI works on the launch in your chat or in an agent run that carries the approval, it runs those actions without asking you again. Anything outside the list still asks first. If the plan changes after you approve, nothing runs under the old approval: read the new plan and approve it.
Test on the Ankra address before you move your domain. Check every route the proof card shows as differing or unknown, the cron routes, the rewrites you moved into next.config, and every variable your app reads.

From the CLI

Run the first command in a local checkout of the repository. The second prints the Launch Plan as JSON: each external service’s lock-in tier, default and alternatives, where each environment variable comes from, and the decisions only a person can make. It only reads. See Applications and Lovable to Ankra for the rest of the flow, from the setup pull request to automatic deploys.