# niko1221/strata

> Strata is a program that runs AI language models on your own computer and serves them to chat windows and coding tools. It can be used from a desktop app or from a terminal, and it needs no account. The core inference code is written in C++, with Python, JavaScript and TypeScript code around it.

Source: https://github.com/niko1221/strata
Indexed: commit 6a6db7f on 2026-11-23 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Language: C++
- Stars: 47,894 at index time
- License: MIT
- Code health: 5.3/10, Needs_work
- Last commit: 2026-11-23
- Contributors: 333

## How to use

Start Strata from the terminal and follow the prompts to download and start a model.
    strata launch

## How it works

The repository is split into top-level directories: engine holds the C++ inference code, terminal holds the Python command line tool and server, app holds the desktop and host user interfaces, and docs and tools hold documentation and scripts. Inside engine, engine/src/prefill/prefill.cpp and engine/src/program/generate.cpp are among the central files of the inference code. The server in terminal/serve/server.py is part of the layer that exposes models to outside tools. The launch code in terminal/strata_cli/launch/runner.py backs the strata launch command for the terminal app. app/desktop/src-tauri/src/main.rs is the entry point of the desktop app, and app/host/src/app/App.tsx is the main component of the host interface. Chat windows and coding tools send requests to the local API, and the generated output returns to them.

- app/desktop/src-tauri/src/main.rs: entry point
- app/host/src/app/App.tsx: entry point
- app/host/src/main.tsx: entry point
- docs/bench-results/2026-10-01-ctx-ladder/run.py: entry point
- engine/third_party/strata-gguf-py/gguf/__init__.py: entry point
Modules: engine, terminal, app, docs, tools, .github, root. 6,677 files, 1,139,628 lines, 78,104 symbols.

## Code health

- Score: 5.3/10 (Needs_work)
- Trend: 4.7 on 2026-11-14, 5.3 on 2026-11-23
- Rank: #245 of 265 ranked repos
- Hotspots: engine/src/program/generate.cpp, terminal/setup.py, terminal/serve/server.py, engine/src/prefill/prefill.cpp, terminal/strata_cli/launch/runner.py
- Lowest file: terminal/serve/server.py
- Dead code: 263 findings

## Maintenance

- Last commit 2026-11-23, 6,181 commits
- 333 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/niko1221/strata/security

## More

- Page: https://repowise.dev/repo/niko1221/strata
- Ask this codebase: https://repowise.dev/repo/niko1221/strata/chat
- Docs: https://repowise.dev/repo/niko1221/strata/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/niko1221/strata
