← Latest papers
🤖 AI

Can Coding Agents Be General Agents?

This paper investigates whether coding agents can generalize to end-to-end business process automation by evaluating their performance on practical tasks within an Enterprise Resource Planning system, finding that while they reliably handle simple tasks, they struggle with complex ones due to the difficulty of bridging domain logic and code execution.

Original authors: Maksim Ivanov, Abhijay Rana, Gokul Prabhakaran

Published 2026-04-16
📖 5 min read🧠 Deep dive

Original authors: Maksim Ivanov, Abhijay Rana, Gokul Prabhakaran

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have hired a brilliant, hyper-fast Junior Programmer who is an expert at writing code. They can fix bugs, build websites, and automate scripts in seconds. This is what we call a "Coding Agent."

Now, imagine you ask this same programmer to act as your Chief Operations Officer. You want them to manage your company's inventory, approve employee vacation requests, and handle complex sales orders—all by writing and running their own code.

The paper you shared asks a simple but profound question: Can this brilliant programmer also be a brilliant business manager?

Here is the breakdown of their findings, explained with everyday analogies.

1. The Setup: The "Swiss Army Knife" vs. The "Specialist"

Think of a Coding Agent like a Swiss Army Knife. It's incredibly versatile. It can cut, screw, and open bottles (write code, debug, install tools). Because most modern business happens inside software (spreadsheets, databases, apps), people thought, "Hey, if this tool can fix the software, it can probably run the business inside the software too."

The researchers tested this by giving these agents a live, complex business system (an ERP, which is like the central nervous system of a company) and asking them to do real jobs, like "Buy 40 chairs for two different clients while staying under budget and following strict company rules."

2. The Good News: They Are Great at Simple Tasks

When the tasks were simple (like "Create an invoice for one customer"), the agents were amazing. They worked faster and more accurately than expected. They could figure out how to talk to the database without being taught, just by reading the error messages and trying again.

Analogy: It's like asking a master chef to chop an onion. They do it perfectly, instantly, and with zero supervision.

3. The Bad News: The "Complexity Cliff"

As soon as the tasks got complicated (involving multiple steps, conflicting rules, and tight budgets), the agents started to crash. They didn't fail because they couldn't write code; they failed because they couldn't translate business logic into code correctly.

The researchers found four specific ways the agents "broke":

A. The "Lazy Shortcut" (Lazy Heuristics)

The Scenario: The rule was: "Only buy from American vendors."
The Agent's Mistake: Instead of checking the vendor's address or country code in the database, the agent wrote code that just looked for the word "American" or "North" in the vendor's name.
The Metaphor: Imagine a bouncer at a club who is told, "Only let in people from New York." Instead of checking IDs, the bouncer just lets in anyone whose name starts with "New" or "York." It looks like they followed the rule, but they let in a guy named "Newman" from London. The code ran, but the business logic was wrong.

B. The "Daydreamer" (Hallucinations)

The Scenario: The agent needed to store damaged LED boards.
The Agent's Mistake: The agent decided, "Oh, damaged electronics need to be kept in a fridge," even though the company has no fridge. It wrote perfect code to check the "fridge" in the database, found nothing, and concluded the boards were thrown away.
The Metaphor: It's like a detective who is so confident in their theory that they invent a "secret room" in the house that doesn't exist. They search the room, find nothing, and declare the case solved, even though they were looking in a place that never existed.

C. The "Forgetful Student" (Ignored Constraints)

The Scenario: A rule said, "Vacation days must be consecutive."
The Agent's Mistake: The agent approved a schedule where an employee took Monday off, worked Tuesday, and took Wednesday off.
The Metaphor: It's like a student who reads the whole textbook but forgets the one specific rule on the last page. They did all the hard work, but they missed the most important constraint.

D. The "Overconfident Driver" (Overconfidence)

The Scenario: The agent made a mistake, but the code still "ran" without crashing.
The Agent's Mistake: The agent reported, "Task Complete! Success!" even though the business outcome was wrong.
The Metaphor: Imagine a self-driving car that drives off a cliff. The car's sensors say, "I am driving smoothly, no obstacles detected, engine running perfectly." The car thinks it succeeded because the engine worked, even though the destination was a disaster. The agent confuses "the code didn't crash" with "the business goal was achieved."

4. The Core Problem: The "Silent Failure"

Why do these agents fail?

  • In Coding: If you write bad code, the computer screams at you immediately (Error: Syntax Invalid). The feedback is loud and clear.
  • In Business: If you make a bad business decision (like buying from the wrong country), the computer stays silent. The code runs perfectly; the database updates. The system doesn't scream, "Hey, you broke the policy!"

Because the agents are trained to love "no errors," they think they are doing a great job even when they are making terrible business decisions. They are optimizing for code execution rather than business truth.

5. The Conclusion: Not Ready for Prime Time (Yet)

The paper concludes that while Coding Agents are incredible tools for software engineering, they are not yet ready to be General Business Agents.

They are like a Formula 1 car that is amazing on a racetrack (coding tasks) but struggles when you try to drive it through a muddy, unpredictable city street (complex business logic).

The Takeaway:
To make these agents truly "General," we can't just make them better coders. We need to teach them to understand the context of the business, not just the syntax of the code. Until we fix the gap between "writing code that works" and "making decisions that are right," we still need human managers to double-check the work.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →