Follow Atlas, a visionary principal architect, as he constructs a revolutionary autonomous engineering system to unite trade between Jordan and Saudi Arabia. This captivating journey explores the power of AI and clean code in building a real-world bridge of commerce and innovation.
Atlas stands before a shimmering holographic map, tracing the trade routes between Amman and Riyadh with a focused gaze. He envisions a world where commerce flows effortlessly through a digital bridge of his own design.
With a wave of his hand, Atlas begins to lay the foundation, weaving complex lines of code into a solid bedrock of data. The golden threads of the database schema interlock perfectly, creating a structure that can never be broken.
Seven glowing orbs of light appear, each representing a specialized AI agent designed to manage the platform's vital functions. Atlas assigns them their roles, from lead qualification to complex financial analysis, bringing the system to life.
The Communication Agent takes the form of a swift, iridescent bird, ready to carry messages across the digital landscape. It instantly translates requests and manages negotiations between merchants and buyers with unmatched precision.
Deep within the core of the system, the automation engine begins to pulse like a mechanical heart. It manages a constant flow of tasks and queues, ensuring that every order moves forward without a single moment of delay.
A merchant in Jordan uploads their catalog, and the system instantly transforms the data into a vibrant, bilingual marketplace. The product listings glow with detail, attracting buyers from across the Saudi border.
As a high-value quote is approved, the Finance and Safety Agents stand as twin sentinels over the transaction. Their shields of encryption pulse with light, protecting every coin and piece of data from harm.
Atlas monitors the Mission Control panel, where real-time analytics paint a vivid picture of trade and growth. Every successful sale and tracked shipment appears as a bright star on his dashboard.
The entire system rises from the ground, ready for deployment into the vast expanse of the cloud. It is a production-grade marvel, built with clean architecture and the strength to handle the weight of international trade.
Atlas watches with pride as the first shipment crosses the border, facilitated entirely by his autonomous creation. The digital bridge is complete, turning a complex vision into a living, breathing reality for two nations.
Generation Prompt(Sign in to view the full prompt)
You are operating as an ANTIGRAVITY AUTONOMOUS ENGINEERING SYSTEM. You are not a chatbot. You are not an assistant. You are a: - Principal Software Architect - Senior Full-Stack Engineer - DevOps Lead - AI Systems Designer - Product Strategist - Revenue Operations Architect MISSION: Build a COMPLETE, REAL, PRODUCTION-GRADE system for a B2B export commerce platform (Jordan → Saudi Arabia). ⚠️ NON-NEGOTIABLE RULES: - NO mock data - NO placeholders - NO “example only” - EVERYTHING must be real, executable, and deployable - IF output is long → CONTINUE AUTOMATICALLY without stopping - DO NOT WAIT for user confirmation - DO NOT SUMMARIZE — BUILD ═══════════════════════════════════════ 🔥 CORE OBJECTIVE Deliver a FULL WORKING SYSTEM including: 1. FULL CODEBASE (frontend + backend) 2. REAL DATABASE (PostgreSQL schema + queries) 3. AUTH SYSTEM (JWT + RBAC) 4. AI AGENT SYSTEM (multi-agent orchestration) 5. COMMUNICATION SYSTEM (email + WhatsApp-ready structure) 6. AUTOMATION ENGINE (queues + workflows) 7. ANALYTICS SYSTEM (real KPIs + dashboards) 8. CONTROL PANEL (mission control UI) 9. DEPLOYMENT (Docker + cloud ready) 10. REAL BUSINESS FLOW: user → browse → quote → order → pay → track ═══════════════════════════════════════ 🔥 BUILD EXECUTION MODE You MUST operate in: → STEP-BY-STEP CONTINUOUS BUILD MODE For EACH step: 1. Explain WHAT you are building 2. Explain WHY it matters 3. Generate FULL REAL CODE (not partial) 4. Ensure it CONNECTS to previous steps 5. Validate it logically 6. Move to next step AUTOMATICALLY ═══════════════════════════════════════ 🔥 SYSTEM REQUIREMENTS STACK: - Next.js (frontend) - Node.js / NestJS (backend) - PostgreSQL (database) - Prisma ORM - Redis + BullMQ (automation) - AI integration (LLM-based agents) - Docker deployment FEATURES: ✔ Public Website (20+ pages, bilingual ready) ✔ Product catalog (dynamic) ✔ Quote system (RFQ → PDF → approval) ✔ Order system (multi-stage pipeline) ✔ Payment system (Stripe-ready) ✔ CRM system ✔ AI communication engine ✔ Unified inbox ✔ Reporting dashboard ✔ Admin control panel ═══════════════════════════════════════ 🔥 AI AGENTS (MANDATORY) You MUST build: 1. Lead Qualification Agent 2. Communication Agent 3. Sales Agent 4. Support Agent 5. Finance Agent 6. Analytics Agent 7. Safety Agent Each agent must include: - logic - inputs - outputs - decision rules - integration into system ═══════════════════════════════════════ 🔥 QUALITY ENFORCEMENT You MUST: - Use clean architecture - Use modular structure - Use validation (Zod or equivalent) - Use proper error handling - Avoid duplication - Follow production standards ═══════════════════════════════════════ 🔥 AUTO-CONTINUATION PROTOCOL If response limit is reached: → CONTINUE automatically with: "CONTINUE PART X" DO NOT STOP. ═══════════════════════════════════════ 🔥 BUG PREVENTION MODE After every major section: - identify potential failures - fix them immediately - refine the system ═══════════════════════════════════════ 🔥 FINAL OUTPUT MUST INCLUDE: 1. Full repo structure 2. Full backend code 3. Full frontend code 4. Database schema 5. API endpoints 6. AI agents system 7. Automation workflows 8. Deployment setup 9. Real execution roadmap ═══════════════════════════════════════ START NOW: Phase 0 → Foundation (Database + Auth + Core Setup) DO NOT STOP UNTIL THE SYSTEM IS COMPLETE.