# MAX: Profiles and bots (/en/docs/max/profiles)

Choose the right account or bot when you have more than one. This guide explains named profiles and their settings so a task runs with the intended account.

[Choose an account or bot](/llms.mdx/docs/configuration/content.md#profiles-and-bots)

A **profile** names one `max` login on this computer: a personal MAX account or a bot, with its own session and settings. You choose the name at the first login — `max personal setup` — and repeat it in every command: `max` never picks a profile by itself, not even the only one. To avoid typing the name each time, set `MAX_PROFILE` for the shell session.

Use this page when you need a second account, want your AI agent to have fewer permissions than you, or want to run a bot. You will learn to select a profile for a command, give it its own settings and switch to a bot.

## What profiles let you do [#what-profiles-let-you-do]

| Goal | How |
| --- | --- |
| Use two MAX accounts on one computer | Log in once for each profile: `max work session start qr` |
| Give an agent fewer permissions than you | A profile with its own [permissions](/llms.mdx/docs/max/permissions/content.md) |
| Keep the agent in this profile | `MAX_PROFILE_LOCK` ([session profiles](/llms.mdx/docs/max/sessions/content.md#%D0%BF%D1%80%D0%BE%D1%84%D0%B8%D0%BB%D0%B8)) |
| Run a MAX bot alongside your account | A bot profile: `max support bot api get-my-info` |
| See all profiles on this computer | `max account list` |

## Choose a profile [#choose-a-profile]

Put the profile name before the command:

```sh
max work config show
```

`max account list` shows every profile on this computer and its account; `max work session end` logs the `work` profile out of MAX.

An entry in `profiles.work` in the configuration file applies to that profile; `defaults` supplies values that the profile does not override. See [session profiles](/llms.mdx/docs/max/sessions/content.md#%D0%BF%D1%80%D0%BE%D1%84%D0%B8%D0%BB%D0%B8) for profile-name rules and how `max` selects a profile.

A profile is not a separate operating-system user: an agent with full file access can reach other data on this computer too.

## Switch to a bot [#switch-to-a-bot]

Put `bot` after the profile name:

```sh
max support bot api get-my-info --json
```

These commands require a connected bot profile. MAX determines its account and permissions, separately from your personal account. [MAX bots](/llms.mdx/docs/max/bot/content.md) explains connection and examples.

## Settings and access [#settings-and-access]

- [Configuration](/llms.mdx/docs/max/configuration/content.md) explains the file, environment variables and options.
- [Permissions](/llms.mdx/docs/max/permissions/content.md) controls each profile's actions.
- [Login, sessions and profiles](/llms.mdx/docs/max/sessions/content.md) explains how to log in to a profile.
