How Our AI System Fights Against Frauds in International Shipping

In the world of logistics, fraudulent and dangerous packages are one of the industry's biggest challenges. That's why a major multinational logistics company turned to BigHub for help in implementing a system for early detection. With a goal of deploying a solution for real-time evaluation of shipments as they enter the transportation network, our team at BigHub faced several challenges such as scaling the REST API and managing the ML lifecycle.

BigHub has a longstanding partnership with a major international logistics firm, during which it has successfully implemented a diverse range of data projects. These projects have encompassed a variety of areas, including data engineering, real-time data processing, cloud and machine learning-based applications, all of which have been designed and developed to enhance the logistics company's operations, including warehouse management, supply chain optimization and the transportation of thousands of packages globally on a daily basis.

 

In 2022, BigHub was presented with a new challenge: to aid in the implementation of a system for the early detection of suspicious fraudulent shipments entering the company's logistic network. Based on the client's pilot solution, which had been developed and tested using historical data, BigHub improved the algorithms and deployed them in a production environment for real-time evaluation of shipments as they entered the transportation network. The initial pilot solution was based on batch evaluation, but the requirement for our team was to create a REST API that could handle individual queries with a response time of less than 200 milliseconds. This API would be connected to the client's network, where further operations would be carried out on the data.

High-level Architecture

The proposed application is designed with a high-level architecture, as illustrated in the accompanying diagram. The core of the system is the REST API, which is connected to the client's network to receive and process queries. These queries are subject to validation and evaluation, with the results then returned to the end user. The data layer serves as the foundation for the calculations, as well as for the training of models and pre-processing of feature tables. The evaluation results are also stored in the data layer to facilitate the production of summary analyses in the reporting layer. The MLOps layer manages the lifecycle of the machine learning model, including training, validation, storage of metrics for each model version and making the current version of the model accessible via the REST API. To achieve this, the whole solution leverages a variety of modern data technologies, including Kubernetes, MLFlow, AirFlow, Teradata, Redis and Tableau.

 

During the development of the system our team needed to address several challenges that include:

  • Setup and scaling of the REST API to handle a high volume of queries (260 queries from 30 parallel resources per second) in real-time, ensuring it is ready for global deployment.
  • Optimizing the evaluation speed of individual queries, through the use of low-level programming techniques, to reduce the time from hundreds of milliseconds to tens of milliseconds.
  • Managing the machine learning model lifecycle, including automated retraining, deployment of new versions into API, monitoring of quality and notifications, to ensure reliable long-term performance.
  • Implementing modifications on the run - our agile approach ensured flexibility and allowed quick and successful changes to the ongoing project for the satisfaction of both parties and better results.

Conclusion

We are proud to have successfully deployed the solution in a production environment within six months. Our ongoing performance monitoring and validation evaluations for 12 origin countries have been successful and countries are gradually added and tested over time. The goal is to roll out the application globally within the first half of the 2023.

Dive into similar articles

The latest industry news, interviews, technologies, and resources.

AI
0
min
read

Why MCP might be the HTTP of the AI-first era

MCP (Model Context Protocol) isn’t just another technical acronym. It’s one of the first foundational steps toward a world where digital operations are not driven by people, but by intelligent systems. And while it’s currently being discussed mostly in developer circles, its long-term impact will reshape how companies communicate, sell, and operate in the digital landscape.

What Is MCP – and Why Should You Care?

Model Context Protocol may sound like something out of an academic paper or internal Big Tech documentation. But in reality, it’s a standard that enables different AI systems to seamlessly communicate—not just with each other, but also with APIs, business tools, and humans.

Today’s AI tools—whether chatbots, voice assistants, or automation bots—are typically limited to narrow tasks and single systems. MCP changes that. It allows intelligent systems to:

  • Check your e-commerce order status
  • Review your insurance contract
  • Reschedule your doctor’s appointment
  • Arrange delivery and payment


All without switching apps or platforms. And more importantly: without every company needing to build its own AI assistant. All it takes is making services and processes “MCP-accessible.”

From AI as a Tool to AI as an Interface

Until now, AI in business has mostly served as a support tool for employees—helping with search, data analysis, or faster decision-making. But MCP unlocks a new paradigm:

