All Products
Search
Document Center

AI Coding Assistant Lingma:What is AI Coding Assistant Lingma?

Last Updated:Jun 03, 2025

Lingma, an AI coding assistant powered by Alibaba Cloud, offers features like code completion, chat, multi-file edits, and agent. These features empower you with a smarter coding experience, ushering in a new era of AI-native software development. Lingma also offers  Enterprise Dedicated Edition for enterprise, with enterprise-level capabilities like customization and private domain knowledge enhancement, to empower enterprises with intelligent development.

Core features

Code completion

Trained on massive amounts of high-quality open-source code data, Lingma can generate line-level or function-level code, unit tests, and code optimization suggestions based on the context of your current or related files. Immersive coding flow lets Lingma generate code in seconds, so you can focus on technical design, and complete coding tasks with ease.

Ask mode

Ask mode allows Lingma to access a vast amount of knowledge base, such as codebases, product information, and common coding knowledge. Combined with codebase awareness capabilities, Lingma can answer your questions and help solve coding problems. It can also generate code suggestions, write comments, optimize code, explain code, fixes problems, and troubleshoots compiling errors.

Edit mode

Edit mode lets Lingma modify multiple code files (Multi-file Edits). Use it when you need more granular control over the changes that Lingma suggests based on your requirements and development environment. In this mode, you can provide context in each step, choose to accept or reject the suggested edits after each turn, and get more code suggestions. This helps you complete coding tasks efficiently and with more control.

Agent mode

Agent mode features autonomous decision-making, codebase awareness, and tool use capabilities. It also offers tools like project search, file editing, and terminal execution to complete end-to-end coding tasks based on your requirements. Additionally, it supports MCP tool configuration, expanding the AI coding assistant's capabilities and better aligning with developer workflows.

Benefits

  • Multiple chat modes: A conversation flow simultaneously supports Ask, Edit, and Agent modes. Developers can switch between these modes to maximize work efficiency.

  • Automatic codebase awareness: Automatically detects project frameworks, technology stacks, required code files, and error messages from task descriptions. This eliminates the need to add context manually, making task descriptions easier.

  • Project-level changes: Autonomously breaks down tasks and modifies code files in the project based on task description. It also iterates on your project and makes step-by-step changes through multi-turn chats or reverting snapshots.

  • Memory awareness: Features LLM-based autonomous memory. Lingma learns from each chat and builds up memories about you, your project, and your issues, learning more about you with continued use over time.

  • Flexible enterprise solutions: Provides various deployment solutions such as Enterprise Dedicated Edition and more to come, with features like customizable extensions and knowledge base, helping your enterprise accelerate large-scale implementation.

Features

Code completion

  • Line- or function-level code completion: Real-time suggestions for lines or functions are generated based on current syntax, cross-file code context and codebase awareness.

  • Comment to code: Describe the functionality you want through comments, and code is generated in the editor area, ensuring an uninterrupted coding flow.

Ask mode

  • Free chat: If you encounter any uncertainties or technical challenges, one-click activation of Lingma within the IDE client provides quick answers and solutions without leaving the IDE.

  • Codebase chat: Lingma can quickly understand the current repository and perform code queries through chat. Describe a requirement in natural language, and Lingma generates requirements or comprehensive repair suggestions and suggested code.

  • Image to Prompt: Lets you select, drag, or paste an image to add it as context. The image content is automatically analyzed to generate suggested code or problem-solving suggestions based on the requirement description provided.

  • Enterprise-specific knowledge base as context for chat: Answers questions with contextual awareness about your own knowledge base, improving team efficiency and collaboration for your enterprise.

Edit mode

  • Project-level changes: Collaborates with developers to modify code files in the project based on task description. It also iterates on your project and makes step-by-step changes through multi-turn chats or reverting snapshots.

  • Precise editing: Changes are only made within the given context, making sure they match what you expect.

  • Fast execution: Strictly follows your task description and the given context to modify code files, without needing extra, complex planning. It works faster than Agent mode.

  • Tool use: Use tools to read file, search in projects, and edit files. This helps you make code changes faster.

