AI Coding Assistant Lingma (also known as Lingma) is an AI-powered coding assistant from Alibaba Cloud. It provides features such as intelligent code generation, AI chat, multi-file modifications, and programming agents to deliver an efficient and seamless coding experience for developers and pioneer a new paradigm of AI-native development. For enterprise customers, Lingma also offers the and Exclusive Edition. These editions provide features such as enterprise-level scenario customization and private knowledge base enhancement to facilitate the intelligent upgrade of enterprise R&D.
Core Capabilities
Code Completion
Trained on a massive dataset of high-quality open-source code, Lingma generates line-level or function-level code, unit tests, and code optimization suggestions based on the context of the current code file and across multiple files. This feature provides an immersive coding flow with generation speeds measured in seconds. This lets you focus on technical design and complete coding tasks more efficiently.
AI Chat (Ask Mode)
The AI chat mode is trained on a vast library of R&D documents, product documentation, and general development knowledge. Combined with its engineering-level context awareness, it helps developers solve problems they encounter while coding. It can assist with fixing code issues, debugging, and troubleshooting runtime errors.
File Editing (Edit Mode)
The file editing mode supports code modifications across multiple files. You can use it to modify multiple files based on requirement descriptions and the current project environment. This mode allows for multiple iterations and code reviews, helping you complete code modification tasks efficiently and with full control.
Agent Mode
The agent mode features autonomous decision-making, environment perception, and tool usage. Based on your coding needs, it uses tools for project retrieval, file editing, and terminal operations. It can complete coding tasks from end to end. It also lets you configure MCP tools, which aligns the coding process more closely with your existing workflows.
Benefits
Multiple session modes: A single session supports AI chat mode, file editing mode, and agent mode simultaneously. You can freely switch between modes to suit different scenarios and problem complexities, which maximizes your work efficiency.
Automatic project context awareness: Based on your task description, Lingma automatically understands project information, such as the framework, technology stack, required code files, and error messages. You do not need to manually add project context. This makes task descriptions easier and ensures that code completion is better suited to the business scenarios of your current codebase.
Engineering-level change: Based on your task description, Lingma can autonomously decompose the task and modify multiple code files in the project. You can also iteratively refine the implementation through multiple conversations, perform a snapshot rollback, and collaborate with Lingma to complete coding tasks.
Memory Perception: Lingma supports an autonomous memory capability based on Large Language Models (LLMs). During your conversations with Lingma, it gradually builds a rich memory of your individual profile, projects, and issues. As a result, Lingma understands you better with continued use.
Multiple Enterprise Edition plans for flexible selection: Various plans are available for enterprise customers, including the , Enterprise Exclusive Edition, and enterprise-customized plans. You can flexibly select a plan to accelerate the large-scale adoption of intelligent R&D within your enterprise.
Function Introduction
Inline Code Completion
Line-level/function-level real-time completion: Based on the current syntax and cross-file code context, Lingma automatically understands the current project and generates line-level and function-level code in real-time.
Code generation from comments: You can describe the desired functionality in comments, and Lingma generates the code directly in the editor. This maintains an uninterrupted coding flow.
AI Chat
R&D Q&A: When you encounter coding questions or technical challenges, you can use the one-click command to invoke Lingma without leaving your IDE client to quickly obtain answers and potential solutions.
Project Q&A: You can quickly understand projects and query code within the current repository through Q&A. You can also describe requirements in natural language to generate overall fix suggestions and code for simple requirements or bugs based on the current project.
Image multimodal chat: You can select, drag, or paste images to add them as context. Lingma automatically analyzes the image content and generates code or problem-fix suggestions based on your requirement description.
Enterprise knowledge base Q&A: You can use your enterprise knowledge and data for Q&A. This lets you quickly build an enterprise R&D knowledge Q&A assistant, which improves team efficiency and collaboration.
File Editing
Engineering-level changes: You can modify multiple code files in your project based on your task description. You can also iteratively refine the changes or roll back to snapshots across multiple conversations. You can collaborate with Tongyi Lingma to progressively complete coding tasks.
Precise editing: Lingma completes code file modifications only within the context that you provide. It does not make modifications beyond your expectations.
Fast execution: Lingma strictly follows your task description and the provided context to modify code files. No complex task planning is required, which makes this mode complete tasks faster than the agent mode.
Tool usage: Lingma has tool usage capabilities related to code modification, such as file reading, semantic retrieval within the project, and file editing. This helps you quickly complete code modifications.
Programming Agent
Project-level modifications: The agent can automatically break down tasks and modify multiple code files in a project based on your task description. You can also perform step-by-step iterations or snapshot rollbacks through multiple conversations and collaborate with Lingma to complete coding tasks.
Automatic project context awareness: Based on your task description, the agent automatically understands project information, such as the framework, technology stack, required code files, and error messages. You do not need to manually add project context.
Tool usage: The agent can autonomously use over ten built-in programming tools for tasks such as reading and writing files, code querying, and error troubleshooting. It also supports the automatic detection and use of MCP tools.
Terminal command execution: When executing coding tasks, the agent can autonomously decide which commands to execute. It automatically writes commands and runs the terminal, which significantly improves the efficiency of task execution.
Enterprise-Level Management
Unified authorization management: You can centrally add usage permissions for developers and manage member permissions across your enterprise.
Statistical reports: Lingma provides statistical data, such as developer activity, AI code generation ratios, and Q&A usage ratios. These reports help enterprises quickly understand usage.
Knowledge management: You can efficiently manage your enterprise's private domain data. Lingma provides enterprise knowledge base Q&A and enhanced code generation based on your enterprise data, which makes the coding assistant more aligned with your business scenarios.
Custom extension management: You can freely combine various contexts, such as code changes, files, and input, to customize commonly used instructions for your enterprise scenarios. This lets you flexibly extend development scenarios within your enterprise.
Exclusive VPC deployment: The exclusive edition provides an exclusive VPC deployment. It supports internal network connections for enterprises and ensures end-to-end data security to meet your enterprise's security and compliance requirements.
Different Version Features
Quick access:
Version | Basic Edition | Professional Edition | Exclusive Edition |
Features | Code Generation
AI Chat
Limitations
| Code Generation
AI Chat
| Code Generation
AI Chat
Enterprise Management
Limitations
|
Supported Programming Languages
Lingma supports mainstream programming languages such as Java, Python, Go, C#, C/C++, JavaScript, TypeScript, PHP, Ruby, Rust, Scala, and Kotlin.
Supported IDEs and Operating Systems
JetBrains IDEs
IDE versions: IntelliJ IDEA, PyCharm, GoLand, WebStorm, and Android Studio (2020.3 and later).
Operating systems: Windows 7 and later, macOS, and Linux.
Visual Studio Code
IDE version: 1.68.0 and later.
Operating systems: Windows 7 and later, macOS, and Linux.
Visual Studio
IDE versions: Visual Studio 2022 17.3.0 and later, or Visual Studio 2019 16.3.0 and later.
Operating system: Windows 10 and later.
Lingma IDE
It fully integrates the AI coding assistant capabilities and offers a simple, out-of-the-box experience.
Operating systems: Windows 10/11 (x64/arm64) and macOS 11.0 or later.
Other scenarios
Remote development scenarios such as Remote SSH and Windows Subsystem for Linux (WSL).
A VS Code-based WebIDE that supports downloading and using plugins from the Open VSX marketplace.
For HUAWEI DevEco Studio, see Method 2: Install by downloading the installation package in the JetBrains IDEs installation manual.
Lingma: Make more than incremental progress every day.