Automated Routing & Inventory for Shipping Efficiency
A.R.I.S.E is an AI-powered airline operations control center that autonomously manages flight routing, crew scheduling, and resource inventory while responding to operational disruptions in real-time using a multi-agent system.
Airlines face constant operational challenges: weather delays, mechanical issues, crew scheduling conflicts, and cascading disruptions. Traditional operations centers rely on manual routing decisions and inventory management, leading to:
- Inefficient flight routing and resource allocation
- Poor inventory visibility across crew, aircraft, and cargo
- Delayed decision-making during critical incidents
- Inconsistent risk assessment and compliance checking
- Reactive rather than proactive operations
A.R.I.S.E solves this by providing an intelligent, autonomous system that:
- Optimizes routing for flights and crew assignments in real-time
- Manages inventory of aircraft, crew, and operational resources
- Detects incidents from multiple data sources automatically
- Analyzes impact across flights, schedules, and resource availability
- Generates action plans with automated routing adjustments and inventory reallocation
- Coordinates execution via automated communications (email, SMS, voice calls)
- Learns from history using vector memory to improve decision-making
- Multi-Agent System: Specialized AI agents for narration, impact analysis, options generation, risk assessment, and scoring
- Real-Time Flight Data: Live flight tracking and status monitoring
- Interactive Map: Visualize affected flights, weather patterns, and operational zones
- Voice Integration: VAPI-powered voice calls for approvals and notifications
- Vector Memory: ChromaDB-based case retrieval for experience-based decision making
- Automated Actions: Email, Slack, and calendar integrations via Composio
- Next.js 14 (App Router)
- React with TypeScript
- Tailwind CSS for styling
- Mapbox GL for interactive mapping
- Zustand for state management
- Framer Motion for animations
- Python 3.11+
- FastAPI for REST API
- Fetch.ai (ASI:One) for multi-agent orchestration
- ChromaDB for vector memory and case retrieval
- VAPI for voice call integration
- Composio for email/Slack/calendar automation
- AviationStack - Live flight data
- Bright Data - Web scraping for airport information
- Mapbox - Map visualization
- Node.js 18+ and npm
- Python 3.11+ and pip
- Git
git clone https://github.com/yourusername/calhacks-2025.git
cd calhacks-2025Copy the example environment file to create your own:
cp be/.env.example .envEdit .env and fill in your API keys:
Required Keys:
ASI_ONE_API_KEY- Get from Fetch.aiVAPI_API_KEY- Get from VAPICOMPOSIO_API_KEY- Get from ComposioCHROMA_API_KEY- Get from ChromaDB CloudNEXT_PUBLIC_MAPBOX_TOKEN- Get from Mapbox
Optional Keys:
AVIATIONSTACK_API_KEY- For real flight dataBRIGHTDATA_API_KEY- For web scraping
cd fe
npm install
cd ..cd be
pip install -r requirements.txt
cd ..Populate ChromaDB with historical incident data for case-based reasoning:
cd be
python3 seed_chromadb.py
cd ..The easiest way is to use the start script:
./start.shOr start services manually:
cd be
python3 -m src.rest_servercd fe
npm run dev- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Docs: http://localhost:8000/docs
calhacks-2025/
├── fe/ # Next.js frontend
│ ├── app/ # App router pages
│ ├── components/ # React components
│ │ ├── arise/ # A.R.I.S.E specific components
│ │ └── ops-room/ # Operations room components
│ └── lib/ # Utilities and stores
│
├── be/ # Python backend
│ ├── src/
│ │ ├── agents/ # Multi-agent system
│ │ ├── api/ # FastAPI routes
│ │ ├── core_logic.py # Core processing logic
│ │ ├── bureau_coordinator.py # Agent coordination
│ │ └── rest_server.py # FastAPI server
│ └── seed_chromadb.py # Database seeding script
│
├── .env # Environment variables (create from .env.example)
└── start.sh # Startup script
- Navigate to http://localhost:3000/trigger
- Select an incident scenario (weather delay, mechanical issue, etc.)
- Watch as the multi-agent system:
- Narrates the incident
- Analyzes impact on flights and resources
- Generates action plan options
- Assesses risks and compliance
- Scores and selects the best plan
- Coordinates execution
The main dashboard at http://localhost:3000 shows:
- Live flight map with affected aircraft
- Incident timeline with agent reasoning
- Action plan with execution status
- KPI metrics tracking resolution progress
To enable voice approvals and notifications:
- Set up a VAPI account and create assistants
- Configure phone numbers in
.env - For local testing, use ngrok to expose your backend:
ngrok http 8000
- Update
BACKEND_URLin.envwith your ngrok URL
cd fe
npm run devcd be
python3 -m src.rest_servercd fe
npm run type-checkcd fe
npm run lintAll API keys and sensitive data are stored in the .env file, which is:
- Excluded from Git via
.gitignore - Never committed to the repository
- Kept local to your machine
Never commit your .env file or share your API keys publicly.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project was created for CalHacks 2025.
- Built with Fetch.ai multi-agent framework
- Powered by VAPI for voice integration
- Integrated with Composio for automation
- Flight data from AviationStack
- Maps by Mapbox
Built with passion for CalHacks 2025