Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

chore: merge upstream main into feat/systemone

Rahul Parundekar896f40bc46b0
diff --cc .github/workflows/ci.yml
index 16f17abd8,7c9ca57e0..e331020ee
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@@ -87,13 -87,13 +87,20 @@@ jobs
mise exec -- uv run --frozen ruff format --check .
mise exec -- uv run --frozen ruff check .
mise exec -- uv run --frozen pytest -q
+ - name: Claude Code example gate
+ working-directory: examples/coding-agent-claude-code
+ run: |
+ mise exec -- uv lock --check
+ mise exec -- uv run --frozen ruff format --check .
+ mise exec -- uv run --frozen ruff check .
+ mise exec -- uv run --frozen pytest -q
+ - name: System One example checker
+ working-directory: examples/systemone-local
+ run: |
+ mise exec -- uv lock --check
+ mise exec -- uv run --frozen ruff format --check .
+ mise exec -- uv run --frozen ruff check .
+ mise exec -- uv run --frozen pytest -q
- name: Pinned collector privacy
run: |
mise run helm -- dependencies
diff --cc examples/README.md
index 915082e8e,3bd4ee0cf..67fc94264
--- a/examples/README.md
+++ b/examples/README.md
@@@ -20,8 -20,7 +20,8 @@@ to a separately maintained repository (
| [Extract custom entities from primary sources](./named-entity-extraction) | Changing zero-shot labels across financial, healthcare, rail-safety and legal text, with the two labels that came back empty left visible | `extract` | SIE endpoint with GLiNER multi v2.1; `fetch.py` pulls the recorded run, `score.py` reproduces the counts with no key | Runnable recorded example |
| [Extract the entity types you name, with no model to train](./custom-entity-types) | Asking for the 85 entity types of seven zero-shot NER sets and scoring exact spans against GPT-6 Luna, GPT-6 Sol, Claude Haiku 4.5, SIE Qwen3.8 27B, AWS Comprehend and spaCy, with a paired bootstrap and the price of each | `extract` | SIE server with GLiNER BioMed Large; `fetch.py` pulls the recorded run, `score.py` reproduces the figures with no key | Runnable recorded example |
| [Answer a question from a passage, and quote the sentence you used](./chat) | Checking a generated answer for its citation, its length and whether it declines a question the passage cannot answer | `chat/completions` | SIE Cloud with Qwen3.8 27B; `fetch.py` pulls the recorded run, `score.py` reproduces the numbers with no key | Runnable recorded example |
- | [Run a coding agent on SIE with OpenCode](./coding-agent-opencode) | Pointing OpenCode at a laptop server, a self-hosted cluster or SIE Cloud, and checking the agent loop the way OpenCode drives it: streaming tool-call deltas, parallel calls, tool-result round trips, a 64K-plus prompt, finish reasons, usage and the reasoning field | `chat/completions` | An SIE Cloud endpoint that lists GLM-5.3-Flash via SIE Relay, or a local server; the laptop recipe was run on Apple Silicon with Qwen3.5-4B; `conformance.py` reports every case, `run_gate.sh` makes OpenCode fix a seeded failing test | Runnable check, laptop and SIE Cloud results recorded |
+ | [Run a coding agent on SIE with OpenCode](./coding-agent-opencode) | Pointing OpenCode at a laptop server, one 80 GB GPU, a self-hosted cluster or SIE Cloud, and checking the agent loop the way OpenCode drives it: streaming tool-call deltas, parallel calls, tool-result round trips, a 64K-plus prompt, a 64 KiB tool call, finish reasons, usage and the reasoning field; `session_load.py` measures how many agent sessions one endpoint holds | `chat/completions` | An SIE Cloud endpoint that lists GLM-5.3-Flash via SIE Relay, or a local server; the laptop recipe was run on Apple Silicon with Qwen3.5-4B, the GPU and cluster recipes on one H100 with Qwen3.8-27B-FP8; `conformance.py` reports every case, `run_gate.sh` makes OpenCode fix a seeded failing test | Runnable check, laptop, one-GPU and SIE Cloud results recorded |
+| [Try a local System One model](./systemone-local) | Running unchanged TypeSafe SDK code against SIE by changing its base URL, and checking every SDK call that reaches the server: each question type, state shape, `models.list()`, the async client and the error classes | `systemone` | A local `sie-server` with GLiNER2.5-Decide on CPU, or SIE Serverless; `conformance.py` reports every case | Runnable check |
| [Route requests while skipping most generation calls](./request-routing) | Assigning support, banking and assistant requests to routes with an embedding classifier and conditional generation | `encode`, `chat/completions` | SIE server with Qwen3 Embedding 4B and Qwen3.8 27B; recorded 3,000-case verification needs no API key | Runnable recorded example |
| [Send each request to a cheap or a strong LLM](./request-routing/cost) | Cutting LLM spend with a bge-m3 nearest-neighbour router that picks GPT-6 Luna or GPT-6.1 Sol per request: 38.6% less than always using GPT-6.1 Sol at 95.8% of its quality on 728 held-out requests of a pre-registered study | `encode` | SIE Serverless with bge-m3; `fetch.py` pulls the recorded study, `score.py` reproduces the held-out table with no key | Runnable recorded example |
| [Turn PDF pages into Markdown, scored on olmOCR-Bench](./document-to-markdown-olmocr) | Converting all 1,403 pages of Ai2's olmOCR-Bench with LightOnOCR-2-1B and scoring them with Ai2's own scorer, beside published Azure Document Intelligence and AWS Textract runs | `extract` | SIE Cloud with LightOnOCR-2-1B; `fetch.py` pulls the recorded run, `score.py` reproduces the scores with no key | Runnable recorded example |
diff --cc packages/sie_gateway/src/server.rs
index 574371206,005688b32..3315e1a68
--- a/packages/sie_gateway/src/server.rs
+++ b/packages/sie_gateway/src/server.rs
@@@ -6,7 -6,7 +6,7 @@@ use std::sync::Arc
use std::time::{Duration, SystemTime, UNIX_EPOCH};
use crate::config::Config;
- use crate::handlers::{audio, config_api, health, models, pools, proxy, systemone};
-use crate::handlers::{audio, config_api, health, messages, models, pools, proxy};
++use crate::handlers::{audio, config_api, health, messages, models, pools, proxy, systemone};
use crate::middleware::audit::AuditLayer;
use crate::middleware::auth::AuthLayer;
use crate::middleware::metrics::apply_request_telemetry;