Skip to content

norp-specs/norp

Repository files navigation

NORP Logo

NORP - NeuraScope Orchestration Reference Patterns

Open Standards for Production-Grade AI Orchestration

License: CC BY 4.0 License: MIT Specs: 7 Stable + 1 Draft Quality: 9.4/10

🇬🇧 English | 🇫🇷 Français


Overview

This repository contains NORP (NeuraScope Orchestration Reference Patterns), a set of open standards for production-grade AI orchestration systems.

Status: 🚀 Phase 1 + Phase 2 DELIVERED (8 specifications, 7 STABLE + 1 DRAFT, 3 reference implementations)

License: CC BY 4.0 (specifications) + MIT (reference code)


🎯 Quick Start (30 seconds)

What is NORP? Open standards defining how to build safe, predictable AI orchestration systems in production.

Why NORP? Prevents cycles, isolates tenants, controls costs, ensures determinism.

How to use?

  1. Read NORP-001 (validation pipeline)
  2. Implement using PHP, Python, or TypeScript
  3. Pass compliance tests

Objectives

NORP defines architectural and operational invariants to guarantee:

  • Security: Strict multi-tenant isolation
  • Reliability: Fail-fast pre-execution validation
  • Predictability: Determinism and traceability
  • Performance: O(V+E) scalable algorithms

Scope & Future Work

Current Scope (NORP-001 to 008)

NORP currently covers AI workflow orchestration (directed graph execution):

  • Validation pipelines and cycle detection
  • Deterministic execution ordering
  • Multi-tenant and execution-scoped isolation
  • Cost estimation and budgeting
  • Machine-readable interfaces for interoperability

Out of Scope (Planned Future Phases)

The following are not yet covered by NORP but planned for future specifications:

  • Data & Knowledge Management (RAG, vector storage, memory, chunking)
  • LLM Protocols (MCP integration details, multi-model routing, function calling)
  • Platform Governance (RBAC, audit trails, API key management, regulatory compliance)

See governance/ROADMAP.md for future phases timeline.


Available Specifications

Architecture Overview

graph LR
    A[NORP-001<br/>Validation Pipeline] --> B[NORP-004<br/>Cycle Detection]
    A --> C[NORP-005<br/>Topological Order]
    A --> D[NORP-007<br/>Cost Estimation]
    B --> C

    E[NORP-002<br/>Multi-Tenant<br/>Isolation] -.->|applies to| A
    F[NORP-003<br/>Immutable State] -.->|enforced by| A
    G[NORP-006<br/>Resource Pooling] -.->|used in| A

    style A fill:#e1f5ff
    style E fill:#ffe1e1
    style F fill:#e1ffe1
    style G fill:#fff5e1
Loading

Specifications List

NORP Title Status Version
NORP-001 Pre-Execution Validation Pipeline Stable 1.2
NORP-002 Multi-Tenant Resource Isolation Stable 1.2
NORP-003 Immutable Pipeline with DTOs Stable 1.2
NORP-004 Cycle Detection in Directed Graphs Stable 1.2
NORP-005 Topological Sorting for Execution Order Stable 1.2
NORP-006 Resource Pooling with Context Isolation Stable 1.2
NORP-007 Cost Estimation Pre-Execution Stable 1.2
NORP-008 NORP Interface Specification 🔄 Draft 1.0

Languages

NORP specifications are available in:

  • 🇬🇧 English (specs/NORP-*.md) - Original version
  • 🇫🇷 Français (specs/fr/NORP-*.md) - Complete translation

Repository Structure

NORP/
├── README.md                          # This file
├── specs/                             # Normative specifications
│   ├── NORP-001.md to 007.md         # 7 STABLE specs
│   ├── NORP-008.md                   # Interface spec (DRAFT)
│   └── fr/                           # French translations
├── schemas/                           # JSON Schema
│   ├── norp-interface.schema.json    # NORP-008 validation
│   └── norp-interface.template.json  # Starter template
├── reference-implementations/         # Reference implementations
│   ├── php/                          # PHP 8.2+
│   ├── python/                       # Python 3.10+
│   └── typescript/                   # TypeScript 5.0+
├── compliance-tests/                  # Compliance test suites
│   └── NORP-001-tests.md to 008-tests.md
├── examples/                          # Examples
│   ├── interfaces/                   # NORP-008 interfaces
│   ├── saas/                         # SaaS use case
│   ├── simple-workflow.json
│   └── multi-tenant-workflow.json
└── governance/                        # NORP governance
    ├── CONTRIBUTING.md
    ├── CODE_OF_CONDUCT.md
    ├── WORKING-GROUP.md
    └── ROADMAP.md

Usage

To Implement NORP in Your System

  1. Read specifications in specs/
  2. Consult reference implementations in reference-implementations/
  3. Run compliance tests in compliance-tests/

To Contribute to Standards

  1. Read governance/CONTRIBUTING.md
  2. Propose changes via Pull Request
  3. Follow review process in governance/WORKING-GROUP.md

Founding Principles

1. Standards Based on Production Code

Each NORP pattern is extracted from production-tested code at NeuraScope, not theory.

2. Mandatory Testability

Every NORP includes executable compliance test suite.

3. Reference Implementations

Reusable code provided under MIT license to facilitate adoption.

4. No Vendor Lock-In

Specifications are technology, language, and framework agnostic.


Roadmap

Phase 1: Foundational Specifications

  • NORP-001 v1.2 STABLE (2026-01-09)
  • NORP-002 v1.2 STABLE (2026-01-09)
  • NORP-003 v1.2 STABLE (2026-01-09)
  • NORP-004 v1.2 STABLE (2026-01-09)
  • NORP-005 v1.2 STABLE (2026-01-09)
  • NORP-006 v1.2 STABLE (2026-01-09)
  • NORP-007 v1.2 STABLE (2026-01-09)
  • NORP-008 v1.0 DRAFT (2026-01-10)
  • Phase 1 COMPLETED (7/7 stable specs)
  • ✅ Compliance tests (NORP-001 through 008)

Phase 2: Multi-Language Implementations

  • PHP (6 files, production-tested)
  • Python (5 files)
  • TypeScript (6 files)
  • Phase 2 COMPLETED

Phase 3: External Adoption (Q3 2026)

  • ⏳ NORP-compliant certification program
  • ⏳ Third-party integrations
  • ⏳ Workshops and conferences

Related Standards

NORP complements existing standards and frameworks:

  • MCP (Model Context Protocol): Standardizes LLM ↔ Tools communication. NORP focuses on workflow orchestration governance.
  • OpenAPI: Defines API contracts. NORP defines orchestration guarantees.
  • Airflow: Data pipeline scheduling. NORP addresses AI-specific concerns (probabilistic systems, variable costs, tenant isolation).

NORP specifically targets AI workflow orchestration with multi-tenant isolation, deterministic execution, and cost control.


License


Contact


Citation

If you use NORP in academic work:

@techreport{norp2026,
  title={NORP: NeuraScope Orchestration Reference Patterns},
  author={NORP Working Group},
  institution={NeuraScope},
  year={2026},
  type={Technical Specification},
  url={https://github.com/norp-specs/norp}
}

NORP - Open standards for trustworthy AI orchestration.

© 2026 NeuraScope - Powered by CONVERWAY