Skip to content
TandemLLMPublic

About

The TandemLLM app: chat, models and fleet control in one place, on any OpenAI-compatible backend.

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

TandemLLM: your private AI environment

TandemApp

website docs release license TandemEngine stars

Buy me a coffee on Ko-fi Sponsor on GitHub TandemLLM on X 0xBakeer on X

The Setup Guide's models step: one tile per model with its measured speed
Setup Guide: one tile per model, each with its measured speed.
Nemotron 3.5 Bolt's speed table in the Setup Guide: tok/s and KL for each size
Each size's tok/s and KL, here Nemotron 3.5 Bolt.
Community weights in the Setup Guide: turboderp's Qwen3.8-Flash-Next EXL3 packs
Community weights with their maker: turboderp's Flash-Next packs.
Performance: live decode speed and each running request
Performance: live decode speed and every running request.
Performance history: decode speed, time to first token, tokens per block and draft acceptance
History: decode speed, first-token time, tokens per block, draft acceptance.
Usage: tokens per day over a year
Usage: tokens per day for a year.

More pictures, the Chat tab (beta) among them: docs/gallery

TandemApp is a dashboard, gateway and usage ledger in front of OpenAI-compatible servers and cloud APIs. Clients send their requests to one address; TandemApp routes each one by its model id to the backend that serves it and records tokens, timings and cost. It also manages a fleet of machines through TandemNode, its agent on each machine, and carries Chat (chatd) and the conductor.

TandemApp runs no model itself. The engine is a separate project, TandemEngine; TandemApp talks to it, and to any other OpenAI-compatible server, over HTTP. The engine API it expects is contracts/engine-api-v1.

Install

From a release: the archive carries the built page, so the host needs Python alone.

curl -fsSLO https://github.com/TandemLLM/TandemApp/releases/download/v0.16.3/tandemapp-0.16.3.tar.gz
tar -xzf tandemapp-0.16.3.tar.gz && bash tandemapp-0.16.3/packaging/install.sh

A release also has the wheel the engine loads as its extension for the chat mode (tandemapp-0.16.3-py3-none-any.whl, for the engine's install.sh --with-chat --app-wheel FILE), the page alone (tandemapp-dashboard-0.16.3.tar.gz) and the Helm chart (tandemapp-0.16.3.tgz).

From a checkout:

Python 3.11 or newer. The web page is a build output and not in git: build it with Node 20.19 or newer, or fetch a released bundle (tools/dashboard_bundle.py fetch).

python3 tools/dashboard_bundle.py build
python3 -m pip install '.[app]'       # '.[host]' adds NVML for GPU hosts

Other ways: brew install ./packaging/homebrew/tandemapp.rb, or the image docker build -f packaging/Dockerfile.app -t tandemllm-app .

Run

tandem-app                            # 127.0.0.1:8080, state in ~/.tandemllm
open http://127.0.0.1:8080/dashboard/

tandem-app service install --open runs it in the background (launchd on macOS, a systemd user unit on Linux). tandem-app check prints what would run without starting anything.

Layout

path what it is
proxy/ the controller: gateway, ledger, fleet, tandem-app and tandem-node
tandemapp/ the conductor and the dashboard API
chatd/ Chat's service
dashboard/ the web page (TypeScript, Vite)
contracts/ the API contracts with the engine and between the parts
packages/ the texts the conductor ships with
packaging/ the build backend, Dockerfile and Homebrew formula
tests/, tools/ the test suite and the tools
docs/ the documentation (docs/README.md); docs/reference/ is generated from the code by tools/gen_reference.py

Tests

python3 tests/script_suite.py --all
(cd dashboard && npm ci && npx vitest run)

Documentation

docs/README.md lists the pages: docs/proxy.md covers configuration, the fleet, TandemNode and the data plane, and the others the dashboard, the Chat tab, the conductor and its chat mode inside the engine. CHANGELOG.md lists the changes.

Support

TandemLLM is free and open source. If it saves you time or money, you can help keep it going:

License

AGPL-3.0-only (LICENSE), or a commercial license (COMMERCIAL-LICENSE.md). Third-party notices: NOTICE. The documentation in docs/ is CC BY 4.0 (docs/LICENSE).

About

The TandemLLM app: chat, models and fleet control in one place, on any OpenAI-compatible backend.

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages