Get Free Synopsis PDF
We will prepare a detailed synopsis for your college submission. Includes problem statement, objectives, DFD, ER diagram, and more.
This project implements a multi-agent pipeline where one agent generates code from a feature specification, a second agent writes unit tests, a third executes the tests in a sandboxed container, and a fourth agent iteratively fixes failures until tests pass. This mirrors an autonomous software development loop for small, well-defined coding tasks.
Problem Statement
Translating a feature specification into working, tested code still requires significant manual developer effort even for small, well-defined tasks. An automated multi-agent pipeline that generates, tests, and iteratively fixes code can accelerate development of routine functions and modules.
Objectives
Build a code-generation agent that produces implementation from a spec
Build a test-generation agent that writes unit tests from the same spec
Implement sandboxed execution of generated code against generated tests
Design a fixer agent that analyzes test failures and patches the code iteratively
Track success rate and iteration count across a benchmark set of coding tasks
Modules
Code Generation Agent
Takes a natural-language feature specification and generates an initial code implementation in the target language.
Test Generation Agent
Independently generates unit tests from the same specification to avoid the code-generation agent grading its own work.
Sandboxed Execution
Runs the generated code against the generated tests inside an isolated Docker container and captures pass/fail results.
Iterative Fixer Agent
Analyzes failing test output and error traces to generate a patched version of the code, looping until tests pass or a max-iteration limit is reached.
Benchmark Evaluation
Runs the full pipeline across a benchmark set of coding tasks and reports pass rate, average iterations to success, and failure categories.
Expected Output
A working pipeline that takes a feature specification and autonomously produces tested, working code within a sandbox, along with a benchmark report showing success rate across sample coding tasks.
Future Scope
The pipeline can be extended to handle multi-file projects with dependency management and integrate directly into a CI/CD pull-request workflow.