Skip to content

Spike: soak testing approaches for multi-agent fleet stability #856

Closed

Description

@vybe

Summary

Research and prototype soak testing approaches for multi-agent Trinity fleets. The goal is to define a set of scripted interaction scenarios (e.g. one orchestrator agent driving several worker agents over extended periods) that expose stability issues — context window exhaustion, capacity saturation, token waste from blind retries — before they surface in production.

Context

Raised in the Intelligence Design Weekly meeting (2026-05-15). The current health picture comes from manual monitoring (DevOps agent watching logs + db) and the 5-min canary invariant checks. What's missing is sustained, scenario-driven load that mirrors real usage: an orchestrator agent receiving large responses from multiple workers, hitting context limits, retrying, and exhausting tokens.

Concrete example from the discussion: PolyMarket agent talks to 3 Oracle agents. After 20 minutes of execution the orchestrator can no longer handle the aggregated response — retries 3x, exhausts all tokens, spends 2 hours on a failed task. A soak test would catch this class of failure early.

This spike should produce a technical document (filed as a comment on this issue) covering approach, tooling, and a proposed set of initial scenarios — not a full implementation. Eugene wants to extend the DevOps agent monitoring approach rather than build a separate harness.

Acceptance Criteria

  • Document 3–5 concrete soak test scenarios mapped to known failure modes (context exhaustion, retry storms, capacity saturation)
  • Assess whether scenarios can run against the existing canary fleet on the dev instance, or require a dedicated fixture fleet
  • Identify the relationship to the canary invariant harness (CANARY-001) — which checks are additive as new invariants vs. which need a separate soak runner
  • Evaluate resource correlation: agent container CPU/memory spike vs. context size — determine if this can be measured from existing Vector logs or needs new instrumentation
  • Propose a standardized scenario file format (e.g. YAML) that can grow over time as new failure patterns are discovered
  • Deliver a short recommendation: extend the DevOps agent monitoring loop, add invariants to the canary, or build a dedicated soak harness

Technical Notes

Activity

  1. added
    priority-p2
    type-feature
    on May 15, 2026
  2. added
    theme-reliability
    on Jun 3, 2026
  3. added
    complexity-medium
    status-incubating
    on Jun 12, 2026
  4. vybe commented on Jul 3, 2026

    @vybe
    ContributorAuthor

    Incubation triage 2026-07-03: closing — superseded by the shipped canary invariant harness (CANARY-001: 10 invariants + synthetic canary fleet load generators) which covers the continuous-soak role this spike was scoping. Pull-coordination (#1081) soak needs will be scoped inside that epic against the canary fleet.

  5. removed
    status-incubating
    on Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

complexity-mediumpriority-p2theme-reliabilitytype-feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions