whatisgithub

What is deputy-agent?

someonekong/deputy-agent — explained in plain English

Analysis updated 2026-05-18

27TypeScriptAudience · developerComplexity · 4/5LicenseSetup · moderate

In one sentence

Deputy is a TypeScript framework for running long, unattended AI tasks using a master-worker-watcher-reviewer role structure that checks in only at key decision points.

Mindmap

mindmap
  root((Deputy))
    What it does
      Task planning
      Unattended execution
      Stage gate review
      Progress monitoring
    Tech stack
      TypeScript
      Claude
      Codex
    Use cases
      Long AI tasks
      Multi-model assignment
    Audience
      AI developers
      Automation engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run a long unattended AI task, such as a one-hour to two-day knowledge work job, with minimal supervision.

USE CASE 2

Assign a cheaper AI model to the worker role and a more capable model to the planning role.

USE CASE 3

Monitor live progress and agent output through a local web interface or CLI.

USE CASE 4

Catch and correct AI errors automatically using the Watcher and Reviewer roles at stage gates.

What is it built with?

TypeScriptClaudeCodex

How does it compare?

someonekong/deputy-agent5bv57zcm44-max/noxus-ai-open-whatsappadrianhajdin/react-native-lingua
Stars272727
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity4/54/53/5
Audiencedeveloperdevelopervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Version 0.1.0, tuned primarily for Claude, Codex and GPT models are noted to perform less well.

Apache 2.0: free to use, modify, and distribute, including commercially, with attribution.

So what is it?

Deputy is a TypeScript framework for running long, unattended AI tasks without constant human involvement. You give it a task description, it generates a custom plan and process tailored to that task, then runs the work through a structured sequence of stages, checking in with you only at key decision points. The design uses a master and worker arrangement rather than having multiple AI agents collaborate as equals. A master role called Meta does the planning, sets up the task-specific process, and judges outcomes. A worker role does the actual execution. Two additional roles observe the worker: a Watcher monitors output in real time, and a Reviewer gives verdicts at stage gates. This four-role structure is meant to catch errors and correct the work without needing a human to supervise every step. The framework is aimed at general knowledge work rather than coding tasks specifically. The README notes it is built for jobs that run roughly one hour to two days, not for quick interactive exchanges. Each role can use a different AI model or provider, so you can assign a cheaper model to the worker and a more capable one to the Meta role. Both Claude and Codex are supported. Agents coordinate through files written to disk, so the worker's state persists across multiple sessions. You interact with Deputy through either a local web interface or a command-line tool. The web interface shows live progress, conversation streams, and agent output in one place. The CLI exposes the same operations and is suited to scripting. This is version 0.1.0 and described as a reference implementation derived from a higher-level design specification that is not included in the repository. The author notes that behavior is tuned primarily for Claude, that Codex and GPT models perform less well, and that cross-task memory is not yet implemented. It is not described as production-ready. The project is licensed under Apache 2.0.

Copy-paste prompts

Prompt 1
How do I define a task description for Deputy so its Meta role can generate a plan?
Prompt 2
Explain the master, worker, Watcher, and Reviewer roles in the Deputy framework.
Prompt 3
How do I assign different AI models to different Deputy roles?
Prompt 4
Set up Deputy's CLI to run a scripted long-running task with Claude.

Frequently asked questions

What is deputy-agent?

Deputy is a TypeScript framework for running long, unattended AI tasks using a master-worker-watcher-reviewer role structure that checks in only at key decision points.

What language is deputy-agent written in?

Mainly TypeScript. The stack also includes TypeScript, Claude, Codex.

What license does deputy-agent use?

Apache 2.0: free to use, modify, and distribute, including commercially, with attribution.

How hard is deputy-agent to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is deputy-agent for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.