Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ADR 26005: Formalization of Aider as the Primary Agentic Orchestrator

Title

Standardizing AI-assisted development and automation using the aider orchestration framework in a Hybrid Architect-Editor configuration.

Status

Proposed

Date

2026-01-14

Context

Our environment requires high-integrity CI/CD and automation while operating on bare-metal systems with limited VRAM (Fedora/Debian stack). We face a critical “Switching Moment” bottleneck where local 14B models (e.g., qwen2.5-coder) suffer from context overload and GPU crashes when inheriting full conversational histories from high-reasoning cloud models. Furthermore, we must adhere to:

Decision

We will adopt aider as our primary agentic tool, implemented through a Two-Pass Hybrid Bridge to maintain architectural integrity and resource efficiency.

  1. Hybrid Configuration: We will utilize a Cloud Architect (e.g., Gemini 3 Flash) for high-reasoning planning and a Local Editor (e.g., Qwen2.5-Coder 14B) for code implementation.

  2. State Isolation (The Bridge Pattern): To prevent VRAM crashes, the Architect and Editor phases will be decoupled. The Architect will generate a standalone artifacts/plan.md file, and the Editor will be initialized with a clean context to apply only that plan.

  3. OOP Python Wrapper: Following ADR 26001, we will not use raw Shell scripts for complex aider workflows. Instead, we will use the aider Python API (aider.coders) to build testable, class-based orchestrators (e.g., an aidx utility).

  4. Workflow Enforcement: Aider’s execution will be gated by pre-commit hooks and gitlint to ensure all generated code and commits meet Tier 3 standards.

Consequences

Positive

Negative

Alternatives

References

Participants

  1. Vadim Rudakov

  2. Senior DevOps Systems Architect (Gemini 3 Flash)