Skip to main content

Daemon

The ami daemon acts as a bridge between ami.dev and your local projects. It runs on your machine to enable ami to read, edit, and execute commands in your codebase. Without the daemon, ami cannot interact with your local files.

Authentication

Before using the daemon, authenticate with https://ami.dev to access your projects and AI models. Run the following command to authenticate:
ami login
The CLI opens a browser tab prompting you to log in. It also displays a link you can open manually. Click Authorize on the webpage to grant access.

Starting the Daemon

Run ami from anywhere on your system to connect ami.dev to your local projects:
ami
The daemon is not tied to the directory you run it in, so you don’t need to start it from your project folder.

Running in the Background

Troubleshooting