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

# Ask Mode

> Ask mode allows you to run RAG over codebase and disables changes to the file system.

VibeKit ships with an `ask` mode that allows you to ask questions to the agent without changing any files in the file system. This is useful for quick questions and answers or building powerful RAG applications.

```typescript theme={"dark"}
const result = await vibeKit.generateCode({
  prompt: "Describe the codebase in detail",
  mode: "ask",
})

console.log(result);
```