Instead of building AI tools for internal use, companies will expose their services to be used by external AI systems—especially those owned by customers themselves.

That means the customer is no longer forced to use the company’s interface. They can interact with your services through their own AI assistant, tailored to their preferences and context. It’s a fundamental shift. Just as the web changed how we accessed information, and mobile apps changed how we shop or travel, MCP and intelligent interfaces will redefine how people interact with companies.

The AI-First Era Is Already Here

It wasn’t long ago that people began every query with Google. Today, more and more users turn first to ChatGPT, Perplexity, or their own digital assistant. That shift is real: AI is becoming the entry point to the digital world.

“Web-first” and “mobile-first” are no longer enough. We’re entering an AI-first era—where intelligent interfaces will be the first layer that handles requests, questions, and decisions. Companies must be ready for that.

What This Means for Companies

1. No More Need to Build Your Own Chatbot

Companies spend significant resources building custom chatbots, voice systems, and interfaces. These tools are expensive to maintain and hard to scale.

With MCP, the user shows up with their own AI system and expects only one thing: structured access to your services and information. No need to worry about UX, training models, or customer flows—just expose what you do best.

2. Traditional Call Centers Become Obsolete

Instead of calling your support line, a customer can query their AI assistant, which connects directly to your systems, gathers answers, or executes tasks.

No queues. No wait times. No pressure on your staffing model. Operations move into a seamless, automated ecosystem.

3. New Business Models and Brand Trust

Because users will bring their own trusted digital interface, companies no longer carry the burden of poor chatbot experiences. And thanks to MCP’s built-in structure for access control and transparency, businesses can decide who sees what, when, and how—while building trust and reducing risks.

What This Means for Everyday Users

  • One interface for everything
  • No more juggling dozens of logins, websites, or apps. One assistant does it all.
  • True autonomy
  • Your digital assistant can order products, compare options, request refunds, or manage appointments—no manual effort required.
  • Smarter, faster decisions
  • The system knows your preferences, history, and goals—and makes intelligent recommendations tailored to you.

Practical example:

You ask your AI to generate a recipe, check your pantry, compare prices across online grocers, pick the cheapest options, and schedule delivery—all in one go, no clicking required.

The Underrated Challenge: Data

For this to work, users will need to give their AI systems access to personal data. And companies will need to open up parts of their systems to the outside world. That’s where trust, governance, and security become mission-critical. MCP provides a standardized framework for managing access, ensuring safety, and scaling cooperation between systems—without replicating sensitive data or creating silos.

AI
0
min
read

AI Agents: What They Are and What They Mean for Your Business

Artificial intelligence is experiencing another major wave — this time in the form of so-called AI agents. But what exactly are they, why is everyone talking about them, and how can they benefit your business?
🧠 What Are AI Agents?

An AI agent is a digital assistant capable of independently executing complex tasks based on a specific goal. It’s more than just a chatbot answering questions. Modern AI agents can:

  • Plan multiple steps ahead
  • Call APIs, work with data, create content, or search for information
  • Adapt their behavior based on context, user, or business goals
  • Work asynchronously and handle multiple tasks simultaneously

In short, an AI agent functions like a virtual employee — handling tasks dynamically, like a human, but faster, cheaper, and 24/7.

Why Are AI Agents Trending Right Now?
  • Advancements in large language models (LLMs) like GPT-4, Claude, and Mistral allow agents to better understand and generate natural language.
  • Automation is becoming goal-driven — instead of saying “write a script,” you can say “find the best candidates for this job.”
  • Companies want to scale without increasing costs — AI agents can handle both routine and analytical tasks.
  • Productivity and personalization are top priorities — AI agents enable both in real time.

What Do AI Agents Bring to Businesses?

✅ 1. Save Time and Costs

Unlike traditional automation focused on isolated tasks, AI agents can manage entire workflows. In e-commerce, for example, they can:

  • Help choose the right product
  • Recommend accessories
  • Add items to the cart
  • Handle complaints or returns

✅ 2. Boost Conversions and Loyalty

AI agents personalize conversations, learn from interactions, and respond more precisely to customer needs.

3. Team Relief and Scalability

