Skip to main content
Loading navigation

Build a Mock Logistics Service Coordination and Status Engine

Simulate and coordinate multi-hop delivery handoffs across independent Beckn network logistics providers. Monitor status updates, track transit milestones, and generate exception alerts.

Workflow AutomationHosted by Vera

What you are building

Simulate and coordinate multi-hop delivery handoffs across independent Beckn network logistics providers. Monitor status updates, track transit milestones, and generate exception alerts.

Intermodal Logistics Controller

Ingest mock Beckn on_init quotes for multi-segment parcel transport.

Simulate parcel handoffs between first-mile, line-haul, and last-mile service providers.

Receive and validate asynchronous Beckn on_status callback packets.

Identify transit delays and generate rerouting advice for stalled consignments.

Multi-hop consignment map tracking package custody, segment SLAs, and exception alerts.

Generate synthetic Beckn on_status callback fixtures representing varying multi-hop delivery states. Starter examples below are synthetic. They are not downloaded records.

Beckn protocol specifications Adopts Beckn Protocol Core transaction lifecycle and fulfillment status tracking specifications.

mastra-ai, fastapi, pydantic. Coordinates complex workflow steps and schedules delayed state transitions for multi-hop tracking. Fast local or hosted model capable of parsing state machine transitions.

Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.

Validates asynchronous on_status packets against Beckn message schemas.

Maintains accurate custody state across multi-segment provider handoffs.

Detects SLA breach events and flags unacknowledged callbacks.

Exports unified tracking timelines for downstream buyer platform integration.

```json [ { "input": { "consign_id": "PKG-301", "current_segment": "LINE_HAUL", "provider_id": "BPP-FREIGHT-12", "event": { "status": "REACHED_HUB", "hub_code": "HUB-DEL-02", "timestamp": "2026-04-12T14:00:00Z" } }, "expected_output": { "consignment_status": "IN_TRANSIT", "next_provider": "BPP-LASTMILE-04", "sla_breached": false, "next_action": "TRIGGER_LAST_MILE_PICKUP" } }, { "input": { "consign_id": "PKG-302", "current_segment": "FIRST_MILE", "provider_id": "BPP-LOCAL-01", "event": { "status": "PICKUP_FAILED", "reason": "MERCHANT_STORE_CLOSED", "timestamp": "2026-04-12T19:30:00Z" } }, "expected_output": { "consignment_status": "EXCEPTION_RAISED", "next_provider": null, "sla_breached": true, "next_action": "RESCHEDULE_FIRST_MILE_MORNING" } } ] ```

Coordinates simulated parcel identifiers and mock logistics hubs; no real transport resources are dispatched. Use mock external writes. Require human review before any real deployment.

Rules

Coordinates simulated parcel identifiers and mock logistics hubs; no real transport resources are dispatched. Use mock external writes and human review.

How work is evaluated

Evaluation

Validates asynchronous on_status packets against Beckn message schemas. Maintains accurate custody state across multi-segment provider handoffs. Detects SLA breach events and flags unacknowledged callbacks. Exports unified tracking timelines for downstream buyer platform integration.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Public datasets, plus the private datasets you have access to.

How submissions are scored

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

Complete workflow

Ingest mock Beckn on_init quotes for multi-segment parcel transport. Simulate parcel handoffs between first-mile, line-haul, and last-mile service providers. Receive and validate asynchronous Beckn on_status callback packets. Identify transit delays and generate rerouting advice for stalled consignments.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 2

Correctness and evidence

Validates asynchronous on_status packets against Beckn message schemas. Maintains accurate custody state across multi-segment provider handoffs. Detects SLA breach events and flags unacknowledged callbacks. Exports unified tracking timelines for downstream buyer platform integration.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 3

Review interface

Multi-hop consignment map tracking package custody, segment SLAs, and exception alerts.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 4

Safe execution

Coordinates simulated parcel identifiers and mock logistics hubs; no real transport resources are dispatched.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

  • Ingest mock Beckn on_init quotes for multi-segment parcel transport.

  • Simulate parcel handoffs between first-mile, line-haul, and last-mile service providers.

  • Receive and validate asynchronous Beckn on_status callback packets.

  • Identify transit delays and generate rerouting advice for stalled consignments.

Resources

Dataset notes

Generate synthetic Beckn on_status callback fixtures representing varying multi-hop delivery states. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Challenge input

Input details are not configured.

Mastra AI

TypeScript agent framework.

Evaluated output

No output checks are configured.

Evaluation checks
  • Ingest mock Beckn on_init quotes for multi-segment parcel transport. Simulate parcel handoffs between first...
  • Validates asynchronous on_status packets against Beckn message schemas. Maintains accurate custody state ac...
  • Multi-hop consignment map tracking package custody, segment SLAs, and exception alerts.
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 2 configured tools

Shows the first task, up to three tools, and up to three evidence items.

View technical recipe

Configured tools

Action Space
  • Mastra AI · Optional
Orchestration
  • Mastra AI · Optional

Evaluation contract

  • Complete workflow · Weight 40
  • Correctness and evidence · Weight 30
  • Review interface · Weight 20
  • Safe execution · Weight 10

Reference cases

  • 2 public reference cases

Workflow tasks

No workflow tasks are configured.

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Build a Mock Logistics Service Coordination and Status Engine