This project is a multi-agent developer assistant built with LangGraph and exposed through a Streamlit web UI.
You describe the app you want in natural language, and the agents will:
- Plan the application (features, tech stack, file structure)
- Architect the implementation as explicit tasks
- Code the actual project files inside the
generated_project/folder
The Streamlit interface lets you:
- Enter your prompt
- Inspect the generated plan and task plan
- Browse and view the generated files directly in the browser
- Download the complete generated project as a ZIP file
.
├── app.py # Streamlit web UI
├── graph.py # LangGraph setup and compiled agent
├── prompts.py # Planner, Architect, and Coder prompts
├── states.py # Pydantic models for Plan, TaskPlan, CoderState
├── tools.py # Tools for reading/writing files and running commands
├── generated_project/ # Auto-generated project files (created at runtime)
└── .env # Environment variables (GROQ API key)
- Python: 3.10 or higher is recommended
- A GROQ Cloud API key
- Clone the repository:
git clone https://github.com/DasunThathsara/multi-agent-application-builder.git cd multi-agent-application-builder - Create and activate a virtual environment:
python -m venv venv venv\Scripts\activate
- Install the required packages:
pip install -U pip pip install \ python-dotenv \ streamlit \ langgraph \ langchain-core \ langchain-groq \ pydantic
- Create a
.envfile in the project root with your GROQ API key:GROQ_API_KEY="your_groq_cloud_api_key_here"
- Start the Streamlit app:
streamlit run app.py
- Open your web browser and navigate to
http://localhost:8501to access