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

- **GitHub URL**: https://github.com/mdiri-ai/SoduWork
- **Official Docs / Website**: https://www.soduwork.ai
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: JavaScript
- **License**: MIT
- **Engineering Health**: A+ (95/100 · Maintenance 35/35 · Adoption 20/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v1.13.21 (2026-11-26) — https://github.com/mdiri-ai/SoduWork/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Self-Hosted, CLI
- **Momentum**: 9,846 ★ total (+39 24h / +1,302 7d) · 963 forks
- **Topics**: `agent-harness`, `agent-orchestration`, `agent-workflows`, `ai-agents`, `ai-workflows`, `anti-slop`, `claude-code`, `codex`, `deepseek`, `electron`, `fastapi`, `harness`
- **When to Use**: Best for: Teams piloting self-hosted agent workflows that need shared task context, reusable methods, explicit acceptance criteria and a named human approver. Skip if: You only need interactive coding with one harness, require a visual workflow builder, or cannot pilot a public-beta stack before putting it into production.

## Overview
```text
### Architecture & Core Mechanics
SoduWork separates coordination from execution. The repository splits the desktop client, Hub backend and Hub frontend into `client/`, `hub-backend/` and `hub-frontend/`. The Hub is authoritative for shared issues, workflows, approvals and evidence. The client handles chat and approval interactions; a local or remote runner connects to the Hub over WebSocket, uses dispatch IDs to avoid picking up the same task twice, and starts each harness in its own subprocess. Execution events are stored on the execution host, and runs are recorded in the audit trail.

A common adapter lets issue and review flows work across harnesses. Programs that support the Agent Client Protocol (ACP) can be added through a catalog declaration. Plugins package inputs, methods, acceptance criteria and workflow steps in immutable versions. The harness, model, runner and secrets are chosen when the plugin is bound, so teams can reuse the same version across different execution environments. Installing a capability does not authorize its use: organization policy, runtime availability and user choices all constrain what a session can access.

### Key Capabilities & Differentiators
The central workflow is a request with acceptance criteria, an assignee, a delivery and a sign-off. AI can help refine the criteria before execution, then a separate AI review checks the delivery and can return it with reasons. The reviewer can use a different harness and model from the worker, but the requester still makes the final decision. Plugins can select a harness, Skill and model per step, and the Hub can run separate issues in parallel on different agents or runners. Handoffs follow the workflow and assignee rather than autonomous negotiation between agents.

Seven harness integrations are available: built-in Pi, native OpenCode and Codex adapters, and ACP integrations for DeepSeek Harness, Qwen Code, Kimi Code and Codex Harness. Pi and OpenCode can use the Hub model catalog, DeepSeek Harness can also use a DeepSeek key, and native Codex uses its own OpenAI account. A conversation can switch harnesses without giving up its history or working folder. A method refined in chat can be saved as a plugin, tested locally and submitted for team publication; a SoduWork app adds a dedicated UI with an AI chat panel.

### Trade-offs & Limitations
Compared with a standalone coding harness, SoduWork adds shared request state, a separate review step, requester sign-off and controls over how teams publish and grant access to plugins. That is useful when work changes hands; for a single operator doing interactive work, running a harness directly avoids the Hub and plugin setup. Compared with a canvas-based builder, SoduWork can turn a method refined in chat into a versioned, file-oriented workflow. It is a better fit for teams that want prescribed steps and human checkpoints than for those seeking either visual pipeline authoring or free-form agent delegation.

Self-hosting gives the team control of the Hub and execution environment, but not automatic isolation from external services: prompts and files sent to a configured provider or connector are visible to it. Subprocess separation should not be treated as a security sandbox. Separate AI review is another check, not a guarantee of correctness; budget for its inference cost and keep human sign-off for consequential work. The repository's MIT license is permissive, but it does not replace the terms of separately installed harnesses or model providers.

### Hardware & Deployment Guide
The source launcher recommends Python 3.12.x and Node.js 22.x (22.19.0 or later within that series); Git is needed when cloning rather than extracting an archive. Run `sh start.sh --desktop` on macOS or Linux, `.\start.cmd --desktop` in Windows PowerShell, or `start.cmd --desktop` in Command Prompt. The first run installs dependencies and starts the Hub, admin console and desktop client on the same machine. Set the `admin` password, register a provider and add an enabled chat model by its exact ID; a provider credential alone does not populate the model selector.

For a first run, point the desktop client at the same Hub and select Pi with an OpenAI-compatible chat model. A successful connection probe is not enough to establish that inference works: check model permissions, balance and protocol compatibility with a real request. External inference runs at the configured provider; local inference needs separate sizing for the selected model and concurrency. The project is in public beta. Release v1.13.21 addresses first-send and conversation-history recovery across restarts and reopening, attachment preservation in dispatch and delivery, Codex account selection, and Linux desktop behavior. Pilot those recovery paths before relying on unattended runs.
```

## Key Capabilities
```text
- State authority: The Hub holds shared issues, workflows, approvals and evidence, while runner hosts retain execution events.
- Harness portability: Seven integrations share an adapter interface; switching harnesses preserves conversation history and the working folder.
- Execution transport: Local or remote runners connect to the Hub via WebSocket, deduplicate task pickup by dispatch ID and launch harnesses in separate subprocesses.
- Acceptance gate: Requests carry criteria before work starts; a separate AI review can return work for revision, and the requester makes the final decision.
- Plugin governance: Immutable versions bundle methods and workflows; review, grants and revocation govern team sharing, while runtime choices are bound separately.
- Credential boundaries: Runs use short-lived credentials, while native Codex uses its own account rather than the Hub model catalog.
```

## Quick Start / Clone
```bash
git clone https://github.com/mdiri-ai/SoduWork
cd SoduWork
```
