● live
SYNAPSE Registry
Canonical IR protocol for AI model interoperability.
Write two functions — connect your model to every other model in the ecosystem.
connectors = N * (N - 1) / 2 # 10 models = 45 connectors, each breaks on schema change
connectors = 2 * N # 10 models = 20 adapters, all composable
Quick start
pip install synapse-adapter-sdk
from synapse_sdk import AdapterBase, CanonicalIR
class MyModelAdapter(AdapterBase):
MODEL_ID = "my-org/my-model-v1"
ADAPTER_VERSION = "1.0.0"
def ingress(self, ir: CanonicalIR) -> dict:
return {"input": ir.payload.content}
def egress(self, output: dict, ir: CanonicalIR, latency_ms: int) -> CanonicalIR:
return self.build_response(ir, output["result"], latency_ms)
synapse-validate --adapter my_module.MyModelAdapter --check-registry