Manus Agents is a powerful AI agent system that combines a modern Next.js frontend with a FastAPI backend to create an interactive AI assistant experience.
- 🤖 AI Agent System - Powered by advanced language models
- 🌐 Real-time Communication - WebSocket-based interaction between frontend and backend
- 🎨 Modern UI - Built with Next.js and Tailwind CSS
- 🔒 Secure - Environment variable based configuration
- 🚀 Scalable Architecture - Separate frontend and backend services
- Node.js 18+ for frontend
- Python 3.12+ for backend
- Docker (optional, for containerized deployment)
manus-agents/
├── frontend/ # Next.js frontend application
│ ├── src/ # Source code
│ ├── public/ # Static assets
│ └── package.json # Frontend dependencies
└── backend/ # Python FastAPI backend
├── openmanus/ # Core agent functionality
├── config/ # Configuration files
├── tests/ # Test suite
└── requirements.txt # Backend dependencies
- Create and activate a Python virtual environment:
cd backend
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Create a
.envfile in the backend directory with required environment variables:
OPENAI_API_KEY=your_openai_api_key
# Add other required environment variables
- Start the backend server:
python run_mcp_server.py- Install dependencies:
cd frontend
npm install- Create a
.envfile in the frontend directory:
NEXT_PUBLIC_API_URL=http://localhost:8000
- Start the development server:
npm run devThe application will be available at http://localhost:3000.
A Dockerfile is provided for containerized deployment. To build and run:
docker build -t manus-agents .
docker run -p 8000:8000 -p 3000:3000 manus-agents- Frontend development:
npm run devin the frontend directory - Backend development:
python run_mcp_server.pyin the backend directory - Run tests:
pytestin the backend directory
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
[Add your license information here]
[Add support information or contact details here]