Skip to content
Forticia
Research
Quantitative FinanceEquities, FX, futures. Factors and backtests, every run replayable.Computational BiologySequence, folding, simulation. Versioned, reproducible labs.Cultural IntelligencePhilosophy, governance, ethics. How institutions decide and answer for it.AI InstrumentationPrivate models. Multi-agent orchestration. Guardrails on write.View all research
Quantitative Finance
  • Equities, FX, futures
  • Factors and backtests
  • Every run logged and replayable
InfrastructurePapersPolarisLink™About
Sign inRequest access
Request access

Research

Quantitative FinanceEquities, FX, futures. Factors and backtests, every run replayable.Computational BiologySequence, folding, simulation. Versioned, reproducible labs.Cultural IntelligencePhilosophy, governance, ethics. How institutions decide and answer for it.AI InstrumentationPrivate models. Multi-agent orchestration. Guardrails on write.

Platform

InfrastructurePapersPolarisLink™About
Request accessSign in
Forticia

A private institute for computational research. It publishes original research and runs a governed environment where every run is logged and replayable.

Sign inSystem status

Research

Quantitative FinanceComputational BiologyCultural IntelligenceAI Instrumentation

Platform

InfrastructurePapersPolarisLink™StatusSign in

Institute

AboutRequest accessContactGitHubPolarisLink repository

Forticia publishes research and simulations. Nothing on this site is investment advice.

© 2026 ForticiaPrivacyTerms
InfrastructurePolarisLink™v3.0.0

Forticia
PolarisLink™

One protocol and one gateway for agents, research systems and human approvers: streaming events, scoped keys, deliberation, telemetry and an audit trail. It is the shared layer every Forticia branch connects through, built to work in any domain.

Request a gateway keyView on GitHubRead the specification
Protocol
v3.0.0
Transport
REST + SSE
License
Apache-2.0
SDKs
C++20 · Python 3

System architecture

Dual-rail protocol topology.

Dual-rail means two channels into one gateway: a REST rail for requests and an SSE rail (Server-Sent Events) for live updates. Together they connect domain adapters, an autonomous multi-agent swarm and immutable provenance storage.

REST railSSE stream railSSE /streamTelemetry ingestionGit commit trackingSystems that emit and consume eventsDomain adaptersBlitz executionengineReference implementationPipelinerunnerDesign targetGovernancereview queueDesign targetEvaluationharnessDesign targetResearch tierAutonomousSwarmswarm ⇄ gatewayStorage tierResearch &Telemetry Vaultswarm → vaultGateway nodeGateway :8787REST rail + SSE stream railreactive SSE multiplexer

Domain adapters

Any system that emits and consumes events

Adapters connect domain systems to the gateway over the REST rail and the SSE stream rail. Blitz, the quantitative execution engine, is the first reference implementation; the other adapters are design targets, not shipped integrations.

  • Blitz execution engine: first reference implementation
  • Pipeline runner: design target
  • Governance review queue: design target
  • Evaluation harness: design target

adapter ⇄ gateway

Institutional gateway node (:8787)Reactive SSE multiplexer

Unified gateway serving dual interfaces: REST-compatible endpoints for programmatic querying and persistent Server-Sent Events (/stream) delivering real-time agent coordination, turn-taking deliberations, cluster heartbeat synchronization, and audit vault notifications with zero polling overhead.

  • X-PolarisLink-Protocol: Forticia PolarisLink™
  • Wire Version: 3.0.0
  • Zero-Trust Timing-Safe Auth

Guarantees & standards

The canonical invariants.

