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

# Settings

> Explains each tab of the CodePilot IDE settings screen so that even first-time users can understand it.

Click the **gear (⚙) icon** at the top right of the chat panel to open the settings screen.

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_SETTING.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=4fb55b6b57e9a384cd77b0f15ea0740c" alt="Settings screen" width="1084" height="729" data-path="images/en/IDE_SETTING.png" />

<Info>
  When connected to an Organization, items the administrator has deployed as **Required** cannot be changed. These are the items marked with a lock icon.
</Info>

***

## Account

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_ACCOUNT.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=5d44746592ee0c6b8a82cf8cf6a1f036" alt="Account settings" width="1142" height="680" data-path="images/en/IDE_ACCOUNT.png" />

This screen shows your login status and the Organization you belong to, and handles joining an Organization and selecting a Project.

| Item                       | Description                                                             |
| -------------------------- | ----------------------------------------------------------------------- |
| Profile                    | Login account, Organization membership, authentication status           |
| Organization connection    | Register an Organization API key (`cpk_...`) and leave the Organization |
| Project                    | Select the Project to work on                                           |
| Sync organization settings | Re-fetch the latest policies from the server                            |

For detailed steps, see the [Organization connection](/en/getting-started/organization) doc.

***

## General

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_GENERAL.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=d49e5a2a6c4e146bc7f72a1bccc4beae" alt="General settings" width="843" height="991" data-path="images/en/IDE_GENERAL.png" />

### Language / Theme / Default Mode

| Item         | Description                             |
| ------------ | --------------------------------------- |
| Language     | AI response language (Korean / English) |
| Theme        | Dark / Light / Follow VS Code setting   |
| Default Mode | The mode selected when a chat starts    |

### Auto-execution permissions

Determines whether the AI **asks for confirmation or runs immediately** before it modifies files or executes commands.

| Setting           | When ON                            | When OFF                         |
| ----------------- | ---------------------------------- | -------------------------------- |
| Auto-run tools    | The AI runs tools immediately      | Asks for approval before running |
| Auto-update files | Applies changes immediately        | Approve after reviewing the diff |
| Auto-run commands | Runs terminal commands immediately | Confirm before running           |

<Warning>
  If you're using it for the first time, start with **Auto-run tools and Auto-run commands turned OFF**. We recommend turning them on only after you've built trust by observing what the AI does.
</Warning>

### Other

* **Inline code completion** — Tab completion while typing (OFF by default)
* **Next-task suggestions** — Suggests follow-up tasks after a task completes
* **Web search** — Reflects web search results in answers
* **Credential protection** — Inspects responses so that secret keys aren't exposed
* **Export / import settings** — Back up and restore settings as a JSON file

***

## AI Models

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_AI_MODEL.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=1b3c94259e1fbb766da734f6d72807ce" alt="AI Models settings" width="1030" height="685" data-path="images/en/IDE_AI_MODEL.png" />

### Selecting the main model

Choose the default model to use for chat.

| Type        | Characteristics                                        |
| ----------- | ------------------------------------------------------ |
| Cloud model | High performance, requires internet, incurs cost       |
| Local model | Free, works offline, speed varies with your PC's specs |

<Tip>
  When connected to an Organization, only models approved by the administrator appear in the list.
</Tip>

### Response options

| Option     | Description                                    |
| ---------- | ---------------------------------------------- |
| Streaming  | Displays the answer as it's generated          |
| Thinking   | Reason more deeply (Low / Medium / High / Max) |
| Multimodal | Supports image and PDF attachments             |

### Registering a personal API key

Besides the Organization's models, you can register a personal API key and use it at your own expense. Enter the key issued by the provider on this screen.

### Assigning models by purpose

You can assign a different model to each type of task. Assigning a lightweight model to simple tasks improves both cost and response speed.

| Purpose                 | Recommended                           |
| ----------------------- | ------------------------------------- |
| Conversation compaction | Lightweight model                     |
| Command execution       | Main model                            |
| Intent analysis         | Lightweight model                     |
| Error recovery          | A model different from the main model |
| Inline code completion  | Lightweight local model               |

***

## MCP Servers

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_MCP.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=47770fd5a5240b15011d40a30addb218" alt="MCP Servers settings" width="787" height="714" data-path="images/en/IDE_MCP.png" />

Connect external tools such as GitHub, Jira, and in-house systems so the AI can operate them directly.

* **Local connection** — Tools that run on your own PC
* **Remote connection** — An external MCP server URL

Authentication supports API keys or OAuth.

<Info>
  If your Organization administrator pre-registers MCP servers, you can use them right away with no additional setup.
</Info>

***

## RAG (Internal Documents)

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_RAG.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=8a40734d7c61a93b605175790a677e28" alt="RAG settings" width="782" height="292" data-path="images/en/IDE_RAG.png" />

View the list of internal documents the administrator registered in the CodePilot Admin console. During chat, relevant documents are automatically searched and reflected in answers.

Since document registration and indexing are performed by the administrator, in the IDE you only view which documents are connected.

***

## Build/Test

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_BUILD.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=f09ac00de5ee0d3f68ec1d56b01fe1d5" alt="Build/Test settings" width="786" height="470" data-path="images/en/IDE_BUILD.png" />

Specify the verification commands to run automatically after writing or fixing code.

