Transform architectural documentation into complete, production-ready applications using AI-powered analysis and code generation.
JAEGIS AI Web OS is an enterprise-grade, universal application foundry that converts complex architectural documents into fully functional applications. Built with a hybrid Node.js/Python architecture, it combines advanced document processing, multi-provider AI integration, and sophisticated code generation to deliver production-ready projects in minutes.
- Multi-Provider Support: OpenAI GPT-4, Anthropic Claude, Azure OpenAI, local models
- Advanced Prompt Engineering: Chain-of-thought reasoning with role-based prompts
- Intelligent Fallbacks: Automatic provider switching and rule-based processing
- Context-Aware Analysis: Understands project dependencies and architectural patterns
- Multi-Format Support: Word (.docx), PDF, PowerPoint (.pptx), Excel (.xlsx), Markdown, HTML
- Structure Preservation: Maintains document hierarchy, tables, and embedded content
- Semantic Chunking: Context-aware content segmentation with overlap
- Entity Extraction: Automatic detection of technologies, dependencies, and commands
- Production Templates: Next.js, React, Python, Django, FastAPI with full project structure
- AI-Generated Content: Custom files created using intelligent prompts
- Dependency Management: Automatic package resolution and version compatibility
- Build Validation: Ensures generated projects are immediately runnable
- Guided Workflows: Step-by-step project generation with real-time feedback
- Rich Terminal UI: Progress tracking, status monitoring, and error reporting
- Preview Mode: Review generated plans before execution
- Configuration Management: Environment-specific settings with hot-reloading
- Comprehensive Error Handling: Graceful degradation with recovery strategies
- Advanced Caching: TTL-based caching with size limits and persistence
- Structured Logging: Configurable levels with rotation and retention
- Performance Monitoring: Memory management and parallel processing
# Interactive mode - guided project generation
npx jaegis-ai-web-os interactive
# Direct build from architecture document
npx jaegis-ai-web-os build --base ./architecture.docx --output ./my-project# Global installation
npm install -g jaegis-ai-web-os
# Or use with npx (no installation required)
npx jaegis-ai-web-os --help# Interactive mode with step-by-step guidance
jaegis-ai-web-os interactive
# Build from architectural document
jaegis-ai-web-os build --base ./docs/architecture.docx --output ./generated-app
# Enhanced mode with AI analysis
jaegis-ai-web-os build --base ./specs.md --enhanced --ai-provider openai
# Dry run to preview changes
jaegis-ai-web-os build --base ./design.pdf --dry-run --plan-only- 🏁 Getting Started Guide
- ⚙️ Configuration Reference
- 🏗️ Architecture Overview
- 📚 API Documentation
- 🎯 Examples & Tutorials
- Next.js 15: Full-stack React with TypeScript, Tailwind CSS, and modern tooling
- React 18: Modern React applications with Vite, TypeScript, and component libraries
- Vue.js: (Coming soon) Progressive framework with Composition API
- Angular: (Coming soon) Enterprise applications with TypeScript
- Python: CLI applications with Click, testing, and packaging
- Django: Full-featured web applications with REST API support
- FastAPI: High-performance APIs with automatic documentation
- Node.js/Express: (Coming soon) JavaScript backend applications
- Microsoft Office: Word (.docx), PowerPoint (.pptx), Excel (.xlsx)
- PDF: Text extraction with table and image detection
- Web Formats: HTML, Markdown with structure preservation
- Plain Text: Automatic encoding detection and content analysis
# AI Provider Configuration
export OPENAI_API_KEY="your-openai-key"
export ANTHROPIC_API_KEY="your-anthropic-key"
export MCP_PREFERRED_AI_PROVIDER="openai"
# Processing Configuration
export MCP_MAX_CHUNK_SIZE="4000"
export MCP_CACHE_ENABLED="true"
export MCP_LOG_LEVEL="INFO"
# Build Configuration
export MCP_BUILD_TIMEOUT="1800"
export MCP_DEFAULT_OUTPUT_DIRECTORY="./output"# AI Provider Settings
ai:
preferred_provider: "openai"
request_timeout: 120
max_retries: 3
# Document Processing
processing:
max_chunk_size: 4000
chunk_overlap_size: 200
supported_formats: [".docx", ".pdf", ".md", ".txt", ".html", ".pptx", ".xlsx"]
# Caching
cache:
enabled: true
directory: ".mcp_cache"
max_size_mb: 1024
ttl_hours: 24
# Logging
logging:
level: "INFO"
file_enabled: true
rotation: "1 day"
retention: "30 days"# Process a comprehensive architecture document
jaegis-ai-web-os build \
--base ./docs/web-app-architecture.docx \
--output ./my-nextjs-app \
--ai-provider openai \
--enhanced
# Result: Complete Next.js application with:
# - TypeScript configuration
# - Tailwind CSS setup
# - Component library
# - API routes
# - Database integration
# - Deployment configuration# Generate a Python CLI application
jaegis-ai-web-os build \
--base ./specs/cli-tool-requirements.md \
--output ./my-cli-tool \
--template-preference python
# Result: Complete Python package with:
# - Click-based CLI interface
# - Configuration management
# - Testing framework
# - Packaging setup
# - Documentation# Launch interactive mode for guided generation
jaegis-ai-web-os interactive
# Follow prompts to:
# 1. Select architecture documents
# 2. Configure AI providers
# 3. Choose frameworks and templates
# 4. Preview generated structure
# 5. Execute build with real-time feedback# Install development dependencies
npm install
pip install -r requirements-dev.txt
# Run all tests
npm test
python -m pytest
# Run with coverage
npm run test:coverage
python -m pytest --cov=mcp_server
# Run integration tests
npm run test:integration
python -m pytest tests/integration/tests/
├── unit/ # Unit tests for individual components
├── integration/ # Integration tests for workflows
├── e2e/ # End-to-end tests with real documents
└── fixtures/ # Test data and mock documents
We welcome contributions! Please see our Contributing Guide for details.
# Clone the repository
git clone https://github.com/usemanusai/JAEGIS-AI-Web-OS.git
cd JAEGIS-AI-Web-OS
# Install dependencies
npm install
pip install -r requirements-dev.txt
# Set up pre-commit hooks
pre-commit install
# Run development server
npm run dev- ESLint: JavaScript/TypeScript linting
- Black: Python code formatting
- MyPy: Python type checking
- Pytest: Python testing framework
- Jest: JavaScript testing framework
- Document Processing: 100+ page documents in <30 seconds
- Code Generation: Complete applications in <60 seconds
- Memory Usage: <2GB for typical workflows
- Cache Hit Rate: 95%+ for repeated operations
- Parallel Processing: Multiple documents simultaneously
- Memory Management: Efficient chunking for large files
- Caching: Intelligent caching reduces processing time by 80%
- Resource Limits: Configurable timeouts and memory limits
- Input Validation: Comprehensive document and parameter validation
- Sandboxed Execution: Optional sandbox mode for untrusted documents
- Dependency Scanning: Automated vulnerability detection
- Secure Defaults: Conservative security settings out-of-the-box
Please report security vulnerabilities to security@usemanusai.com. See our Security Policy for details.
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for GPT-4 API and advanced language models
- Anthropic for Claude API and AI safety research
- Rich for beautiful terminal interfaces
- Click for elegant command-line interfaces
- Jinja2 for powerful template rendering
- Documentation: docs.usemanusai.com/jaegis
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: support@usemanusai.com
Built with ❤️ by the JAEGIS AI team