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

- **GitHub URL**: https://github.com/agentforce314/clawcodex
- **Official Docs / Website**: https://clawcodex.app
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (91/100 · Maintenance 35/35 · Adoption 19/25 · Releases 17/20 · License 20/20)
- **Latest Release**: v1.7.0 (2026-09-23) — https://github.com/agentforce314/clawcodex/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: CLI, API
- **Momentum**: 928 ★ total (+0 24h / +1 7d) · 168 forks
- **Topics**: `agent`, `ai`, `ai-agent`, `ai-coding`, `claude`, `claude-code`, `cli`, `code`, `codex`, `coding`, `coding-agent`, `deepseek`
- **When to Use**: Best for: Developers and teams that want a Claude Code-style workflow across several model providers, with reusable skills, persistent sessions, and supervised delegation in Git repositories. Skip if: You need offline inference out of the box, an already validated locked-down team deployment, or verified drop-in compatibility with Claude Code.

## Overview
```text
### Architecture & Core Mechanics
ClawCodex ports a Claude Code-style architecture from a TypeScript reference to a Python 3.10+ runtime. The agent streams model responses, executes tool calls, and returns their results to the model over a multi-turn loop. The terminal, Desktop, and browser interfaces share the runtime, gateway, and durable sessions; WebSocket connections are exercised in the multi-agent integration tests.

The Python distribution is `clawcodex-cli`, built with setuptools. Runtime dependencies include `anthropic>=0.116.0,<1`, `openai>=1.109.1,<3`, `rich`, and `python-dotenv`. Native provider adapters and OpenAI-compatible endpoints feed the same execution loop. Project- and user-level `SKILL.md` files extend that loop with slash commands, named arguments, and tool allowlists.

### Key Capabilities & Differentiators
In v1.7.0, a session-scoped supervisor manages foreground, background, team, and workflow workers. It can interrupt individual agents or pause new spawns, with defaults of 32 concurrent agents and a maximum depth of 3. Named teammates keep context between assignments and take work from a locked, dependency-aware task board. Background workers resume under the same ID with their history; requested worktree isolation must start in a real Git checkout or fail before the model runs.

`/eco` filters model-bound Bash output without rewriting commands and saves the raw result to disk when filtering is lossy. A replay of 27 captured outputs fell from 92,989 to 17,767 tokens (about 80%, measured with `cl100k_base` on output text, not total session usage). Independently, `--nano` uses six tools and roughly 2K fixed prompt tokens versus roughly 17K by default. In a same-model SWE-bench Verified comparison using Gemini 2.5 Pro, ClawCodex resolved 291 of 499 tasks (58.2%) versus openclaude's 265 (53.0%).

### Trade-offs & Limitations
Against Claude Code, the clearest reason to adopt ClawCodex is provider choice without changing the agent workflow. That also means validating tool behavior, costs, and credential handling for each endpoint. The SDK upper bounds are functional constraints: the current transport and stream-abort handling rely on `httpx`, while the excluded major SDK versions move to `httpx2`. The package is classified as Alpha; test the permissions and worker lifecycle your team relies on before a broad rollout.

A stable request prefix can improve DeepSeek cache reuse, but the savings depend on the endpoint and workload. `/eco` lowers the amount of command output sent to the model by showing it less detail up front; raw logs remain available for diagnosis and need their own retention policy. Benchmark results are specific to the models, modes, and harnesses tested, not proof that switching from Claude Code will improve an existing workflow.

### Hardware & Deployment Guide
The CLI runs on Python 3.10+. Installers are available for macOS, Linux, WSL, and Windows; native Windows needs Git for Windows because the shell tool executes through Git Bash. To install from source, create a virtual environment, install `requirements.txt`, and run `python -m src.cli login` followed by `python -m src.cli`. Provider setup writes to `~/.clawcodex/config.json`. Review `/permissions` before working in a sensitive checkout: the CLI starts in Full Access mode by default.

For the first browser launch, `clawcodex web --build` builds and starts the local UI at `http://127.0.0.1:8081`. This hosts the agent interface, not the model: the documented path still calls a configured provider. Release v1.5.0 added Desktop with session resume and permission prompts; v1.6.0 added the Web UI on the shared runtime; v1.7.0 unified agent supervision and made persistent teams operational.
```

## Key Capabilities
```text
- Shared sessions: the terminal, Desktop, and Web interfaces use the same Python agent and durable session layer.
- Provider abstraction: native adapters and OpenAI-compatible endpoints share the same tool-calling loop and skill system.
- Agent lifecycle: v1.7.0 puts foreground, background, team, and workflow workers under one supervisor per session, with interrupt and spawn-pause controls.
- Team coordination: named teammates retain context between assignments and pull work from a shared, dependency-aware task board.
- Output compression: `/eco` reduced 27 captured command outputs from 92,989 to 17,767 tokens, with original output saved to disk when filtering is lossy.
- Lean harness: `--nano` uses six tools and cuts the fixed prompt payload from about 17K to 2K tokens.
```

## Quick Start / Clone
```bash
curl -fsSL https://clawcodex.app/install.sh | bash
```
