Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RASE Metamodel

RASE (Rapid Agentic Systems Engineering) is a Python-native MBSE metamodel for verifiable agent training. It implements SysML v2-like semantics using Pydantic models, without requiring external MBSE tooling.

Core Principle: RLVR

The reward signal comes from verifiable computation, not human feedback or learned approximations. The verifier is a first-class artifact – specified, reviewed, tested, and versioned alongside the agent it trains.

Four Coupled Models

RASE consists of four tightly coupled models. Changes to one often require updates to others:

ModelPurposePackage
SSMSystem State Model – system as typed graphgaius.rase.domains.nifi
OSMOperational Scenario Model – BDD scenariosgaius.rase.osm
UOMUI Observation Model – SoM/ToM groundinggaius.rase.uom
VMVerifier Model – requirements, oracle, rewardsgaius.rase.vm

The TraceableId spine links artifacts across all four models, enabling full traceability from BDD scenario to training reward.

SysML v2 Alignment

RASE mirrors SysML v2 semantics without requiring external tooling:

SysML v2 ConceptRASE Implementation
requirement defRequirement, ScenarioRequirement
verification defVerificationCase, APIVerificationCase
constraint defConstraint subclasses (composable via AllOf, AnyOf, Not)
action defStepDef with @given, @when, @then
part defProcessor, ProcessorGroup, NiFiInstance
Human ID <'scheme:path'>TraceableId.uri

Package Structure

src/gaius/rase/
├── core/                 # Domain-agnostic: SystemState, Constraint[S], Oracle[S]
├── domains/              # Domain-specific implementations
│   ├── nifi/             # NiFi domain (state, constraints, oracle)
│   └── kb/               # Knowledge Base domain
├── traceability.py       # TraceableId, DigitalThread
├── osm/                  # Operational Scenario Model (BDD)
├── uom/                  # UI Observation Model (SoM/ToM)
└── vm/                   # Verifier Model (requirements, oracle, rewards)

Safety-Critical Infrastructure

The verifier is maintained with the same rigor as production code. All constraints are immutable (frozen=True), return structured ConstraintResult objects with rich failure messages, and support declarative composition. See Verification for details on the reward computation pipeline.