Code Repository Questions in Interviews
Last updated: December 3, 2026
This article applies to the new Interview experience.
Code Repository questions in HackerRank Interviews open in the Agentic Development Environment (ADE), a shared development workspace with a preconfigured codebase. Interviewer and candidate can navigate files, use a terminal, modify code, and build, run, test, inspect, and debug applications during a live interview.
If your organization enables AI assistance, candidates can use approved AI models to investigate the codebase, plan an approach, implement changes, and resolve issues.
Note:
AI assistance can be enabled at the company level or for individual interviews. For more information, see 📄 AI Assistant in Interviews → Enabling AI Assistant for interviews.
Important Note:
To create a Code Repository question for an Interview, see 📄 Front-end, Back-end, Full-stack, Mobile, and QA Engineer Questions → Creating front-end, back-end, full-stack, mobile, and QA engineer questions.
To import a Code Repository question within an Interview, see 📄 Manage Questions in an Interview → Adding a Code Repos question.
ADE components
The ADE contains a collapsible navigation panel on the left, the agent workspace in the center, and a collapsible development panel on the right.
Question
Select Question in the left panel to display the problem statement, requirements, constraints, and repository context.

Agent sessions
The Sessions panel lists the agent sessions in the interview. Candidates can create separate sessions for different tasks.
To start a session, click New in the Sessions panel and select one of the following:
Chat: Starts a session with HackerRank’s built-in AI Assistant.
Claude CLI: Starts a session with Claude Code.
Codex CLI: Starts a session with Codex.
When you select Claude CLI or Codex CLI, the tool opens in a terminal session within ADE. Claude Code and Codex require no additional setup.

AI Assistant
Use the prompt field at the bottom of the workspace to enter prompts, reference files with @ mentions, run / commands, select an AI Assistant mode and model, attach files, and submit prompts.

AI Assistant Mode: The AI Assistant provides the following modes:

Plan Mode: The candidate uses the AI Assistant to analyze the problem and create an implementation plan before writing code. The assistant reads the problem statement and existing code, asks clarifying questions when requirements are ambiguous, and generates a proposed implementation plan in Markdown for review. Plan Mode does not modify code.
Agent Mode: The candidate uses the AI Assistant to implement the solution. The AI Assistant can write code, edit files, and run actions based on the candidate’s prompts.
Candidates can switch between these modes from the mode selector in the prompt field.
Model Switching: Candidates can toggle between available models based on the task or their preference. For more information on available models, see 📄 AI Assistant in Interviews → Supported AI models.

For more information, see 📄 AI Assistant in Interviews.
Editor
Click the Open editor pane icon in the upper-right corner. The Editor tab displays the repository files and folders in Explorer. You can create files and folders, search the repository, and select a file to open it. Use Find a file to search for a file by name.

Diff view
Click the Open diff pane icon in the upper-right corner. The Diff tab displays files that change during the interview and compares them with the repository’s starting state. If no files have changed, the tab displays No changed files yet.

Browser
Click the Open browser pane icon in the upper-right corner to open the Browser tab. The Browser tab runs the application inside the environment.
When the application starts on a frontend port, the preview opens automatically, whether the agent starts the application or you start it from the Terminal. Backend ports do not open a preview automatically. To view a backend service, select its port from the list of available ports. Until the application is running, the tab prompts you to start it using the agent.

Terminal
Click the Open terminal pane icon in the upper-right corner. The Terminal tab provides command-line access to the ADE workspace. You can inspect the repository, start services, run tests, and verify application behavior. Select the plus (+) icon to open another terminal tab.

After you open any of the right-side development panes, you can switch between the Editor, Diff, Browser, and Terminal tabs. Select the close (×) icon in the upper-right corner to close the pane.
Note:
Before the candidate joins, you can add questions, use the Question menu to switch between questions, and review each problem statement. You can also start an AI Assistant session, browse repository files, review changes in Diff, run commands in Terminal, and preview the application in Browser.
Once the candidate joins, you and the candidate share the same session. Any prompt you send to the AI Assistant yourself can overwrite or disrupt the candidate's in-progress work.
ADE settings
Use ADE settings to control how the AI Assistant displays its work and uses skills, subagents, and MCP servers. To open ADE settings, click Settings at the bottom of the left panel.

For more information, see 📄 ADE Settings in Interviews.