SoftSim AI is a multi-agent AI system that simulates a real-world software development team. It automates the entire Software Development Lifecycle (SDLC) — from requirement analysis to code generation and testing — using Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG).
-
Business Analyst Agent: Converts high-level requirements into structured user stories using RAG templates
-
Design Agent: Generates system architecture and design documents using predefined templates
-
Developer Agent: Writes clean Python code based on generated design
-
Testing Agent: Creates structured test cases using RAG-based templates
-
Project Lead Agent: Orchestrates the complete workflow across all agents
-
Live Progress Updates: Real-time execution tracking in the UI
-
Interactive Dashboard: Built using Streamlit
-
RAG-based Template Retrieval: Dynamically loads structured templates for consistent outputs
User Requirement
↓
Project Lead Agent (Orchestrator)
↓
Business Analyst → User Stories
↓
Design Agent → System Design
↓
Developer Agent → Python Code
↓
Testing Agent → Test Cases
SoftSim AI uses a lightweight Retrieval-Augmented Generation (RAG) approach.
Instead of generating outputs blindly, agents retrieve structured templates and fill them using LLMs.
-
Templates are stored locally:
user_story.txtdesign.txttest_case.txt
-
Templates are dynamically loaded using:
load_template(template_name)-
Each agent uses retrieved templates to ensure:
- Structured output
- Consistency
- Better controllability
- Business Analyst → retrieves user story template
- Design Agent → retrieves architecture template
- Testing Agent → retrieves test case template
- Frontend: Streamlit
- Backend: Python
- LLM Framework: LangChain
- LLM API: Groq (LLaMA 3)
- RAG Layer: File-based template retrieval
- Environment Management: python-dotenv
SoftSim-AI/
│
├── app.py # Streamlit UI
├── agents.py # AI agents & orchestration
├── rag_utils.py # Template retrieval (RAG)
├── templates/
│ ├── user_story.txt
│ ├── design.txt
│ └── test_case.txt
│
├── requirements.txt
├── .env
└── .gitignore
git clone https://github.com/ArkadeepDas4444/SoftSim-AI.git
cd SoftSim-AIpip install -r requirements.txtCreate a .env file:
GROQ_API_KEY=your_api_key_herestreamlit run app.pyBuild a blog platform where users can create accounts,
write posts, and comment on posts.
The system generates:
- 📋 User Stories
- 🏗️ System Design
- 💻 Python Code
- 🧪 Test Cases
The Project Lead Agent manages execution flow:
- Calls Business Analyst → generates user stories
- Passes output to Design Agent
- Sends design to Developer Agent
- Sends code to Testing Agent
Each step is executed sequentially with status updates in the UI.
- Multi-agent orchestration using LangChain
- Template-based RAG system for structured generation
- Modular agent design
- Real-time UI updates using Streamlit
- Multi-Agent AI Systems
- Retrieval-Augmented Generation (RAG)
- Prompt Engineering
- LLM Orchestration
- Software Development Lifecycle Automation
- Human workflow simulation using AI
- API keys stored securely using
.env .gitignoreprevents exposure of sensitive data
- Replace file-based RAG with vector database (FAISS / Chroma)
- Add code execution & validation
- Add agent memory and chat history
- Integrate GitHub for version control simulation
- Enable parallel agent execution
This project is licensed under the MIT License
- Groq for LLM API
- LangChain for orchestration
- Streamlit for UI
If you like this project, give it a star⭐ on GitHub!