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

# Login

> Sign in via browser with device-code authentication.

# Login

```bash theme={null}
agenta login
```

Opens your browser for sign-in + wallet activation. The CLI polls until you approve.

## How it works

1. CLI generates a device code and opens a browser URL
2. You sign in (email + OTP or passkey) in the browser
3. Activate your wallet (business name, address, biometric)
4. CLI receives your JWT automatically

## After login

```bash theme={null}
agenta status   # verify account + readiness
```

Sessions last 7 days. JWT auto-refreshes transparently.

## Logout

```bash theme={null}
agenta logout
```
