Open-source inference server and production cluster for all the models your agent needs.
Python bgecolbertdata-pipelinedeep-learningembeddingsinferenceinference-serverinformation-retrievalllmmlmlopsnatural-language-processingnlppythonrerankingretrievalretrieval-augmented-generationsemantic-searchspladevector-search
quickstart: measured DX pass
Filip Makradulid25247ca19b3
diff --git a/README.md b/README.mdindex 56d2f2c32..624e0f723 100644--- a/README.md+++ b/README.md@@ -27,7 +27,7 @@## About-SIE is an open-source inference engine that runs the models behind every agent task through one API: search and retrieval, document-to-markdown conversion, structured output, content safety, and the agent loop itself. It replaces the patchwork of a separate model server per task with one system that serves 85+ models, loading each on demand.+SIE is an open-source inference engine that runs the models behind every agent task through one API: search and retrieval, document-to-markdown conversion, structured output, content safety, and the agent loop itself. It replaces the patchwork of a separate model server per task with one system that serves 100+ models, loading each on demand.- OpenAI-compatible API for drop-in migration: `/v1/embeddings`, `/v1/chat/completions`, `/v1/completions`, `/v1/responses`- Pre-configured model catalog: Stella, SPLADE, Qwen3, GLiNER, SigLIP, and more, all quality-verified against MTEB@@ -66,11 +66,20 @@ docker run -p 8080:8080 -v sie-hf-cache:/app/.cache/huggingface ghcr.io/superlincurl http://localhost:8080/readyz # expect: ok```+The server speaks the OpenAI API out of the box; your first embedding needs nothing but curl:++```bash+curl http://localhost:8080/v1/embeddings \+ -H 'Content-Type: application/json' \+ -d '{"model": "sentence-transformers/all-MiniLM-L6-v2", "input": "Hello world"}'+# {"object": "list", "data": [{"object": "embedding", "embedding": [-0.0344, 0.0310, ...+```+**2. Install the SDK**```bash-pip install sie-sdk # Python-pnpm add @superlinked/sie-sdk # TypeScript+pip install sie-sdk # Python+npm install @superlinked/sie-sdk # TypeScript (pnpm and yarn work too)```**3. Call models**@@ -102,7 +111,7 @@ result = client.extract(print(result["entities"][0]) # {'text': 'Tim Cook', 'label': 'person', 'score': 0.991}```-The first call to a model downloads its weights from Hugging Face; after that, calls are warm. Text generation runs on the GPU generation image:+The first call to a model downloads its weights from Hugging Face and loads them (one to three minutes each for the models above on a home connection, with progress visible in the serve terminal); after that, calls return in milliseconds. Text generation runs on the GPU generation image:```bashdocker run --gpus all -p 8080:8080 -v sie-hf-cache:/app/.cache/huggingface ghcr.io/superlinked/sie-server:latest-cuda12-sglang@@ -137,7 +146,7 @@ See the [deployment guide](https://superlinked.com/docs/deployment/).### Explore-[**85+ models**](https://superlinked.com/models): dense, sparse, multi-vector, vision, cross-encoder, and generative architectures. Every model is a config in [`packages/sie_server/models/`](https://github.com/superlinked/sie/tree/main/packages/sie_server/models); pass its full Hugging Face ID to the SDK (e.g. `sentence-transformers/all-MiniLM-L6-v2`, `Qwen/Qwen3-4B-Instruct-2507`).+[**100+ models**](https://superlinked.com/models): dense, sparse, multi-vector, vision, cross-encoder, and generative architectures. Every model is a config in [`packages/sie_server/models/`](https://github.com/superlinked/sie/tree/main/packages/sie_server/models); pass its full Hugging Face ID to the SDK (e.g. `sentence-transformers/all-MiniLM-L6-v2`, `Qwen/Qwen3-4B-Instruct-2507`).[**Integrations**](https://superlinked.com/docs/integrations/): LangChain, LlamaIndex, Haystack, DSPy, CrewAI, Chroma, Qdrant, Weaviate.diff --git a/examples/document-ocr/README.md b/examples/document-ocr/README.mdindex 91559ebb4..b035b9306 100644--- a/examples/document-ocr/README.md+++ b/examples/document-ocr/README.md@@ -153,7 +153,7 @@ SIE collapses that into one process:end-to-end document AI, and zero-shot NER. Swap the model ID alone.- **Open source, runs in your VPC.** Customer documents never leave thehost running this compose. Compliance teams stop blocking you.-- **85+ models, swappable.** Need a different OCR-VLM, a domain-tuned+- **A full catalog of models, swappable.** Need a different OCR-VLM, a domain-tunedGLiNER, a layout model, a multilingual reranker, or a custom LoRA?All live in the same catalog. Swap a model ID in `src/config.ts`.- **Same code laptop to Kubernetes.** SIE ships a Helm chart, KEDA@@ -252,7 +252,7 @@ HTML + CSS + JavaScript driven by `EventSource` for the SSE stream from SIE.with layout + table-structure detection in one call.- **Embed the recognized text.** Pair `extract` with `client.encode` tobuild a semantic search index over your processed documents. The SDK- call is the same; the model ID picks an embedding model from SIE's 85++ call is the same; the model ID picks an embedding model from SIE's catalog of 100+catalog.- **Fine-tune for your schema.** If your documents look like one of theDonut training corpora (CORD, RVL-CDIP, DocVQA), pick the matchingdiff --git a/examples/quickstart.ipynb b/examples/quickstart.ipynbindex 294fd717b..d16f138c4 100644--- a/examples/quickstart.ipynb+++ b/examples/quickstart.ipynb@@ -19,7 +19,7 @@"\n","Works on your laptop (Mac or Linux, CPU is fine) or a free Colab GPU. The `[local]` extra pins the transformers version the embedding and reranking models need.\n","\n",- "On Colab, expect a few minutes: SIE pins torch 2.9, so pip replaces Colab's preinstalled PyTorch.\n",+ "On Colab, expect a few minutes: SIE pins torch 2.9, so pip replaces Colab's preinstalled PyTorch. First output lands about two minutes after that; the optional showcase model adds a few more minutes of downloads.\n","\n","> **Note:** SIE requires Python 3.12. Colab's current default runtime is Python 3.12, so no action is needed there. Locally, run this notebook on a Python 3.12 kernel."]@@ -39,9 +39,14 @@"metadata": {},"outputs": [],"source": [- "import subprocess, time, urllib.request\n",+ "import subprocess, time, urllib.request, logging\n","\n",- "# Start the server in the background (defaults: host 0.0.0.0, port 8080)\n",+ "# Show the SDK's wait/retry messages while a model downloads server-side\n",+ "logging.basicConfig(level=logging.INFO, format=\"%(message)s\")\n",+ "logging.getLogger(\"sie_sdk\").setLevel(logging.INFO)\n",+ "\n",+ "# Start the server in the background (defaults: host 0.0.0.0, port 8080).\n",+ "# Download progress goes to the log - check it any time with: !tail -n 5 /tmp/sie-server.log\n","proc = subprocess.Popen(\n"," [\"sie-server\", \"serve\", \"--port\", \"8080\"],\n"," stdout=open(\"/tmp/sie-server.log\", \"w\"),\n",@@ -66,9 +71,7 @@"source": ["## 2. Encode\n","\n",- "Generate dense embeddings with a 400M-parameter model. The model downloads on first use (a few minutes depending on bandwidth), then subsequent calls are fast.\n",- "\n",- "On machines without an NVIDIA GPU, SIE automatically falls back to a slower sentence-transformers execution path for this model."+ "Generate dense embeddings. `all-MiniLM-L6-v2` is ~90MB, so the first call downloads and loads it in well under two minutes on a normal connection; every call after that returns in milliseconds."]},{@@ -82,18 +85,37 @@"\n","client = SIEClient(\"http://localhost:8080\")\n","\n",- "result = client.encode(\"NovaSearch/stella_en_400M_v5\", Item(text=\"Hello world\"))\n",- "print(f\"Shape: {result['dense'].shape}\") # (1024,)\n",+ "result = client.encode(\"sentence-transformers/all-MiniLM-L6-v2\", Item(text=\"Hello world\"))\n",+ "print(f\"Shape: {result['dense'].shape}\") # (384,)\n","print(f\"First 5 values: {result['dense'][:5]}\")"]},+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "### Upgrade to a SOTA embedder\n",+ "\n",+ "Every model is one identifier swap away. `stella_en_400M_v5` is a 400M-parameter embedder near the top of MTEB; its ~1.6GB download takes a few minutes on a home connection (usually faster on Colab). Optional - skip if you are short on time."+ ]+ },+ {+ "cell_type": "code",+ "metadata": {},+ "source": [+ "result = client.encode(\"NovaSearch/stella_en_400M_v5\", Item(text=\"Hello world\"))\n",+ "print(f\"Shape: {result['dense'].shape}\") # (1024,)"+ ],+ "outputs": [],+ "execution_count": null+ },{"cell_type": "markdown","metadata": {},"source": ["## 3. Score\n","\n",- "Rerank documents by relevance using a cross-encoder."+ "Rerank documents by relevance using a cross-encoder (~80MB, seconds to load)."]},{@@ -101,7 +123,19 @@"execution_count": null,"metadata": {},"outputs": [],- "source": "scores = client.score(\n \"BAAI/bge-reranker-v2-m3\",\n Item(text=\"What is machine learning?\"),\n [Item(text=\"ML learns from data.\"), Item(text=\"The weather is sunny.\")]\n)\n\nfor s in scores[\"scores\"]:\n print(f\" rank {s['rank']}: {s['score']:.3f} - {s['item_id']}\")"+ "source": [+ "scores = client.score(\n",+ " \"cross-encoder/ms-marco-MiniLM-L-6-v2\",\n",+ " Item(text=\"What is machine learning?\"),\n",+ " [Item(text=\"ML learns from data.\"), Item(text=\"The weather is sunny.\")]\n",+ ")\n",+ "\n",+ "for s in scores[\"scores\"]:\n",+ " print(f\" rank {s['rank']}: {s['score']:.3f} - {s['item_id']}\")\n",+ "\n",+ "# Same call, stronger multilingual reranker: swap the model ID to\n",+ "# \"BAAI/bge-reranker-v2-m3\" (~2.3GB download on first use)."+ ]},{"cell_type": "markdown",@@ -127,7 +161,7 @@{"cell_type": "markdown","metadata": {},- "source": "## Next steps\n\n- [API reference](https://superlinked.com/docs/reference/sdk) - full SDK documentation\n- [All models](https://superlinked.com/models) - 85+ supported models\n- [Deployment guide](https://superlinked.com/docs/deployment/docker) - run in production with Docker or Kubernetes\n- [GitHub](https://github.com/superlinked/sie) - star the repo if this was useful"+ "source": "## Next steps\n\n- [API reference](https://superlinked.com/docs/reference/sdk) - full SDK documentation\n- [All models](https://superlinked.com/models) - the full catalog, 100+ models\n- [Deployment guide](https://superlinked.com/docs/deployment/docker) - run in production with Docker or Kubernetes\n- [GitHub](https://github.com/superlinked/sie) - star the repo if this was useful"}],"metadata": {diff --git a/examples/retrieval-ablation/README.md b/examples/retrieval-ablation/README.mdindex 2f8d0c84f..d56209dc0 100644--- a/examples/retrieval-ablation/README.md+++ b/examples/retrieval-ablation/README.md@@ -109,7 +109,7 @@ See [RESULTS.md](RESULTS.md) for full methodology, all benchmarking conditions,- **Model-agnostic**: swap `bge-m3` for `jina-colbert-v2` with one parameter change- **Multi-model pipelines**: two encoders plus a cross-encoder rerank in one script, one cluster-- **85+ models available**: not locked into one vendor's embeddings+- **100+ models available**: not locked into one vendor's embeddings- **Async-native**: fire hundreds of concurrent requests, SIE handles batching and GPU scheduling## API Keys Requireddiff --git a/examples/sie-hugging-face-mteb-semantic-search/README.md b/examples/sie-hugging-face-mteb-semantic-search/README.mdindex 5d16698bc..dbc338544 100644--- a/examples/sie-hugging-face-mteb-semantic-search/README.md+++ b/examples/sie-hugging-face-mteb-semantic-search/README.md@@ -1,6 +1,6 @@# Find SOTA embedding models by MTEB task-**You're using SIE and you need to pick a model.** SIE ships 85++**You're using SIE and you need to pick a model.** SIE ships 100+specialized models for encoding, reranking, and extraction (BGE,Qwen3, Stella, ColBERT, ColPali, GLiNER, Florence-2, and more). Whichone is right for *your* task?