SOCIALCAP AI // CORE DOCUMENTATION

Sovereign Operating Systems and OSINT Protocols

01. About Platform & Sovereignty

SocialCap AI / Milliways is a fractionally scalable network intelligence ecosystem engineered for sovereign wealth funds, institutional allocators, and task forces. Operating as a politically neutral, decentralized data mirror, the platform maps the invisible web of global relational assets and elite mobility shifts without compromising Personally Identifiable Information (PII) or sovereign state compliance.

At the core of our architectural philosophy are three fundamental pillars:

Network Physics NeutralityWe do not analyze political or ideological narratives. Our algorithms calculate only the objective mathematical gravity of capital flows and connection vectors. Physics has no passport; network structures are universally unbiased.
Ground Truth OSINTMilliways processes verified, voluntarily disclosed open-source footprints (such as academic registries, G20 Task Force administrative rosters, and public corporate filings), providing cross-border actors with immutable, empirical data.
Conscious BlindnessThrough off-chain cryptographic hashing, we ensure complete anonymity for individual actors. The platform measures aggregated cohort velocities and macro-transit corridors, completely scrubbing personal metadata.

02. Agentic API & Schema

The Milliways Agentic API provides a programmatic interface optimized for external LLMs and Autonomous AI Agents. It returns encrypted JSON schemas mapping institutional relational gravity and non-financial connectivity parameters without exposing Personally Identifiable Information (PII).

Authentication

All requests require a Bearer token issued after KYB verification. Tokens are scoped per institution and rotate every 90 days.

Authorization: Bearer sc_live_zk_<your_institutional_token>
Endpoint Reference
MethodEndpointDescription
GET/v1/vectors/congruenceZK-proof entity alignment score between two nodes
GET/v1/hubsList all 45 sovereign venue nodes with AUM metadata
GET/v1/hubs/{id}Full OSINT profile for a single hub node
GET/v1/aviation/streamsLive charter flight corridors (ME↔APAC, TRANSATLANTIC, EU↔ME)
POST/v1/graph/queryGraph traversal — find shortest Dunbar path between two entities
GET/v1/synergy/matrix12×12 cross-entity synergy index (LP overlap, board, sovereign)
GET /v1/vectors/congruence — Responseapplication/json
{
  "status": "success",
  "query_node": "Sovereign-APAC-01",
  "congruence_matrix": {
    "target_node": "Sovereign-Nordic-01",
    "congruency_score": 0.9842,
    "dunbar_degree": 2,
    "verified_channels": [
      "regulatory_acra",
      "public_pr_media",
      "sovereign_mobility"
    ],
    "aggregated_aum_b_usd": 14.9,
    "proof_merkle_root": "0x7a91bf32cde8e50f3b..."
  }
}
Rate Limits & SLA
Explorer60 req/minSLA 99.5%
Institutional600 req/minSLA 99.9%
SovereignUnlimitedSLA 99.99%
Error Codes
401Invalid or expired Bearer token
403KYB verification pending
429Rate limit exceeded — back-off 60s
503ZK resolver temporary unavailable

03. Python SDK & Integration

Integrate Milliways directly into your agentic workflows using the official Python library. The SDK handles token refresh, ZK-proof validation, and streaming graph traversal without exposing PII at any layer.

Installation
pip install socialcap-sdk>=2.4.0

Requires Python 3.11+. No transitive dependencies on Pandas or heavy ML libs.

Example 1 — Basic Connection & Congruence Check
import socialcap

# Initialize — token rotates automatically every 90 days
client = socialcap.Client(api_key="sc_live_zk_992f")

# ZK-verified proximity check (no PII disclosed)
matrix = client.vectors.verify_congruence(
    source_node="Sovereign-APAC-01",
    target_node="Sovereign-Nordic-01",
    min_confidence_level=0.95
)

print(f"Alignment Proved : {matrix.is_verified}")   # True
print(f"Confidence Level : {matrix.confidence:.2%}") # 98.42%
print(f"Dunbar Degree    : Ring-{matrix.dunbar_degree}")  # Ring-2
print(f"ZK Merkle Root   : {matrix.merkle_root[:20]}...")
Example 2 — Scan Active Sovereign Hubs by Region
# Stream all APAC hubs above $3T AUM with LIVE or URGENT status
for hub in client.hubs.stream(
    region="APAC",
    min_aum_t_usd=3.0,
    temporal_states=["LIVE", "URGENT"]
):
    print(f"{hub.city:15s}  {hub.aum:8s}  {hub.temporal_state}")
