Multi-Agent AI Platform for Business Automation - Specialized for Tourism & Hospitality
- π― Overview
- β¨ Features
- ποΈ Architecture
- π Quick Start
- π¦ Installation
- βοΈ Configuration
- π€ AI Agents
- π¨ Usage
- π§ͺ Testing
- π Documentation
- π€ Contributing
- π License
AgentFlow Pro is a sophisticated multi-agent AI platform designed specifically for tourism and hospitality businesses. It automates content creation, manages guest communications, handles reservations, and optimizes marketing campaigns - all while maintaining brand consistency and SEO best practices.
- π― Tourism Specialized: Built specifically for hotels, resorts, and travel agencies
- π€ Multi-Agent System: 8 specialized AI agents working together
- π Multi-Language: Generate content in multiple languages
- π SEO Optimized: Built-in SEO optimization and analytics
- π End-to-End: From content creation to deployment
- π° Cost Effective: Reduce content creation costs by 80%
- Research Agent: Market intelligence and competitor analysis
- Content Agent: SEO-optimized blog posts, landing pages, and social media
- Code Agent: Automated development and deployment
- Deploy Agent: One-click deployments to Vercel/Netlify
- Communication Agent: Personalized guest communications
- Personalization Agent: Brand voice consistency
- Reservation Agent: Automated booking management
- Optimization Agent: Performance and conversion optimization
- Visual Workflow Builder: Drag-and-drop agent orchestration
- Knowledge Graph: Persistent memory and context management
- Multi-Property Support: Manage multiple properties/locations
- Team Collaboration: Role-based access and team workflows
- Analytics Dashboard: Comprehensive performance metrics
- Property Management: Room inventory, rates, and availability
- Guest Management: Profiles, preferences, and communication history
- Reservation System: Automated booking and confirmation workflows
- Multi-Language Content: Generate content in 20+ languages
- SEO Tools: Keyword tracking and optimization recommendations
Frontend
- Next.js 15 + React 19 + TypeScript
- TailwindCSS + shadcn/ui components
- Zustand for state management
- React Flow for workflow visualization
Backend
- Node.js + Express + TypeScript
- PostgreSQL + Prisma ORM
- Redis for caching and queues
- NextAuth.js for authentication
AI Infrastructure
- OpenAI GPT-4 for content generation
- Memory MCP for knowledge graph
- Sequential Thinking MCP for decision making
- Custom agent orchestration system
Deployment & Monitoring
- Vercel for frontend hosting
- Docker for agent containers
- Sentry for error tracking
- GitHub Actions for CI/CD
- Memory: Knowledge graph and context persistence
- GitHub: Code management and version control
- Vercel/Netlify: Deployment automation
- Firecrawl: Web scraping and research
- Context7: API documentation integration
- Playwright: E2E testing automation
- Node.js 18+ and npm
- PostgreSQL 14+
- Redis 6+
- OpenAI API key
# Clone the repository
git clone https://github.com/your-org/agentflow-pro.git
cd agentflow-pro
# Install dependencies
npm install
# Setup environment variables
cp .env.example .env.local
# Edit .env.local with your API keys
# Setup database
npm run db:migrate
npm run db:seed
# Start development server
npm run devVisit http://localhost:3002 to get started.
Create .env.local with the following:
# Database
DATABASE_URL="postgresql://user:password@localhost:5432/agentflow_pro"
# Authentication
NEXTAUTH_SECRET="your-secret-key"
NEXTAUTH_URL="http://localhost:3002"
# AI Services
OPENAI_API_KEY="sk-..."
OPENAI_BASE_URL="https://api.openai.com/v1"
# External APIs
GITHUB_TOKEN="ghp_..."
FIRECRAWL_API_KEY="fc-..."
CONTEXT7_API_KEY="..."
# Optional
REDIS_URL="redis://localhost:6379"
SENTRY_DSN="https://..."
STRIPE_SECRET_KEY="sk_test_..."
STRIPE_PUBLISHABLE_KEY="pk_test_..."
# Email (verification, password reset, team invites)
RESEND_API_KEY="re_..."
EMAIL_FROM="AgentFlow Pro <notifications@agentflow.pro>"AgentFlow Pro uses Model Context Protocol (MCP) servers for AI-assisted development. Configure them in ~/.cursor/mcp.json:
| MCP | Purpose | Env Variable |
|---|---|---|
| Neon | Database β SQL, schema | OAuth ali NEON_API_KEY |
| Memory | Knowledge graph & context | β |
| GitHub | Repo management | GITHUB_TOKEN |
| Git | Version control | β |
| Playwright | E2E testing | β |
| Firecrawl | Web scraping | FIRECRAWL_API_KEY |
| Context7 | API documentation | CONTEXT7_API_KEY |
| Vercel | Frontend deploy | β |
| Docker | Agent containers | β |
| Sentry | Error monitoring | β |
| Sequential Thinking | Complex decisions | β |
See .cursor/MCP_REQUIRED.md for full mcp.json reference and verification.
For production deployment, see docs/VERCEL-ENV-CHECKLIST.md for required variables: DATABASE_URL, STRIPE_*, NEXTAUTH_*, SENTRY_*, and optional RESEND_API_KEY, EMAIL_FROM (Phase E β email verification, password reset, team invites).
# Generate Prisma client
npm run db:generate
# Run migrations
npm run db:migrate
# Seed with sample data
npm run db:seedEach agent can be configured in src/agents/[agent]/config.ts:
export const agentConfig = {
maxRetries: 3,
timeout: 30000,
model: "gpt-4-turbo",
temperature: 0.7,
};Create custom workflows in the visual builder or via API:
const workflow = {
name: "Blog Post Generator",
nodes: [
{ id: "1", type: "research", data: { query: "tourism trends 2024" } },
{ id: "2", type: "content", data: { format: "blog-post" } },
{ id: "3", type: "deploy", data: { platform: "vercel" } }
],
edges: [
{ source: "1", target: "2" },
{ source: "2", target: "3" }
]
};Gathers market intelligence and competitor data.
const research = await orchestrator.queueTask("research", {
query: "luxury resort trends 2024",
sources: ["firecrawl", "serpapi"],
outputFormat: "structured-json"
});Generates SEO-optimized content.
const content = await orchestrator.queueTask("content", {
type: "blog-post",
topic: "Sustainable Tourism Practices",
seoKeywords: ["sustainable travel", "eco-friendly resorts"],
language: "en"
});Automates development tasks.
const code = await orchestrator.queueTask("code", {
task: "Add booking form validation",
repo: "your-org/your-repo",
createPr: true
});Handles deployments automatically.
const deploy = await orchestrator.queueTask("deploy", {
platform: "vercel",
project: "my-tourism-site",
environment: "production"
});- Navigate to Workflows: Click "Workflows" in the dashboard
- Create New Workflow: Click "New Workflow"
- Add Agents: Drag agents from the sidebar to the canvas
- Configure Agents: Click each agent to set parameters
- Connect Agents: Drag connections between agents
- Test Workflow: Click "Test" to validate
- Deploy: Click "Deploy" to activate
- Go to Properties: Access via dashboard
- Add Property: Fill in property details
- Configure Settings: Set rates, rooms, and policies
- Connect Agents: Enable specific agents for this property
- Select Content Type: Blog post, landing page, or social media
- Input Topic: Describe what you want to create
- Choose Language: Select target language
- Generate: Click "Generate" and wait for AI to complete
- Review & Edit: Make any necessary adjustments
- Publish: Deploy to your website or social channels
# Unit tests
npm run test
# E2E tests
npm run test:e2e
# API tests
npm run test:api
# Tourism-specific tests
npm run test:tourism# Generate coverage report
npm run test -- --coverage# Install Playwright browsers
npm run playwright:install
# Run tests in UI mode
npm run test:e2e:ui
# Run specific test suite
npm run test:e2e:tourism- API Documentation: REST API reference
- Phase E β Auth & Email: Email flow, password reset, User Profile API
- Agent Development: Building custom agents
- Deployment Guide: Production deployment
- Troubleshooting: Common issues
- System Architecture: High-level overview
- Database Schema: Data model documentation
- Agent Flow: Agent interaction patterns
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Run tests:
npm run test - Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open a Pull Request
- Use TypeScript for all new code
- Follow ESLint configuration
- Write tests for new features
- Update documentation as needed
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: agentflow-pro.docs
- Issues: GitHub Issues
- Email: support@agentflow.pro
- Discord: Community Server
- Advanced analytics dashboard
- Custom agent builder
- Mobile app (React Native)
- Advanced workflow templates
- Enterprise features
- White-label options
- Advanced integrations (Slack, Zapier)
- AI-powered pricing optimization
Built with β€οΈ for the tourism industry
AgentFlow Pro - Transform your hospitality business with AI automation