menu Documentation menu

AI Tools

Last updated on Disponible en Français

Using AI Assist

Your account administrator can make AI Assist available in pads by default in the Organization Settings. You can also turn this feature on or off for an individual pad in the Pad Settings by clicking on the settings icon ⚙️ at the bottom left of the screen.

You and your candidates now have access to current large language models to utilize as a tool in your interviews, including:

  • GPT 4o-mini
  • GPT-5
  • Claude Haiku 3.5
  • Claude Sonnet 4
  • Gemini 2.5 Pro
  • Llama 4 Maverick

To use it, simply click on the AI Assist tab, select your language model, and enter your prompt.

Screenshot of the CoderPad interface showing a Java project open in the editor. The file tree on the left displays folders for src, test, and files like pom.xml and README.md. The main editor is open to the README.md file with setup instructions for running Java on CoderPad. On the right, the AI Assist panel shows a chat between Ken Swearengen and the AI Assistant discussing an example of using Lodash in JavaScript. At the bottom right, a red-outlined area highlights the AI Assist input box with “Add Context,” “Files,” and “Terminals” buttons, along with a dropdown menu showing model options — including GPT-4o mini (selected), GPT-5, Claude Haiku 3.5, Claude Sonnet 4, Gemini 2.5 Pro, and Llama 4 Maverick.

Some ways you can use the integration:

  • Have candidates showcase their prompt engineering skills
  • Review ChatGPT answers to technical questions with candidates to assess their critical thinking processes
  • Allow candidates to use ChatGPT like they would any other tool to solve your questions
  • Generate test data
  • Create starter code in different programming languages

✅ All pad users’ prompts and ChatGPT output will be saved for review in playback mode.

ℹ️ Want more information on how to use the integration? Checkout the demonstration video on YouTube.

Include Code in Context

To further understand a candidate’s ability to use generative AI, you can also enable Include Code in Context in the AI Assist window.

Screenshot of the CoderPad interface showing a Java project open in the editor. The file tree on the left displays folders for src, test, and files like pom.xml and README.md. The central editor contains a README file with setup instructions for running Java on CoderPad. A highlighted overlay in the middle zooms in on the AI Assist context panel, showing toggles for “Files” and “Terminals.” The right sidebar includes chat messages and AI Assist responses, with the top indicating that the waiting room is enabled and an “Open Pad To Everyone” button is visible.

This allows CoderPad’s AI assistant to read the code in the IDE, similar to tools like GitHub CoPilot or Cursor.

Add other AI tools

✅As of now, there is no way to persist Claude’s or Codex’s installation from a question to a pad. So you’ll need to install it for each individual interview pad for which you want to use it.

⚠️You’ll need your own Anthropic or Codex account and API key to get started.

Anthropic’s Claude

To install Claude in the shell you can either use curl (i.e. curl -fsSL https://claude.ai/install.sh | bash), or run the following commands:

  1. mkdir ~/.npm-global
  2. npm config set prefix '~/.npm-global'
  3. echo 'export PATH=$HOME/.npm-global/bin:$PATH' >> ~/.bashrc
  4. echo 'export SHELL=/bin/bash' >> ~/.bashrc
  5. source ~/.bashrc
  6. npm install -g @anthropic-ai/claude-code
  7. sed -i '1s|.*|#!/usr/bin/env node|' $(npm root -g)/@anthropic-ai/claude-code/cli.js
  8. Run claude --version to verify installation.

Once installation is complete, run claude in the command line, and you’ll receive instructions for set-up, including adding your API key.

Screenshot of a CoderPad interface showing a code editor on the left and a terminal output on the right. The editor displays files and directories, including "src," "models," and "static," with files like "User.ts" and "server.ts." The main text describes running a NodeJS Express app with PostgreSQL. The terminal shows a "Welcome to Claude Code" message in ASCII art, with a URL bar and options for server, shell, and console outputs.

You can then get started using Claude to review and edit your code.

A split-screen view of a coding environment in CoderPad. On the left, a file explorer shows directories like "src" with files such as "User.ts" and "server.ts", "static" with "style.css", and other files like "index.html", "package.json", and "README.md". In the center, a text editor displays instructions for running an Express application with PostgreSQL and using curl for API access, with TypeScript support. On the right, the program output section shows shell instructions and a list of testing update todos.

Codex

Just like Claude, run the following commands:

  1. mkdir ~/.npm-global
  2. npm config set prefix '~/.npm-global'
  3. echo 'export PATH=$HOME/.npm-global/bin:$PATH' >> ~/.bashrc
  4. echo 'export SHELL=/bin/bash' >> ~/.bashrc
  5. source ~/.bashrc
  6. npm i -g @openai/codex