Overview

Use Synapse OS as a drop-in LLM replacement within your existing LangChain agentic workflows. Synapse acts as a single `ChatModel` that handles fallback routing invisibly behind the scenes.

Quickstart

Import the Synapse integration from the LangChain community package.

python
1
from langchain_community.chat_models import ChatSynapse
2
from langchain_core.messages import HumanMessage
3
chat = ChatSynapse(api_key="sk_live_...",routing_strategy="latency_optimized")chat.invoke([HumanMessage(content="Initialize sequence.")])

Installation

pip
$pip install synapse-langchain

DEPLOY / SYNAPSE OS

Start building with Synapse OS.

Two ways in — pick your path.

01

For humans

Get started with our Next.js and Python SDKs in seconds.

02

For agents

Tools to connect your autonomous agents to our edge infrastructure.

$npm install @synapse/sdk

Aquire $129

Aquire $129

Aquire $129

Create a free website with Framer, the website builder loved by startups, designers and agencies.