coru.dev ยท official home of the Koru OSS library
Open-source closed-loop refactor orchestration
pip install koru
koru auto
Closed-loop refactor on your repo
Python package on PyPI that coordinates LLM-augmented refactor tools with ticket-driven workflow
and regression-free verification across multi-repo workspaces.
Detect โ Plan โ Execute โ Verify โ Heal โ Learn โ Repeat
Transform how teams approach large-scale code modernization with intelligent, auditable automation.
Detect issues โ plan fixes โ execute changes โ verify safety โ heal failures โ repeat
Structured, auditable refactor pipelines with zero-trust policy gates
Multi-tier validation (unit tests, integration tests, semantic analysis)
Coordinate multiple AI agents (Windsurf, Cursor, Claude Code, aider, OpenRouter)
Capabilities shipped in the open-source library โ discovery, ticketed execution, IDE automation, verification, and fleet-scale rollout from one CLI.
Broad codebase analysis that turns signals into concrete planfile tickets
Planfile-first execution so every change is scoped, auditable, and resumable
Cursor, VS Code, Windsurf, and plugin-driven hands-off refactor loops
Post-run checks, runtime probes, and recovery paths that keep regressions visible
One workflow across matching repositories, from local repair to fleet-wide rollout
JSONL event logs, planfile handoffs, and machine-readable history for every run
20+ integrated tools for the complete refactor automation pipeline
Ticket backlog & execution gateway
Python regression metrics & tracking
Duplicate detection & deduplication
Declarative HTTP scenario tests
Real-time service dependency health
Multi-tier semantic patch validator
OpenRouter-powered auto-refactor
Proactive LLM-aware linter
Zero-config AI cost per commit
Two commands to install and run Koru on your repo. For wizard, queue mode, scan passes, and other workflows, see the README and CLI examples.
pip install koru
koru auto
Install from PyPI and run the closed loop on your workspace โ see Quick Start for the exact commands.
Koru (github.com/semcod/koru) is the maintained OSS project behind this site โ not a separate commercial product. Install from PyPI, read the docs on GitHub, and contribute under Apache-2.0.
Base CLI with planfile queue, scan, and autopilot protocol. Optional extras cover API, agent, and dev workflows.
Install from PyPI, then run the closed loop on your repo โ workspace setup, scan, and ticket execution in one flow. See Quick Start for the two-command sequence.
README ยท docs/ ยท PyPI releases
Validated on semcod monorepos, sample demo workspaces, and other multi-repo setups.