clawcodex
Token efficient Claude Code full Python rebuild. AI Coding Agent in 310K LoC Python. Up to 200X Cost Saving!
ClawCodex is a production-oriented Python rebuild of Claude Code that functions as a complete AI coding agent with autonomous tool-calling, file editing, and shell execution capabilities. It supports 30+ LLM providers including Claude, OpenAI, Gemini, DeepSeek, and local servers, offering up to 200X cost savings through token compression and prefix caching. The agent ships with CLI, TUI, web UI, and desktop interfaces, supports markdown-based skills, MCP protocol integration, and includes a sophisticated permission system for safe autonomous operation.
Key Features
Use Cases
- 01Autonomous code generation and refactoring across multi-file projects with iterative improvements
- 02Running long coding sessions at pennies using DeepSeek models with prefix caching and token compression
- 03Scheduled maintenance tasks with /loop mode for monitoring deployments, CI/CD, or codebase health
- 04Multi-model workflows using fusion models to add vision capabilities to text-only reasoning models
- 05Creating custom coding workflows through markdown-based skills with controlled tool access
- 06Terminal-based agent development and testing scored 80.9% on Terminal-Bench 2.1
Related Agents
View morehermes-agent
The agent that grows with you
agency-agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
openinterpreter
A coding agent for open models like Kimi K3
cline
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
clawcodex — FAQ
What is ClawCodex?+
ClawCodex is a Python-based AI coding agent rebuilt from Claude Code's architecture with multi-provider LLM support, autonomous file editing, shell execution, and token-efficient operation through compression and caching.
How do I install ClawCodex?+
Run the one-line installer: curl -fsSL https://clawcodex.app/install.sh | bash (macOS/Linux/WSL) or irm https://clawcodex.app/install.ps1 | iex (Windows). Alternatively, install via pipx with: pipx install clawcodex-cli. Then run clawcodex login to configure your provider API keys.
Which AI clients or platforms does it work with?+
ClawCodex is a standalone agent with its own CLI, TUI, web UI, and desktop app. It connects to 30+ LLM providers including Anthropic (Claude), OpenAI (GPT), Google (Gemini), DeepSeek, Z.ai, Minimax, OpenRouter, and local servers like Ollama, vLLM, and SGLang.
What API keys or prerequisites do I need?+
You need an API key from at least one supported LLM provider (Anthropic, OpenAI, DeepSeek, etc.) or a Claude Pro/Max or ChatGPT subscription. Optional: TAVILY_API_KEY for web search. Windows requires Git for Windows installed. Python 3.10+ is auto-provisioned by the installer.
Is ClawCodex free to use?+
The software is free and MIT-licensed, but you pay for LLM API usage. Costs vary by provider; DeepSeek with prefix caching can run at $0.003/1M cached tokens. ChatGPT and Claude subscription modes use your existing plan allowance at $0 metered cost.
How does the permission system work?+
ClawCodex starts in Full Access mode by default (edit files and run commands without asking). Use /permissions to switch to Ask for approval (prompts for edits/commands) or Approve for me (auto-accepts safe operations). Admins can disable Full Access with disableBypassPermissionsMode in config.
How do I install clawcodex?+
Open the source repository on GitHub and follow its README. clawcodex is a agent — MCP Agents Market links you directly to the official repo.
Is clawcodex free?+
clawcodex is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.