# Repository Briefing: ling-stack-org/ling-stack
> Source: https://repoforai.com/repo/ling-stack-org/ling-stack (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/ling-stack-org/ling-stack
- **Category**: Chat UI & AI Apps (聊天界面与 AI 应用)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A (82/100 · Maintenance 35/35 · Adoption 16/25 · Releases 11/20 · License 20/20)
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Self-Hosted, CLI
- **Momentum**: 985 ★ total (+0 24h / +2 7d) · 113 forks
- **Topics**: `agent`, `agent-orchestration`, `agent-skills`, `agentic-ai`, `ai`, `ai-agents`, `ai-teammates`, `ai-workspace`, `anthropic`, `developer-tools`, `electron`, `llm`
- **When to Use**: Best for: Developers and small teams piloting a multi-model project workflow who want to keep discussion, tool approvals, and artifacts together and can maintain a local source build. Skip if: You need a turnkey signed desktop release, production support, mature mobile or cross-device execution, or a bundled offline inference stack.

## Overview
```text
### Architecture & Core Mechanics
Ling Stack is a TypeScript pnpm monorepo with a shared local service. The Web app in apps/web, the Electron shell in apps/desktop, and the CLI in packages/cli use the daemon in packages/daemon. Domain logic, shared contracts, provider adapters, and runner integrations live under packages/. Workspace state is stored under .ling-stack/ by default, with SQLite alongside separate session, artifact, and log directories.

Model Workbench configures provider access; project channels let users assign models and tools to teammates and inspect the resulting activity. Skills contribute instructions rather than granting tool access. MCP and Plugin Manager provide explicit tool assignment, activation, and approval boundaries. Coding-agent work uses the Pi runtime adapter, with available tools determined by host setup and workspace policy. The Web and daemon build also compiles a native image sanitizer.

### Key Capabilities & Differentiators
Model Workbench connects OpenAI, Anthropic, Volcengine Ark, DeepSeek-compatible endpoints, MiniMax, GLM, and OpenAI-compatible relays. It checks chat readiness and selects the first verified chat model as the default. Users can start with a single-model conversation with attachments or assign different models and tools to teammates in a project channel, where activity, approvals, artifacts, and the final report can be reviewed together.

Media Production groups scenes, generation jobs, and outputs. Image and video support depends on the configured provider and its capabilities, and some live adapters still have outstanding acceptance checks. The UI offers 55 language and region options, with AI response language configured separately. Browser integration is for local development; Office and Computer Use are platform-dependent. Mobile is experimental, and the cross-device roadmap is still at the design stage.

### Trade-offs & Limitations
Compared with a multi-provider chat frontend, Ling Stack adds project roles, tool approvals, and run evidence. Those are useful when the team needs to review both the result and how it was produced. For simple chat, the source build, two foreground processes, and provider configuration add friction. Compared with a managed workspace, local persistence gives operators control of the files but also makes them responsible for backups, secret handling, and upgrades.

Local-first does not mean offline or that data never leaves the machine. Requests and context go to the selected model or tool providers, and inference latency and charges still depend on those providers. Keys entered in Model Workbench are saved in local workspace storage; environment and supported keychain references are alternatives. Permission controls cover files, shell commands, external mutations, and paid generation. Treat the Web, daemon, and CLI as the alpha evaluation path; neither a successful source build nor a focused native test establishes installer readiness.

### Hardware & Deployment Guide
The source path requires Git, Node.js 22.22.1 or newer, Corepack with pnpm 10 (pinned to 10.0.0), and Rust 1.89 or newer with Cargo. Install with `corepack pnpm install --frozen-lockfile`, then build the CLI, daemon, Web app, and dependencies with `corepack pnpm --workspace-concurrency=1 --filter '@ling-stack/cli...' -r build`. In separate terminals, run `corepack pnpm ling daemon start --foreground` and `corepack pnpm ling ui --foreground --open`. Keep the daemon on 127.0.0.1:17891; the Web UI defaults to 127.0.0.1:5173.

A successful `/health` check confirms the daemon is up, not that a model is ready. Run `corepack pnpm ling doctor` after verifying a chat model. This is a self-hosted workspace, not a bundled offline inference stack: external providers still handle requests sent to them. Desktop v0.1.0 is a development pre-release for manual testing, with macOS arm64 and Windows x64 as the current distribution targets. macOS development requires Xcode Command Line Tools with Swift and codesign; the Windows Office driver requires .NET 8 SDK. Stable signed installers and production support remain pending.
```

## Key Capabilities
```text
- Service layout: Web, Electron, and CLI share the daemon in packages/daemon.
- Model onboarding: Model Workbench checks chat models and makes the first verified model the workspace default.
- Project review: Assign models and tools per teammate, then review activity, approvals, artifacts, and reports in one channel.
- Execution boundaries: MCP and plugins have explicit assignment and activation; Pi coding tools depend on the host and workspace policy.
- Local persistence: .ling-stack/ contains ling-stack.sqlite, sessions/, artifacts/, and logs/; provider requests can still leave the host.
- Localization: 55 language and region options, with independent interface and AI response language settings.
```

## Quick Start / Clone
```bash
git clone https://github.com/ling-stack-org/ling-stack.git
cd ling-stack
corepack enable
corepack pnpm install --frozen-lockfile
corepack pnpm --workspace-concurrency=1 --filter '@ling-stack/cli...' -r build
```
