BerriAI/litespeed

Litespeed — a local coding agent with multi-model workflows for your terminal and browser

TypeScript

7

134 commits

updated Sep 17, 2026

See the code

README

Litespeed

A local coding agent for your terminal and browser, built around multi-model workflows. Use one model or combine a driver with sidekicks, workers, or experts. Follow their work, approve changes, and review the result in one conversation. Pairing models lets a faster, cheaper model handle routine work while a stronger model handles planning or difficult tasks, which can reduce cost and wait time.

Connect through LiteLLM, OpenAI-compatible APIs, native Anthropic, or ChatGPT device sign-in. Your project stays on your machine; prompts and selected context go to your chosen provider.

Quick start

Download the macOS package with its runtimes included—no Node or npm setup:

curl -fsSL https://github.com/BerriAI/litespeed/releases/latest/download/install.sh | sh

Open a new terminal, then run it from the project you want to work on:

cd /path/to/your/project
litespeed

The installer sets up the litespeed command for new terminal windows (zsh or Bash). If you use the same terminal window where you installed it, run export PATH="$HOME/.local/bin:$PATH" first.

Litespeed starts its local backend automatically. Updates appear in both UIs, or run litespeed update. Saved sessions and settings stay outside the application package.

See installation, updates, and the source-build alternative. Packages support Apple silicon and Intel Macs. Git and your project's development tools remain separate.

Litespeed has its own command, separate from the LiteLLM gateway CLI. If you used an earlier version of this agent, follow the upgrade guide to carry over saved sessions and configuration.

  1. On your first launch, choose your setup, connect your LiteLLM gateway base URL and API key, and pick your models. Sidekick Fusion is recommended: choose a strong driver to plan and review, and a cheaper sidekick to handle implementation. LiteFusion is experimental; its task-specific routing policy is available for evaluation. Choose Single model if you prefer one model for everything. Litespeed remembers the connection and models; running litespeed in another project opens chat directly. Gateways that do not require a key can leave it blank.
  2. Use Models or /models to change your arrangement. Ask first is the default; Allow all tools is available in permissions. The full setup is available from the web sidebar or /setup. If you already use Claude Code or Codex skills, /skills (or Settings → Project profiles) offers Import a Claude/Codex skill… to copy one into the project — see Project profiles and skills.
  3. Type a task. Build can edit files and run commands; Plan uses read-only tools. Type / for command suggestions in either client; use ↑/↓, Tab or Enter to complete, and Esc to dismiss. Ctrl+P opens terminal commands and navigation.

See the terminal guide for shortcuts, resuming sessions, and configuration.

Prefer the browser?

Once Litespeed is running, open http://localhost:3210. The browser and terminal share saved sessions, providers, and model settings.

For a web-only session, run litespeed serve. For development, use npm run dev from the checkout. See development and updating.

Choose how models work together

ArchitectureHow it works
Single modelOne model investigates, implements, and checks the task.
Sidekick Fusion · RecommendedA strong driver plans and reviews; a cheaper sidekick keeps context across handoffs.
LiteFusion · ExperimentalOne persistent lead routes 63 task categories to specific models and reasoning levels, with one shared hard/escalation map.
Team FusionA strong driver assigns fresh cheaper workers, runs independent work in parallel, and verifies the combined result.
Expert FusionA cheaper driver coordinates fresh strong experts and verifies their work. Independent assignments can run in parallel.

Choose any connected model for each role. An optional Planner model handles Plan mode separately. Litespeed uses your last chosen model arrangement for new sessions across workspaces; existing sessions keep their settings. Cost and quality depend on the models and task. See architecture details and limits.

Additional options

Shunt sends large reads and routine generation to a separate model. Off by default; enable it in Advanced settings during setup or in Models, in either client. How it works and measured results.

Session goals (/goal) keep an objective moving across turns. There is no turn limit unless you set one. Context compaction makes room during long tasks automatically.

Guides

Approved commands run with your local user’s capabilities; permissions are not a sandbox. Keep the server local. Provider keys stay server-side, and provider usage may incur charges.

License

Litespeed is licensed under Apache-2.0. Bundled themes and fonts retain their original licenses; see third-party notices.

Contributors

moe-berri

109 commits

tin-berri

25 commits

BerriAI/litespeed