Mathematical truth and fail-closed protocols governing all quantitative research streams and model lifecycle events.

  1. Zero Synthetic Drift Standard

    In plain terms: no result is accepted without a recorded source. PolarisLink™ unconditionally rejects unverified or fabricated model telemetry. Backtests without immutable git provenance and deterministic run logs return explicit rejection markers rather than flattering ungrounded claims. The rule is domain-agnostic: a pipeline run or an evaluation with no recorded provenance is refused in exactly the same way.

    Provenance gate
    Run intakeProvenance gate
    RunGit SHARun logVerdict
    run-a419e3779bdeterministicVerifying

    Backtests without immutable git provenance and deterministic run logs return explicit rejection markers.

  2. Duplex Agent Telemetry

    Persistent Server-Sent Events (SSE) multiplexer delivering instantaneous run/task lifecycle broadcasts, execution telemetry, and cluster alerts directly to listening threads. Listeners wake on events instead of polling. Any adapter, in any domain, subscribes to the same stream.

    Event stream
    GET /stream HTTP/2Accept: text/event-streamLast-Event-ID: 131
    Connected
    id: 128event: task.finisheddata: {"node":"autoheal"}
    id: 129event: cluster.heartbeatdata: {"cluster":"ok"}
    id: 130event: audit.sealeddata: {"vault":"append"}
    id: 131event: cluster.alertdata: {"severity":"notice"}

    Simulated streamFrames are generated in your browser

  3. Autonomous Closed-Loop Healing

    Integrated polaris-autoheal watchdog automatically diagnoses infrastructure anomalies, resolves database connection pool starvation, repairs execution state gaps, and enforces rigorous git worktree hygiene. The same watchdog loop applies to any service the gateway coordinates.

    Healing loop
    polaris-autohealWatchdog
    1. Detect
    2. Diagnose
    3. Repair
    4. Verify

    09:41:20detectAnomaly: Connection pool starvation

    09:41:21diagnoseRoot cause recorded

    09:41:22repairResolved: connection pool starvation

    09:41:23verifyChecks passed · anomaly closed

    Anomalies are diagnosed, repaired and verified without operator intervention, and worktrees are kept clean.

  4. Swarm Consensus Deliberations

    Formal multi-agent debate and deliberation protocol governing hypothesis promotion, parameter vetting, adversarial stress-testing, and strategy validation before deployment. Outside finance the same protocol records a governance review with its dissent alongside the decision.

    Deliberation
    Turn-based consensusDecision gates
    Turn 1Turn 2Turn 3Turn 4PolarisRigelAutoHealPropose hypothesisVet parametersStress-testValidate strategyConsensus reached

    Hypothesis promotion, parameter vetting, adversarial stress-testing and strategy validation, one turn at a time.

  5. Cryptographic Run Provenance

    Every research and execution run is immutably audited with its full parameters and the exact git commit SHA hash, preventing model recycling or historical curve-fitting. For quantitative runs the record includes the Deflated Sharpe Ratio (DSR), Calmar ratio and trade counts; a pipeline run in another branch carries its own chain from inputs to outputs.

    Run provenance
    git logAudited runs
    1. commit 9f3c2a1parent 4be71d0Pending
      Inputs
      Parameters
      Outputs
      Metrics
    2. commit c07a5e9parent 9f3c2a1Pending
      Inputs
      Parameters
      Outputs
      Metrics
    3. commit 1d8f3b6parent c07a5e9Pending
      Inputs
      Parameters
      Outputs
      Metrics
    4. commit a2e90c4parent 1d8f3b6Pending
      Inputs
      Parameters
      Outputs
      Metrics
  6. Institutional Parity & Packaging

    Designed for direct compatibility with institutional risk management standards. In quantitative finance that means seamless securitization across Swiss Actively Managed Certificates (AMCs with ISIN) and institutional Separately Managed Accounts (SMAs); other branches package outputs to their own institutional standards.

    Packaging
    One run record, institutional wrappersQuantitative example
    Verified runprovenanceRiskstandardsSwiss AMCwith ISINInstitutionalSMASeparately managed

    Securitization across Swiss Actively Managed Certificates (AMCs with ISIN).

At a glance

Facts.

Details you can check against the repository.

Wire version
v3.0.0

Sent in the X-PolarisLink-Protocol header

Licence
Apache-2.0

Protocol and SDKs

Transport
REST + SSE

REST for requests, Server-Sent Events for live updates

SDKs
C++20 · Python 3

Single-header C++20, zero-dependency Python

Repositorygithub.com/Forticia/polarislink

Case study

Blitz, the first reference implementation.

Blitz is Forticia's C++20 execution engine for quantitative finance: one project in one branch. It shows the protocol's mechanisms working end to end. The same mechanisms apply to any domain.

Blitz C++20 Engine

Native C++20 execution runtime communicating directly with exchange gateways and multi-leg option combo routers.

Branch
Quantitative finance
Role
Execution adapter
Client
Single-Header (polarislink.hpp)
Routing
Atomic multi-leg combo routing (BAG)
Rails
Direct institutional gateway rails
  1. Execution telemetry

    The engine emits execution telemetry through the single-header client over the SSE rail, so every listener sees dispatch events as they happen, without polling.

    Protocol mechanism: Duplex agent telemetry
  2. Swarm deliberation

    Research agents debate a hypothesis turn by turn through the institutional decision gates before it is promoted.

    Protocol mechanism: Swarm consensus deliberations
  3. Vault provenance

    Each run is sealed in the research vault with its parameters and git commit SHA, alongside its deterministic walk-forward evaluation record.

    Protocol mechanism: Cryptographic run provenance
  4. Human approval

    Drafts by default. A lead approves before anything is written, and the approval is part of the audit trail.

    Protocol mechanism: Governed writes

Beyond Forticia

An open protocol.
Bring your own adapter.

The protocol and SDKs are published under Apache-2.0, so anyone can implement an adapter for their own systems. The hosted Forticia gateway is separate: connecting to it needs an approved key.

View on GitHubRequest a gateway key

Designed for every Forticia branch

  • Quantitative finance
  • Computational biology
  • Cultural intelligence and governance
  • AI instrumentation
  • Infrastructure

Developer integration

Client SDK studio.

Integrate any system. Single-header C++20 and zero-dependency Python 3 clients for programmatic agent coordination and execution integration. Open source under Apache-2.0.

Forticia/polarislinkApache-2.0 Licensed · Native C++20 Header & Python 3 SDK
Star on GitHub
Single header · C++20
#include <polarislink/polarislink.hpp>
#include <iostream>

int main() {
    auto client = forticia::PolarisLinkClient::connect("https://forticia.uk/api/polarislink", {
        .api_key = std::getenv("POLARISLINK_API_KEY"),
        .workspace_id = "blitz",
        .stream_channel = "swarm"
    });

    client.subscribe_swarm_events([](const forticia::SwarmEvent& event) {
        std::cout << "[SWARM DELIBERATION] Node: " << event.node_id
                  << " | Stage: " << event.stage
                  << " | Hypothesis: " << event.hypothesis_id
                  << " | Gate 12 Consensus: " << (event.passed_gates ? "PASSED" : "REJECTED") << "\n";
    });

    client.await_stream_events();
    return 0;
}
1#include <polarislink/polarislink.hpp>
2#include <iostream>
3
4int main() {
5 auto client = forticia::PolarisLinkClient::connect("https://forticia.uk/api/polarislink", {
6 .api_key = std::getenv("POLARISLINK_API_KEY"),
7 .workspace_id = "blitz",
8 .stream_channel = "swarm"
9 });
10
11 client.subscribe_swarm_events([](const forticia::SwarmEvent& event) {
12 std::cout << "[SWARM DELIBERATION] Node: " << event.node_id
13 << " | Stage: " << event.stage
14 << " | Hypothesis: " << event.hypothesis_id
15 << " | Gate 12 Consensus: " << (event.passed_gates ? "PASSED" : "REJECTED") << "\n";
16 });
17
18 client.await_stream_events();
19 return 0;
20}
TerminalRecorded example

$ ./stream_swarm

[SWARM DELIBERATION] Node: rigel | Stage: hypothesis proposal | Hypothesis: h-0412 | Gate 12 Consensus: PASSED

View on GitHubDownloadpolarislink.hpp

Contents

  1. Institutional Keying
  2. Wire Protocol
  3. Swarm Coordination
  4. Audit & Provenance

Wire version v3.0.0

Protocol specification

Specification

The protocol and the SDKs are open: the full specification lives in the repository under Apache-2.0, and anyone can implement against it. The hosted Forticia gateway is different: it needs an approved key, granted to authorised desks, researchers and counterparties.

Wire handshake
ClientGateway :8787Connection dropsGET /streamTiming-safe HMAC credential200 text/event-streamHTTP/2id · event · data framesPersistent streamGET /streamLast-Event-ID: nReplay from n + 1, then liveReconnect handshake
  1. Institutional Keying

    Timing-safe HMAC credentials with per-workspace rate ceilings and permission scoping.

  2. Wire Protocol

    HTTP/2 Server-Sent Events multiplexer with persistent reconnect handshake and Last-Event-ID replay.

  3. Swarm Coordination

    Real-time turn alternation, deliberation state trees, and automated escalation protocol.

  4. Audit & Provenance

    Cryptographic run verification with SHA-linked git commits and zero synthetic data validation.

Request a gateway keyRead SPECIFICATION.mdRepository (Apache-2.0)
AdaptersDomain adapters
AgentsAutonomous swarm
StorageProvenance vault
GatewayGateway :8787