Skip to content

feat(ai): sub-agent local offloading engine & agent harness slots #53

Closed

Description

@dan-petty

Problem or Motivation

Multi-agent exploration and static AST symbol search consume massive token budgets when routed exclusively to frontier reasoning models. A modular harness architecture is needed to partition agent execution and offload token-heavy sub-agent tasks to local open-weight models.

Proposed Solution & Architectural Design

  • Implement modular Harness Slots (ModelSlot, SkillSlot, ToolSlot, SubAgentSlot) in devops_cli.ai.harness.slots.
  • Enable dynamic sub-agent offloading for AST mapping, file system exploration, and symbol lookups to local Ollama open models (Granite, Qwen2.5-Coder).
  • Follow the "Big decides, small types, big checks" synthesis protocol to achieve 85%+ token savings while retaining high-precision frontier oversight.
  • Add unit tests verifying slot lifecycles, failure isolation, and context handover.

Standards Compliance

  • Strictly enforce cyclomatic complexity <= 10 and nesting depth <= 5.
  • Zero bare exceptions; raise strongly typed DevOpsCLIError.
  • Maintain >= 90% test coverage.

Activity

  1. added this to the v0.2.13 milestone on Sep 7, 2026
  2. added
    type/feature
    scope/ai
    priority/p0-critical
    on Sep 7, 2026
  3. dan-petty commented on Sep 7, 2026

    @dan-petty
    OwnerAuthor

    Completed and verified via PR #60.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p0-criticalscope/aitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions