iiRecord
Agentic AI Atlas · GAP-PAR-006: Streaming Parallelism
page:docs-harness-features-backlog-gaps-parallelization-gap-par-006a5c.ai
II.
Page reference

page:docs-harness-features-backlog-gaps-parallelization-gap-par-006

Reading · 1 min

GAP-PAR-006: Streaming Parallelism reference

Enable overlapped execution where model output streams while tools execute, reducing total iteration time by overlapping I/O-bound and compute-bound phases.

Pagewiki/docs/harness-features-backlog/gaps/parallelization/GAP-PAR-006.mdOutgoing · 0Incoming · 1

GAP-PAR-006: Streaming Parallelism

FieldValue
Categoryparallelization
PriorityMedium
EffortM
StatusPartial

Description

Enable overlapped execution where model output streams while tools execute, reducing total iteration time by overlapping I/O-bound and compute-bound phases.

Current State

invokeHarness() waits for completion. Pi subscribe() enables event streaming but not overlapped execution. Each phase (prompt, execute, respond) runs sequentially.

Target State

Tool execution overlaps with result streaming. Model can begin processing results while remaining tools complete. Pipeline parallelism between orchestration phases.

Dependencies

Key Files

ComponentPath
Harness invokerpackages/sdk/src/harness/invoker.ts
Pi session wrapperpackages/sdk/src/harness/piWrapper.ts

Recommendation

Phase 3 implementation. Enable pipeline parallelism between execution phases. Leverage Pi event streaming for overlapped processing.