Instead of manually handling inquiries or data, the agent works nonstop — error-free and without the need to hire more people.

4. Smarter Decision-Making

Internal agents can assist with competitive analysis, report generation, content creation, or demand forecasting.

AI Agents in Practice
Scenario Example Use Case
Customer Support Answering questions, tracking orders, handling complaints
Marketing Planning campaigns, building segments, creating copy and A/B tests
Sales Generating leads, preparing proposals, follow-ups
Logistics Tracking inventory, planning deliveries, monitoring delays
HR Screening CVs, replying to candidates, onboarding
AI Agent vs. Traditional Chatbot: What's the Difference?
Feature Traditional Chatbot AI Agent
Responses Predefined scripts Flexible, contextual
Memory None or short-term Long-term, adaptive
Tasks Simple answers Multi-step workflows
Integration Limited Connects to CRM, ERP, e-shop
Autonomy Low High – plans and decides

What Does This Mean for Your Business?

Companies that implement AI agents today gain an edge — not just in efficiency, but in customer experience. In a world where “fast replies” are no longer enough, AI agents bring context, intelligence, and action — exactly what the modern customer expects.

What’s Next?

AI agents are quickly evolving from assistants to full digital colleagues. Soon, it won’t be unusual to have an “AI teammate” handling tasks, collaborating with your team, and helping your business grow.

AI
0
min
read

GenAI Is Not the Only Type of AI: What Every Business Leader Should Know

Generative AI (GenAI) is dominating headlines — from ChatGPT to image generators and copilots in business tools. But while it's powerful, GenAI is only one type of artificial intelligence. And in many real-world business cases, it's not the most suitable one. To make smart AI decisions, you need to understand that AI comes in multiple forms, each designed for specific goals.
🧠 What Is Generative AI (GenAI)?

Generative AI focuses on creating content — text, images, video, or code — by using large language models (LLMs) trained on huge datasets.

Typical use cases:

  • Writing emails, articles, product descriptions
  • Generating graphics and images
  • Creating code or marketing copy
  • Customer support via AI-powered chat

But despite its capabilities, GenAI isn't a one-size-fits-all solution.

What Other Types of AI Exist?
✅ 1. Analytical AI

This type of AI focuses on analyzing data, identifying patterns, and making predictions. It doesn't generate content but provides insights and decisions based on logic and data.

Use cases:

  • Predicting customer churn or lifetime value
  • Credit risk scoring
  • Fraud detection
  • Customer segmentation
✅ 2. Optimization AI

Rather than analyzing or generating, this AI finds the best possible solution based on a defined goal or constraint.

Use cases:

  • Logistics and transportation planning
  • Dynamic pricing
  • Manufacturing and workforce scheduling
✅ 3. Symbolic AI (Rule-Based Systems)

This older but still relevant form of AI uses logic-based rules and decision trees. It is explainable, auditable, and reliable — especially in regulated environments.

Use cases:

  • Legal or medical expert systems
  • Regulatory compliance
  • Automated decision-making in banking or insurance
✅ 4. Reinforcement Learning

This AI learns by trial and error in dynamic environments. It’s used when the system needs to adapt based on feedback and outcomes.

Use cases:

  • Autonomous vehicles
  • Robotics
  • Complex process automation

When Should (or Shouldn’t) You Use GenAI?

What Does This Mean for Your Business?

If you're only using GenAI, you might be missing out on significant potential. The real value lies in combining AI types.

Example:

  • Use Analytical AI to segment your customers.
  • Use GenAI to generate personalized emails for each segment.
  • Use Optimization AI to time and target campaigns efficiently.

This multi-layered approach delivers better ROI, reliability, and strategic depth.

Summary: GenAI ≠ All of AI
AI Type What It Does Best For
Generative AI Creates content Marketing, support, creativity
Analytical AI Makes predictions and scores Finance, risk, analytics
Optimization AI Finds best outcomes Logistics, pricing, planning
Symbolic AI Follows clear rules Compliance, legal, expert systems

Get your first consultation free

Want to discuss the details with us? Fill out the short form below. We’ll get in touch shortly to schedule your free, no-obligation consultation.

Trusted by 100 + businesses
Thank you! Your submission has been received.
Oops! Something went wrong.