AI Dev Impact Lab JA
← Rankings · AI-RELATED REPO

Ding-Ye/learn-codex

Build a Go mini-version of openai/codex, session by session — each chapter ends with the upstream Rust source. Generated by the learn-repo-generator skill.

Go OTHER GitHub ↗
★ 0
stars
65
AI relevance
50
solo dev
0
tool sigs

SUMMARY AI summary by gpt-5-mini

learn-codex is a teaching companion that reconstructs the core mechanisms of openai/codex as a sequence of small, incremental Go modules. It's designed for engineers and learners who want to understand why upstream codex-rs makes its architectural choices without reading the full 120+‑crate Rust monorepo. Who uses it: Go developers, systems engineers, and researchers studying agent runtimes and the codex design. Key features: - 10 sequential sessions (s01–s10) that each add one mechanism: minimal event loop, streaming model client, exec tool, V4A patch applier, approval flow, execpolicy DSL, append-only rollout logging with resume, macOS/Linux sandbox adapters, MCP bridge, and CLI driver. - s_full integration walkthrough plus two appendices (mental model, upstream reading map). - Each chapter provides a Go module (code, tests, cmd runner), bilingual docs (EN/CN) with Problem·Solution·HowItWorks sections, and annotated Rust excerpts of the upstream source. - Quick start: Go ≥1.24, run examples and tests. Apache‑2.0 licensed.

DETECTED Detected AI stack

AI-related keywords found in this repo's description, topics, or README summary — grouped by category. Each badge links to the corresponding ranking detail page.

🧠 LLM providers (1)
OpenAI
🤝 Agent frameworks (1)
MCP

Language breakdown (by bytes)

Go
63.6%
CSS
1%
Rust
25.7%
JavaScript
0%
TypeScript
9.7%

Owner

Account
Ding-Ye
Type
User
Followers
4
Company
学大汉 武立国

This person look like a dog

Dates

Created on GitHub 2026-05-09
Last push 2026-05-09
First seen here 2026-05-09
Last fetched 2026-05-09 14:57