MCP Hub
Back to servers

@iflow-mcp/ahmedraoofuddin-cortivex

Validation Failed

AI agent pipeline orchestration with Claude Code skills, self-learning workflows, and zero-infrastructure coordination.

npm338/wk
Stars
12
Forks
1
Updated
Apr 17, 2026
Validated
Apr 26, 2026

Validation Error:

Process exited with code 1. stderr: node:internal/modules/esm/resolve:873 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@cortivex/core' imported from /home/runner/.npm/_npx/0cdb7183de242fee/node_modules/@iflow-mcp/ahmedraoofuddin-cortivex/packages/mcp-server/dist/tools/run.js at packageResolve (node:internal/modules/esm/resolve:873:9) at moduleResolve (node:internal/modules/esm/resolve:946:18) at defaultResolve (node:internal/modu

Quick Install

npx -y @iflow-mcp/ahmedraoofuddin-cortivex

Cortivex

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.

License TypeScript Node Skills Agents Templates OWASP

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

CapabilityClaude Code AloneClaude Code + Cortivex
Agent CollaborationAgents work in isolation, no shared contextAgents coordinate via mesh protocol with shared knowledge graphs
CoordinationManual orchestration between tasksDAG-based pipelines with automatic parallel execution
File ConflictsAgents overwrite each other's workMesh protocol with claim/release, deadlock detection, 5 resolution strategies
ConsensusNo multi-agent decisionsLeader election protocol in skills, visualized in dashboard
Knowledge SharingEach agent starts from scratchShared knowledge graphs with content-hash deduplication and cross-agent synthesis
LearningStatic behavior, no adaptationConfidence-scored insights with automatic optimization (34% faster after 50 runs)
Complex TasksManual breakdown requiredAutomatic decomposition with dependency ordering and cost estimation
DebuggingNo pipeline visibilityStep-through debugging with breakpoints, replay, and execution traces
Context LimitsAgents hit token limits and degradeContext compression preserves actionable information across handoffs
Cross-RepoSingle project scopeGlobal insight transfer with technology fingerprinting
SecurityNo skill-level security controlsOWASP 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
                                                     ↑                ↓
                                                     |           Knowledge Graph
                                              Mesh Coordinator   (shared findings)
                                             (file ownership)         ↓
                                                     ↑                |
                                                     └── Learning Engine ←──┘
                                                     (records metrics, applies optimizations)
Expanded Architecture · Full system diagram with all coordination layers
LayerComponentRole
InterfaceCLI / MCP ServerReceives user requests, exposes tools to Claude Code
PlanningTask DecomposerBreaks requests into atomic tasks with dependencies and priorities
ExecutionPipeline EngineRuns agent DAGs with parallel execution and retry policies
CoordinationMesh ProtocolFile ownership, conflict resolution, deadlock detection
IntelligenceKnowledge GraphShared knowledge graphs across agents with deduplication
ConsensusLeader ElectionSkill-defined protocol, simulated in dashboard for visualization
DebuggingPipeline DebuggerBreakpoints, step-through, replay, execution traces
OptimizationContext CompressorPreserves actionable information across agent handoffs
MonitoringDrift DetectorTracks architecture, config, coverage, and doc drift
LearningInsight EngineRecords metrics, detects patterns, applies optimizations
SecurityAST10 ControlsPermission manifests, tamper detection, audit trails, execution sandboxing

Every pipeline is a directed acyclic graph (DAG) where each node is a specialized AI agent. Nodes with satisfied dependencies run in parallel automatically. A five-node PR review completes in under three minutes at a cost of roughly five cents.

What makes this architecture different is the feedback loop. Every pipeline run feeds the learning system. After several runs on the same repository, Cortivex starts applying optimizations automatically: reordering nodes for speed, substituting cheaper models where quality is equivalent, skipping nodes that consistently find nothing, and inserting nodes that prevent downstream failures.

Self-Learning Pipeline Optimization

Insights start as hypotheses with low confidence. As the pattern holds across runs, confidence rises. At 0.80+, insights apply automatically. Contradicting evidence decays confidence. Below 0.20, the insight is archived.

After 50 runs on a typical repository, pipelines are 34% faster, 40% cheaper, and have a 6-point higher success rate compared to the first run. These numbers come from the confidence-scored insight system tracking every optimization it applies.

