Technology / 04 / LAPENZER Agent Fabric
An interoperability layer for AI agents.
A modular architecture for coordinating AI agents and independently versioned predictive algorithms across software, cloud, simulation, edge and physical environments.
Proposed reference architecture / implementation blueprint01 / Platform overview
One control plane. Distributed execution.
Agent Fabric separates coordination from execution. A central control plane manages agent identity, capability discovery, task orchestration, policy, approvals and durable state. Distributed runtimes perform work close to the software or hardware environment they control.
The platform is designed to support different AI models, programming languages, agent frameworks, cloud providers and hardware manufacturers through versioned contracts and replaceable adapters. It separates control-plane decisions from worker execution, and keeps algorithm services, decision records and environment-specific connectors independently deployable.
The architecture has three operating boundaries: a trusted control plane that authenticates and authorizes work; isolated execution runtimes that interact with software or devices; and governed analytical services that return versioned outputs with provenance and uncertainty. Data and actions cross these boundaries only through declared contracts.
02 / Architecture layers
Six layers with cross-cutting controls.
- ExperienceWeb console, APIs, SDKs, CLI, task monitoring and Decision Support workspaces.
- Control planeAgent and capability registries, orchestrator, scheduler, policy, approvals, model gateway and durable state.
- InteroperabilityMCP, A2A, REST/OpenAPI, gRPC, event messaging and device protocol adapters.
- Distributed executionSoftware, simulation, cloud, edge and robotics runtimes.
- Algorithm and intelligence servicesRoute prediction, event forecasting, network influence analysis and conflict-state simulation, each independently versioned.
- Connected environmentsBrowsers, desktops, business applications, databases, games, robots, sensors and industrial systems.
Security, governance, observability, data management and resilience apply across every layer. Algorithms are independent services with their own schemas, versions, evaluation records and deployment status. The orchestrator coordinates work but is not itself dependent on a particular language model or provider.
Information flows in both directions: runtimes publish observations, status and artifacts; the control plane dispatches authorized tasks; analytical services return findings and uncertainty; and Decision Support packages evidence and options for human review. The connected environment never receives unrestricted authority merely because an agent is registered.
Architecture flow
Users and external systems
|
Experience: Console / API / SDK / CLI
|
Control plane: Identity + Registry + Orchestrator
| | |
Policy Model gateway Durable state
|
Interoperability: MCP / A2A / REST / gRPC / Events
|
Execution: Software / Simulation / Cloud / Edge / Robotics
|
Algorithm services: Route / Event / Network / Conflict simulation
|
Decision Support: Evidence / Analysis / Options / Human review
|
Environments: Apps / Browsers / Games / Data / Devices
Cross-cutting: Security, governance, audit, observability03 / Algorithm and intelligence layer
Keep LAPENZER algorithms independent, reusable and measurable.
The algorithm layer exposes domain-specific analytical capabilities through versioned APIs. Agent Fabric can invoke them, but the algorithms do not become agents and their mathematical logic does not belong inside the orchestration engine.
Algorithm service architecture
Orchestrator / Decision Support / External Applications
|
Algorithm API Gateway
|
Algorithm and Model Registry
|
+-----------------+------------------+
| | |
Route Prediction Event Forecasting Network Analysis
| | |
+---------- Shared analytical services --------+
Graphs / Evidence / Features
Calibration / Evaluation
Simulation / Provenance
|
Versioned results
|
Decision Support1. Route Prediction Algorithm (RPA / UZUSKE)
Core LAPENZER predictive capability. The service models movement over dynamic directed graphs and returns ranked candidate transitions or routes, destination probabilities, uncertainty and ETA ranges.
- Dynamic graph construction, graph/state estimation and map matching.
- Generalized resistance matrices covering distance, terrain, movement, logistics, weather, risk, interest and asset factors.
- First-, second- and third-order Markov transition statistics, recency weighting and Bayesian destination inference.
- Candidate generation, contextual 18-feature ranking and domain adapters for road, terrain, marine and air.
- Calibration, conformal prediction, entropy, beam-search forecasting and ETA quantile simulation.
- Chronological evaluation, leakage controls, candidate coverage, abstention and feedback/drift monitoring.
Maturity: Working Python/TypeScript prototype and website-integrated numerical implementation documented. UZUSKE 1.0 demonstrated a working next-node prediction. Broader RPA v3/v4 work includes expanded training, evaluation and API features. This is not a claim of production reliability, live-data performance or domain qualification.
Review the route prediction research and implementation ↗
2. Event Forecasting and Bayesian Cascade Model
A separate forecasting prototype combines logistic probability estimation, Bayesian evidence updates, reliability-weighted OSINT inputs, market-implied signals, hazard modelling, consequence graphs, Monte Carlo propagation, calibration and expected-value analysis. The associated 2026 research paper describes a 16-equation framework; a prototype was previously reported as tested with six tests.
Maturity: Prototype/research. Prospective forecast performance, calibration, event-resolution tracking and continuous production operation require verification. Polymarket prices are evidence inputs, not ground truth.
Product boundary: The separate Quantified Systems forecasting application currently implements market-signal ingestion, user forecast submission/history, community aggregation and AI-generated decision briefs. That application should not be represented as proof that the Bayesian cascade prototype is integrated or independently generating forecasts.
3. Aggregate Network Influence Analysis
A theoretical framework for aggregate network-level analysis using dynamic weighted graphs, reliability-weighted evidence, historical baselines, temporal changes, probabilistic network exposure, uncertainty-aware ensembles and abstention. It is not an individual-level classification system.
Maturity: Research framework with a synthetic website demonstration. No empirical accuracy, causal validity or operational predictive performance is claimed. Keep it non-operational until validated and governed.
Review the network influence research ↗
4. Networked Conflict-State Simulation
A graph-based, multi-state Markov and Monte Carlo simulation framework for exploring conditional state transitions, neighbouring effects, cascade uncertainty and scenario outcomes. A synthetic hybrid demonstrator also includes Lanchester-style continuous attrition dynamics.
Maturity: Runnable seeded synthetic demonstrator and theoretical preprint. No empirical performance or operational validity is claimed.
Review the conflict-state simulation framework ↗
Shared services, not duplicated algorithms
Graph and spatiotemporal data contracts, evidence provenance, feature engineering, model registry, time-aware evaluation, calibration, uncertainty, Monte Carlo execution, optimization, drift monitoring and reproducible run records should be shared infrastructure. Dijkstra, A*, Bayesian inference, logistic regression, Markov models and Monte Carlo remain methods inside their domain services, not separate product modules.
04 / Decision Support
Turn evidence and analysis into traceable decision products.
Decision Support is a first-class subsystem alongside orchestration. It receives evidence and analytical outputs from agents, external systems, datasets, sensors and human operators. It helps people assess a situation, compare options, explore scenarios and document the basis for a decision.
- Evidence ingestionCollect information with source identity, timestamps, context and provenance.
- Validation and normalizationCheck schemas, completeness, freshness, consistency and quality.
- Evidence fusionCorrelate observations while preserving source-level traceability.
- Analytical engineRun approved statistical, mathematical, optimization and AI methods.
- Scenario analysisExplore alternative assumptions, conditions and possible outcomes.
- Option comparisonCompare feasible alternatives against explicit objectives and criteria.
- Risk and uncertaintyAssess sensitivity, robustness, evidence gaps, model disagreement and limitations.
- Explainability and reviewShow the evidence and assumptions behind findings for human assessment.
- Decision recordPreserve the question, evidence snapshot, options, rationale, approvals and subsequent outcome.
Decision Support processing flow
Sources -> Ingestion -> Validation -> Evidence fusion
-> Analytical models <-> Scenario analysis
-> Option generation and comparison
-> Risk / sensitivity / uncertainty
-> Explainability and provenance
-> Human review and authorization
-> Decision record and outcome feedbackMethods and capabilities
- Multi-criteria decision analysis (MCDA).
- Bayesian inference and probabilistic reasoning.
- Statistical analysis and forecasting.
- Optimization and resource allocation.
- Scenario modelling and simulation.
- Risk, sensitivity and robustness analysis.
- Evidence reliability assessment and contradiction detection.
- Post-decision performance evaluation.
Every decision product must distinguish observed facts, derived findings, assumptions, model outputs and recommendations. A recommendation is not an established fact. Confidence values must be defined and validated for the specific use case; an AI model's self-reported confidence is not enough.
Decision Support advises and explains. Consequential decision authority remains with the designated human decision-maker unless a separately authorized automated process has explicitly been configured.
05 / Agent contract
Give every agent a common, versioned contract.
Native agents publish a machine-readable identity, version, runtime, capabilities, input and output schemas, dependencies, health status and requested permissions. Third-party agents use adapters to translate their native interfaces into the platform contract.
A capability declaration describes what an agent can do. It does not grant permission. The policy engine independently authorizes each operation in context.
Illustrative agent manifest
{
"agent_id": "minecraft-builder",
"version": "1.0.0",
"runtime": "simulation",
"capabilities": [
"world.inspect",
"structure.plan",
"block.place",
"build.verify"
],
"permissions_requested": [
"world.read",
"world.write"
],
"execution_limits": {
"max_execution_time_seconds": 300,
"human_approval_required": false
}
}Production manifests require formal versioned schemas, signed identity metadata, dependency declarations, policy references and explicit input/output validation.
06 / Interoperability
Use adapters and established standards.
- MCP: model-to-tool, resource and prompt integration.
- A2A: discovery and task collaboration between independent agents.
- REST / OpenAPI: conventional application and partner APIs.
- gRPC / Protobuf: typed service-to-service communication.
- WebSockets / SSE: live and streamed updates.
- MQTT: lightweight IoT messaging.
- ROS 2 / DDS: robotics middleware and distributed robotics communication.
- OPC UA: industrial interoperability and information modelling.
These standards address different integration problems. Each connector must declare supported versions, authentication, capabilities, limits, error handling and conformance tests. The core orchestrator must not contain environment-specific integration logic.
07 / Execution runtimes
Run agents where the work takes place.
- Software runtime: browser, desktop, business applications, development tools and databases.
- Simulation runtime: games, Minecraft, digital twins, virtual testbeds and physics simulations.
- Cloud runtime: scalable workers, parallel workloads and inference.
- Edge runtime: local execution near devices, with event buffering and intermittent-connectivity support.
- Robotics runtime: ROS 2 and device-specific adapters for bounded physical command execution.
Each runtime implements registration, capability declaration, authenticated task reception, execution, status reporting, event publication, artifact exchange, cancellation, error handling and health reporting.
A shared orchestration contract does not make a simulated action safe to transfer directly to physical equipment. Physical environments require device-specific validation and independent safety controls.
08 / Security and governance
Make authorization part of every execution path.
- OIDC/OAuth 2.0 and workload identities where appropriate.
- RBAC, ABAC and capability-scoped permissions.
- OPA or a replaceable policy evaluation interface.
- Short-lived credentials, secrets management and key rotation.
- Tenant isolation, network segmentation and egress controls.
- OCI containers and stronger sandboxing for untrusted workloads.
- Signed artifacts, software bills of materials and dependency verification.
- Append-only, tamper-evident audit records.
AI agents must not bypass native hardware safety controllers. Emergency-stop functions and safety interlocks remain independent of the AI runtime. High-consequence actions require appropriate authorization and controlled testing.
09 / Data and infrastructure
Keep persistence durable and replaceable.
- PostgreSQL: primary relational records and task state.
- NATS JetStream: durable messaging and event delivery.
- Redis: cache and ephemeral coordination.
- S3-compatible storage: artifacts and evidence objects.
- PostGIS: optional geospatial data.
- pgvector: optional vector retrieval.
- OpenTelemetry: correlated traces, metrics and logs.
Use transactional outbox processing, idempotent consumers, durable queues and explicit state transitions. Separate tenant, identity, agent, capability, task, execution, approval, event, artifact, evidence and decision records. Define retention, deletion, backup and data residency by deployment profile.
010 / Deployment profiles
One architecture across different operating environments.
- Shared cloud SaaSMulti-tenant services, tenant-isolated workloads and region-aware data placement.
- Dedicated customer environmentDedicated services, customer-controlled keys, networks and model endpoints.
- On-premises or disconnectedLocal registry, orchestrator, policy, state, audit and optional local inference; no mandatory external connection.
- Edge deploymentLightweight runtimes, local validation, event buffering and controlled synchronization.
Disconnected deployments must retain local identity, authorization and audit capabilities. Policy freshness, credential expiry, revocation limits and synchronization conflicts must be explicitly designed.
011 / Implementation roadmap
Build and verify in stages.
- Core foundationIdentity, registry, capability schemas, task API and durable state. Verify a test agent can register, execute and report a verifiable result.
- InteroperabilityMCP, A2A, REST adapters and connector SDK. Verify independent agents exchange tasks and outputs.
- Multi-agent workflowsDelegation, parallel execution, shared state and recovery. Test failure and retry behaviour.
- Software environmentsBrowser, desktop and game adapters. Verify controlled interaction and acceptance criteria.
- Decision SupportEvidence ingestion, analytical runs, option comparison, uncertainty, human review and decision records.
- Edge and physical systemsEdge runtime, ROS 2 and device adapters. Pass device-specific safety tests.
- Enterprise deploymentSaaS, dedicated, on-premises and disconnected profiles. Pass deployment and recovery tests.
Start with a modular monolith for the control plane and separately deployable workers. Split services only when scale, security isolation, release cadence or operational ownership justifies it.
012 / Acceptance criteria
Require evidence before claiming readiness.
- Switch model providers without changing orchestration contracts.
- Run compatible agents on different hosts.
- Connect independently implemented MCP and A2A agents.
- Add a connector without modifying the core.
- Recover interrupted tasks without corrupting committed state.
- Reject unauthorized operations and expired credentials.
- Demonstrate tenant isolation and reconstruct task authorization and execution from audit records.
- Reproduce a decision analysis from its evidence snapshot, model version and parameters.
- Demonstrate that AI execution cannot bypass independent hardware safety controls.
- Deploy and recover the platform in every supported deployment profile.
Certification, predictive performance, security assurance and operational suitability must be established through separate documented testing. They are not implied by this architecture.
013 / API and developer platform
Expose every major platform capability through versioned interfaces.
The public API is the stable boundary between the control plane, customer applications, developer tools and independently deployed services. Use OpenAPI for HTTP contracts and gRPC with Protobuf for typed internal service communication where streaming or strict schemas are useful. Version APIs explicitly and maintain backward-compatibility rules.
- Agent API: register, update, discover, inspect and deactivate agents.
- Capability API: publish capability manifests, retrieve schemas and validate requested operations.
- Task and workflow APIs: submit, inspect, cancel, pause, resume, delegate and coordinate work.
- Execution API: start and monitor runtime jobs, retrieve status and stream execution events.
- Connector API: install, configure, test, upgrade, disable and revoke integrations.
- Policy API: evaluate authorization requests and retrieve policy decision metadata.
- Artifact and event APIs: exchange signed artifacts and publish or subscribe to durable events.
- Decision API: create decision questions, initiate analyses, compare options, request review and preserve decisions.
Illustrative API surface
POST /v1/agents
GET /v1/agents/{agent_id}/capabilities
POST /v1/tasks
GET /v1/tasks/{task_id}
POST /v1/tasks/{task_id}/cancel
POST /v1/workflows
POST /v1/connectors
POST /v1/policies/evaluate
POST /v1/decisions
POST /v1/decisions/{decision_id}/analyses
POST /v1/decisions/{decision_id}/review
GET /v1/executions/{execution_id}/eventsDeveloper deliverables should include Python and TypeScript SDKs, a command-line interface, an agent development kit, connector development kit and runtime development kit. A third party should be able to add an agent or connector without modifying the orchestration core.
014 / Connector lifecycle
Make integrations independently installable and replaceable.
Every connector is a versioned package that translates a target system's native interface into the platform's common agent, capability, event and artifact contracts. Connector-specific logic stays outside the orchestrator.
A connector manifest records its identity, owner, version, target system, protocol, capabilities, input/output schemas, authentication method, requested permissions, network destinations, resource limits, data handling, dependencies, compatibility, health checks and security provenance.
Connector lifecycle
Package -> Validate manifest, schemas, signatures and dependencies -> Register connector and declared capabilities -> Review requested permissions and network access -> Deploy in an isolated runtime -> Run conformance and health tests -> Monitor errors, latency, resource use and policy decisions -> Upgrade, disable or revoke
Connector failure must not corrupt task state. Retries must be bounded and idempotent where possible. Revocation must prevent new work and define how in-flight tasks are safely cancelled or completed.
015 / Observability and operations
Make every task traceable from request to verified result.
Use correlated distributed traces, structured logs and metrics across the control plane, connectors, algorithm services and execution runtimes. A task identifier and trace identifier should follow work across service boundaries.
- Task acceptance, completion, latency, retries and failure rates.
- Agent availability, health and capability changes.
- Queue depth, scheduling delay and worker utilization.
- Model-provider latency, errors, token use and fallback behaviour.
- Connector health, protocol errors and conformance status.
- Authorization denials, approval delays and policy changes.
- Decision analysis execution, evidence freshness and model versions.
- Audit pipeline integrity, storage health and recovery status.
Redact secrets and sensitive payloads from telemetry by default. Retention, access and data residency are deployment-specific. Define service-level objectives only after representative workload measurement.
016 / Example workflow
Coordinate agents in a virtual environment.
For example, a user asks an agent team to build and verify a structure in a Minecraft world. The same orchestration contract can coordinate planning, execution and verification agents while the simulation adapter handles game-specific actions.
- Submit objectiveThe console or API creates a task with scope and acceptance criteria.
- Discover capabilitiesThe registry identifies agents that can inspect, plan, build and verify.
- AuthorizeThe policy engine evaluates identities, requested permissions and environment boundaries.
- Plan and delegateThe orchestrator creates a workflow and assigns bounded tasks.
- ExecuteThe simulation runtime invokes the game connector to carry out approved actions.
- VerifyAn independent agent inspects the resulting world state against acceptance criteria.
- Recover or completeFailed steps are retried, corrected or escalated; verified artifacts and task records are retained.
A robotics workflow uses the same high-level orchestration pattern but requires a separate device adapter, device-specific validation and independent hardware safety controls. A simulated action is never assumed safe for physical execution.
017 / Technology choices
Choose replaceable technologies around stable contracts.
The following stack is a practical starting point, not a fixed dependency or a claim that these components are already deployed.
- Web console: React and TypeScript.
- Control-plane API: Python and FastAPI.
- Specialized gateways: Go or Rust when profiling justifies them.
- Contracts: OpenAPI, JSON Schema, Protobuf and AsyncAPI where appropriate.
- Primary data: PostgreSQL, with PostGIS for geospatial workloads.
- Durable messaging: NATS JetStream; Redis for cache and ephemeral coordination.
- Artifacts: S3-compatible object storage.
- Policy: Open Policy Agent behind a replaceable policy interface.
- Observability: OpenTelemetry-compatible traces, metrics and logs.
- Packaging: OCI containers; Kubernetes only where deployment scale requires it.
Begin with a modular monolith for the control plane, strict internal module boundaries and separately deployable workers. Split services when measured scale, security isolation, independent release cadence or operational ownership makes that separation worthwhile. This avoids premature microservice complexity.
018 / Relationship to NEXUS
Two products. An integration, not a dependency.
Agent Fabric remains a standalone product with its own APIs, SDKs, deployment profiles and licensing model. LAPENZER NEXUS may use Agent Fabric to coordinate evidence collection, research, analysis and verification agents. The integration uses published APIs and capability contracts; neither product requires the other to operate.
Interactive calculation
Change the inputs.
Compare the output.
The complete architecture blueprint includes the system context, module responsibilities, Decision Support design, agent contract, orchestration workflow, interoperability standards, security model, data architecture, deployment profiles, API families, connector lifecycle, implementation roadmap and acceptance criteria.
Project enquiries
Discuss a modelling
or software
project.
Project work can include graph algorithms, data processing, route prediction, and scenario simulation.
Describe your input data, required output, technical constraints, and timeline.
Discuss a project