Skip to main content
Challenge

AI SDK Module Type Package Orchestrator with Replit Agent Integration

Module Type Package (MTP) standardization enables modular plug-and-produce automation, but dynamic state synchronization remains challenging. Build a TypeScript agent using Vercel AI SDK and Replit Agent workflow patterns to parse MTP manifest files and orchestrate unit execution states. Success is verified by achieving 100% deterministic MTP service state machine transitions without deadlocks.

EngineeringHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Develop an AI SDK streaming agent configured via Replit Agent tooling to dynamically parse MTP XML/JSON manifests and trigger process state machine transitions.

Delivery guide

How work is evaluated

Evaluation

Evaluates MTP manifest parsing and state transition command generation.

Datasets

Challenge datasets

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

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

valid_state_transitions

Ensures no prohibited jumps (e.g. IDLE directly to EXECUTE without STARTING).

Binary check

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

Dimension 2

transition_correctness

Accuracy of generated state sequence commands. • target: 1 • range: 0-1

Binary check

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

Learning goals

What you should walk away with

  • Parse MTP Service and OPC UA NodeID definitions using AI SDK structured object generation.

  • Utilize Replit Agent patterns to dynamically assemble workflow execution code.

  • Implement state machine validation for MTP Idle, Starting, Execute, and Completing states.

  • Stream live state machine progress back to process control dashboards.

Resources and assets

Reference links and supporting material

Dataset notes

JSON/XML representations of Modular Type Package (MTP) manifests for chemical reactor dosing and heating units.

Challenge setup

Evaluates MTP manifest parsing and state transition command generation.

Challenge input

JSON object with mtp_manifest and target_command

AI SDK

Required framework for building streaming TypeScript agents.

Replit Agent

Utilized for automated workflow code synthesis and tool assembly.

Evaluated output

JSON object with state_sequence, commanded_nodes, and success_flag

Evaluation checks
  • Ensures no prohibited jumps (e.g. IDLE directly to EXECUTE without STARTING).
  • Accuracy of generated state sequence commands. • target: 1 • range: 0-1
Configured evaluation evidence
  • Benchmark: MTPAutomationBench-2026
  • Transition Correctness target: 1
  • 1 public reference case
Configured runtime
  • JavaScript execution harness
  • javascript sandbox (unavailable on Versalist)

Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.

View technical recipe

Configured tools

Environment
  • Replit Agent · Required
Action Space
  • Replit Agent · Required
  • Vercel AI SDK · Optional
Orchestration
  • Vercel AI SDK · Optional

Evaluation contract

  • valid_state_transitions · Weight 1
  • transition_correctness · Weight 1

Metrics

  • transition_correctness · Target 1

Benchmarks

  • MTPAutomationBench-2026
  • general

Reference cases

  • 1 public reference case

Workflow tasks

  1. Task 1

    Input: JSON object with mtp_manifest and target_command

    Output: JSON object with state_sequence, commanded_nodes, and success_flag

    Execution harness: JavaScript

Evaluation tools

  • AI SDK · Agent Framework
  • Replit Agent · AI Engineering Tooling

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about AI SDK Module Type Package Orchestrator with Replit Agent Integration