Claw Code Agent: Python Reimplementation of Claude Code Architecture for Local Models

Claw Code Agent is a complete Python reimplementation of the Claude Code agent architecture, built from reverse-engineering work shared in a tweet. The project addresses the original Claude Code's npm/TypeScript/Rust implementation, which can be challenging for Python developers to read or extend.
Core Features
The agent implements a full agentic coding loop with tool calling. Key components include:
- Core tools: file read/write/edit, glob, grep, shell
- Slash commands: /help, /context, /tools, /memory, /status, /model
- Context engine with CLAUDE.md discovery
- Session persistence — save and resume agent runs
- Tiered permissions: read-only → write → shell → unsafe
Model Compatibility
The agent works with any OpenAI-compatible backend:
- vLLM (documented path)
- Ollama
- LiteLLM Proxy
The recommended model is Qwen3-Coder-30B-A3B-Instruct, which runs fully local and free.
Development Status
The project is actively maintained with the team working on adding features and accepting pull requests. Users are encouraged to open issues for missing features or bugs.
This implementation makes the Claude Code architecture accessible to Python developers who want to understand, modify, and run agentic coding systems with local models.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Claude Code Voice Mode: Hands-Free AI Conversations for Developers
Claude's voice mode beta lets you speak to the AI and hear responses, with hands-free and push-to-talk options. It works on web and mobile, counts toward regular usage limits, and allows switching between text and voice in the same conversation.

Qwen 3.6 27B Quantization Benchmark: Q4_K_M Beats Q8_0 on Practical Tradeoffs
Evaluated Qwen 3.6 27B across BF16, Q4_K_M, and Q8_0 GGUF quants on HumanEval, HellaSwag, and BFCL. Q4_K_M delivers near-BF16 scores with 48% less RAM, 1.45x speed, and 68.8% smaller file size.

Lemonade by AMD: Open Source Local LLM Server for GPU and NPU
Lemonade is an open source local AI server that runs text, image, and speech models on GPUs and NPUs. It's OpenAI API compatible, supports multiple models simultaneously, and has a 2MB native C++ backend.

Buyer Eval: Claude skill for B2B vendor evaluation using AI agent conversations
A Claude skill that evaluates B2B software vendors by researching your company, asking domain-specific questions, and directly interrogating vendor AI agents through the Salespeak Frontdoor API. It cross-references claims against independent sources and produces evidence-based scorecards with transparent verification levels.