Back to projects

LoopWithAI

A local multi-agent workbench on DeepSeek Harness. Switch between Pi, DeepSeek, OpenAI Codex, and Claude Code in one UI.

One harness, several agents

After DeepSeek Harness shipped, I built LoopWithAI: Pi, OpenAI Codex, Claude Code, and the native DeepSeek Agent Loop as plugins in one local workbench.

This is not four chat APIs behind a single page. Each agent keeps its own integration. Tools, MCP, skills, approvals, and thinking levels stay where that agent already supports them. Switching agents replaces the Agent Loop inside Harness. There is no extra driver layer and no ACP gateway.

Agents you can switch

  • Pi (default): talks to the TypeScript SDK, with multiple providers, models, and thinking levels
  • DeepSeek: keeps Harness’s original Agent Loop
  • OpenAI Codex: reuses a local codex login session through codex app-server
  • Claude Code: uses the Claude Agent SDK and your existing Claude Code login

A blank conversation can switch immediately. If the current thread already has history, the UI asks first, then opens a new conversation in the same workspace so you do not silently change runtimes mid-context.

How to run it

The fastest path is one command:

npx loopwithai

Or start from source:

git clone https://github.com/loopwithai/LoopWithAI.git
cd LoopWithAI
npm install
npm run dev

You need Node.js 24 or newer. After it starts, open the local workbench, pick a workspace, then choose the agent, model, and thinking level under the composer.

Credentials stay in each agent’s native local store or environment variables. LoopWithAI runs on your machine. It does not send agent traffic through a LoopWithAI cloud, and it never returns raw tokens to the browser.

Website and source

LoopWithAI is an independent project and is not affiliated with DeepSeek, OpenAI, Anthropic, or the Pi maintainers. DeepSeek Harness is still a developer preview, so upstream plugin API changes may require an update here too.