This is the complete project structure for our mock multi-agent system that will be used in Module 1 of the DevContainers workshop.
multi-agent-assistant/
├── backend/
│ ├── main.py # FastAPI backend with mock agents
│ └── requirements.txt # Python dependencies
├── frontend/
│ ├── public/
│ │ └── vite.svg # Default Vite icon (auto-generated)
│ ├── src/
│ │ ├── App.jsx # Main React component
│ │ ├── App.css # Component styles
│ │ ├── main.jsx # React entry point
│ │ └── index.css # Base styles
│ ├── index.html # HTML template
│ ├── package.json # Node.js dependencies
│ └── vite.config.js # Vite configuration
└── README.md # This file
- Python 3.11+
- Node.js 18+
- npm or yarn
cd backend
uv venv --python 3.11 .venv
source .venv/bin/activate
uv pip install -r requirements.txt
python main.pyBackend will run on: http://localhost:8000
cd frontend
npm install
npm run devFrontend will run on: http://localhost:3000
- Purpose: Reviews code for best practices, bugs, and improvements
- Features: Suggests optimizations, security checks, performance tips
- Mock Responses: Realistic code review feedback
- Purpose: Generates comprehensive documentation for code
- Features: API docs, setup instructions, usage examples
- Mock Responses: Well-formatted documentation templates
- Purpose: Provides system design and architecture advice
- Features: Scalability recommendations, technology suggestions, design patterns
- Mock Responses: Architecture analysis and improvement suggestions
This project demonstrates:
- Polyglot Development: Python backend + Node.js frontend
- Development Workflow: API development with live frontend
- Port Management: Backend (8000) + Frontend (3000)
- Environment Consistency: Same setup across all machines
- Extensions: VS Code extensions for both Python and JavaScript
Module 1 (Current): Mock agents with hardcoded responses Module 2 (Next): Replace mocks with real LLM integration via:
- Docker AI for code generation
- MCP Toolkit for tool integration
- Real agentic workflows
- Select an agent from the sidebar
- Type a question: "How can I improve my Python code?"
- Get realistic mock feedback
- Paste code in the sidebar textarea
- Select "Code Review Agent"
- Ask: "Please review this code"
- Get detailed code analysis
- Add code to the sidebar
- Select "Documentation Agent"
- Ask: "Generate docs for this code"
- Receive formatted documentation
- Health Check: Visit http://localhost:8000/health
- API Endpoints: Visit http://localhost:8000/docs
- Frontend: Interact with agents at http://localhost:3000
- Cross-Origin: Verify frontend can call backend API
The DevContainer configuration will include:
- Python 3.11 environment with FastAPI
- Node.js 18 environment with React/Vite
- VS Code extensions for both languages
- Pre-configured port forwarding
- Environment variables for API endpoints
- Development tools and debugging setup