Outsourcerer

Outsourcerer is an open-source delegation primitive and orchestration plugin developed by alexgreensh for terminal-based AI workflows and Claude Code. It functions as an orchestrator that enables a primary coordinating agent to offload sub-tasks, grunt work, and parallel coding routines to different model backends. In day-to-day operation, Outsourcerer exposes multiple execution "lanes" including OpenRouter (DeepSeek, GLM), native Claude, native Codex, keyless Gemini/Antigravity, and local endpoints via Ollama or LM Studio. When an orchestrator receives a task, Outsourcerer can spawn background sub-tasks with specified model and effort parameters, executing work inside isolated git worktrees to keep the primary working directory clean. What sets Outsourcerer apart from monolithic CLI agents is its focus on multi-provider cost reduction and security governance. It features explicit cloud-disclosure gates to ensure repository context does not leave the local environment without confirmation, avoids silent permission/sandbox downgrades, and tracks operational costs and daily quotas across all connected providers. Outsourcerer is an open-source project distributed via GitHub under active development (version 0.9.0+), providing a conformance test harness across all supported model lanes.

Tags: agent harness, ai agent, cli, coding agent, developer tools, OpenSource

Visit Outsourcerer

Key features

  • Multi-Lane LLM Delegation — Route tasks to various backends including OpenRouter (GLM, DeepSeek), native Codex, native Claude, keyless Gemini, and local Ollama or LM Studio endpoints. - Git Worktree Isolation — Isolate delegated agent tasks in separate git worktrees to prevent workspace conflicts and uncommitted file contamination. - Cloud-Disclosure Gates — Prevent repository content from leaving the local machine without explicit confirmation, hardened against secret leaks and shell injection. - Parallel Execution Fanout — Dispatch multiple background jobs simultaneously across distinct model providers from a single orchestrator session. - Fleet & Cost Tracking — Inspect active background lanes, monitor spend via a cost tab, and enforce per-model daily quota limits. - Availability-Aware Routing — Route requests dynamically based on lane health and conformance status to prevent silent task failures.

Use cases

Use Case: Offloading Repetitive Boilerplate to Lower-Cost Models A developer using Claude Code can orchestrate a feature refactor while delegating unit test generation and repetitive boilerplate implementation to cheaper models on OpenRouter (such as DeepSeek) or local Ollama instances.

Use Case: Offline and Air-Gapped Code Generation When working on sensitive codebases where cloud transmission is restricted, developers can route delegated coding sub-agents exclusively to local LM Studio or Ollama endpoints while relying on Outsourcerer's cloud-disclosure gate to prevent external network calls.

Use Case: Parallelized Task Fanout Engineers handling broad codebase migrations can spin up multiple delegated tasks simultaneously in isolated git worktrees, enabling parallel execution without race conditions across local files.

Who it is for

Outsourcerer is designed for developers and AI engineers who orchestrate complex workflows in Claude Code or terminal CLI environments and need granular control over cost, privacy, and model delegation. It is not intended for users seeking a turn-key graphical IDE extension or a standalone single-model chatbot.

Install guide

Installation Install Outsourcerer into your Claude Code environment or clone the repository directly for manual integration: bash # Clone the repository git clone https://github.com/alexgreensh/outsourcerer.git cd outsourcerer # Or install as a Claude Code plugin (if using the Claude Code plugin system) claude plugin add plugins/outsourcerer

First Run Configure your provider API keys in your environment before initiating runs: bash # Configure desired provider keys export OPENROUTER_API_KEY="your_openrouter_key" export ANTHROPIC_API_KEY="your_anthropic_key" # (Optional) Verify local Ollama or LM Studio endpoint availability curl http://localhost:11434/api/tags

Example Session Delegate a coding task to a specific background provider lane: bash # Run a background delegation task targeting OpenRouter/DeepSeek in an isolated worktree outsourcerer delegate --provider openrouter --model deepseek/deepseek-chat --task "Generate unit tests for src/auth/jwt.ts"

Part of CLI Coding Agents

Categories: AI Coding Agents, Code Assistants, Developer Tools

Related CLI agents

  • SWE-agent — SWE-agent is an open-source autonomous software engineering agent harness built and maintained by researchers from Princeton University and Stanford University.…
  • Agent Runbook — Agent Runbook is an open-source contract-based multi-agent skill framework developed by KnoxOps. It acts as an orchestrator and compiler that…
  • Weaver — Weaver is an open-source agent harness and orchestration framework maintained by sean35mm on GitHub. Built on top of the Bun…
  • Context Bridge — Context Bridge is an open-source CLI agent harness and context orchestration utility developed by serdardb. It is built to facilitate…
  • Hivelore — Hivelore is an open-source agent harness and contextual memory orchestrator created by Doucs91. It provides persistent project memory, decision tracking,…
  • Agentic Engineering Framework — Agentic Engineering Framework is an open-source orchestration harness and governance layer developed by Dimitri Geelen. It is designed to constrain,…
  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories