---
metadata:
  - name: generator
    content: Diplodoc Platform v5.57.3
alternate:
  - https://sourcecraft.dev/portal/docs/en/code-assistant/concepts/index.md
  - https://sourcecraft.dev/portal/docs/ru/code-assistant/concepts/index.md
  - href: en/code-assistant/concepts/index.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
title: SourceCraft Code Assistant overview
description: 'Overview of SourceCraft Code Assistant features: code autocompletion, chat mode, quick actions, and IDE integration.'
---
> **Documentation Index:** Fetch the complete configuration index at https://sourcecraft.dev/portal/docs/en/llms.txt


# SourceCraft Code Assistant overview

<!-- source: en/_includes/code-assistant/disable-ai-features-note.md -->
{% note warning %}

SourceCraft uses the capabilities of AI models within Yandex. For this to work, some of your [organization's](https://sourcecraft.dev/portal/docs/en/sourcecraft/concepts/index.md#org) data needs to be sent to Yandex. For more information, see the [terms of use](https://yandex.com/legal/cloud_terms_code_assistant).

{% endnote %}
<!-- endsource: en/_includes/code-assistant/disable-ai-features-note.md -->

<!-- source: en/_includes/code-assistant/about-service.md -->
Code Assistant is an AI-driven developer assistant based on [large language models (LLM)s](https://en.wikipedia.org/wiki/Large_language_model). With Code Assistant, you can optimize the code writing process and increase your performance.

The [smart autocompletion](https://sourcecraft.dev/portal/docs/en/code-assistant/concepts/index.md#autocompletion) mode enables the AI assistant to analyze the code context and come up with the most relevant suggestions for functions, cycles, conditions, and other elements.

Code Assistant also features a [chat mode](https://sourcecraft.dev/portal/docs/en/code-assistant/concepts/index.md#chat) you can use to interact with the AI assistant in the SourceCraft interface, your IDE, or [SourceCraft CLI with built-in OpenCode](https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/cli-quickstart.md).

[SourceCraft Code Assistant terms of use](https://yandex.com/legal/cloud_terms_code_assistant/)
<!-- endsource: en/_includes/code-assistant/about-service.md -->

<!-- source: en/_includes/code-assistant/supported-versions.md -->
The Code Assistant plugin is now available for [Visual Studio Code](https://code.visualstudio.com/), [VSCodium](https://vscodium.com/), and [JetBrains IDE](https://www.jetbrains.com/ides/) versions 2026.2, 2026.1, 2025.3, 2025.2, 2025.1, 2024.3, 2024.2, and 2024.1. {#supported-versions}
<!-- endsource: en/_includes/code-assistant/supported-versions.md -->

{% note info %}

To work with Code Assistant, you will need continuous internet access.

{% endnote %}

The code analysis is running using the SourceCraft computing resources, which means Code Assistant does not generate any load against the user workstations.

LLMs that are used in Code Assistant have been fine-tuned based on the open-source code corpus. The quality and number of autocompletion prompts depends on the amount and diversity of open-source code in a particular language.

<!-- source: en/_includes/code-assistant/ca-stats-tip.md -->
{% note tip %}

The SourceCraft UI provides detailed statistics on quota usage for [neurocredits](https://sourcecraft.dev/portal/docs/en/sourcecraft/pricing.md#cu) and [code autocompletion](https://sourcecraft.dev/portal/docs/en/code-assistant/concepts/index.md#autocompletion). For more information, see [Viewing Code Assistant usage statistics in SourceCraft](https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/code-assistant-stats.md).

{% endnote %}
<!-- endsource: en/_includes/code-assistant/ca-stats-tip.md -->

## Code autocompletion {#autocompletion}

<!-- source: en/_includes/code-assistant/syntax-support.md -->
The smart autocompletion mode explicitly supports code autocompletion for the following programming languages and frameworks:

* C++
* Go
* Java
* JavaScript/TypeScript
* Kotlin
* Python
* Scala
* SQL
* Swift

Autocompletion may also work for other languages. For languages ​​that are less represented in public repositories, the number and quality of autocompletion prompts will be lower.
<!-- endsource: en/_includes/code-assistant/syntax-support.md -->

<!-- source: en/_includes/code-assistant/auto-manual-modes.md -->
Code Assistant analyzes your code context and provides the following types of suggestions:
* Automatic.
* User-triggered (**Ctrl** + **Space**). In Visual Studio Code, you can also use **Ctrl** + **Enter**.
<!-- endsource: en/_includes/code-assistant/auto-manual-modes.md -->

Code Assistant supports the following types of suggestions:
* Inline completion: Provides completion suggestions as you type. Works for code, texts, and documents.
* Full-function completion: Provides autocompletion for entire functions or methods.

For more information about autocompletion, see [Code autocompletion in SourceCraft Code Assistant](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/autocompletion.md).

<!-- source: en/_includes/code-assistant/help-indicator-load.md -->
When generating a suggestion, the ![image](../../_assets/code-assistant/loading.svg) loading icon will appear to the left of the editable code. If generation stops or there is no result, you will see the ![image](../../_assets/code-assistant/chat_crossed.svg) (no suggestion) icon.
<!-- endsource: en/_includes/code-assistant/help-indicator-load.md -->

The suggestion indicator is enabled by default.

For more information on managing the suggestion indicator, see [Suggestion indicator](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/autocompletion.md#help-indicator).

## Chat and agents {#chat}

**Visual Studio Code** has an [agent mode](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/agent/chat-interface.md) helping you fine-tune [tools](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/agent/how-tools-work.md), connect various [LLMs](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/agent/api-configuration-profiles.md), [MCP servers](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/agent/mcp/overview.md), select [operating modes](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/chat-prompts.md), and more.

**JetBrains IDE** offers the [chat mode](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/chat.md) with AI assistant and [context](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/chat-context.md) customization and the [agent mode](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/jb-agent.md) (at the _Preview stage_) based on the [SourceCraft CLI](https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/cli-quickstart.md) with editor integration.

{% note tip %}

Code Assistant's agent mode is also available in the [SourceCraft CLI with built-in OpenCode](https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/cli-quickstart.md).

{% endnote %}

## Quick actions {#quick-actions}

<!-- source: en/_includes/code-assistant/quick-actions-description.md -->
For your convenience with the plugin, there are _quick actions_, i.e., Code Assistant integrations with your IDE.

The following integrations are available for **Visual Studio Code**:
* _Lightbulb_: Menu you access by clicking ![image](../../_assets/console-icons/bulb.svg) next to the code blocks and can use to generate [docs](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md#docs) and [tests](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md#test).
* _CodeLens_: Buttons above the code blocks you can use to generate docs and tests and [set up actions displayed in codelenses and lightbulbs](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md#set-actions).
* _Context menu_: Right-click menu you can use to generate docs and tests, [send selected code to the chat](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md#send-to-chat), request code [autocompletion](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md#autocompletion)/[improvements](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md#provide-improvements), or [generate a commit message](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md#commit) in the [Git](https://git-scm.com/) version control system.
* _Slash (/) commands_: You can use the ![image](../../_assets/console-icons/thunderbolt.svg) **Slash Commands** selector in the chat toolbar to request [text generation](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md#test) or [code improvement](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md#provide-improvements) for the file opened in the editor, [generate a commit message](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md#commit) in the [git](https://git-scm.com/) version control system, and invoke [AI code review](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md#review).

For **JetBrains IDEs**, there are codelenses that can generate docs and tests.
<!-- endsource: en/_includes/code-assistant/quick-actions-description.md -->

For more information, see [Quick actions in SourceCraft Code Assistant](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/quick-actions.md).

#### Useful links {#see-also}

* [Getting started with SourceCraft Code Assistant](https://sourcecraft.dev/portal/docs/en/code-assistant/index.md)
* [Code Assistant terms of use](https://yandex.com/legal/cloud_terms_code_assistant/)

<!-- source: en/_includes/sourcecraft/yandex-project.md -->
_Project by Yandex© 2026 Yandex.Cloud LLC_
<!-- endsource: en/_includes/sourcecraft/yandex-project.md -->
