Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

FairyScript/100cc

Repository files navigation

100cc

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

bun install

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

About

Roll up your own claude code with 100 lines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • TypeScript 100.0%

AltStyle によって変換されたページ (->オリジナル) /