微型編碼器:一個約300行程式碼的自我編寫AI編碼代理

微型編碼器:一個約300行程式碼的自我編寫AI編碼代理

Hacker News·

一個名為「微型編碼器」(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

Hacker News

相關文章

  1. 使用AI重寫我的網站

    4 個月前

  2. 展示 HN:AI 編碼工具包。用於可靠 AI 編碼的低開銷工作流程

    3 個月前

  3. 專為 AI 代理設計的極簡化、意見驅動式問題追蹤器

    3 個月前

  4. 利用 Claude Code 建構你的個人 AI 助理

    3 個月前

  5. Show HN:1Code – 適用於 Claude Code 的開源類 Cursor UI

    3 個月前

其他收藏 · 0