# stdout:
Singapore        $12.5T   LIVE
Hong Kong        $3.5T    URGENT
Mumbai           $4.1T    URGENT
Example 3 — Graph Path Query (AI Agent Integration)
# Designed for LLM tool-use: returns serialisable dict
result = client.graph.shortest_path(
    source="Sovereign-APAC-01",
    target="Sovereign-EU-03",
    max_hops=3,
    verified_only=True          # Only ZK-proven edges
)

# Serialize for GPT-4o / Claude tool_result
print(result.to_json())

# Output:
# {
#   "path_length": 2,
#   "hops": ["SIN", "DXB", "LDN"],
#   "path_aum_total_t_usd": 31.5,
#   "confidence": 0.961
# }
Example 4 — Async Streaming for Real-Time Agent Loops
import asyncio, socialcap

async def monitor_aviation():
    async with socialcap.AsyncClient(api_key="sc_live_zk_992f") as client:
        async for event in client.aviation.stream(corridor="ME_APAC"):
            print(f"[{event.timestamp}] {event.route}  {event.status}")
            # [2026-06-07T14:21Z]  DXB → SIN  EN ROUTE

asyncio.run(monitor_aviation())
Framework Compatibility
LangChainTool wrapper: SocialCapTool()
LlamaIndexQueryEngine adapter available
AutoGenFunction-calling schema shipped
Claude APItool_use compatible out of the box

04. Data Refinery & Entity Resolution

The Milliways Data Refinery resolves the core challenge of multi-source entity duplication — matching inconsistent profile aliases across ACRA corporate registers, SEC filings, academic rosters, and public media into a single, verified graph node without exposing raw PII at any stage.

Input Cluster Pipeline — 4 Sovereign Data Domains
I
Regulatory & Corporate (ACRA / SEC / BVI)Directorship tables, beneficial ownership registers, liquidation notices, cross-border fund structures.
II
Public Media & Conference Graph10,000+ global events indexed. Speaker rosters, side-event mapping, panel co-appearance matrices.
III
Sovereign Mobility (Aviation + Maritime)Charter tail-number cross-matching, Hurun Rich List relocations, port-of-call vessel logs.
IV
Social Proximity & LP NetworkCo-investment signals, board seat overlaps, alumni co-appearance — hashed before ingestion.
Entity Resolution Algorithm

The engine computes a weighted congruence score across three dimensions. If the combined score exceeds the merge threshold, disparate hashes are collapsed into a single Sovereign Node and raw source data is purged.

ER_score(A, B) =
  0.40 × jaro_winkler(name_hash_A, name_hash_B)   // String similarity
+ 0.35 × shared_neighbors(A, B) / max_neighbors    // Graph topology
+ 0.25 × co_event_appearances(A, B) / total_events // Conference co-presence

merge_threshold = 0.88   // Nodes merged when ER_score ≥ 0.88
pii_scrub       = True   // Raw source strings purged post-merge
Merge Threshold≥ 0.88
False Positive Rate< 0.6%
Congruency on merge99.4%
Resolved Node Output Schema
{
  "node_id": "Sovereign-APAC-01",
  "resolution_confidence": 0.994,
  "source_cluster_count": 3,        // Merged from 3 input domains
  "pii_status": "SCRUBBED",         // Raw strings purged
  "dunbar_ring_1_count": 5,
  "dunbar_ring_2_count": 12,
  "dunbar_ring_3_count": 38,
  "aum_b_usd": 12500,
  "temporal_state": "LIVE",
  "hub_city": "Singapore"           // Non-PII geographic anchor retained
}

05. ZK Protocols & Merkle Proofs (R&D Sandbox)

Our R&D models specify that every verified connection, mobility shift, or LP board alignment is hashed via SHA-256 as a leaf in the Merkle Tree. The system continuously computes the Merkle Root. External institutional agents can verify the absolute validity of any connection path by executing a lightweight Merkle Proof validation against the root hash—confirming mathematical truth without decrypting transaction metadata or exposing identity.

How Merkle Proofs Work in Milliways
01Each verified edge (connection) is SHA-256 hashed → becomes a leaf L.
02Leaf pairs are hashed together: H(L₁ ∥ L₂) → parent node.
03Tree is rebuilt continuously. Root hash R is published on-chain (immutable anchor).
04To prove edge X exists: client receives the sibling path [H₂, H₃, H₅].
05Client recomputes root from path. If result = R → proof valid. No edge data exposed.
Merkle Tree Structure — Sovereign Graph Commit
                    [ Root R ]                  ← Published on-chain
                   /            \
           [ H(L1∥L2) ]     [ H(L3∥L4) ]
           /        \         /        \
   [L1: SIN→DXB] [L2: DXB→LDN] [L3: Board] [L4: LP-overlap]
   SHA-256 hash  SHA-256 hash   SHA-256     SHA-256

   Proof for L1 = { H(L2), H(L3∥L4) }   // 2 hashes, O(log N)
   Verifier computes: H(H(L1∥L2) ∥ H(L3∥L4)) == R  → VALID
