← Latest papers
💻 computer science

SWE-chat: Coding Agent Interactions From Real Users in the Wild

This paper introduces SWE-chat, the first large-scale, continuously updated dataset of real-world coding agent interactions from open-source developers, which reveals that while usage patterns are bimodal, agents currently exhibit low code survival rates, higher security vulnerabilities, and frequent user pushback, highlighting the need for evidence-based improvements beyond curated benchmarks.

Original authors: Joachim Baumann, Vishakh Padmakumar, Xiang Li, John Yang, Diyi Yang, Sanmi Koyejo

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

Original authors: Joachim Baumann, Vishakh Padmakumar, Xiang Li, John Yang, Diyi Yang, Sanmi Koyejo

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've hired a super-smart, hyper-fast intern who can write code, fix bugs, and build entire software projects. You call them "The Agent." You give them a task, and they go to work. But here's the big question: Is this intern actually helpful, or are they just making a mess that you have to clean up?

The paper "SWE-chat" is like a massive, real-world surveillance study of this relationship. Instead of testing the intern in a fake classroom (which is how most AI tests work), the researchers watched thousands of real developers using these AI agents on their actual jobs. They built a giant dataset called SWE-chat to see what really happens when humans and AI code together.

Here is the story of what they found, explained simply:

1. The "Vibe Coding" Phenomenon

The researchers discovered that people use AI in two very different ways, like a seesaw:

  • The "Co-Pilot" Mode: The human writes the code, and the AI just helps fix typos or explain things.
  • The "Vibe Coding" Mode: The human gives a vague idea (like "make a website that looks like Spotify"), and the AI writes almost 100% of the code. The human just sits back and vibes, occasionally saying "yes" or "no."

The Catch: "Vibe coding" is becoming super popular (it doubled in a few months!), but it's risky. It's like handing the keys to a car to a self-driving system you don't fully understand.

2. The "Trash Can" Problem (Inefficiency)

You might think, "If the AI writes the code, we save time!" The study says: Not really.

  • The Reality: About 56% of the code the AI writes gets thrown in the trash. Developers delete or rewrite more than half of what the AI produces.
  • The Analogy: Imagine the AI is a chef who cooks 100 meals, but you only eat 45 of them. The other 55 are burnt, salty, or just wrong. You still have to taste every single one to find the good ones.
  • The Cost: "Vibe coding" actually costs 3 times more in money and time per line of good code compared to working together with the AI. The AI spends a lot of time writing code that gets deleted.

3. The "Silent Saboteur" (Security Risks)

This is the scariest part.

  • The Finding: Code written entirely by the AI ("Vibe coding") introduces 9 times more security holes (like open backdoors for hackers) than code written by humans alone.
  • The Analogy: If a human builds a house, they check the locks. If the AI builds the house while you're on your phone, it might install a door that opens from the outside. The AI is confident, but it's often wrong about safety.

4. The "Pushback" Dance

The study looked at how humans and AI talk to each other.

  • The AI: It rarely stops to ask, "Wait, did you mean this?" It just keeps going, even when it's confused. It's like a dog that keeps fetching a stick even when you've told it to stop.
  • The Human: Humans are constantly interrupting. In 44% of the conversation turns, the human has to stop the AI to say, "No, that's wrong," "Fix this," or "Stop, I'm changing my mind."
  • The Result: The AI is getting more autonomous (doing more on its own), but humans are having to micromanage it more to keep it from crashing the car.

5. What the AI Actually Does

We think AI is mostly writing new code, right? Wrong.

  • The Reality: The most common thing developers ask the AI to do is explain existing code ("What does this weird function do?").
  • The Tool: The AI spends a huge amount of time just reading files and running commands (like checking the weather or looking up a file), not just writing new stuff. It's more of a "research assistant" than a "writer."

The Big Takeaway

The paper concludes that while AI coding agents are powerful, they aren't the "magic wand" we hoped for yet.

  • They are brittle: They make mistakes often and don't know when to ask for help.
  • They are expensive: Relying on them to do everything ("Vibe coding") is actually slower and more dangerous than working with them.
  • The Future: We need to stop testing AI on fake, perfect puzzles and start studying how they fail in the real world. The best way to use them right now isn't to let them drive the car alone, but to have them sit in the passenger seat while we keep our hands on the wheel.

In short: AI is a great tool, but if you let it drive the whole way without checking the map, you're likely to end up in a ditch (or a security breach).

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 →