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

# AI Assistant

> Build websites with natural language

The AI assistant lives in the chat panel on the left side of the editor. You can describe what you want in plain English and the assistant will write code, create files, debug issues, and deploy your site.

## Opening the chat

The AI chat panel is visible by default when you open the code editor. If you've closed it, click the chat icon in the toolbar to reopen it.

## Sending messages

Type your message in the input field and press **Enter** to send. The AI reads your project files for context, so you can reference specific pages, components, or styles by name.

### @mentions for files

Type `@` followed by a filename to explicitly reference a file in your message. This tells the AI to focus on that file when generating a response.

```
Update the hero section in @index.html to use a gradient background
```

## Attaching images and files

You can drag and drop or paste images and files into the chat input. The AI can analyze images (like screenshots or mockups) and use them as reference when generating code.

<Info>
  **Attachment limits:**

  * Maximum 20 attachments per message
  * Images up to 20 MB each
  * Videos up to 100 MB each
</Info>

## Slash commands

| Command    | Description                                      |
| ---------- | ------------------------------------------------ |
| `/clear`   | Clear the conversation history and start fresh   |
| `/compact` | Summarize the conversation to save context space |
| `/help`    | Show available commands and usage tips           |
| `/context` | Display the current context window usage         |

## Reasoning effort

Control how deeply the AI thinks before responding:

* **Low** -- fast responses for simple tasks like renaming or small edits
* **Medium** -- balanced reasoning for most coding tasks
* **High** -- thorough analysis for complex architecture or debugging

You can adjust reasoning effort from the dropdown next to the send button.

## AI credits

Every message that uses a Max or Ultra model consumes AI credits from your account. Mini model messages are free. See [AI Credits](/settings/ai-credits) for details on plans and usage.
