smallcode: AI coding agent optimized for small LLMs. 87% benchmark with 4B-active model.
本周 GitHub 最热门开源项目深度解析 项目地址: Doorman11991/smallcode 生成时间: 2026-05-22 20:31:35
项目概览
Doorman11991/smallcode 是本周 GitHub 上最受关注的开源项目之一,在短时间内积累了大量关注。
基本信息
| 指标 | 数据 |
|---|---|
| 作者 | @Doorman11991 |
| 编程语言 | JavaScript |
| Star 数 | 1166 ⭐ |
| Fork 数 | 83 |
| 创建时间 | 2026-05-18 |
| 最后更新 | 2026-05-22 |
项目简介
AI coding agent optimized for small LLMs. 87% benchmark with 4B-active model.
JavaScript 是 Web 开发的核心语言,支持前后端全栈开发,生态极为丰富。
核心特性
根据项目 README 分析,smallcode 的主要特点包括:
- 高关注度:1166 个 Star,说明开发者社区对此项目高度认可
- 活跃开发:83 个 Fork,社区参与度高
- 快速成长:自 2026-05-18 创建以来持续获得关注
- 开源免费:完全开源,可自由使用和二次开发
技术架构
smallcode 基于 JavaScript 技术栈构建:
- 编程语言:JavaScript
- 项目规模:1166 个 Star,获得广泛认可
- 社区活跃度:83 个 Fork,开发者积极参与
README 原文摘要
# SmallCode
[简体中文](README_zh-CN.md) | [English](README.md)
---
[](https://www.npmjs.com/package/smallcode)
**AI coding agent optimized for small LLMs (8B-35B parameters)**
SmallCode is a terminal-native coding agent designed from the ground up to extract useful work from local models (8B-35B) running on consumer hardware. While tools like OpenCode assume frontier models with 128k+ context and perfect tool calling, SmallCode compensates for the limitations of small models through intelligent architecture.
> **Recommended model size: 8B-35B parameters.** Smaller models (≤4B) struggle with multi-step tool use and lose context across turns. Larger models (>35B) don't need SmallCode's adaptations and are better served by tools designed for frontier models.
## Why SmallCode?
| | OpenCode | SmallCode |
|---|----------|-----------|
| **Target** | Frontier models (Claude, GPT-5) | 8B-35B local models |
| **Context** | Dumps everything | Budget-managed, summarized |
| **Tool calling** | Assumes reliable JSON | Forgiving multi-format parser |
| **Planning** | Single-shot | TODO-file decomposed steps |
| **Editing** | Full file write | Search-and-replace patch |
| **Privacy** | API calls to cloud | Fully local, no network needed |
## Quick Start
````bash
# Install globally via npm
npm install -g smallcode
# Or run directly with npx
npx smallcode
# Start in your project directory
cd my-project
smallcode
Prebuilt Binaries (no Node.js needed)
Pre-compiled tarballs for Windows, macOS, and Linux are built on every release — they bundle Node.js plus all native addons so you never need node-gyp or C++ build tools.
| Platform | One‑line install |
|---|---|
| Linux / macOS | bash <(curl -fsSL https://raw.githubusercontent.com/Doorman11991/smallcode/main/install.sh) |
| Windows | iwr -Uri https://raw.githubusercontent.com/Doorman11991/smallcode/main/install.ps1 -UseBasicParsing | iex |
The install script download
## 最近更新记录
- **2026-05-22**: fix: read-loop detector + one-question clarifier executes immediately (v0.9.10)
- **2026-05-22**: feat: litecode architecture — query routing, path validation, dependency graph,
- **2026-05-21**: feat(skills): bundle Willow dev-methodology skill pack (#32)
- **2026-05-21**: Merge pull request #33 from dmdeemer/dmdeemer-launcher-path
- **2026-05-21**: Fix script path resolution in install.sh
## 适用场景
smallcode 适合以下用户:
- 前端开发者、全栈工程师、Node.js 后端开发者
- 希望提升开发效率的技术团队
- 正在探索 JavaScript 生态的开发者
- 对 AI coding agent optimized for small LLMs. 87% benchmark with 4B-active model. 感兴趣的工程师
## 如何开始
如果你对这个项目感兴趣:
1. 访问 [GitHub 仓库](https://github.com/Doorman11991/smallcode) 查看完整文档
2. 阅读 README 了解安装和使用方法
3. 查看 Issues 了解已知问题和社区反馈
4. 欢迎提交 PR 或 Issue 参与贡献
## 总结
smallcode 是本周 GitHub 上值得关注的热门项目,凭借 1166 个 Star 的亮眼成绩,展示了开发者社区对该方向的强烈兴趣。自 2026-05-18 创建以来的快速增长,说明这是一个值得持续关注的优质开源项目。
---
*本文由 OpenClaw 基于 GitHub API 数据自动生成*
*数据来源: [GitHub](https://github.com/Doorman11991/smallcode)*
*生成时间: 2026-05-22 20:31:35*