| Project       | Example commands                            |
| ------------- | ------------------------------------------- |
| Node.js       | `npm test`, `npm run lint`, `npm run build` |
| Python        | `pytest`                                    |
| Java (Maven)  | `mvn verify`                                |
| Java (Gradle) | `./gradlew test`                            |

If left empty, the project type is detected and commands are chosen automatically. If verification fails, the AI analyzes the cause, applies a fix, and verifies again.

***

## Hot Load

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_HOTLOAD.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=d62d1cfe683c8e759eb9556b8f746cc4" alt="Hot Load settings" width="782" height="514" data-path="images/en/IDE_HOTLOAD.png" />

Register frequently used tasks as keywords, and when you type a sentence containing that keyword in the chat, the registered command runs.

```
Keyword:      deploy, release
Description:  Run a production deployment
Command:      ./scripts/deploy.sh production
```

You can also specify a completion condition (exit code, output string, or file existence), the number of retries, and the behavior on failure.

***

## Hooks

Insert shell commands at specific points in the workflow. Use them for audit logging, integration with in-house tools, and more.

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_HOOKS.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=1f9b183a4418ca696b8ef24bf1b6540e" alt="Hooks settings" width="775" height="426" data-path="images/en/IDE_HOOKS.png" />

| Event                 | When it fires                           |
| --------------------- | --------------------------------------- |
| Before tool execution | Just before the AI runs a tool          |
| After tool execution  | After a tool finishes running           |
| On tool failure       | When a tool execution fails             |
| Before LLM call       | Just before a request is sent to the AI |
| On session start      | When a new conversation starts          |

***

## Agents

Register subagents that take on specific roles. Once registered, you can invoke them in chat with **`@agent-name`**.

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_AGENTS.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=5e760d48655bb2f5061c89ecab4a12c2" alt="Agents settings" width="794" height="637" data-path="images/en/IDE_AGENTS.png" />

| Item          | Description                                 |
| ------------- | ------------------------------------------- |
| Name          | The call name that follows `@`              |
| Description   | What this agent does                        |
| System prompt | The agent's role and instructions           |
| Allowed tools | The tools this agent can use                |
| Read-only     | Blocks file modification and deletion tools |

<Info>
  Your Organization administrator can also deploy company-wide shared agents.
</Info>

***

## Skills (Skills and Rules)

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_SKILLS.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=7fbfa3eb494dfaab5642063ee800f9e0" alt="Skills settings" width="789" height="923" data-path="images/en/IDE_SKILLS.png" />

Register, in Markdown, the team rules the AI must follow when writing code.

```
Write all React components as function components,
and define Props types using an interface.
```

The categories are divided into Global Rules, Version Control, Coding Style, Project Architecture, Dependency Policy, and Database.

| Type               | Description                                                     |
| ------------------ | --------------------------------------------------------------- |
| Local rules        | Applied only on your own PC                                     |
| Organization rules | Registered by the administrator and applied to all team members |

<Info>
  **Required** items among the Organization rules cannot be modified or turned off by individuals.
</Info>

***

## Security

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_SCRURITY.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=ac2c0b8bd8982038dd6c9f7879668d00" alt="Security settings" width="803" height="939" data-path="images/en/IDE_SCRURITY.png" />

Specify the commands the AI must not run and the files it must not access.

### Blocked commands

Blocks commands that destroy the system or are irreversible.

```
rm -rf /
DROP TABLE
git push --force
chmod 777
```

### Protected files / exclude patterns

Specify the paths the AI is blocked from reading or modifying.

```
.env              ← API keys, passwords
.env.local
secrets/          ← certificates, secret keys
config/secrets.yml
```

<Info>
  Paths listed in `.gitignore` are automatically skipped during file exploration. To block them completely, however, add them directly to the exclude patterns.
</Info>

<Warning>
  Security settings are the last line of defense that prevents the AI from accidentally touching important files. Be sure to add your `.env` file to the exclude patterns.
</Warning>

***

## Usage

View the memory used, the number of AI calls, the number of tool executions, and the number of files referenced in the current session.

***

## Per-Project Settings

When you select a Project, the **Team default settings** are also shown, read-only, on the settings screen. For any item the Project doesn't set separately, the Team default settings apply as-is.

<img src="https://mintcdn.com/banyaai/eM-Nuqr2SnMxEdsc/images/en/IDE_PROJECT_SECURITY.png?fit=max&auto=format&n=eM-Nuqr2SnMxEdsc&q=85&s=05c86572d997118f99191c1e129897c6" alt="Project security settings" width="662" height="538" data-path="images/en/IDE_PROJECT_SECURITY.png" />

<AccordionGroup>
  <Accordion title="What happens if I don't select a Project?">
    The Team default settings apply. The Organization-wide settings registered by the administrator are used as-is.
  </Accordion>

  <Accordion title="My Project list is empty">
    This means the administrator hasn't created any Projects yet, or you haven't been added as a member of the Project. Contact your administrator.
  </Accordion>

  <Accordion title="Does changing Projects clear my conversation?">
    No. Your conversation is preserved, and the new Project's settings apply from the next message onward.
  </Accordion>

  <Accordion title="What if local rules and Organization rules conflict?">
    Organization rules take precedence. Use local rules to complement the Organization rules.
  </Accordion>
</AccordionGroup>
