ArchitectureBusiness Runtime

The Collaborative Runtime

How all actors share a single operating state within a context.

The Alignment Problem

The hardest problem in business operations isn't executing individual tasks. It's keeping everything aligned. In traditional organizations, alignment requires careful curation and constant coordination: cross-functional meetings, shared documents, escalation procedures, integration middleware. Each department has its own systems, its own data, its own understanding of the business. When procurement approves a purchase order, does finance know about it? When HR updates an employee's role, do the project management and access control systems reflect the change? Alignment across these boundaries is fragile because it depends on message passing between isolated systems and the humans who bridge them.

The collaborative runtime solves this through a shared world view. Instead of message passing between isolated agents and systems, every actor in a context operates on the same knowledge graph. The global matrix acts as a shared representation of your business world where all logic, constraints, and relationships are visible to every domain. Alignment isn't something you coordinate. It's structural.

Shared State, Not Message Passing

Within a context, there is one knowledge graph. Every actor (every matrix's agent, every sub-agent, every system process) operates on the same graph. There's no message passing between isolated agents. There's shared, queryable, observable state.

When a sub-agent materializes a work order from an external system, that data is immediately visible to every other actor in the context. When an action writes an observation, it's part of the same graph that the orchestrator reasons over. When a healer corrects a data quality issue, the fix is visible to the process that encountered the problem. Everything happens in one place.

This shared state is what produces alignment. When RARS executes a multi-step workflow that spans HR, finance, and procurement, every step operates on the same graph. The finance constraints are visible when the procurement action runs. The HR data is available when the project assignment happens. There's no "sync" step where systems need to reconcile their views. They share one view.

Multiple Matrices, One Graph

When matrices activate in a context, their ontologies, shapes, and actions merge into a single unified graph. The context doesn't maintain separate partitions for each matrix. It's one graph with one inference model, one set of validation shapes, and one shared pool of instance data.

This is what makes cross-domain reasoning possible without integration code. A query can span concepts from any combination of activated matrices in a single operation. The HR matrix's Person class and the project matrix's Task class live in the same graph, and relationships between them are traversable as naturally as relationships within a single matrix.

Observations from Many Actors

Every piece of data in the graph is an observation made by a specific agent, at a specific time, as part of a specific process. There's no distinction between "types" of observations. Whether RARS is executing a workflow, a sub-agent is assessing risk, or a system process is activating a matrix, the observation model is the same. Every statement records who made the claim, where it was recorded, and what was attested or retracted.

The result is a graph where different actors have contributed different observations, all following the same provenance model. You can trace any piece of data back to the agent that produced it and the process that created it. See Provenance and Observability for the full model.

Agent AAgent BAgent C

Each color represents observations contributed by a different agent. All observations live in the same graph, building a shared world view that every actor can reason over.

Why Collaboration Needs Security

Shared state is powerful because it eliminates coordination overhead. But it also means every actor can potentially see and modify everything in the graph. A matrix you install from a vendor has the same access to the shared graph as your internal matrices.

This is why the identity model is critical. Every actor operates under a specific identity (the matrix's agent). Every operation is authorized against identity and resource policies. Statement access is scoped to specific namespaces. Secrets are protected by explicit policies. The shared graph doesn't mean shared access. It means shared potential access, governed by the permission model.

The tension between openness and security is intentional. The system needs to be open enough that cross-domain reasoning works without friction, and restrictive enough that a malicious or poorly designed matrix can't compromise your data. The IAM model resolves this tension through situational access control, where the live state of the graph itself determines what's permitted.

The Collaborative Advantage

This architecture produces capabilities that isolated-agent systems can't match:

Unified reasoning: RARS reasons across all activated domains in a single context. There's no "ask the HR agent" then "ask the finance agent" then "reconcile the answers." It's one reasoning process with access to all relevant information.

Accumulated knowledge: as the context works, knowledge builds up in the graph. Results from one action inform the next. Observations from one sub-agent are visible to the orchestrator. The context gets smarter over time, not just between conversation turns, but within a single workflow execution.

Consistent state: because there's one graph, there's one source of truth. There's no eventual consistency problem, no stale caches, no conflicting views of the same data. Every actor sees the same state.

Transparent provenance: because everything happens in one graph, the provenance chain is complete. You can trace from any piece of data back through the observation, to the process, to the agent, to the matrix, without crossing service boundaries.

Contractual Alignment

The shared world view provides alignment at the data level. The contractual nature of the SPARQL state machine provides alignment at the execution level.

Every action in a workflow has an I/O contract: a defined input schema and a defined output schema. When RARS executes a multi-step workflow, each step's output is validated against its contract before the next step consumes it. If step 3 produces output that doesn't conform to its schema, the violation is caught immediately, not discovered three steps later when something downstream fails.

This means alignment is maintained through every stage of a complex workflow. The shared graph ensures every domain sees the same data. The I/O contracts ensure every handoff between steps produces valid, well-formed results. The SHACL shapes ensure the cumulative state remains consistent with your business rules. Together, they make alignment a property of the architecture, not a responsibility of the operator.

In traditional systems, alignment breaks down at the boundaries: between services, between departments, between the plan and the execution. In the collaborative runtime, there are no boundaries. One graph, one set of contracts, one continuous validation pipeline.

Summary

  • Alignment through shared world view: all actors operate on the same knowledge graph, not through message passing
  • Matrices merge into one unified graph: cross-domain reasoning works without integration code
  • Contractual execution: I/O contracts and SHACL validation ensure alignment through every stage of a workflow
  • Every contribution is attributed: the provenance model tracks which agent made each observation
  • Security governs shared access: identity and resource policies control what each actor can see and do
  • No boundaries to break alignment: one graph, one set of contracts, one continuous validation pipeline

See Also

On this page