Agent mode

  • Project-level changes: Autonomously breaks down tasks and modifies code files in the project based on task description. It also iterates on your project and makes step-by-step changes through multi-turn chats or reverting snapshots.

  • Automatic codebase awareness: Automatically detects project frameworks, technology stacks, required code files, and error messages from task descriptions. This eliminates the need to add context manually, making task descriptions easier.

  • Tool use: Autonomously uses more than ten built-in tools, such as file read/write, code queries, and error troubleshooting. It also supports MCP tool configuration and integrates with the ModelStudio MCP Square, allowing developers to configure freely.

  • Command execution: Autonomously decides which commands to execute. Then it generates these commands and runs them in the terminal, greatly improving efficiency.

Enterprise management

  • Authorization: Allows permissions to be granted to developers in an enterprise for centralized management.

  • Dashboard: Provides statistics on active users, code generation rate, and usage rate to give you insights on usage.

  • Knowledge base: Manages your private data and provides the enterprise-specific knowledge base as context for chat and code completion features for your business scenarios.

  • Extension: Lets you define your own commands with multiple contexts such as code changes, files, and inputs, flexibly expanding enterprise development scenarios.

  • Dedicated VPC: Provides Enterprise Dedicated Edition that supports virtual private cloud (VPC) deployment and enterprise intranet connections. These grant you end-to-end data protection that meets your enterprise's security compliance requirements.

Comparison between features of different editions

Note

You can use Lingma Pro Edition free of charge. For more information, see Quick start for Enterprise Dedicated Edition.

Individual Edition

Individual Professional Edition

Enterprise Dedicated Edition

Code completion

  • Code completion

  • Comment to code

  • Line-level code suggestion by built-in models

  • Codebase awareness

  • Multiple suggestions

  • Code completion

  • Comment to code

  • Line-level code suggestion by built-in models

  • Codebase awareness

  • Multiple suggestions

  • Code completion

  • Comment to code

  • Line-level code suggestion by built-in models

  • Codebase awareness

  • Multiple suggestions

  • Enterprise-specific knowledge base as context for code completion

AI Chat

  • Ask

  • Image to Prompt

  • Edit

  • Agent mode

  • Comment generation

  • Explanation generation

  • Unit test generation

  • Code optimization

  • Commit message generation

  • Code problem-solving

  • Troubleshooting

  • MCP service configuration

  • Ask

  • Image to Prompt

  • Edit

  • Agent mode

  • Comment generation

  • Explanation generation

  • Unit test generation

  • Code optimization

  • Commit message generation

  • Code problem-solving

  • Troubleshooting

  • MCP service configuration

  • Ask

  • Enterprise-specific knowledge base as context for chat

  • Image to Prompt

  • Edit

  • Agent mode

  • Comment generation

  • Explanation generation

  • Unit test generation

  • Code optimization

  • Commit message generation

  • Code problem-solving

  • Troubleshooting

  • MCP service configuration

Enterprise management

  • Authorization

  • Dashboard

  • Audit log

  • Knowledge base

  • Extension

  • Multiple organizations

  • VPC deployment

  • IP address whitelist

  • VPC access

  • Dedicated inference service

Limits

Chat turns of Agent Mode: 50 per month

Knowledge base capacity: 5 GB

Supported programming languages

All mainstream programming languages are supported, including Java, Python, Go, C#, C/C++, JavaScript, TypeScript, PHP, Ruby, Rust, Scala, and Kotlin.

Supported IDEs and operating systems

  • JetBrains IDEs

    • IDE version: 2020.3 or later of IntelliJ IDEA, PyCharm, GoLand, WebStorm, and Android Studio.

    • Operating system: Windows 7 or later, macOS, and Linux.

  • Visual Studio Code

    • IDE version: 1.68.0 or later.

    • Operating system: Windows 7 or later, macOS, and Linux.

  • Visual Studio

    • IDE version: Visual Studio 2022 17.3.0 or later and Visual Studio 2019 16.3.0 or later.

    • Operating system: Windows 10 or later.

  • Lingma IDE

    • Fully integrates the AI coding assistant capabilities, offering a simpler and more seamless out-of-the-box experience.

    • Operating systems: Windows 10/11 (x64/arm64), macOS 11 or later.

  • Other scenarios

    • Remote development scenarios that involve remote Secure Shell (SSH), Docker, and Windows Subsystem for Linux (WSL).

    • WebIDE of Visual Studio Code. You can download plugins from the Open VSX plugin marketplace.

    • HUAWEI DevEco Studio. For more information about how to use it, see Method 2: Download an installation package.

imageUse Lingma to make progress every day.