AI Worker worker.md

wcgw

Shell and coding agent on mcp clients

Tool registry 645 stars Python Apache-2.0 Worker-compatible

Source#

  • Repository: rusiaaman/wcgw
  • Last source update: 2026-02-27
  • Last verified: 2026-03-01

Tags#

agentai-agentai-codinganthropicchatgptclaude

Integration notes#

Repository is focused on tool/server interoperability; wrap in bounded worker contracts for production use.

worker.md example#

Starter worker.md contract mapped from this registry entry. Copy this file and adapt schemas, constraints, and statuses for your task.

---
id: wcgw-repo-derived-worker
name: wcgw Repo-Derived Worker
version: 1.0.0
source_registry_url: https://worker.md/registry/wcgw/
source_repository: https://github.com/rusiaaman/wcgw
repository_default_branch: main
repository_language: Python
repository_license: Apache-2.0
repository_updated_at: 2026-02-27
worker_mode: tool-gateway-worker
derivation_method: github_repository_metadata_plus_raw_readme
derivation_confidence: 0.9
derived_on: 2026-03-01
tags:
  - agent
  - ai-agent
  - ai-coding
  - anthropic
  - chatgpt
  - claude
---

# wcgw Repo-Derived Worker

## Repo-derived summary
- Registry summary: Shell and coding agent on mcp clients
- Repository description: Shell and coding agent on mcp clients
- Stars (snapshot): 645
- Primary language: Python
- Worker mode classification: tool-gateway-worker

## Extracted from
- https://github.com/rusiaaman/wcgw
- https://github.com/rusiaaman/wcgw/blob/main/README.md
- https://github.com/rusiaaman/wcgw/actions/workflows/python-tests.yml/badge.svg?branch=main
- https://github.com/rusiaaman/wcgw/actions/workflows/python-types.yml/badge.svg?branch=main
- https://github.com/rusiaaman/wcgw/actions/workflows/python-publish.yml/badge.svg

## Evidence notes (from repository text)
- README summary paragraph: Empowering chat applications to code, build and run on your local machine.
- # Shell and Coding agent for Claude and other mcp clients
- wcgw is an MCP server with tightly integrated shell and code editing tools.
- As of 2026 the reason you could use `wcgw` is that it provides fully interactive shell experience that you and the agent both can control (including sending key-strokes).
- Combined with the wcgw vscode extension that attaches the agent's shell in your editor, you can get the best agentic shell experience that is out there.
- The file editing tricks and the general minimalism also helps agent be more productive.

## Installation hints found in README
- No explicit package installation command detected in README text.

## worker.md contract (derived starter)
Purpose: Expose repository-supported tool/server capabilities behind a bounded worker interface.

### Input schema
```json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "request_id",
    "operation",
    "payload"
  ],
  "properties": {
    "request_id": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "payload": {
      "type": "object"
    }
  }
}
```

### Output schema
```json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "request_id",
    "status",
    "result"
  ],
  "properties": {
    "request_id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "retryable_error",
        "invalid_request",
        "invalid_output"
      ]
    },
    "result": {
      "type": "object"
    }
  }
}
```

### Constraints
- timeout_seconds: 30
- max_attempts: 2
- idempotency_key: request_id
- status_enum: [ok, retryable_error, invalid_request, invalid_output]
- notes: adapt to concrete APIs/classes documented in this repository before production use

## How this should be used
1. Treat this file as a repo-derived starter profile, not a claim of an official repository API contract.
2. Replace schemas with exact interfaces from code/docs you adopt.
3. Keep execution bounded and auditable using worker protocol constraints.

How to use#

  • Save this as a worker spec file (for example: wcgw-my-task.worker.md).
  • Replace the input/output schemas and purpose with your real bounded task.
  • Enforce schema validation + timeout + retry policy in your runtime before production use.

Citation#

Reference URL: https://worker.md/registry/wcgw/

Source URL: https://github.com/rusiaaman/wcgw