Zero-Infrastructure Mesh Coordination

When multiple agents work on the same repository, they need to coordinate file access. Cortivex solves this without servers or databases. The mesh protocol uses the filesystem itself:

  1. Before modifying any file, an agent checks ownership through the mesh
  2. If available, the agent claims the file with a TTL (time-to-live)
  3. The agent does its work
  4. The agent releases the file immediately after, even on failure

This protocol is injected into every spawned agent's system prompt. Agents that violate it (skipping the check, forgetting to release) are caught by the MeshResolver, which runs continuous deadlock detection and supports five conflict resolution strategies.

Leader Election for Multi-Node Clusters

The cortivex-consensus skill defines a leader election protocol with terms, quorum, heartbeats, and failover semantics. The dashboard visualizes this protocol via the SwarmSimulator, which broadcasts election events over WebSocket for real-time monitoring. Runtime implementation of distributed consensus is planned for a future release.

Shared Knowledge Graphs

When multiple analysis agents scan the same codebase, they independently discover the same findings. The KnowledgeCurator node maintains a shared knowledge graph with content-hash deduplication. Any agent can add knowledge at any time. Duplicate findings are automatically merged, and downstream agents skip files that have already been analyzed.


Skills

Cortivex ships 15 Claude Code skills organized into three tiers. Each skill is a self-contained operational manual averaging 900+ lines of structured guidance, 13,500+ lines total across all skills. Unlike typical skills that provide simple instruction lists, every Cortivex skill includes reasoning protocols (step-by-step decision frameworks), anti-pattern tables (common mistakes with WRONG/RIGHT examples), grounding rules (what to do when the situation is uncertain), and Advanced Capabilities sections with MCP tool examples, YAML configurations, and JSON schemas for production-grade integrations.

Core Pipeline Skills

These five skills form the foundation. They handle the tasks most developers use daily: pipeline creation, agent selection, task decomposition, template management, and self-learning.

SkillPurpose
cortivex-pipelineBuild and run AI agent pipelines that decompose complex tasks into coordinated agent workflows. The foundation skill that powers /cortivex run and /cortivex create commands. Defines the full pipeline lifecycle from YAML definition through validation, planning, execution, result collection, and learning. Advanced Capabilities: DAG optimization, dynamic pipeline generation, pipeline composition, parallel execution strategies, and versioning with rollback. 812 lines.
cortivex-nodesComplete reference for all 20+ agent node types with configurations, model recommendations, cost baselines, and usage guidance. Includes a decision tree for selecting the right node type and explains when to use Sonnet (deep reasoning) versus Haiku (mechanical tasks at 10x lower cost). Advanced Capabilities: custom node creation, performance profiling, auto-scaling configurations, node chaining patterns, and cost-optimized model selection. 1,308 lines.
cortivex-templatesReference for 15 built-in pipeline templates covering PR review, security audit, test generation, TypeScript migration, documentation, and more. Each template lists its nodes, estimated cost, and estimated duration. Advanced Capabilities: template inheritance and composition, parameterized variables, validation and linting, version-controlled management, and dynamic template generation. 580 lines.
cortivex-task-decompositionBreaks complex requests into atomic tasks with dependency ordering, priority assignment (1-10), and cost estimation. Produces a task queue that feeds directly into the SwarmCoordinator or pipeline DAG. Advanced Capabilities: recursive decomposition strategies, constraint propagation, adaptive granularity control, dependency graph optimization, and priority-weighted scheduling. 955 lines.
cortivex-learnSelf-learning system that records execution metrics, detects optimization patterns, and applies high-confidence insights automatically. Supports six insight types: reorder, substitute_model, skip_node, add_node, adjust_config, and adjust_timeout. Pipelines get measurably better over time. Advanced Capabilities: reinforcement learning integration, A/B testing pipelines, model performance tracking, adaptive optimization strategies, and confidence calibration. 795 lines.

Coordination Skills

These five skills run silently in the background so agents don't step on each other. They handle file coordination, conflict resolution, agent orchestration, leader election, and shared knowledge.

SkillPurpose
cortivex-meshFilesystem-based mesh protocol for multi-agent file coordination. Injected into every spawned agent. Defines the mandatory check-claim-work-release protocol with TTL expiration, conflict escalation, bulk operations, and directory-level claims. Advanced Capabilities: distributed file locking, mesh topology optimization, partition tolerance and recovery, TTL-based resource management, and mesh health monitoring. 1,055 lines.
cortivex-mesh-coordinationAdvanced conflict resolution with MeshResolver nodes. Supports five strategies: priority-based, first-claim, preemption, file partitioning, and serialized access. Includes continuous deadlock detection and pre-allocation of file ownership. Advanced Capabilities: multi-strategy conflict resolution, distributed transaction coordination, deadlock auto-recovery, coordination protocol selection, and failover patterns. 851 lines.
cortivex-orchestrationMulti-agent swarm orchestration with SwarmCoordinator and AgentMonitor nodes. Manages agent pools, task queues, health monitoring via heartbeats, token rotation, automatic respawn, and cost limits. Advanced Capabilities: dynamic agent scaling, resource quota management, priority queue configuration, health-based routing and load balancing, and cost budget enforcement. 912 lines.
cortivex-consensusSkill-defined leader election protocol for multi-node clusters. Teaches agents terms, quorum, heartbeats, and failover semantics. Covers split-brain prevention and includes configurations for 3, 5, and 7-node clusters. Dashboard visualizes elections via SwarmSimulator. Advanced Capabilities: Byzantine fault tolerance configuration, consensus protocol selection, dynamic quorum management, split-brain detection and recovery, and leader election optimization. 716 lines.
cortivex-knowledgeShared knowledge graphs across agents with five node types and seven edge types. Prevents duplicate work through content-hash deduplication and cross-agent synthesis via KnowledgeCurator nodes. Advanced Capabilities: semantic graph queries, knowledge fusion and deduplication, temporal reasoning, cross-domain inference, and knowledge export and visualization. 932 lines.

Advanced Skills

These five skills solve problems that surface only at scale, addressing unsolved challenges in multi-agent systems that no other skill project covers.

SkillPurpose
cortivex-pipeline-debuggerStep-through debugging for pipelines. Set breakpoints on nodes, inspect intermediate outputs between nodes, replay failed nodes with modified inputs or different models, and trace execution decisions. Advanced Capabilities: conditional breakpoints, trace diffing and comparison, replay debugging with mutations, performance flame graph generation, and remote debugging with attach mode. 1,156 lines.
cortivex-context-compressionSolves context window exhaustion across agent handoffs. Compresses 50K-token agent output into 2K-token structured summaries preserving all actionable information. Three compression levels (lossless, lossy, digest) with per-node-type profiles. Advanced Capabilities: semantic chunking strategies, priority-based retention policies, compression quality metrics, context restoration and rehydration, and adaptive compression thresholds. 903 lines.
cortivex-drift-detectionDetects when codebases drift from architecture docs, pipeline configs, coverage targets, or dependency specifications. Five drift categories with severity-scored reports, baselines, and trend analysis. Advanced Capabilities: automated remediation, drift scoring and severity classification, baseline management with snapshots, trend forecasting with predictive alerts, and custom drift rule definitions. 1,002 lines.
cortivex-agent-replayRecords full agent execution traces and replays them with different inputs, models, or configurations. Side-by-side diff of two runs, time-travel to any execution point, and pattern analysis across traces. Advanced Capabilities: variant testing and branching, replay session management, execution comparison and diff analysis, time-travel debugging, and regression detection from replays. 917 lines.
cortivex-cross-repoTransfers learned insights across repositories through technology fingerprinting and similarity matching. Privacy-controlled: insights anonymized before sharing, local always overrides global, sharing is opt-in. Advanced Capabilities: repository fingerprinting and classification, insight propagation rules, cross-repo dependency tracking, privacy-aware knowledge sharing, and multi-repository analytics. 801 lines.

Templates

16 pipeline templates ship with Cortivex. Each is a tested, ready-to-run YAML configuration. Run any template with cortivex run <name>.

