This guide takes you from a source checkout to a first model-backed conversation and a project channel. Ling Stack is a source-first alpha. Start with the Web UI, local daemon, and CLI; native Desktop integrations have additional platform gates.
Use Git, Node.js 22.22.1 or newer, Corepack with pnpm 10, and Rust with Cargo (rustup installation). The daemon build compiles the native image sanitizer even when using only the Web UI. Its dependencies require Rust 1.89 or newer; CI uses Rust 1.97.1 and Node 22.22.1. The repository pins pnpm 10.0.0.
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 buildThe build selects the CLI and its dependencies, including the daemon and Web app. It leaves Desktop and Mobile development setup separate.
A fresh install may warn that the ling-stack-daemon bin target is missing before
the daemon has been built. Continue with the build, and invoke the source CLI using
corepack pnpm ling. Node 22's experimental SQLite warning is informational; check
the command's exit status and diagnostics to determine whether it succeeded.
Start the daemon from the repository root in one terminal:
corepack pnpm ling daemon start --foregroundStart the Web UI from the same repository root in a second terminal:
corepack pnpm ling ui --foreground --openThe Web UI opens at http://127.0.0.1:5173, and the daemon listens at
http://127.0.0.1:17891. Keep both terminals running. To stop them, press Ctrl+C
in each terminal.
ling ui starts the Vite development server. A successful source UI check does not
validate the built production pages; use the Web package's preview command for
that separate check after building.
In a third terminal, check the daemon:
curl http://127.0.0.1:17891/healthExpect JSON containing "ok": true. Open the Web address and confirm that the
workspace loads. These checks verify local startup; model-backed work needs the
next step.
- Open Settings → Model Workbench. The first-run dialog also offersOpen Model Workbench.
- Choose Add model and select a model supplier. For a custom compatible endpoint, enter its provider name, Base URL, and API protocol.
- Enter the exact model identifier your provider supports and your API key. Choose a chat-capable model for this tutorial. Image- or video-only presets serve different purposes.
- Save the preset and run Check if it has not already passed the save-time check. Fix any key, endpoint, protocol, or model error reported by the check.
- Confirm that the model is enabled and chat-ready. The first verified chat model becomes the workspace default. Use Chat model underDefault uses to choose a different default later.
Readiness checks contact the selected provider and may incur provider charges. A successful model listing alone does not verify that chat or tool calling works. Credentials and billing come from your own provider account.
Now run the diagnostics from the repository root:
corepack pnpm ling doctorDoctor checks model readiness, workspace state, services, and other setup. Before a
chat model is configured, a provider failure and exit code 4 are expected. After
configuration, review individual failures and their remediation instead of treating
the process exit code as an installation-only verdict.
Choose New conversation and confirm the selected chat model. Open the model control
to adjust Thinking mode; the slider includes max or ultra only when declared
for that model. If a model switch cannot keep the selected level, Ling chooses a
supported default and explains the change. Send a small prompt:
Help me turn these notes into three concrete action items: review the README, check the startup guide, and prepare an alpha release description.
Wait for the final response. Use the conversation's Show details andSummary views to inspect available run and environment information. Text-only work is a useful first check before assigning tools or asking for file changes.
For project work, select the intended local directory and review the effective permission settings. File access, command execution, MCP tools, and native integrations each have their own readiness and approval requirements.
In a conversation using Pi, ask Ling to include a clickable mockup or chart in its reply. For example, ask for a project overview with two tabs and an expandable change list. Web and Desktop show the result between the assistant's paragraphs. Use Run interactive preview on a visualization with custom JavaScript to activate its controls in the reply. Use Stop interactive preview to return to the static preview. Expand provides more room and its own script session.
On a paired phone, press Open visualization in the reply while the PC is connected. The phone can use built-in HTML controls such as tabs and expandable sections. For custom JavaScript, open the reply on Web or Desktop. Mobile access follows the PC's conversation permissions and includes the default conversation in a channel. See Conversation Visualization Design.
- Open Channels and create a channel with a name, purpose, Ling Agent model, and project directory. Use a disposable sample project while learning the workflow.
- For collaboration, create teammates in Settings → Teammate Management, configure their models and permitted tools, then invite them when creating the channel or manage members afterward.
- Send a bounded request, such as reviewing a short document and reporting suggested changes. Ask for inspection first while you learn how permissions behave.
- Inspect participant responses, tool activity, approval requests, and the final report. Open any resulting artifacts and check that they match the requested outcome.
Git-backed project channels can use isolated workspaces. Existing folders that are not Git repositories run locally in the selected folder. A teammate's role or skill does not grant tools or filesystem permission by itself. Native command execution and Computer Use may remain unavailable until their platform gates are satisfied.
Open the root of an existing Git repository with at least one commit, then select Code review and security. ChooseCode review orSecurity scan, a working-tree, branch or commit target, and an enabled chat model. Branch mode compares the merge-base with committed HEAD. Commit mode takes a full SHA and optionally a base revision; otherwise it compares the first parent. Both ignore dirty working-tree edits. Optional review instructions stay with the assessment and are reused by Run again.Start captures a bounded Diff and sends it to the selected model without analysis tools. Security runs threat modeling and code review as two visible stages. Findings link to exact captured lines, with unified/split/auto Diff layouts. Use severity/confidence/status filters, add anchored comments, acknowledge, ignore with a typed reason or reopen a finding. Check for changes persists whether the snapshot still matches. Marking a finding resolved requires a current snapshot and an explanation; it remains unverified. Run again captures a new result. Reports, comments and triage remain in history; finished results can be exported. Phase links open their ordinary Runs.
The conversation's Right Dock also offers Review → Code review andSecurity scan. Partial coverage is shown when sensitive, binary, oversized or unsupported content is excluded or redacted. Findings are unverified candidates; dismissal does not fix code. This local Diff feature does not scan the whole repository, verify exploits or apply patches. See the workbench contract for scope and resource limits.
Add and check a model with the needed image or video capability, then open Media Production to configure a project and scenes. Inspect the selected provider, parameters, and any approval request before creating a job. Chat, image generation, image editing, and video generation are separate capabilities. Provider availability, live adapter acceptance, and billing apply to each job.
By default, workspace state lives under .ling-stack/ in the selected workspace:
| Path | Contents |
|---|---|
ling-stack.sqlite |
Workspace configuration and durable state |
sessions/ |
Run events and evidence |
artifacts/ |
Generated and collected files |
logs/ |
Runtime logs |
API keys entered in Model Workbench are saved in local workspace storage. Treat the
database and its backups as sensitive. Environment references such as env:NAME and
supported keychain references are alternatives; see
Provider adapters for integration details.
.env.example lists common development variable names. The daemon
inherits the environment of the terminal that starts it. Export required variables
there before startup; creating a .env file alone does not configure the daemon.
An explicit user-data-directory state mode is also available. Use the CLI migration and registry-repair flows documented in Workspace State Storage when changing storage location. Keep local state, API keys, logs, and private outputs out of Git.
Continue with Troubleshooting, Implementation Status, or Contributing.