Litespeed — a local coding agent with multi-model workflows for your terminal and browser

TypeScript

7

134 commits

updated Sep 17, 2026

See the code

README

Litespeed

A local coding agent for your terminal and browser, built around multi-model workflows. Use one model or combine a driver with sidekicks, workers, or experts. Follow their work, approve changes, and review the result in one conversation. Pairing models lets a faster, cheaper model handle routine work while a stronger model handles planning or difficult tasks, which can reduce cost and wait time.

Connect through LiteLLM, OpenAI-compatible APIs, native Anthropic, or ChatGPT device sign-in. Your project stays on your machine; prompts and selected context go to your chosen provider.

Quick start

Download the macOS package with its runtimes included—no Node or npm setup:

curl -fsSL https://github.com/BerriAI/litespeed/releases/latest/download/install.sh | sh

Open a new terminal, then run it from the project you want to work on:

cd /path/to/your/project
litespeed

The installer sets up the litespeed command for new terminal windows (zsh or Bash). If you use the same terminal window where you installed it, run export PATH="$HOME/.local/bin:$PATH" first.

Litespeed starts its local backend automatically. Updates appear in both UIs, or run litespeed update. Saved sessions and settings stay outside the application package.

See installation, updates, and the source-build alternative. Packages support Apple silicon and Intel Macs. Git and your project's development tools remain separate.

Litespeed has its own command, separate from the LiteLLM gateway CLI. If you used an earlier version of this agent, follow the upgrade guide to carry over saved sessions and configuration.

  1. On your first launch, choose your setup, connect your LiteLLM gateway base URL and API key, and pick your models. Sidekick Fusion is recommended: choose a strong driver to plan and review, and a cheaper sidekick to handle implementation. LiteFusion is experimental; its task-specific routing policy is available for evaluation. Choose Single model if you prefer one model for everything. Litespeed remembers the connection and models; running litespeed in another project opens chat directly. Gateways that do not require a key can leave it blank.
  2. Use Models or /models to change your arrangement. Ask first is the default; Allow all tools is available in permissions. The full setup is available from the web sidebar or /setup. If you already use Claude Code or Codex skills, /skills (or Settings → Project profiles) offers Import a Claude/Codex skill… to copy one into the project — see Project profiles and skills.
  3. Type a task. Build can edit files and run commands; Plan uses read-only tools. Type / for command suggestions in either client; use ↑/↓, Tab or Enter to complete, and Esc to dismiss. Ctrl+P opens terminal commands and navigation.

See the terminal guide for shortcuts, resuming sessions, and configuration.

Prefer the browser?

Once Litespeed is running, open http://localhost:3210. The browser and terminal share saved sessions, providers, and model settings.

For a web-only session, run litespeed serve. For development, use npm run dev from the checkout. See development and updating.

Choose how models work together

ArchitectureHow it works
Single modelOne model investigates, implements, and checks the task.
Sidekick Fusion · RecommendedA strong driver plans and reviews; a cheaper sidekick keeps context across handoffs.
LiteFusion · ExperimentalOne persistent lead routes 63 task categories to specific models and reasoning levels, with one shared hard/escalation map.
Team FusionA strong driver assigns fresh cheaper workers, runs independent work in parallel, and verifies the combined result.
Expert FusionA cheaper driver coordinates fresh strong experts and verifies their work. Independent assignments can run in parallel.

Choose any connected model for each role. An optional Planner model handles Plan mode separately. Litespeed uses your last chosen model arrangement for new sessions across workspaces; existing sessions keep their settings. Cost and quality depend on the models and task. See architecture details and limits.

Additional options

Shunt sends large reads and routine generation to a separate model. Off by default; enable it in Advanced settings during setup or in Models, in either client. How it works and measured results.

Session goals (/goal) keep an objective moving across turns. There is no turn limit unless you set one. Context compaction makes room during long tasks automatically.

Guides

Approved commands run with your local user’s capabilities; permissions are not a sandbox. Keep the server local. Provider keys stay server-side, and provider usage may incur charges.

License

Litespeed is licensed under Apache-2.0. Bundled themes and fonts retain their original licenses; see third-party notices.

Contributors

moe-berri

109 commits

tin-berri

25 commits

Languages

TypeScript

91.8%

JavaScript

5.3%

CSS

2.6%