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

# Agent Mode

> Agent Mode enables DinoAI to directly create and modify files in your project, leveraging warehouse metadata and context to automate analytics engineering tasks.

export const Arcade = ({src, title}) => <div style={{
  position: 'relative',
  paddingBottom: 'calc(56.2225% + 41px)',
  height: 0,
  width: '100%'
}}>
    <iframe src={src} title={title} frameBorder="0" loading="lazy" allow="clipboard-write" allowFullScreen style={{
  position: 'absolute',
  top: 0,
  left: 0,
  width: '100%',
  height: '100%',
  colorScheme: 'light'
}} />
  </div>;

Agent Mode lets DinoAI create and modify files directly in your project. It's designed to turn natural language instructions into working dbt™ code.<br />

<iframe src="https://www.youtube.com/embed/cHsw1sJ0qD8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

### Common Use Cases

<Info>
  **Common Use Cases**

  * **Source definitions**: Create or update sources.yml with warehouse metadata
  * **Model creation**: Generate staging, intermediate, and mart models
  * **Documentation**: Document multiple models in seconds
  * **Project configuration**: Configure dbt\_project.yml based on your folder structure
  * **External integrations**: Pull information from Jira tickets or search web resources with Perplexity
  * **Code standardization**: Apply consistent formatting and patterns across your codebase
</Info>

### How to Use Agent Mode

1. Click the **DinoAI icon** (🪄) in the right panel of the Code IDE
2. Agent Mode is the default - switch only if you're currently in [Ask Mode](/products/dino-ai/copilot/ask-mode)
3. Type a prompt describing what you want to create or modify
4. Review the suggested changes in preview boxes
5. Click **Accept** to apply or **Reject** to decline

<Arcade src="https://demo.arcade.software/VqTUoffUh1HFg3upixuQ?embed&embed_mobile=tab&embed_desktop=inline&show_copy_link=true" title="Agent Mode" />

<Info>
  **Adding Context Makes DinoAI Smarter**

  Provide context for better results:

  * "Add File" for a specific reference file
  * "Add Open Files" for all open editor tabs
  * "Add Directory" for entire folders

  [Learn more](/products/dino-ai/copilot/context/index) about context
</Info>

### Key Features

#### Direct File Editing

DinoAI creates or modifies files based on your prompts, always showing previews before applying changes.

#### Warehouse Awareness

Connects to your data warehouse to understand your metadata, including: tables, columns, and relationships.

<Info>
  **Built-in Safeguards**

  * All changes require your explicit approval
  * DinoAI won't run expensive queries without permission
  * Follows your [.dinorules](/products/dino-ai/dino-rules) configurations for consistency
</Info>

### Effective Prompts

The more specific your prompt, the better the results:

```
"Create a staging model for the customers table in my raw_data source

Update sources.yml to include the new marketing tables.

Document all models in the marts/finance folder.
```

Want to see Agent Mode in action? Check out our detailed [Use Cases](/products/dino-ai/copilot/use-cases/index).


## Related topics

- [Copilot](/products/dino-ai/copilot/index.md)
- [Ask Mode](/products/dino-ai/copilot/ask-mode.md)
- [DinoAI Agent](/guides/paradime-101/getting-started-with-the-paradime-ide/dinoai-accelerating-your-analytics-engineering-workflow/dinoai-agent/index.md)
- [Getting started with the DinoAI background agent](/guides/paradime-101/getting-started-with-the-dinoai-background-agent/index.md)
- [DinoAI Copilot](/products/code-ide/left-panel/copilot.md)