ZK Proof Verification — Python SDK
# Verify edge SIN→DXB exists in graph WITHOUT decrypting metadata
proof = client.zkp.verify_edge(
    edge_hash="sha256:3f4a91bc...",   # Hash of the claimed edge
    merkle_root="0x7a91bf32cde8...",  # Published root (on-chain)
    sibling_path=["0x4bc1...", "0x9de3..."]  # Path from API
)

print(f"Proof Valid : {proof.is_valid}")   # True
print(f"Leaf Index  : {proof.leaf_index}") # 0
print(f"Tree Height : {proof.tree_height}")# 18
print(f"PII Exposed : none")               # Zero-knowledge guarantee
ZK Compliance Standards
StandardJurisdictionStatus
PDPA 2012SingaporeCOMPLIANT
GDPR Art. 25European UnionCOMPLIANT
MAS Notice 655MAS SingaporeALIGNED
FATF Rec. 16G20 / FATFALIGNED
ISO/IEC 27001InternationalPURSUING

06. Global Data Privacy & G20 Compliance

SocialCap AI is engineered to meet the highest global standards of data protection and privacy sovereignty. The platform's ZK-OSINT architecture operates on a zero-ingest model for raw PII — all data markers are hashed off-chain on client nodes before any graph resolution or Merkle root commitment.

G20 Jurisdictional Compliance Matrix
RegulationJurisdictionScopeStatus
PDPA 2012SingaporePrimary jurisdictionCOMPLIANT
GDPR Art. 17/25European UnionData minimisation & erasureCOMPLIANT
CCPA / CPRAUnited StatesCalifornia consumer rightsCOMPLIANT
PIPL 2021ChinaCross-border data transferALIGNED
PDPLSaudi Arabia / UAEGCC sovereign dataALIGNED
Privacy Act 1988AustraliaAPPs 1-13 frameworkALIGNED
POPIA 2013South AfricaBRICS-aligned processingALIGNED
FZ-152RussiaLocal data residencyREVIEWED
LGPDBrazilLatin American data rightsALIGNED
APPI (Revised)JapanEast Asian sovereigntyALIGNED
PII-Free Data Flow Architecture
External Source Data
        │
        ▼ (client-side, off-chain)
  SHA-256 Hash(entity_alias + jurisdiction_salt)
        │
        ▼
  Hashed Leaf → Merkle Tree Commit
        │  No raw strings cross this boundary
        ▼
  Graph Resolution Engine
        │
        ▼
  Sovereign Node  (PII_STATUS: "SCRUBBED")
Data Subject Rights — Article 17 Erasure & Portability
Right to ErasureNode hash purged within 72h of verified request
Right of AccessInstitution-scoped audit log available via API
Data PortabilityExport as JSON via /v1/hubs/{id}/export
Right to RectifyRe-hash with corrected salt on next ER cycle

07. Legal Terms of Service

Milliways.live operates under an architectural data-compliance framework aligned with Singapore's PDPA 2012. Access to commercial API environments is granted strictly under evaluation licenses after institutional KYB verification. All usage is logged and auditable.

Governing Law & Dispute Resolution
Primary JurisdictionRepublic of Singapore
Dispute ForumSingapore International Arbitration Centre (SIAC)
Governing StatutePDPA 2012 + Companies Act (Cap. 50)
API Contract TypeInstitutional SaaS Evaluation License
Know Your Business (KYB) — Onboarding Process
Step 1Submit institutional inquiry via API Key Request modal or api@socialcap.ai
Step 2Provide Certificate of Incorporation + beneficial ownership declaration
Step 3Compliance team completes KYB review (1-3 business days)
Step 4Evaluation license issued — sandbox API access granted (30 days)
Step 5Full institutional license agreement signed — production keys issued
License Tiers & Permitted Use
TierPermitted UseProhibited
ExplorerR&D, internal analysis, sandbox testingCommercial resale, public distribution
InstitutionalInvestment due diligence, sovereign fund workflowsSub-licensing, competitive benchmarking
SovereignFull graph access, custom ER pipeline, white-labelOnly per custom MSA agreement
⚠ DisclaimerSocialCap AI provides informational OSINT intelligence only. Output does not constitute financial, legal, or investment advice. All relational data is probabilistic and subject to ZK confidence scoring. Institutional users remain solely responsible for decisions derived from platform output.