A node-based workflow editor for creating AI-powered workflows with multimodal capabilities.
This is a known good commit with:
- Working MongoDB integration (Docker, local, and in-memory fallback)
- Fully functional canvas with panning and zooming
- Working authentication system
- All multimodal features operational
- Node-based canvas interface for creating AI workflows
- Support for text, image, audio, and video content
- Integration with OpenAI APIs (GPT-4o, GPT-4.1, GPT-Image)
- Workflow testing and execution
- Document view for consolidated outputs
- Collaboration features
- Docker
- Docker Compose
- OpenAI API Key
-
Clone the repository:
git clone https://github.com/yourusername/multimodal-ai-agent.git cd multimodal-ai-agent
-
Create a
.env
file with your OpenAI API key:# Server configuration PORT=8732 NODE_ENV=development # MongoDB connection MONGODB_URI=mongodb://mongodb:27017/multimodal-ai-agent # OpenAI API OPENAI_API_KEY=your_openai_api_key_here
-
Start the application with Docker Compose:
docker-compose up -d
-
Access the application at http://localhost:8732
- Install MongoDB locally
- Install Node.js and npm
- Clone the repository
- Install dependencies:
npm install
- Update the
.env
file to use your local MongoDB:MONGODB_URI=mongodb://localhost:27017/multimodal-ai-agent
- Build CSS and start the application:
npm run dev
This project uses Tailwind CSS v3 with a proper build process to eliminate browser build warnings and improve performance:
- Development:
npm run dev
(builds CSS and starts server) - CSS Watch:
npm run dev:css
(watches for CSS changes in separate terminal) - Production Build:
npm run build:css:prod
See TAILWIND_SETUP.md for detailed information about the CSS setup and custom classes.
client/
: Frontend codecontrollers/
: API controllersmodels/
: Database modelsroutes/
: API routesserver.js
: Main server filedocker-compose.yml
: Docker Compose configurationDockerfile
: Docker configuration for the application
npm start
: Start the server (production)npm run dev
: Build CSS and start server with nodemon for developmentnpm run dev:css
: Watch CSS changes (run in separate terminal)npm run build:css:prod
: Build minified CSS for productionnpm test
: Run testsnpm run lint
: Run ESLintnpm run docker:up
: Start with Docker Compose
This project is licensed under the MIT License.