Agent Chat

The Chucki Agent is a fully integrated IDE assistant. Open it as a dockable tool window and chat with AI to compile projects, fix errors, implement features, and answer questions about your code.

Agent Chat

Opening the Agent

  1. In RAD Studio, go to View -> Tool Windows -> Chucki - Chat
  2. The agent window docks as a tab or pane alongside your code editor
  3. You can reposition it anywhere in your IDE layout

Basic Usage

  1. Create a new chat with the button on the top left
  2. Select a model from the dropdown menu (make sure you are logged in in the settings)
  3. Type your prompt in the message input at the bottom
  4. Press Enter or click Send to submit
  5. The agent analyzes your request and provides a response

Agent Capabilities

The Chucki Agent is fully integrated in the IDE and can:

  • Read the entire open project and use it as context and adapt to your coding style
  • Compile projects and analyze compiler output (especially errors, warnings and hints)
  • Add and configure form controls in your UI designs on your DFM forms with live preview
  • Automatically fix errors and warnings — see compiler issues and get instant fixes
  • Read from and write to open editors — modify your unsaved changes directly
  • Answer questions about your project or general programming
  • Implement features based on your descriptions
  • Perform refactorings and suggest code improvements

Model Selection

Model selection

Note: The list of models might be outdated, since new models are released constantly. Local models can be added as an upgrade to any license.

When creating a new chat or switching models:

  1. Click the model dropdown at the top of the agent window
  2. Models are grouped by provider (GitHub Copilot, OpenAI, Google Gemini). Only the providers are shown that you are signed in to.
  3. Select the model you want to use
  4. You must be signed in with the corresponding provider account

See the Overview for details on all available models and their capabilities.

Session Functionality

Every new chat is its own session with the selected model, which the AI remembers as context. This means that you can resume your chats any time. The sessions are stored locally on your machine, which keeps chats private and lets you continue and read your chats even after closing and restarting the IDE.

Full MCP Support

The Chucki Agent offers full MCP support, which means you can add custom MCP servers and interact with them. For example, you could add MCP servers for interacting with your database directly from the IDE. Or add GitHub in order to automate your GitHub repositories.

File References with @

If you have a project open, the Chucki Agent by default has the context of this entire project. Use the @ symbol to give the agent context on specific files you want to mention:

Chat Help

How to Reference Files

  1. Type @ in your message
  2. Chucki shows a list of project files matching your input
  3. Click a file or continue typing to narrow the list
  4. Select the file you want to reference

This lets you quickly provide precise context about specific files without copying code manually.

Note: The files in the list are shown as a relative path to the project file directory.

Execute Shell Commands with !

You can execute shell commands directly in the chat, by using the ! prefix. The AI model will execute this shell command and use it for further actions. You can also describe the shell command it is supposed to execute without writing it yourself, for example if it is a long one.

Example: !git status

Chat Modes

The Agent Chat offers three different modes that regulate the AI’s access behavior and permissions:

Chat Modes

Ask Mode (Read-Only)

The AI can only answer questions and analyze code:

  • No write operations possible
  • No project compilation
  • No file modifications
  • Ideal for pure analysis, code reviews, and questions

Review Mode (With Confirmation)

Every action by the AI requires explicit user confirmation:

  • A popup dialog appears for each operation (compile, write files, etc.)
  • User can approve or reject each action
  • Maximum control with greater flexibility
  • Ideal for critical projects and secure development environments

Agent Mode (Unrestricted Access)

The AI has (typically) unrestricted access to IDE functions:

  • Full project compilation possible
  • Files can be modified directly
  • All IDE functions available
  • Ideal for full productivity and automation

Copy Responses and View Changes

View Changes

Below each agent response, you’ll find two buttons:

  • Copy button (left): Copies the response in Markdown format to your clipboard
  • View Changes button (right): Only appears if the AI has made changes to files in the editor. Click this button to open RAD Studio’s Diff Viewer and compare all modified files

Note: The View Changes button only shows changes in open editors, not on the file system.

Configuration

  • Model sign-ins: Tools -> Options -> Chucki -> Chat
  • MCP servers: Tools -> Options -> Chucki -> MCP