AI.news
主页教程研究工具模型AI创业讨论新闻每日简报WIKI🚀 创业库★ 投稿
AI+医疗机器人教育金融能源健康娱乐思考

GitHub - yujqiao/100cc: Roll up your own claude code with 100 lines

Roll your own coding agent with 100 lines

The idea is simple. Write the bare minimal harness by hand and then ask it to write itself.

blog post about this

Setup

Create a .env with:

OPENAI_API_KEY=...        # required
OPENAI_MODEL=...          # required
OPENAI_BASE_URL=...       # optional, defaults to OpenAI's official endpoint

Run

It starts with the bare minimal. Only non-interactive mode(-p) is implemented

bun start -- -p "review this project and add 3 jokes to README.md"

Ask it to write itself

bun start -- -c -p "implement interactive mode for this project"  # -c to continue from the last session

Get some eyecandy

bun start -- -c -p "make this project look nicer"

Going Further

Ask your 100cc to implement TODO.md

Have fun and share with your friends!


This repo tries to keep the signal to noise ratio high and adhere to showing less output