微型編碼器:一個約300行程式碼的自我編寫AI編碼代理
一個名為「微型編碼器」(Tiny Coder)的新開源專案,展示了一個使用TypeScript和Bun建構的AI編碼助手,並支援Claude API的工具呼叫功能。令人驚訝的是,它從一個基礎框架開始,就能夠自我編寫程式碼。
Navigation Menu
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation.
Single-file AI coding assistant (~350 LOC). Claude API with tool calling. TypeScript + Bun. Zero dependencies.
Uh oh!
There was an error while loading. Please reload this page.
xrip/tinycode
Folders and files
Latest commit
History
Repository files navigation
tinycode
A minimal, single-file AI coding assistant built with TypeScript and Bun. Uses Claude AI with tool-calling capabilities for intelligent code manipulation.
🚀 Self-writing code from day one! Start with just ~100 lines of basic tool framework, and nanocode writes the rest of itself. A true AI pair programmer that bootstraps its own development.
✨ Features
🚀 Quick Start
🎮 Commands
🔧 Available Tools
📝 Example Usage
⚙️ Configuration
Environment variables:
🎯 Use Cases
🧪 Advanced Features
Context-Aware Responses
The AI knows your system environment:
Live Command Execution
Use exec for commands with real-time output:
Smart File Filtering
Automatically ignores common directories:
📚 Documentation
🤝 Contributing
This is a minimal, educational project. Key principles:
📄 License
MIT License - Feel free to use, modify, and distribute.
🙏 Acknowledgments
Built with:
Version: Enhanced - January 2026
Lines of Code: ~345
Dependencies: 0
Awesomeness: ∞
About
Single-file AI coding assistant (~350 LOC). Claude API with tool calling. TypeScript + Bun. Zero dependencies.
Topics
Resources
Uh oh!
There was an error while loading. Please reload this page.
Stars
Watchers
Forks
Languages
Footer
Footer navigation
相關文章
其他收藏 · 0