AIWiki
Malaysia
Back to all articles
Applicationsagentic-codingai-agentssoftware-engineering

Agentic coding

4 min readUpdated November 2026
Agentic coding
Type
Software engineering practice
Also known as
Autonomous coding agents
Key element
Plan–act–observe feedback loop
Emerged
2023–2024
Evaluation
SWE-bench and similar benchmarks
Related
Vibe Coding, Code Generation, AI Agents
Agentic coding is the practice of building software in which an AI agent — a model connected to tools such as a shell, a file editor, a search index and a test runner — works through a task with limited supervision. Instead of completing the line a developer is typing, the agent receives a goal, forms a plan, changes multiple files, runs the code and tests, reads the errors, and iterates until the task is done or it needs a decision from a human.[1][2]

Background

Early AI coding assistance was completion-based: the model suggested the next few lines inside an editor. Large language models with tool use changed the shape of the task in 2023–2024, because a model that can read files, execute commands and observe their output can close a feedback loop. Research systems such as SWE-agent formalised the idea of an agent–computer interface — a set of tools designed so a model can navigate a real repository — and the SWE-bench benchmark showed that resolving genuine issues from open-source projects required exactly this kind of multi-step behaviour rather than single-shot generation.[3][4]

Commercial and open tools followed the same pattern: terminal assistants such as Claude Code and Codex, editor-integrated agents in Cursor and similar environments, and fully autonomous workers such as Devin and OpenHands. By 2026 agent modes were a standard feature of mainstream development tools and cloud agents could be dispatched to run tasks and open pull requests.[1][2]

Key concepts

  • The agent loop. The model proposes an action, a tool executes it, and the result — file contents, compiler output, test results — is fed back as the next observation. The loop continues until a stopping condition is met.[2]
  • Repository context. Agents locate relevant code through search, embeddings and dependency maps rather than reading an entire codebase into the prompt. This is retrieval applied to source control, and it determines how much of the system the agent can see.[4]
  • Verification signals. Compilers, linters, unit tests and continuous-integration pipelines give the agent objective feedback. Agentic coding is reliable in direct proportion to the quality of those signals; where tests are weak, an agent can produce changes that pass its own criteria but fail in production.[3]
  • The harness. Sandboxing, permissions, secrets handling and diff review form the boundary between an agent and a real system. Unrestricted shell access turns a coding mistake into an operational incident, so production tools run agents in isolated environments with explicit tool permissions.[1]
  • Evaluation. Benchmarks such as SWE-bench measure the share of real repository issues an agent resolves unaided. Reported scores vary widely with the harness and the compute budget used, so figures are not directly comparable between vendors.[3][4]

Applications

Agentic coding is used for bug fixes and refactoring, test generation, migration work (dependency upgrades, framework version changes), prototyping from specifications, and repetitive tasks such as documentation updates. Teams commonly use it for well-scoped work with clear acceptance criteria and reserve human review for architecture, security and data handling.

>See Also

🇲🇾Malaysian Context

🇲🇾 Relevance to Malaysia: Malaysia's software houses, product studios and in-house IT teams — in Kuala Lumpur, Penang, Johor and Cyberjaya — face the same engineering-talent shortage as the rest of the region, and agent-assisted development changes how much a given team can ship. Local upskilling runs through MDEC-backed programmes and HRD Corp claimable training, where agentic tooling is increasingly part of developer curricula. Two constraints matter locally: source code and repository contents may contain personal data, so the Personal Data Protection Act applies to what is sent to cloud model providers; and regulated clients in banking, government and healthcare typically require ISO/IEC 27001-aligned controls, code review by named engineers and clear accountability for AI-generated changes before those changes reach production.

References

  1. ↑Anthropic. Claude Code documentation. https://docs.anthropic.com/en/docs/claude-code/overview
  2. ↑OpenAI. Codex. https://openai.com/index/introducing-codex/
  3. ↑Yang J. et al. SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering. NeurIPS 2024. https://arxiv.org/abs/2405.15793
  4. ↑Jimenez C. et al. SWE-bench: Can Language Models Resolve Real-World GitHub Issues? ICLR 2024. https://arxiv.org/abs/2310.06770