← Latest papers
💻 computer science

From Prompt to Production: A Case Study of Human-AI Collaborative Software Development Using Claude Code Multi-Agent Orchestration

This paper presents a comprehensive case study of developing a production-grade medical platform using Claude Code's multi-agent orchestration, establishing a human-AI competency framework, quantifying performance gains across different AI configurations, and proposing token optimization strategies to enhance productivity while reducing costs.

Original authors: Pham Thi Thuong, Nguyen Dang Quang, Ngo Thi Lan Phuong

Published 2026-07-07
📖 6 min read🧠 Deep dive

Original authors: Pham Thi Thuong, Nguyen Dang Quang, Ngo Thi Lan Phuong

Original paper licensed under CC BY 4.0 (https://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 are building a massive, complex skyscraper (a software system) to manage medical tenders. In the past, you would need a huge crew of construction workers to do the heavy lifting, brick by brick. But in this study, the researchers tried something new: they hired a single, incredibly smart "AI Architect" (Claude Code) to do 90% of the actual construction, while a human acted as the "Site Manager."

Here is the story of how they built this skyscraper, the rules they followed, and what they learned, explained simply.

1. The Project: A Digital Medical Marketplace

The team built a system called SmartMedTender. Think of it as a sophisticated digital marketplace where hospitals can find the right medical supplies and submit bids.

  • The Scale: It's a big building with 186 different rooms (files of code), a database of 26 tables, and a user interface that looks like a modern app.
  • The Team: One human expert (who knows how hospitals buy things) and an AI assistant.
  • The Result: They built the whole thing in about 120 hours of active work. The researchers estimate that if a human tried to do this alone, it would have taken about 600 hours. That's a 5x speed boost.

2. The Secret Sauce: How the AI Works

The AI they used isn't just a "autocomplete" tool that guesses the next word. It's more like a Swiss Army Knife with a brain. The paper highlights four special superpowers the AI used:

  • The Master Planner (Hierarchical Planning): Instead of saying "Build a house," the AI breaks it down: "First, pour the foundation. Next, frame the walls. Then, install the windows." It breaks big goals into tiny, doable tasks.
  • The Specialized Crew (Multi-Agent Orchestration): This is the most important part. The AI doesn't just do everything itself. It summons different "sub-agents" (specialized mini-bots) for specific jobs:
    • One agent acts as the Architect (draws the blueprints).
    • One is the Backend Builder (lays the pipes and wiring).
    • One is the Frontend Designer (paints the walls and installs doors).
    • One is the Inspector (checks for cracks and bugs).
    • Analogy: It's like a conductor leading an orchestra. Instead of one person trying to play every instrument, they have a violinist, a drummer, and a flutist working together perfectly.
  • The "Genetic" Self-Improver: If the AI writes a piece of code and it's a little messy, it doesn't just wait for the human to fix it. It looks at its own work, says, "Hmm, that's not quite right," and rewrites it automatically until it's perfect. It's like a writer who edits their own draft before showing it to the editor.
  • The Tool Kit: The AI knows how to use specific tools (like running tests or checking for security holes) without needing to be told exactly how to click every button.

3. The Human's Job: The "Strategic Director"

The paper makes a crucial point: The human is not the coder; the human is the director.

In the old days, a programmer wrote every line of code. In this new way, the human's job is to:

  1. Give the Vision: Tell the AI what to build and why (e.g., "We need to match products based on these specific medical rules").
  2. Make the Big Decisions: Choose the technology and the structure.
  3. Check the Quality: Look at the finished product and say, "Yes, this works," or "No, that doesn't fit our rules."
  4. Know the Domain: The AI doesn't know how Vietnamese medical tenders work. The human provides that specific knowledge.

The 6 Skills Needed: To be a good director, the human needs to learn six new skills, like writing very clear instructions (prompt engineering), knowing how to spot mistakes quickly, and knowing how to break big tasks into small ones.

4. Saving Money: The "Token" Problem

Using AI costs money based on how much it "thinks" (measured in "tokens"). The researchers found that if you just chat with the AI randomly, it wastes a lot of money. They discovered 5 tricks to save 47% of the cost without losing quality:

  • Don't dump everything at once: Instead of asking for the whole building in one sentence, ask for the foundation, then the walls, then the roof.
  • Use a "Project Memory" file: Instead of reminding the AI of the rules every single time, keep a master document (like a rulebook) that the AI reads once and remembers.
  • Use the right specialist: Don't ask the "General Manager" bot to fix a lightbulb; ask the "Electrician" bot. Specialists make fewer mistakes, so you don't have to pay for re-dos.

5. The Big Experiment: Team vs. Solo

To prove their method worked, they ran a race with three different setups:

  1. The Super Team (Opus + Multi-Agent): The smartest AI with the specialized crew.
  2. The Budget Team (Sonnet + Multi-Agent): A slightly cheaper AI with the same specialized crew.
  3. The Solo Worker (Opus Single-Agent): The smartest AI, but working alone without the crew or special tools.

The Results:

  • Quality: The "Super Team" built the best code (92/100 score). The "Solo Worker" was much worse (69/100) because it made more mistakes and had to be fixed over and over.
  • Speed: The Team finished in half the time.
  • Cost: Surprisingly, the Team used 48% fewer tokens (money) than the Solo Worker. Why? Because the Team got it right the first time. The Solo Worker kept making mistakes, requiring expensive re-dos.

The Bottom Line

This paper shows that the future of software isn't just about having a smarter AI. It's about how you organize the AI.

If you treat the AI like a single worker who does everything, it gets tired, makes mistakes, and costs a fortune. But if you treat the AI like a conductor leading a team of specialists, with a human acting as the director, you get a faster, cheaper, and higher-quality result. The human doesn't need to be a coding genius anymore; they just need to be a great manager who knows how to give clear instructions and 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 →