freshcrate
Home > MCP Servers > ai-orchestrator

ai-orchestrator

Portable multi-agent AI developer setup for Claude Code + Ollama. Role-based local LLM orchestration via Bash โ€” plan, code, review, commit. Zero Dependency. Works with any language stack.

Description

Portable multi-agent AI developer setup for Claude Code + Ollama. Role-based local LLM orchestration via Bash โ€” plan, code, review, commit. Zero Dependency. Works with any language stack.

README

ai-orchestrator

CI License: MIT

README ยท Architecture ยท Agents ยท Skills & Commands ยท Plugins


Portable AI developer setup: Claude plans, local Ollama executes.

Works with any project: TypeScript, Python, Flutter, Swift, C++. All orchestration is pure Bash and jq.

ai-orchestrator pipeline

How it works

/implement triggers a multi-layer smart pipeline:

Layer 0  TRIAGE      โ†’ detects domain, chooses route
Layer 1  PLAN        โ†’ planner + pre-review (approach approval)
Layer 2  CODE        โ†’ coder (Ollama) + build check
Layer 3  GATE        โ†’ fast review โ†’ deep review (if needed)
Layer 4  FIX LOOP    โ†’ error-coordinator, max 3 rounds
Layer 5  FINALIZE    โ†’ token savings tracked

Triage auto-detects the task domain (api, docker, security, database, testing, etc.) and loads the right plugins, agents, and standards โ€” no manual configuration needed.

For focused tasks (optimize Dockerfile, run security audit, generate tests) triage routes directly to the matching plugin, skipping the planner and saving tokens. For composite tasks it runs the full pipeline with domain expertise pre-loaded.

Claude orchestrates and plans. A local Ollama model writes and reviews the code. Details: Architecture ยท Agents

/implement Add JWT authentication to the REST API
/implement Optimize the Dockerfile with multi-stage build
/implement Refactor the user service to reduce complexity
/implement Fix this crash: TypeError cannot read property of undefined
/implement Generate tests for the payment module

The pipeline detects the domain, loads the right expertise, and runs automatically.

Requirements

  • Claude Code CLI
  • Ollama installed and running
  • jq (install.sh installs it automatically)

Installation

Quick Install (curl)

curl -sSL https://raw.githubusercontent.com/Mybono/ai-orchestrator/main/scripts/install.sh | bash

Manual Installation (Git)

git clone https://github.com/Mybono/ai-orchestrator ~/Projects/ai-orchestrator
cd ~/Projects/ai-orchestrator
./scripts/install.sh

Both methods run scripts/install.sh automatically to configure your local system (creating symlinks in ~/.claude/ and configuring Ollama models for your hardware).

Configuration

Model routing is controlled by llm-config.json in the repo root:

{
  "models": {
    "coder":        "hf.co/bartowski/Qwen2.5-Coder-14B-Instruct-GGUF:IQ4_XS",
    "reviewer":     "qwen2.5-coder:7b",
    "pre-reviewer": "qwen2.5-coder:7b",
    "debugger":     "qwen2.5-coder:7b",
    "devops":       "qwen2.5-coder:7b",
    "quick-coder":  "qwen2.5-coder:7b",
    "commit":       "qwen2.5-coder:7b",
    "triage":       "llama3.1:8b",
    "embedding":    "mxbai-embed-large"
  }
}

Changing a model name takes effect immediately without restarting anything. See Architecture โ†’ Model Configuration for details.

Commands

Command What it does
/implement Full plan โ†’ code โ†’ build โ†’ review pipeline
/review Check current changes against language standards
/stats Show token savings (day, week, month, or all-time)
/debug Trace root cause of an error

All commands and agents: Skills & Commands ยท Agents ยท Plugins

Plugins

Domain-specific extensions that add slash commands to the orchestrator. Each plugin in plugins/ handles a specific area โ€” accessibility, database work, Docker, Kubernetes, testing, security, and more.

Plugin What it adds
qa-tools Generate tests, analyze failures, fix PR comments
security-guidance Security audit and vulnerability fixes
api-architect REST API design and OpenAPI spec generation
database-tools Schema design, query optimization, ERD generation
release-manager Version bumps, releases, changelog updates

Full list with trigger keywords and paired agents: Plugins

Scripts

install.sh adds shell aliases for these commands automatically:

local-commit              # stage all changes, generate a commit message via Ollama, confirm and commit
open-pr                   # generate a PR title and description via Ollama, optionally create it via gh
stats [day|week|month]    # show token savings summary

Token savings

The orchestrator tracks every Ollama call. View estimated savings vs Claude Sonnet pricing:

/stats week
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
 ai-orchestrator savings
 Period: this week
 Runs: 12
 Tokens saved: ~186k
 Estimated saving: $7.20
 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

Project onboarding

To apply orchestration rules in any project:

cp ~/.claude/ai_rules.md ~/Projects/your-project/ai_rules.md

Compatible with .cursorrules and .clauderules.

Updating

cd ~/Projects/ai-orchestrator && git pull

Changes apply immediately via symlinks, so you do not need to reinstall.


README ยท Architecture ยท Agents ยท Skills & Commands ยท Plugins# Testing shellcheck

Release History

VersionChangesUrgencyDate
v1.0.17 ## What's Changed - **Orchestrator**: Implemented file writing for generated code. - **Scripts/Open-PR.sh**: Updated to handle null responses from Ollama. - **Doc-Writer**: Updated markdown linting rules and fixes. - **UI**: Refactored layout for improved usability. ## Bug Fixes - Fixed an issue with script execution in project root configuration. - Addressed a bug in handling null responses from external services in the open PR script.High4/19/2026
v1.0.15 ### What's Changed - **Token Tracking Update**: Claude token tracking has been updated to reflect real counts with fallback mechanisms. - **PR Label Automation**: Automatically add PR labels based on commit prefixes. ### Bug Fixes - None noted. ### Breaking Changes - None noted.High4/10/2026
v1.0.4 **What's Changed** - Bumped version to 1.0.4 (chore) **Bug Fixes** - None **Enhancements** - Synced changelog after merge (chore) - Integrate AI Orchestrator for Enhanced Project Management (#19)High4/8/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

Agent-ReachEquip AI agents with internet access to gather real-time data from restricted or hard-to-reach online sources.main@2026-04-21
agentic-chatops3-tier agentic ChatOps (n8n + GPT-4o + Claude Code) implementing all 21 patterns from "Agentic Design Patterns" โ€” solo operator managing 137 devicesmain@2026-04-20
supersetCode Editor for the AI Agents Era - Run an army of Claude Code, Codex, etc. on your machinedesktop-v1.5.6
claude-code-statuslineโšก Real-time token, context & agent dashboard for Claude Code โ€” zero polling, pure stdinv1.1.0
wp-ux-design-claude-skill๐Ÿ›  Enhance WordPress UX with skillful design practices focused on Core Web Vitals, mobile-first design, and seamless navigation.main@2026-04-21