K-Diff

K-Diff enables you to compare branches within a repository and understand exactly what has changed between them. It helps developers and QA teams identify new features, code modifications, and potential causes of bugs—directly through Kavia Chat.

This feature is ideal for code reviews, debugging, release comparisons, and onboarding new developers.

Create a K-Diff Comparison
1

Open a Project

Navigate to Projects and open an existing project, or create a new one.

Ensure that at least one repository is already added to the project.

Illustration for Open a Project
2

Add Your Repository

From the project tools, click Add Repository.

k-diff-img2

In the popup window, you can:

  • Add a public repository using a repository URL
  • Select an existing GitHub organization account
  • Click Scan Repo to list all repositories under the selected GitHub account
  • Search and select the repository you want to use
k-diff-img3
3

Select Branches for Comparison

Open K-Diff from the project tools.

  • Select a Base Branch, which acts as the main or reference branch
  • Select a Compare Branch, which is the branch you want to analyze against the base

After selecting the branches:

k-diff-img4
  1. Enter a name for the K-Diff session (use a meaningful name based on the use case)
  2. Click Create K-Diff

Once processing is complete, you will see a Completed status label.

k-diff-img5
Use K-Diff in Chat
4

Start a New Session

Click the arrow icon in the top-right corner to return to the project page.

Then click New Session to start a fresh chat session.

k-diff-img6
5

Load K-Diff in Chat

In the chat input box, type @kdiff.

A list of all available K-Diff sessions will appear.

Select the required K-Diff session from the list.

k-diff-img7
6

Ask Questions

Once a K-Diff session is selected, you can ask questions such as:

  • “What changes were introduced in this branch?”
  • “Which files were modified?”
  • “What code changes could have caused this bug?”
  • “Summarize the differences between these branches”

Kavia will analyze the selected K-Diff and respond with structured, context-aware answers.

k-diff-img8

Why Use K-Diff?

  • Compare branches before merging
  • Identify root causes of bugs
  • Review changes introduced in new releases
  • Understand code changes quickly without manual diffing

K-Diff brings powerful branch comparison directly into Kavia Chat—making code analysis faster, clearer, and more collaborative.

Inspect. Plan. Build.

Transform Enterprise Software Development Process with KAVIA AI

© 2025 KAVIA AI – All Rights Reserved.