View all 16 templates
TemplateWhat It DoesNodesCostTime
pr-reviewSecurity scan, code review, auto-fix, test, PR update5$0.05~3m
security-auditDeep vulnerability scan, bug hunt, security report3$0.06~4m
full-test-suiteArchitecture analysis, unit tests, E2E tests, validation4$0.08~5m
js-to-typescriptAnalyze, migrate JS to TS, lint fix, test4$0.12~8m
bug-huntFind bugs, auto-fix, generate regression tests, validate4$0.06~5m
refactor-moduleAnalyze module, refactor structure, test, review4$0.08~6m
performance-auditProfile bottlenecks, auto-fix, validate with tests3$0.05~4m
api-designAnalyze models, design API schema, generate tests, docs4$0.08~6m
coverage-boostFind coverage gaps, generate unit and E2E tests, validate4$0.08~7m
documentation-refreshAnalyze architecture, generate explanations, update docs4$0.07~5m
onboarding-guideAnalyze codebase, create explanations, write onboarding3$0.05~4m
nightly-reviewScheduled security, quality, and bug scan with report4$0.05~5m
dependency-updateUpdate packages, run tests, create PR3$0.03~3m
changelog-releaseGenerate changelog, update docs, create release PR3$0.03~2m
pre-release-checkSecurity scan, full tests, performance check, changelog4$0.06~6m
dev-teamArchitect designs, Developer builds, Tester validates, Reviewer approves4$2.50+~12m

Pipelines are defined in YAML. Here is what a typical pipeline looks like:

name: pr-review
version: "1.0"
description: Review a PR for security, quality, auto-fix, test, and update

nodes:
  - id: security_scan
    type: SecurityScanner
    config:
      scan_depth: standard
      check_dependencies: true

  - id: code_review
    type: CodeReviewer
    depends_on: [security_scan]
    config:
      review_scope: changed_files

  - id: auto_fix
    type: AutoFixer
    depends_on: [code_review]
    config:
      fix_mode: minimal

  - id: test_run
    type: TestRunner
    depends_on: [auto_fix]
    retry:
      max_attempts: 2

  - id: pr_update
    type: PRCreator
    depends_on: [test_run]
    config:
      labels: [cortivex-reviewed]

Nodes with satisfied dependencies run in parallel automatically. The depends_on field defines the DAG edges. Configuration supports parameter interpolation, retry policies (fixed, linear, exponential backoff), conditional execution, and fallback nodes.


Agent Node Types

Cortivex includes 20 specialized agent types across 7 categories. Each has its own system prompt, tool access, default model, and performance baseline.

Quality · CodeReviewer, AutoFixer, BugHunter, LintFixer
NodeDescriptionModelAvg Cost
CodeReviewerReviews code for quality issues, anti-patterns, and bugsSonnet$0.08
AutoFixerTakes review findings and applies safe, targeted fixesSonnet$0.12
BugHunterSearches for bugs through error-prone patterns and logic analysisSonnet$0.10
LintFixerRuns linters project-wide, auto-fixes all fixable issuesHaiku$0.03
Security · SecurityScanner
NodeDescriptionModelAvg Cost
SecurityScannerScans for OWASP Top 10, dependency CVEs, hardcoded secretsSonnet$0.10
Testing · TestGenerator, TestRunner, E2ETestWriter
NodeDescriptionModelAvg Cost
TestGeneratorGenerates unit and integration tests with high coverage targetsSonnet$0.10
TestRunnerRuns the test suite, captures results, reports coverageHaiku$0.02
E2ETestWriterWrites Playwright/Cypress tests for critical user flowsSonnet$0.10
DevOps · PRCreator, DependencyUpdater, CIGenerator, DatabaseMigrator
NodeDescriptionModelAvg Cost
PRCreatorCreates branches, commits, and opens pull requestsHaiku$0.01
DependencyUpdaterUpdates dependencies, resolves breaking changesSonnet$0.08
CIGeneratorCreates GitHub Actions / GitLab CI configurationsHaiku$0.03
DatabaseMigratorGenerates reversible migration scriptsSonnet$0.06
Documentation · DocWriter, CodeExplainer, APIDesigner, ChangelogWriter
NodeDescriptionModelAvg Cost
DocWriterGenerates API docs, READMEs, JSDoc/TSDoc commentsSonnet$0.06
CodeExplainerCreates detailed explanations for developer onboardingSonnet$0.08
APIDesignerDesigns REST/GraphQL APIs, generates OpenAPI specsSonnet$0.07
ChangelogWriterGenerates formatted changelogs from git historyHaiku$0.02
Refactoring · TypeMigrator, RefactorAgent
NodeDescriptionModelAvg Cost
TypeMigratorConverts JavaScript to TypeScript with proper type annotationsSonnet$0.15
RefactorAgentExtracts functions, simplifies conditionals, removes dead codeSonnet$0.12
Analysis · ArchitectAnalyzer, PerformanceProfiler
NodeDescriptionModelAvg Cost
ArchitectAnalyzerMaps module dependencies, detects coupling, finds god objectsSonnet$0.10
PerformanceProfilerIdentifies N+1 queries, memory leaks, algorithmic bottlenecksSonnet$0.08

