Tongyi Lingma
Type: full-code · Vendor: Alibaba Cloud (通义灵码 / Lingma / Qoder CN) · Language: TypeScript (extension), Java (server) · License: proprietary (free individual tier + enterprise editions) · Status: active · Status in practice: mature
Alibaba's IDE-native coding assistant on Qwen models with an Agent mode that autonomously breaks tasks into to-dos, edits across multiple files, and reflects on intermediate steps.
Description. Tongyi Lingma (通义灵码) is Alibaba Cloud's IDE coding assistant, powered by Qwen. It ships VS Code and JetBrains extensions and offers two operating modes: an Ask mode for instant Q&A and code completion, and an Agent mode that takes an objective, decomposes it into to-dos, performs multi-file editing, and dynamically adjusts the plan as it executes. The product also ships as an enterprise edition (in-VPC deployment) and as a separately-branded research agent called LingmaAgent (described in the FSE 2025 industry paper) for autonomous issue resolution against a code repository.
Agent loop shape. Two-mode IDE plugin. Ask mode runs a single Qwen call per user turn with the current file and cursor context. Agent mode runs an iterative planner-executor loop: the planner emits a to-do list from the user objective, the executor performs file edits and tool calls (read/write/grep/run-tests) per to-do, and the planner reflects after each tool batch to update the to-do list. The Qoder/Lingma editor is the host UI; tool calls go through the IDE's filesystem and process APIs.
Primary use cases
- line- and function-level code completion in VS Code and JetBrains
- agent-mode autonomous multi-file edits scoped to a workspace
- natural-language code generation, refactoring, unit-test generation
- issue triage and resolution via LingmaAgent (FSE 2025) for enterprise repos
Key concepts
- Ask mode vs Agent mode (docs) — Single-shot Q&A vs. autonomous multi-step task execution.
- LingmaAgent (docs) — Research agent for autonomous issue resolution via comprehensive repository exploration (FSE 2025 industry paper).
- To-do plan refresh → plan-and-execute — Agent mode dynamically adjusts the active to-do list as each tool batch completes.
- Repository exploration → agentic-rag — LingmaAgent's distinguishing behaviour: comprehensive multi-file exploration before proposing changes (FSE 2025).
Patterns this full-code implements —
- ★★ReAct
Agent mode is a ReAct loop over IDE tools.
- ★★Plan-and-Execute
Agent mode emits a to-do plan, then executes step by step.
- ★★Tool Use
- ★Code-as-Action Agent
Agent mode authors and applies code edits directly.
- ★Agent-Computer Interface
IDE-mediated filesystem/process API.
- ★★Human-in-the-Loop
User confirms file edits before they apply (default).
- ★★Step Budget
- ★★Agent Resumption
Agent mode plans persist across IDE restarts within a workspace.
Neighbourhood
Click any neighbour to follow the lineage. Scroll to zoom, drag to pan.