> ## Documentation Index
> Fetch the complete documentation index at: https://ami.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Daemon

> The local bridge between ami.dev and your projects

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](https://ami.dev) to access your projects and AI models.

Run the following command to authenticate:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
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:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
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
