# SoduWork

> A self-hosted team workspace where one agent harness does the work, another reviews it and a person signs off

- Category: AI Coding / Coding-Agent Harnesses & Runtimes
- Language: Python, JavaScript
- Licence: MIT
- Repository: https://github.com/mdiri-ai/SoduWork
- Website: https://www.soduwork.ai
- Canonical page: https://ai-tldr.dev/tools/soduwork/

## In short

SoduWork is an MIT-licensed, self-hosted workspace from MDiRi for teams that hand work to AI agents. It sits in the Coding-Agent Harnesses & Runtimes category of the AI Coding tools and is open-source, written in Python, JavaScript and licensed MIT. To get started: clone the repository and start everything locally.

## Overview

SoduWork is an MIT-licensed, self-hosted workspace from MDiRi for teams that hand work to AI agents. Its unit of work is a request rather than a chat: a person files it, AI drafts the acceptance criteria, the request is assigned to the person, a colleague or an agent, an agent harness does the work, a second AI review checks each criterion, and the request only closes when the person who asked signs off. Who asked, who did the work, which plugin ran and who approved it stays on record.

The agents themselves are existing harnesses, not something SoduWork reimplements. Pi is built in; OpenCode, DeepSeek Harness, Qwen Code, Kimi Code and Codex Harness are installed on demand through native adapters or the Agent Client Protocol (ACP), and Codex connects with its own OpenAI account. Every harness sits behind one adapter interface, so a conversation can switch harness mid-way and keep its history and working folder, and one harness on one model can be told to review another harness's work on a different model.

The system has three parts: a Hub (Python and FastAPI, SQLite or PostgreSQL) that is the single source of truth for requests, workflows, approvals and evidence; an Electron desktop client plus a browser admin console for members, models and execution resources; and runners — the local desktop, an authorised workstation or a cloud runner — that execute each harness in its own subprocess and connect back over WebSocket. A chat that worked can be saved as a versioned plugin, reviewed, granted to teams or people and revoked. The project describes itself as a public beta.

## What it does

- Requests with acceptance criteria written up front, a separate AI review against each criterion, and a requester sign-off before anything counts as done
- Several harnesses behind one interface — Pi built in; OpenCode, DeepSeek Harness, Qwen Code, Kimi Code and Codex Harness on demand; Codex with its own account — switchable mid-conversation, and any ACP program can be added with a catalog declaration
- Plugins: a versioned package of method, inputs, acceptance criteria and a step-by-step workflow that picks the harness, Skill and model per step; apps add their own UI with an AI chat panel
- Governance for teams: plugin review before sharing, grants to teams or people, roles, usage and cost accounting and an audit log
- Local, workstation and cloud runners; each run gets a short-lived model credential and keys are not written into harness config files in plain text
- Desktop client for Windows, macOS and Linux, plus a Docker deployment that starts the Hub, admin console and PostgreSQL on one server

## Getting started

Running from source needs Python 3.12+, Node.js 22.19+ and Git. The steps follow the SoduWork README and its desktop quickstart.

1. Clone the repository and start everything locally

   The first run installs dependencies, then starts the Hub, the admin console and the desktop client on this computer. Set a password for the `admin` account (12–128 characters) when asked. On Windows use `.\start.cmd --desktop` in PowerShell or `start.cmd --desktop` in Command Prompt.

```bash
git clone https://github.com/mdiri-ai/SoduWork
cd SoduWork
sh start.sh --desktop
```

2. Add a provider and a chat model

   In the admin console, add a model provider under Capabilities → Model catalog, then choose Add model, enter the provider's exact model ID and select Chat model. Saving a service credential alone does not create a selectable model. For the first message the README recommends an OpenAI-compatible chat model with Pi.

3. Start a conversation in the desktop client

   Sign in to the same Hub (check Connection on the sign-in screen), choose New conversation, pick Pi and the model you added, and try a small task. Codex uses its own account and needs its own sign-in.

4. Turn it into a request when you need review and sign-off

   Describe the goal, inputs and acceptance criteria, open Arrange execution, choose an agent and model, and inspect the delivery before accepting it. A normal conversation does not need a project, plugin or automation first.

5. Deploy for a team with Docker

   From the repository root, with Docker running, this starts the Hub, the admin console and PostgreSQL on one server; put an HTTPS reverse proxy in front of it to open it to the team.

```bash
python3 ops/self-host/deploy.py up
python3 ops/self-host/deploy.py credentials   # show the initial admin password
```

## When to use it

- Letting Pi do a task on a cheap model while OpenCode on a stronger model reviews the result against the acceptance criteria before a person accepts it
- Assigning a request to a colleague so their agent does the work and the requester signs off, with the whole trail on record
- Saving a workflow that produced a good weekly brief or code review as a plugin, reviewing it and granting it to the rest of the team
- Self-hosting an agent workspace with roles, cost accounting and an audit log instead of giving each person a separate AI subscription
