AI

Agent Orchestrator: Open-Source Framework for Parallel AI Coding Agents

Agent Orchestrator by ComposioHQ spawns parallel coding agents in isolated worktrees to autonomously handle CI fixes, merge conflicts, and code reviews.

Agent Orchestrator: Open-Source Framework for Parallel AI Coding Agents

The software development lifecycle generates a constant stream of repetitive but critical tasks: fixing CI failures, resolving merge conflicts, reviewing pull requests. These tasks consume developer time that could be spent on feature work, but they are also perfectly suited for automation. Agent Orchestrator by ComposioHQ takes this insight to its logical conclusion, offering an open-source framework that spawns parallel AI agents in isolated worktrees to handle these tasks autonomously.

What makes Agent Orchestrator distinctive is its parallel execution model. Instead of a single agent working through tasks sequentially, the orchestrator creates multiple agents operating simultaneously, each in its own isolated Git worktree. This means you can have one agent fixing a CI build failure while another resolves a merge conflict and a third reviews a PR – all with full codebase access and without any interference between them.

The project was notably built in just 8 days, an impressive feat that has drawn significant attention from the open-source community. Despite the rapid development timeline, Agent Orchestrator is a serious tool with a plugin architecture, production-ready features, and an active community contributing extensions.


How Does Agent Orchestrator Work?

Agent Orchestrator’s workflow is built around parallel execution in isolated environments.

graph TD
    A[Trigger Event\nCI Failure / PR / Merge Conflict] --> B[Orchestrator]
    B --> C[Create Worktree 1\nAgent: CI Fix]
    B --> D[Create Worktree 2\nAgent: Merge Conflict]
    B --> E[Create Worktree N\nAgent: Code Review]
    C --> F[Apply Fixes]
    D --> G[Resolve Conflicts]
    E --> H[Generate Review]
    F --> I[Orchestrator Collects Results]
    G --> I
    H --> I
    I --> J{Merge & Report}
    J --> K[Push to PR Branch]
    J --> L[Notify Team]

Each worktree is a full Git clone of the repository with its own branch and working directory. Agents operate independently, using tools defined in the plugin system to read files, execute commands, and make changes. The orchestrator monitors all agents, collects results, and manages the final merge process.

ComponentRoleExecution Context
OrchestratorManages agent lifecycle and result collectionMain process
CI Fix AgentDiagnoses and fixes CI/CD pipeline failuresIsolated worktree
Merge Resolution AgentResolves Git merge conflicts automaticallyIsolated worktree
Code Review AgentAnalyzes PRs and generates review commentsIsolated worktree
Branch ManagerCreates/merges branches and manages Git stateMain process

What Agents Does Agent Orchestrator Support?

The default agent suite covers the most common development automation scenarios, and the plugin system makes expansion straightforward.

Agent TypeDefault CapabilityCustomization
CI Fix AgentDiagnoses build failures, fixes config/test issuesAdd custom CI tools
Merge Conflict AgentResolves text and structured conflictsConflict resolution strategies
Code Review AgentAnalyzes diffs for bugs, style, and security issuesCustom review criteria
Custom Agent (via plugin)User-defined behaviorYAML-based agent definition

The orchestrator also supports agent chaining, where the output of one agent feeds into another. For example, after the CI Fix Agent resolves a build failure, the Code Review Agent can be triggered to verify the fix does not introduce new issues.


How Does the Plugin Architecture Work?

Agent Orchestrator’s plugin system is designed for extensibility. Teams can define custom tools, agents, and lifecycle hooks through simple YAML configuration files.

graph LR
    A[Plugin Definitions\nYAML Configuration] --> B[Plugin Loader]
    B --> C[Agent Plugins]
    B --> D[Tool Plugins]
    B --> E[Hook Plugins]
    C --> F[Orchestrator Runtime]
    D --> F
    E --> F
Plugin TypePurposeExample
Agent PluginDefine new agent behaviorSecurity scan agent
Tool PluginAdd new tool capabilitiesSlack notification tool
Hook PluginLifecycle callbacksPre-merge validation check

A typical agent plugin configuration looks like a YAML file defining the agent’s system prompt, available tools, execution constraints, and output format. This modular approach means teams can build their own specialized agents without modifying the orchestrator’s core code.


How Autonomous Is Agent Orchestrator?

Agent Orchestrator supports multiple autonomy levels, allowing teams to choose how much trust to place in automated changes.

Autonomy LevelApproval RequiredUse Case
Fully autonomousNoneTrivial fixes, dependency updates
Review requiredHuman reviews before mergeCode changes, structural modifications
Approval gateHuman approves each actionSensitive operations, production changes
Manual modeOrchestrator suggests, human executesLearning phase, new workflows

The default configuration typically uses review-required mode for code changes and fully autonomous mode for CI fixes and routine tasks. This graduated trust model allows teams to adopt Agent Orchestrator incrementally, starting with low-risk automation and expanding as confidence grows.


FAQ

What is Agent Orchestrator? Agent Orchestrator is an open-source framework by ComposioHQ that spawns multiple parallel AI coding agents in isolated Git worktrees. It autonomously handles CI/CD failure fixes, merge conflict resolutions, and code reviews by assigning specialized agents to work simultaneously on different aspects of a codebase without interference.

How does Agent Orchestrator work? When triggered, Agent Orchestrator creates isolated Git worktrees for parallel agent execution. Each agent operates with full codebase access in its own sandbox. Agents communicate through a structured feedback loop, and the orchestrator merges results back to the main branch. It can push fixes directly to PR branches, creating a seamless autonomous development pipeline.

What types of agents does Agent Orchestrator support? Agent Orchestrator supports any agent that can interact with a codebase and tools. The default stack includes specialized agents for CI/CD fix resolution, merge conflict resolution, automated code review, and branch management. The plugin architecture allows teams to add custom agents for specific tasks like security scanning, dependency updates, or performance optimization.

What is Agent Orchestrator’s plugin architecture? The plugin architecture allows teams to extend Agent Orchestrator with custom tools and behaviors. There are three plugin types: Agents (custom AI agent definitions), Tools (custom tool integrations for agents), and Hooks (lifecycle callbacks triggered at specific pipeline stages). All plugins are defined through a simple YAML configuration.

Was Agent Orchestrator really built in 8 days? Yes, Agent Orchestrator was built in just 8 days and the team documented the entire process transparently. The rapid development was enabled by leveraging existing AI models, Composio’s tool infrastructure, and a focused scope. Despite the short build time, the project is production-ready with a healthy open-source community actively contributing plugins and improvements.


Further Reading

TAG
CATEGORIES