A line-by-line recreation of the open-source AI coding agent opencode, evolving from a minimal viable agent loop to a production-grade Effect-TS architecture while demonstrating how AI agents can assist efficient learning of unfamiliar technology stacks.
1 file for Codex and OpenCode: OpenCodeFromScratch AGENTS.md — 3,661 tokens loaded in every session.
AGENTS.md A 3,661 tok These files are hong-kailin/OpenCodeFromScratch's own configuration — they tell Codex and OpenCode how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.