Technical centre
PolyStrata: the Inference Engine Behind the Linger AI Agent
PolyStrata is the open-source engine that runs large models on a consumer GPU, and the reason Linger's local mode works at all. It is a separate project from Linger — with its own installers, its own model list and an OpenAI-compatible API on localhost.
Facts verified 26 November 2026 · Linger Desktop 0.1.10-era docs
What Is PolyStrata?
PolyStrata is an open-source inference engine that runs large models — including mixture-of-experts models that normally need a server — on a consumer PC. It is the component that makes the Linger AI Agent's "runs on your PC" claim real: Linger is the agent, PolyStrata is the thing underneath that actually pushes tokens through your GPU.
It is not part of Linger. PolyStrata is a separate project with its own repository, its own installer, its own documentation and its own MIT licence. You can install PolyStrata and never install Linger; plenty of people use it as a local backend for other tools. The project is authored by VecSzn and built on top of Strata, an inference engine by Niko1221.
A snapshot of the project as of 26 November 2026: about 1.5 thousand stars and 200-odd forks on GitHub, 14 supported models, and two engines inside one installer.
How PolyStrata Works
Two ideas do most of the work.
Expert placement instead of full-model loading. Large modern models are mixture-of-experts: many specialised sub-networks, of which only a few fire for any given token. The conventional way to run these on a small card is to keep most of the model in system RAM and stream it across the PCIe bus, which is why they feel slow. PolyStrata's approach is to keep the experts a model actually uses most resident on the GPU, so the hot path stays in VRAM.
Two engines behind one installer. PolyStrata runs Strata's own engine for Qwen3.8-Flash-Next, and a second engine written for PolyStrata, strata-poly, for the rest of the model list — GLM 5.3 Flash, DeepSeek V4 Flash, LFM2.5, Qwen3.6, Ornith 1.5, Gemma 4, Tiel Coder and MiniCPM-V. That is why one download covers both a small fast model and a much larger one.
The published performance claim, from the project's own README: prompt processing is roughly 2.7 to 3.5 times faster than llama.cpp, and generation is 1.5 to 1.8 times faster, on the same hardware.
PolyStrata vs Ollama
This is the comparison everyone asks for and nobody has published clean numbers on, so here is what can actually be said.
| PolyStrata | Ollama | |
|---|---|---|
| Design centre | Fitting large mixture-of-experts models on a single consumer GPU | Broad model catalogue, simple local runtime |
| Model list | Deliberately short (14), tuned per model | Very large |
| API | OpenAI-compatible and Anthropic-compatible on localhost | OpenAI-compatible on localhost |
| Platforms | Windows and Linux one-click install | Wider platform coverage |
What is verified is the llama.cpp comparison above — that is the benchmark the project publishes. We have not benchmarked PolyStrata against Ollama, and anyone quoting a single multiplier between them is quoting something they did not measure. If you already run Ollama and it is fast enough for your model, PolyStrata's reason to exist is specifically the case it was built for: a model too large for your VRAM under the streaming approach.
PolyStrata GPU and RAM Requirements
The honest framing is: requirements depend entirely on which model you want.
| Memory tier | What the project reports it can run |
|---|---|
| 8 GB VRAM | A Qwen3.6-35B-A3B setup, measured at about 106 tokens per second on a laptop GPU |
| 12 GB VRAM | The tier the project advertises for a "Claude-class" local model |
| 32 GB VRAM | Required for the largest supported models — GLM 5.3 Flash and DeepSeek V4 Flash will not fit in 8 GB |
| RTX 5090 (32 GB) | Same Qwen3.6-35B-A3B setup at about 536 tokens per second, for scale |
Two caveats worth taking seriously. The 106 and 536 figures are the same model on two very different cards, so they tell you about scaling, not about what an arbitrary laptop will do. And on a Mac with unified memory you are not choosing between VRAM and RAM — the model competes with the OS for one pool, so a 16 GB machine does not behave like a 16 GB card. The hardware requirements page has the full memory matrix and the Apple silicon caveat.
On AMD, the supported path is narrow: AMD support covers Qwen3.8-Flash-Next, not the full model list. If you are on an AMD card, plan around that one model or plan on a cloud model instead.
Supported Models and Hardware
The current list, as published by the project in 0.1.10-era documentation:
- Qwen3.8-Flash-Next — runs on Strata's engine
- GLM 5.3 Flash —
strata-poly, needs a large card (not 8 GB) - DeepSeek V4 Flash —
strata-poly, needs a large card (not 8 GB) - Qwen3.6 (including the 35B-A3B variant used in the benchmarks)
- LFM2.5, Ornith 1.5, Gemma 4, Tiel Coder, MiniCPM-V
Platform support for the one-click installer is Windows and Linux. Model availability moves faster than any table: check the repository documentation's model list against your installed version before buying hardware for a specific model.
How Linger Uses PolyStrata
When you tell Linger to use a local model, Linger hands the work to PolyStrata. Practically:
- Model Autopilot picks a model that fits the hardware it finds, then PolyStrata loads it.
- Everything local stays local. Prompts, files, the wiki and memory do not leave the machine while you are on a local model — and there are no token fees on that path.
- Troubleshooting lives on the PolyStrata side. If models fail to load or crawl, the fix is a PolyStrata question, not a Linger bug. Its logs are where the answer is.
- Switch to a cloud model and PolyStrata is out of the loop. That is a deliberate choice, not a failure — but it is billed by whoever runs the API.
If you have not installed the agent yet, the Linger download and installation guide is the practical next step. If you are still choosing between agents rather than tuning the engine, the Linger vs OpenClaw comparison is the right page.
PolyStrata API and Developer Integration
PolyStrata exposes an OpenAI-compatible and Anthropic-compatible API on localhost. In plain terms: any client that can talk to the OpenAI or Anthropic API can be pointed at your own machine instead, with no cloud account and no per-token bill.
That is the part that makes PolyStrata interesting beyond Linger. A local endpoint that speaks the same protocol as the big APIs means existing code — editor plugins, scripts, agent frameworks — works unchanged once you swap the base URL. If you are wiring something new up, test the endpoint with a trivial completion first, then move the real workload over; that separates "the server is not up" from "the model cannot do this" in about thirty seconds.
What this page does not claim
Two things are marked as unverified on purpose, because the upstream documentation does not settle them: whether PolyStrata has a Metal-based macOS implementation, and the exact current list of supported bring-your-own-key providers in Linger. Both are widely repeated on social media and neither could be confirmed against the project's own docs on 26 November 2026. When they can be, this page will say so.
Frequently asked questions
Is PolyStrata the same as Linger?
No. PolyStrata is a separate open-source inference engine by VecSzn, built on Strata by Niko1221. Linger is the agent that uses it for local models. You can install PolyStrata on its own.
Which models does PolyStrata run?
Its published list covers Qwen3.8-Flash-Next on Strata's engine, plus GLM 5.3 Flash, DeepSeek V4 Flash, Qwen3.6, LFM2.5, Ornith 1.5, Gemma 4, Tiel Coder and MiniCPM-V on the second engine, strata-poly. The list changes as the project ships.
How much VRAM do I need?
It depends on the model, not on PolyStrata. The project's reference points: an 8 GB card or laptop GPU running a Qwen3.6-35B-A3B setup at around 106 tokens per second, and about 32 GB for GLM 5.3 Flash or DeepSeek V4 Flash, which do not fit in 8 GB.
Does PolyStrata work on AMD and Mac?
AMD support is limited to Qwen3.8-Flash-Next, so it is not the general path. For macOS, the project does not document a Mac implementation of PolyStrata in its own docs; Linger ships a macOS app, but the engine situation on Apple silicon is not something this guide has been able to verify.
Does PolyStrata speak the OpenAI API?
Yes. It serves an OpenAI-compatible and Anthropic-compatible API on localhost, so clients written for those APIs can be pointed at your machine instead.