AIDotNet/NextCoWork
Open Cowork - Opensource Claude Cowork for Windows & macOS & Linux.
NextCoWork — A Desktop Workspace for Coding Agents
NextCoWork is a native desktop application (for macOS, Windows, and Linux) that brings AI coding agents into a full-featured work environment. Instead of chatting with an agent in a simple web page, you get a complete workbench — editor, terminal, Git, and browser — all in one app, with the agent able to act directly inside that environment.
What It Does
Workspaces & Sessions
You can open multiple workspaces in tabs and run several agent sessions in parallel within each workspace. Each session keeps its own streaming state, so they don't interfere with each other.
Agent Kernel
The core engine that runs the agents supports:
- Streaming replies — responses appear as they're generated.
- Tool calls with per-call approval — before the agent uses a tool, you approve each individual call.
- Plan mode — the agent can propose a plan before acting.
- Subagents — the main agent can spawn helper agents.
- Background tasks — long-running work continues without blocking.
- Todo reconciliation — the agent tracks and updates its task list.
- Scheduled runs — agents can be set to run at specific times.
Inline Visualization
The agent can render live HTML/SVG widgets (charts, diagrams, interactive UI) directly inside the conversation. These are sandboxed in their own iframe and follow the app's theme.
Built-in Workbench
- File explorer and editors (including custom editors provided by plugins)
- A real PTY terminal (a full pseudo-terminal, not a simulation)
- Background command execution
Git Integration
Status, diff, log, and branches are all available. You can stage changes, commit, and create or switch branches — all from within the app.
Built-in Browser
Each workspace has its own browser partition that shares login state with your tabs, so you don't have to log in repeatedly.
Skills & MCP
- Skills: packages defined by a
SKILL.mdfile that give the agent specialized capabilities. - MCP (Model Context Protocol): a standard way to connect the agent to external tools and data sources.
Plugins
A manifest-driven plugin system. Each plugin declares what it contributes — commands, menus, keybindings, custom editors, views, web apps, agent tools, and bundled skills — and what capabilities it needs. The host enforces per-call permission gates at runtime, so a plugin can't do anything you haven't approved.
Native Experience
Light/dark themes, accent colors, motion-level control, auto-update, and full Simplified Chinese / English localization.
How You Get Model Access
You have two options:
Built-in channel: Sign in with a NextCoWork account (create one at https://nextco.work). The app adds the NextCoWork provider automatically (base URL
https://nextco.work/v1, OpenAI Responses by default). Your model list syncs on first sign-in, and you can refresh it anytime from the Models page. Usage is metered against your wallet balance, shown on the Account page.Bring your own provider: Add OpenAI, Anthropic, DeepSeek, a local gateway, or any other provider in Settings → Models with your own API key.
Download & Installation
Installers are published for:
- macOS (Apple Silicon & Intel,
.dmg) - Windows (
.exeNSIS installer) - Linux (
.AppImage)
Get the latest stable release from https://nextco.work.
Running a Device Service (Headless Mode)
The agent doesn't have to run inside the desktop app. You can run a headless device service (no Electron, requires Node.js 24+) on another machine. It holds the database, workspaces, Git, and terminals, and keeps running even when the desktop app is closed. The desktop pairs with it over a certificate-pinned connection.
Install and run it with:
npm i -g @aidotnet/nextcowork-device-service
ncw-device-service diagnose
ncw-device-service --data-dir ~/ncw-device --host 0.0.0.0 --port 7801 --pairing-port 7800 --advertise nas.lan --invite
Then paste the printed ncwpair1.… invitation into Settings → Devices → Add device, check the fingerprint, and pair. Installing it as a system service (systemd / LaunchDaemon / WinSW), migrating an existing desktop data root, and troubleshooting are covered in docs/device-service.md.
Development
Requirements: Node.js ^20.19.0 || >=22.12.0 and npm.
npm install # also runs patch-package and electron-builder install-app-deps
npm run dev # start the app with hot reload
Verification (the same suite CI runs):
npm run typecheck # typecheck main + renderer + shared
npm test # vitest
npm run lint # eslint
Packaging:
npm run dist # build installers for the current platform
npm run dist:dir # unpacked build, for quick checks
Project Structure
src/main Electron main process — agent kernel, plugin host, IPC, storage, updater
src/preload Context bridge between renderer and main
src/renderer React UI — chat, workbench, terminal, Git, browser, settings
src/shared Types and pure functions shared across processes
packages/ Plugin ecosystem — plugin-api (types), plugin-cli, create-nextcowork-plugin
examples/ Sample plugins (custom editors, web apps, …)
resources/ App icons, bundled skills, plugin runtime
Writing Plugins
Scaffold a plugin that's ready to build and publish:
npm create nextcowork-plugin@latest
- Type definitions:
@aidotnet/plugin-api - Build / package / publish:
@aidotnet/plugin-cli(binarynextcowork-plugin) - Working examples live in
examples/
A plugin is a package.json manifest plus optional code. You declare what you contribute (commands, custom editors, views, agent tools, web apps, skills, …) and the capabilities you need; the host enforces per-call permission gates at runtime.
License
- The project itself is licensed under the Apache License 2.0.
- The plugin ecosystem packages under
packages/(@aidotnet/plugin-api,@aidotnet/plugin-cli,create-nextcowork-plugin) are distributed under the MIT license — see each package'spackage.json.
Related
- Project
- Project
- Project
- Project
- Project