- Python 3.9+
- Node.js 16+
- MongoDB (running on localhost:27017)
./start-dev.shThis script will:
- Check and install dependencies
- Start MongoDB (if needed)
- Start backend on http://localhost:8000
- Start frontend on http://localhost:3000
# Using Homebrew
brew services start mongodb-community
# OR using Docker
docker run -d -p 27017:27017 mongo:latestcd backend
python3 -m app.mainBackend will start on http://localhost:8000
cd src/frontend
npm install # First time only
npm startFrontend will start on http://localhost:3000
curl http://localhost:8000/health
# Should return: {"status": "healthy"}cd backend
python3 test_e2e.py
# All tests should pass- Open browser to http://localhost:3000
- Enter a task description:
- "Check invoice payment status"
- "Perform closing reconciliation"
- "Review audit evidence"
- Click Submit
- Watch agents analyze and process the task
- Approve the plan when prompted
- See the specialized agent complete the task
Frontend configuration is in:
src/frontend/public/config.json- Runtime configsrc/frontend/.env- Environment variables
Backend configuration is in:
backend/.env- Environment variables
# Check if port 8000 is in use
lsof -i :8000
# Check MongoDB is running
mongosh --eval "db.version()"# Check if port 3000 is in use
lsof -i :3000
# Clear node_modules and reinstall
cd src/frontend
rm -rf node_modules package-lock.json
npm install- Verify backend is running:
curl http://localhost:8000/health - Check browser console for errors
- Verify config.json has correct API_URL
- Read FRONTEND_INTEGRATION_GUIDE.md for detailed integration info
- Read backend/PHASE_6_COMPLETE.md for backend architecture
- Proceed to Phase 7 (Tool Integration) for MCP server integration
If you encounter issues:
- Check logs:
backend.logandfrontend.log - Run tests:
cd backend && python test_e2e.py - Review troubleshooting section above
- Check FRONTEND_INTEGRATION_GUIDE.md