Agentic AI-Based Autonomous Software Development and Debugging Assistant
Build a Python final year project that uses four AI agents to write code, run tests, and suggest fixes. See the workflow, tools, and sample output.
Research Xpress••Views…•3 min read
Project illustration. Select the poster to visit Research Xpress.
This final year software project turns a short requirement into a Python program. Four AI agents each handle a task: planning, coding, testing, or suggesting fixes. The dashboard shows the generated code, test results, and the files available to download.
How the four AI agents work
Agent
What it does
Planning
Turns the requirement into rules and expected outputs.
Coding
Writes the Python program.
Testing
Runs pytest and records which checks pass or fail.
Debugging
Reads test failures and proposes a fix for review and retesting.
Software and hardware requirements
Component
Technology
Programming and editor
Python and VS Code
Dashboard and API
Streamlit and FastAPI
AI model and workflow
Gemini API or another cloud model, coordinated with LangGraph
Storage
SQLite for project history
Testing
pytest
Hardware
Start with a laptop with 8 GB RAM. A cloud AI API lets you run the model without a local GPU.
Build it in four steps
Create a Streamlit form for the requirement and a screen for code and test results.
Connect the language model through FastAPI and coordinate the four agents with LangGraph.
Run generated classroom programs in an isolated worker with time limits. Keep credentials out of the worker and disable its network access.
Show the original code, the proposed fix, and the latest test result. Let students download the source files and tests.