BackendForge: Benchmarking Agentic End-to-End Code Generation with Backend Services

· Source: Artificial Intelligence · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Expert, quick

Summary

BackendForge is a new benchmark designed to evaluate agentic large language models (LLMs) in end-to-end code generation for backend services. It comprises 56 contract-defined tasks derived from real open-source applications, requiring LLMs to generate Dockerized services that are built, deployed, and tested exclusively through HTTP interactions against an OpenAPI contract. The benchmark employs a unique co-evolution process where a test agent proposes specification-grounded backend tests and a code agent repairs the reference implementation, strengthening evaluation without hidden requirements. Initial results show that GPT-5.5, the best-performing model, achieved a 55.4% success rate under the base oracle, but this dropped significantly to 28.6% under the final, more rigorous oracle. This performance gap indicates that current LLMs can implement many local API behaviors but still struggle to produce complete, deployable backend services.

Key takeaway

For Machine Learning Engineers developing or deploying agentic LLMs for backend code generation, you must prioritize end-to-end deployability and integration over isolated API functionality. The significant performance drop from 55.4% to 28.6% under a rigorous oracle suggests current models struggle with complete service artifacts. Focus your model training and evaluation on comprehensive system-level correctness, using robust testing against OpenAPI contracts to ensure deployable solutions.

Key insights

Agentic LLMs struggle to generate complete, deployable backend services, despite proficiency with local API behaviors.

Principles

Method

BackendForge evaluates LLMs by requiring them to generate Dockerized backend services from specifications and OpenAPI contracts. Evaluation occurs via HTTP tests, with a test agent and code agent co-evolving the test oracle and reference implementation.

In practice

Topics

Best for: Research Scientist, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.