Cortivex
AhmedRaoofuddin · AhmedRaoofuddin/Cortivex
Enables Claude Code agents to orchestrate complex pipelines with self-learning, mesh coordination, and robust reasoning protocols, providing 15 production-grade skills.
AI agent pipeline orchestration for Claude Code. Deploy specialized agents in coordinated pipelines with self-learning capabilities, mesh coordination, Raft consensus, CRDT knowledge graphs, and pipeline debugging. 15 production-grade skills with reasoning protocols, 20+ agent types, 15 ready-to-run templates. Zero infrastructure.
Preview
What you can do with it
- Deploy a coordinated team of AI agents for a multi-step development project.
- Build self-learning agent pipelines that debug and improve their own code.
- Orchestrate agents with advanced reasoning to handle complex decisions in an application.
Safety check
Usable, but read the notes first.
- ●npm package runs a script automatically on install.
package.json - ●No clear license: check with the author before using it in a commercial product.
Automated scan of the repo files. Always review code you run.
From the README
Cortivex: AI Agent Pipeline Orchestration
Production-grade AI agent orchestration with OWASP AST10-aligned security hardening, self-learning pipelines, zero-infrastructure mesh coordination, and 17 MCP tools across 15 deeply-written skills.
Why Cortivex · Getting Started · Skills · How It Works · Templates · Dashboard · Security
Why Cortivex
Most Claude Code skills tell agents what to do. Cortivex teaches agents how to think.
Why the name? Cortivex combines "cortex" (the thinking layer of the brain) and "vex" (the mesh that connects agents together). The cortex reasons. The vex coordinates. Together, they form an orchestration system where agents don't just execute instructions, they reason through decisions, avoid known mistakes, and handle ambiguity without human intervention.
Every skill in this library is a 450-1,200 line operational manual. Not a thin wrapper. Not a checklist. Each one includes reasoning protocols that force step-by-step thinking before action, anti-pattern tables with WRONG/RIGHT code examples showing exactly what fails and why, grounding rules for when the situation is uncertain, and Advanced Capabilities sections with production-grade MCP tool examples, YAML configurations, and JSON schemas. Every skill also includes a Security Hardening section aligned to the OWASP AST10 framework, covering permission manifests, audit trails, tamper detection, execution sandboxing, and data classification. Each skill is built in three layers: reasoning protocols that teach the agent how to approach decisions, advanced capabilities with production integrations, and security hardening that scopes permissions and audits actions during autonomous execution. The result is measurably better and demonstrably safer agent output.
Underneath, 15 production-grade skills power a complete multi-agent orchestration system: DAG-based pipelines that decompose complex tasks into parallel agent workflows, a filesystem-based mesh protocol that prevents agents from overwriting each other's work, a leader election protocol defined in skills and simulated in the dashboard for visualization, shared knowledge graphs with content-hash deduplication that prevent duplicate analysis across agents, and a self-learning engine that records execution metrics and applies confidence-scored optimizations automatically.
New to Cortivex? You don't need to learn 15 skills or memorize CLI commands. After running
cortivex install-skills, just use Claude Code normally. Ask it to "review my PR" and the pipeline skill activates automatically, selects the right template, builds the agent DAG, and executes it. The skills work in the background. You interact with natural language, Cortivex handles the orchestration.
Getting Started
# Install globally
npm install -g cortivex
# Or install directly from GitHub
npm install -g github:AhmedRaoofuddin/Cortivex
# Install Claude Code skills into your project
cortivex install-skills
Once installed, skills activate automatically in Claude Code based on context. You don't need to memorize commands or configure anything. Just describe what you want in natural language and Cortivex handles the orchestration behind the scenes.
# Initialize in your project
cd your-project
cortivex init
# Run a built-in pipeline
cortivex run pr-review
# Create a custom pipeline
cortivex create security-fix --description "find security issues and fix them"
# Preview cost before executing
cortivex run security-fix --dry-run
# Execute with real-time output
cortivex run security-fix --verbose
You can also use Cortivex directly through slash commands inside Claude Code:
/cortivex run pr-review
/cortivex create "migrate src/ to TypeScript"
/cortivex list --templates
/cortivex status
How It Works
Cortivex is a comprehensive AI agent orchestration system that transforms Claude Code into a multi-agent development platform. It enables teams to deploy, coordinate, and optimize specialized AI agents working together on complex software engineering tasks.
Claude Code: With vs Without Cortivex
Capability Claude Code Alone Claude Code + Cortivex Agent Collaboration Agents work in isolation, no shared context Agents coordinate via mesh protocol with shared knowledge graphs Coordination Manual orchestration between tasks DAG-based pipelines with automatic parallel execution File Conflicts Agents overwrite each other's work Mesh protocol with claim/release, deadlock detection, 5 resolution strategies Consensus No multi-agent decisions Leader election protocol in skills, visualized in dashboard Knowledge Sharing Each agent starts from scratch Shared knowledge graphs with content-hash deduplication and cross-agent synthesis Learning Static behavior, no adaptation Confidence-scored insights with automatic optimization (34% faster after 50 runs) Complex Tasks Manual breakdown required Automatic decomposition with dependency ordering and cost estimation Debugging No pipeline visibility Step-through debugging with breakpoints, replay, and execution traces Context Limits Agents hit token limits and degrade Context compression preserves actionable information across handoffs Cross-Repo Single project scope Global insight transfer with technology fingerprinting Security No skill-level security controls OWASP AST10-aligned hardening: permission manifests, audit trails, tamper detection, execution sandboxing, PII filtering
Self-Learning Agent Architecture
User → Cortivex (CLI/MCP) → Task Decomposer → Pipeline Engine → Agents → Repository
↑ ↓