A full-stack web application for building, deploying, and scaling AI agents. Combines the best features of ChatGPT, Manus.im, Vercel, and Ulio.ai into a comprehensive AI agent platform.
- 🤖 Visual Agent Builder - Drag-and-drop interface to create AI agents
- 💬 Real-time Chat - Stream responses from your agents in real-time
- 📊 Dashboard - Monitor agent performance and conversations
- 🏪 Agent Gallery - Discover and fork public agents
- 🔐 Team Management - Collaborate with team members
- 🎯 Multi-Model Support - Use GPT-4, Claude, and open-source models
- 🛠️ Tool Integration - Add tools, plugins, and external APIs to your agents
- Framework: Next.js 14 with React 18
- Language: TypeScript
- Styling: Tailwind CSS + Custom Design System
- State Management: React Query + Zustand
- Forms: React Hook Form
- UI Components: Shadcn/ui
- Canvas: React Flow (for agent builder)
- Real-time: Socket.io client, Server-Sent Events
- Runtime: Node.js
- Framework: Next.js API Routes
- Database: PostgreSQL with Prisma ORM
- Authentication: NextAuth.js v5 with OAuth
- Real-time: WebSockets (Socket.io)
- AI Integration: LangChain.js, LangGraph.js
- @openmanus/db - Prisma database schema and migrations
- @openmanus/types - Shared TypeScript types
- @openmanus/ui - Design system and reusable components
OpenManus/
├── apps/
│ ├── web/ # Next.js 14 frontend application
│ │ ├── app/ # App Router pages
│ │ ├── components/ # React components
│ │ ├── lib/ # Utilities and hooks
│ │ ├── styles/ # Global styles
│ │ └── public/ # Static assets
│ └── api/ # Backend API (optional separate service)
├── packages/
│ ├── db/ # Prisma database
│ ├── types/ # Shared TypeScript types
│ └── ui/ # Design system
├── turbo.json # Monorepo config
└── package.json # Root package config
/auth/login- Sign in with OAuth or email/auth/signup- Create new account
/dashboard- Home dashboard with stats and recent activity/agents- List and manage user's agents/agents/new- Create new agent/agents/[id]- Agent details/agents/[id]/builder- Visual agent builder with canvas/agents/[id]/chat- Test agent with chat interface/gallery- Discover public agents/settings- Account and team settings
GET /api/agents- List user's agentsPOST /api/agents- Create new agentGET /api/agents/[id]- Get agent detailsPUT /api/agents/[id]- Update agentDELETE /api/agents/[id]- Delete agentPOST /api/agents/[id]/publish- Publish agent
GET /api/conversations- List conversationsPOST /api/conversations- Create conversationGET /api/conversations/[id]- Get conversationPOST /api/conversations/[id]/messages- Send message (streaming)GET /api/conversations/[id]/messages- Get messages
GET /api/gallery- List public agentsPOST /api/gallery/[id]/fork- Fork public agent
Key tables:
- users - User accounts and profiles
- teams - Team/workspace information
- agents - AI agent configurations
- conversations - Chat conversations
- messages - Individual messages
- integrations - API integrations (OpenAI, Anthropic, etc.)
- tools - Available tools/plugins
- Node.js 18+
- PostgreSQL 14+
- npm or yarn
-
Clone the repository
git clone https://github.com/Army161/OpenManus.git cd OpenManus -
Install dependencies
npm install
-
Set up environment variables
cp .env.local.example .env.local
Edit
.env.localwith your configuration:- Database URL
- OAuth credentials (Google, GitHub)
- AI API keys (OpenAI, Anthropic)
- NextAuth secret
-
Set up database
npm run db:migrate npm run db:seed
-
Start development server
npm run dev
Open http://localhost:3000 in your browser.
# Start development server
npm run dev
# Build for production
npm run build
# Run production server
npm start
# Run linting
npm run lint
# Type checking
npm run type-check
# Format code
npm run format
# Database commands
npm run db:generate # Generate Prisma client
npm run db:migrate # Run migrations
npm run db:studio # Open Prisma Studio# Run dev on all packages
npm run dev
# Build all packages
npm run build
# Lint all packages
npm run lint- Monorepo setup with Turborepo
- Next.js frontend initialization
- Prisma database schema
- API route stubs
- Dashboard pages
- Design system
- NextAuth.js OAuth integration
- Database connection
- Agent CRUD operations
- Conversation management
- Real-time WebSocket setup
- React Flow canvas implementation
- Node palette (input, LLM, tool, condition, output)
- Canvas state management
- Preview and testing
- LangChain.js setup
- Multi-model support
- Tool execution engine
- Streaming responses
- Agent versioning
- Team collaboration
- Analytics and monitoring
- API management
- CI/CD pipeline
- Production deployment
- Performance optimization
- Security hardening
The design combines aesthetic elements from:
- ChatGPT - Clean, minimal interface with gradient accents
- Manus.im - Agent-focused workflows and visual builder
- Vercel - Modern SaaS design patterns and typography
- Ulio.ai - Team management and SaaS features
- Primary:
#10A37F(Teal) - Secondary:
#EC4899(Pink) - Dark backgrounds:
#0D0D0D,#1E1E1E - Light text:
#F7F7F8
Contributions are welcome! Please feel free to submit a Pull Request.
MIT
For issues and questions, please visit the GitHub Issues page.
Built with ❤️ for AI enthusiasts and developers