cheetahclaws  by SafeRL-Lab

AI coding assistant framework

Created 1 week ago

New!

503 stars

Top 61.7% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

Nano Claude Code is a Python reimplementation of the Claude Code AI coding assistant, addressing its closed-source nature and vendor lock-in. It offers a fast, easy-to-use, and highly extensible alternative for developers seeking to leverage diverse cloud or local language models for coding assistance. This project provides Claude Code-like productivity without a Node.js build chain, enabling rapid iteration and integration for researchers and teams needing a customizable baseline.

How It Works

This project reimplements Claude Code's core agent loop in ~10,000 lines of Python, prioritizing runtime extensibility and model flexibility. It features a Python generator for event-driven processing and dynamic tool registration. Key architectural choices include broad support for multiple LLM providers (cloud and local via Ollama, LM Studio, vLLM), a plugin system for custom tools/skills, and integrated task management with dependency tracking.

Quick Start & Requirements

  • Installation: Clone the repository and install dependencies via pip install -r requirements.txt.
  • Prerequisites: Python 3.8+. Local model inference requires Ollama or an OpenAI-compatible server. API keys are needed for cloud providers. Optional voice input dependencies include sounddevice and faster-whisper.
  • Resource Footprint: Core Python code is lightweight; local model inference resource usage varies by model size.
  • Documentation: Primary documentation is within the README.

Highlighted Details

  • Multi-Provider & Local Models: Seamlessly switch between numerous cloud APIs and local models served via Ollama or compatible endpoints.
  • Runtime Extensibility: Dynamically register tools, install skills from git, and manage plugins without recompilation.
  • Task Management: Structured task system with sequential IDs, dependency edges, and persistence.
  • Offline Voice Input: Integrated voice-to-prompt using local faster-whisper.
  • Advanced Tools: Includes NotebookEdit for Jupyter cells and GetDiagnostics for code analysis.
  • Context Compression: Two-layer system (snip + AI summarization) manages conversation history.

Maintenance & Community

Recent, frequent updates in April 2026 indicate active maintenance. Specific community channels or notable contributors are not detailed in the README.

Licensing & Compatibility

The license type is not specified in the provided README, a critical omission for due diligence regarding commercial use or closed-source linking. Requires Python 3.8+.

Limitations & Caveats

Nano Claude Code lacks the polished UI and extensive toolset of the original Claude Code (TypeScript), which offers superior rendering and more built-in tools. Its memory management is tool-driven, unlike the original's proactive AI extraction. The absence of a specified license is a significant adoption blocker.

Health Check
Last Commit

3 hours ago

Responsiveness

Inactive

Pull Requests (30d)
40
Issues (30d)
11
Star History
514 stars in the last 10 days

Explore Similar Projects

Feedback? Help us improve.