Function createArvoOrchestrator

Creates a new Arvo orchestrator instance with default components.

Factory function that constructs an orchestrator with standard execution engine and registry implementations. Validates that all machines share the same source identifier and have unique versions.

When no machines are provided

When machines have different source identifiers

When machines have duplicate versions

const orchestrator = createArvoOrchestrator({
memory: new SimpleMachineMemory(),
executionunits: 1,
machines: [userOnboardingMachine, paymentMachine]
});

// Process events
const result = await orchestrator.execute(event);