Six orchestration node types (SwarmCoordinator, AgentMonitor, ConsensusManager, KnowledgeCurator, MeshResolver, TaskDecomposer) are managed by the coordination skills and are not typically placed manually.


MCP Server

The Cortivex MCP server exposes 17 tools for programmatic access from any MCP-compatible AI tool.

# Quick setup -generates the config for your tool
cortivex setup-mcp --tool cursor

Supported Tools

ToolStatusSetup
Claude DesktopSupportedcortivex setup-mcp --tool claude-desktop
CursorSupportedcortivex setup-mcp --tool cursor
WindsurfSupportedcortivex setup-mcp --tool windsurf
ClineSupportedcortivex setup-mcp --tool cline
VS Code (Copilot)Supportedcortivex setup-mcp --tool vscode
Continue.devSupportedcortivex setup-mcp --tool continue
ZedSupportedcortivex setup-mcp --tool zed
JetBrains / Amazon QSupportedcortivex setup-mcp --tool jetbrains

Full setup guide with copy-paste configs: docs/mcp-integrations.md

View all 17 MCP tools
CategoryTools
Pipelinecortivex_run, cortivex_create, cortivex_list, cortivex_status, cortivex_stop
Knowledgecortivex_knowledge, cortivex_decompose
Agentscortivex_nodes, cortivex_templates, cortivex_agent, cortivex_scale, cortivex_tasks
Meshcortivex_mesh
Learningcortivex_insights, cortivex_history
Configurationcortivex_config
Exportcortivex_export

Dashboard

The visual dashboard is available at localhost:4200 after running cortivex ui. It provides seven views:

Pipeline Editor: Drag agent nodes from a palette, connect outputs to inputs, configure models and parameters per node. The editor validates the DAG in real-time and flags cycles or missing dependencies.

Live Execution: Watch agents work in real-time. Each node shows streaming output, progress, token usage, and cost. Failed nodes highlight with expandable error details.

Mesh Visualization: Real-time swarm coordination view showing leader/follower/candidate roles, animated heartbeat and vote particles, election cycles, and a live event log.

Metrics: Track pipeline improvement over time with success rate, cost trends, and duration charts. View aggregate statistics across all pipeline runs.

Knowledge Graph: Interactive graph visualization of project entities, file relationships, and dependency structures discovered across pipeline executions.

Learning: View discovered insights with confidence scores and application status. Monitor how the learning engine adapts pipeline behavior based on historical run data.

Timeline: Chronological view of all pipeline runs showing per-node execution order, durations, costs, and outcomes in a visual timeline layout.


Configuration and Reference

CLI Reference

CommandDescription
cortivex initCreate .cortivex/ directory with config and learning database
cortivex run <template>Execute a pipeline with cost estimation and progress reporting
cortivex create <name>Create a new pipeline definition
cortivex listList all templates with cost and duration estimates
cortivex serveStart the HTTP API server
cortivex serve --mcpStart the MCP server for Claude Code
cortivex export <pipeline>Export pipeline to n8n, JSON, or YAML format
cortivex insightsShow learned patterns and execution statistics
cortivex meshShow mesh coordination state
cortivex status [runId]Show the status of a pipeline run (defaults to most recent)
cortivex stop <runId>Send a stop signal to a running pipeline
cortivex install-skillsInstall Cortivex skills into the current project
cortivex setup-mcpGenerate MCP config for your AI tool (Cursor, VS Code, etc.)

Integrations

Claude Code: Primary interface. Install skills and use slash commands directly.

n8n: Install n8n-nodes-cortivex to embed pipelines in n8n workflows. Connect to GitHub webhooks, Slack notifications, scheduled triggers, or any of n8n's 400+ integrations.

HTTP API: Run cortivex serve (default port 3939) and use REST endpoints to trigger pipelines, check status, and query insights from any HTTP client.

