Skip to content

Run it locally

Two ways to run an agent on your own machine.

Terminal window
aai dev

Starts a local server and prints a URL. Open it and click the microphone.

Edit agent.ts, a tool, or system-prompt.md and it rebuilds and replaces the server.

Terminal window
npm start # http://127.0.0.1:3000
PORT=8080 HOST=0.0.0.0 npm start # bind every interface, e.g. in a container

This is the deployment counterpart of aai dev: no platform account, nothing managed. The scaffold’s prestart script builds first (aai build --skip-tests), then aai start serves the result.

aai start on its own never builds — it fails and tells you to run aai build. It serves your client.tsx build when there is one, and falls back to the default UI otherwise.