Git-Native Orchestrator: My Hybrid Local/Cloud Agent Pipeline
thinking-out-loud-3 · reddit · 2026-08-27
The author shares their engineering journey building a Git-native orchestrator to manage a backlog of agent tasks:
- Origin: Manual management of multiple Claude sessions became inefficient and prone to conflicts as feature requests piled up.
- Core Architecture: Uses Markdown files as tickets defining a pipeline: Analyze -> Implement -> Review.
- Hybrid Strategy: Routes analysis/review to strong cloud models (Claude) and implementation to faster/cheaper local models via Ollama + Aider to cut costs and avoid rate limits.
- Concurrency & Isolation: Implements Git Worktrees so each ticket runs in an isolated environment, preventing file corruption and merge conflicts.
- Smart Scheduling: Supports parallel pooled execution across multiple accounts (Claude/Codex/Agy). Uses a "touches" declaration to prevent overlapping ticket execution.
- Resilience & Memory: Features Auto-resume for interrupted tasks, Auto-fix based on review findings, and Persistent Notes (global gotchas file) to share context across agents.
- Visibility: Includes a TUI to monitor agents in real-time.
The system enables unattended, overnight batch code generation and deployment.
More from coding & agent
- Developer runs self-built Pokémon Emerald on original Game Boy Advance hardware — IanArawjo · 2026-08-27
- MARS: Multi-Specialist LLM Relay System Boosts Competitive Programming Pass Rates — Andrei Mikhailov · 2026-08-27
- Today's agents only think when pinged: a case for dissonance-driven cognitive initiative — GlenBradley · 2026-08-27
- Agent Architecture Recap: CoS Coordinating 20+ Agents and High-Volume PR Workflows — RachelVT42 · 2026-08-27
- Microsoft and Google's WebMCP standard adds agent buttons to websites — HankYeomans · 2026-08-27
- Offload Claude Code tasks to local Qwen model via MCP — CodeSlave9000 · 2026-08-27