Self-hosted (AWS)

Use a coding agent to install

Let Claude Code, Codex or Cursor run the install while a person approves each gate.

Deployment
Self-hosted
Area
Install

A coding agent such as Claude Code, Codex or Cursor can run the install for you, while you approve each gate.

Before you start

You supplyExampleComes from
A coding agent in a terminalClaude Code, Codex, CursorAlready on your computer
AWS CLI signed in with admin rightsaws sts get-caller-identity worksPrerequisites
The values from the install guideregion, host name, DNS ownerYou answer when the agent asks

Give the agent the guide

  1. Open Install Diakrin.
  2. Choose Use with AI → Copy as agent prompt at the top of the page.
  3. Paste it into your agent.

You should see the agent load the install skill and ask for each value in Before you start.

If the CLI is already installed, you can also load the skill yourself without restarting the agent:

sh
diakrin skills show diakrin-self-hosted-install

What the agent does and does not do

The agentA person
Writes diakrin.env, runs --plan-only, status and doctorReads and approves the plan before --yes
Reports the DNS records and checks diakrin self-hosted dnsConfirms the records exist at the DNS provider
Runs deployRuns the printed command to read the owner setup code and enters it in the browser
Reads error.nextAction and reruns the commandDecides on destroy and types the installation id

If it fails

You seeIt meansDo this
The agent does not know the skillIt started before diakrin initRun diakrin skills show diakrin-self-hosted-install and ask it to follow the output
The agent stops at a gateThat is intendedDo the step, then tell it to continue

Next

Follow Install.

Next stepInstall self-hosted Diakrin →