cyberneticlibrary

Measure agent concurrency limits

trace-concurrency-capworkflowsetup L21
robotlearning123/open-dynamic-workflow
What it does

measure concurrency cap via stress probe

Best for

empirically validating the workflow runtime's true parallel capacity before launching production workloads

Inputs
  • · N (integer, default 30)
Outputs
  • · { N, ok, sample: results[0:6] }
Requires
  • · parallel() orchestrator
  • · agent() executor
  • · haiku model
Preconditions
  • · workflow runtime with parallel() + agent() + log()
  • · haiku model available
Failure modes
  • · agent null returns reduce ok count
  • · concurrency cap differs from expected min(16,cores-2)
Trust signals
  • · hardcoded expected cap formula min(16,cores-2)
  • · trivial agents minimize cost while exercising real scheduler