Webhooks: Point Zapier, Make, or any webhook source at the HTTP server to trigger pipelines from external events.

Architecture

cortivex/
  packages/
    core/             Pipeline engine, DAG executor, mesh protocol, learning engine
    cli/              Terminal interface (init, run, create, list, status, serve)
    mcp-server/       MCP server for Claude Code
    http-server/      Express REST API + WebSocket
    dashboard/        Visual pipeline editor and monitoring UI
  .agents/
    config.toml       Agent configuration (models, mesh, learning, security)
    skills/           15 Claude Code skills (each in its own SKILL.md)
  n8n-nodes/          n8n community nodes for pipeline automation
  templates/          16 pipeline YAML templates
  hooks/              Claude Code hooks configuration
  docs/               Getting started, API reference, skill reference
  scripts/            Installation and utility scripts

Contributing

git clone https://github.com/AhmedRaoofuddin/Cortivex.git
cd cortivex
npm install
npm run build
npm run dev

Contributions are welcome in these areas: new agent node types, pipeline templates, learning engine pattern detection, dashboard visualizations, and skill improvements. Open an issue before starting significant work.


Security Hardening

Every Cortivex skill includes a Security Hardening (OWASP AST10 Aligned) section with 3,560 lines of production-grade security controls mapped to the OWASP AST10 risk framework for agentic AI systems.

Why This Matters

As of Q1 2026, 36.82% of scanned AI agent skills have security flaws and 13.4% have critical issues (Snyk). The OWASP AST10 identifies the 10 most critical risks in agentic AI systems. Cortivex is the first skill library to systematically address all 10.

Controls by Risk Category

AST RiskControls AppliedSkills Affected
AST01 Malicious SkillsSHA-256/ed25519 tamper detection on injection: always files, template signature verificationmesh, templates
AST02 Supply ChainRemote repo allowlists, hash-pinned templates, import sandboxingtemplates
AST03 Over-PrivilegedPer-node permission manifests, shell command allowlists, mandatory forbidden paths (.env, .ssh, credentials), security node skip prevention, model downgrade lockspipeline, nodes, task-decomposition, learn, orchestration
AST05 Unsafe DeserializationJSON Schema validation before pipeline YAML load, safe loader enforcementpipeline
AST06 Weak IsolationContainer sandboxing for shell execution, mandatory TLS for inter-node communication, production debug prevention, mutation replay sandboxing, force-release approval gatespipeline, consensus, pipeline-debugger, mesh-coordination
AST08 Poor ScanningCritical/high severity findings locked to lossless compression, data classification-aware retentioncontext-compression
AST09 No GovernanceChain-hashed audit trails with ed25519 signing, AES-256-GCM trace encryption, PII/secret auto-redaction, privacy impact assessments, k-anonymity for cross-repo fingerprints, consent management with cryptographic proofmesh, knowledge, agent-replay, cross-repo, drift-detection, mesh-coordination

Key Security Patterns

Permission Manifests (AST03): Every node type declares its required filesystem paths, tools, and network access. Anything not declared is denied by default.

Tamper Detection (AST01): The mesh skill (injection: always) is force-injected into every agent. Its integrity is verified via SHA-256 hash manifest and ed25519 signatures on every load.

Audit Trails (AST09): All mesh operations, conflict resolutions, knowledge graph mutations, and agent lifecycle events produce chain-hashed, append-only audit records with configurable retention.

Execution Sandboxing (AST06): TestRunner and CustomAgent shell commands run inside container isolation with dropped capabilities, resource limits, and command allowlists. Production environments block debug mode by default.

Data Protection (AST09): Agent replay traces are encrypted at rest (AES-256-GCM). Secrets, API keys, and PII are auto-redacted before persistence. Cross-repo insights require privacy impact assessment and k-anonymity verification before sharing.

See SECURITY.md for the full security policy, vulnerability reporting process, and safe harbor provisions.


Support

ResourceLink
Getting Starteddocs/getting-started.md
Skill Referencedocs/skill-reference.md
API Referencedocs/api-reference.md
Templatesdocs/templates.md
Issues and Bugsgithub.com/AhmedRaoofuddin/Cortivex/issues

License

MIT | Ahmed Raoofuddin


Cortivex

Skills that teach agents how to think, not just what to do.

Reviews

No reviews yet

Sign in to write a review