0
stars
62
commits
TypeScript
primary language
Jul 22, 2026
updated
Neural Field Guide is a self-contained personal learning and research program for building intelligent systems from understandable primitives, then using those systems for controlled original experiments.
OpenAI Codex with GPT-5.6 was used across essentially the entire project: curriculum research and architecture, lesson writing, UI and interaction design, implementation, testing, debugging, documentation, and release verification. The project owner set the direction, reviewed the work, and made the final decisions.
The program currently contains 182 lessons across five complete courses:
| Course | Lessons | Canonical home | What the learner builds |
|---|---|---|---|
| Large Language Models | 44 | /llm/ | Tensors, a tokenizer, a decoder-only Transformer, training and inference systems, and evidence-aware applications |
| World Models | 46 | /worldmodel/ | State estimators, latent dynamics, imagined rollouts, planners, and model-based decision systems |
| Generative Models | 30 | /generative/ | Autoregressive, variational, flow, energy-based, diffusion, and conditional generators |
| Reinforcement Learning & Control | 32 | /rl/ | Tabular and deep value learners, policy-gradient agents, model-based control, and reliable experiments |
| Embodied AI | 30 | /embodied/ | Typed sensor-policy-actuator loops, imitation and language-conditioned policies, feedback, and simulation studies |
The course selector sits beside the site identity and changes the complete curriculum context. A canonical lesson URL is /<course-id>/<lesson-id>/; the root resumes the last selected course, and legacy flat LLM lesson URLs forward to their /llm/ locations. The recommended sequence and the places where concepts branch or rejoin are documented in docs/CURRICULUM_ARCHITECTURE.md.
Prerequisite: Node.js >=22.13.0. Full release verification also requires Python 3.12; its course dependencies are installed into a fresh temporary environment rather than your global Python installation.
npm install
npm run dev
Open http://localhost:3000/. Progress and project notes stay in browser storage and are isolated by course. Existing LLM progress using the original storage key is migrated on first use. Required lessons, practice, feedback, assessments, and reference artifacts work without an account, API, teacher, or external grader.
npm run hooks:install
npm run ci:verify
npm install installs the reviewed .githooks/ path automatically; npm run hooks:install repairs or confirms it explicitly. The pre-push hook runs the same ci:verify command as GitHub Actions. The verifier installs the exact npm graph, creates an isolated Python 3.12 environment from requirements-ci.txt, runs lint and the complete regression suite, and checks root-hosted plus /neural-field-guide Pages exports. A failed check blocks a normal direct push to main; git push --no-verify is an explicit emergency bypass, not the normal publishing path, and GitHub still refuses deployment when remote verification fails.
npm test remains the focused repository suite when dependencies are already installed. It creates and verifies the root static export, checks preserved learning and experiment artifacts, confirms the current independent page-grade evidence, and runs the complete curriculum, accessibility, and UX regression suite. Documentation-specific invariants can be checked quickly with:
node --test tests/documentation.test.mjs
The current grading rubric, generated 187-page report, objective review, interaction audit, and documentation ownership map are indexed in docs/README.md.
Browser labs and preserved fixtures make mechanisms inspectable, but they are not presented as model-quality measurements. Course-scale validation artifacts retain their provenance and claim boundaries. Heavyweight or accelerator-backed experiments are optional extensions, with smoke checks, full commands, expected invariants, variable observations, stop criteria, and failure-preserving output contracts.
The external execution families cover:
Start with external-executions/README.md. The Generative, RL, and Embodied runbooks use the same CLI on Google Colab, another compatible GPU service, or a local environment. No external run is required to complete a course, and no plausible result is treated as measured evidence until its preserved artifact is reviewed.
GitHub Pages is the supported target. npm run build:pages uses Next.js native static export and writes the publishable site to out/; the application has no database, authentication, secret-backed API, or server runtime requirement.
Publication is not active by default. Read docs/GITHUB_PAGES.md before making the repository public or copying the inert workflow template into .github/workflows/.
AGENTS.md: contributor contract and complete lesson teaching standardapp/course-data.ts and app/course-catalog.ts: LLM source of truth and the five registered course definitionsapp/world-models/, app/generative/, app/rl/, app/embodied/: course-specific curricula, labs, assessments, evidence, and projectsapp/research-courses/: shared implementation contracts for the three research coursesapp/curriculum-graph.ts and app/research-curriculum-manifests.ts: cross-course ownership and released-course manifestspublic/validation-artifacts/ and public/capstone-artifacts/: downloadable, machine-readable reference evidencepublic/experiment-runbooks/: learner-facing copies of optional accelerator experiment instructionsexternal-executions/: optional reproduction runners, dependency pins, runbooks, and evidence schemasscripts/: deterministic generators and repository verifiersdocs/: maintained architecture, review, grading, interaction, and publication documentationtests/: executable curriculum, content, artifact, accessibility, rendering, and deployment contractsSee docs/README.md before adding a new report. It identifies the canonical maintained documents, generated files, owners, regeneration commands, and retirement policy.
62 commits
TypeScript
76.4%
JavaScript
14.3%
Python
8.8%
0
stars
62
commits
TypeScript
primary language
Jul 22, 2026
updated
Neural Field Guide is a self-contained personal learning and research program for building intelligent systems from understandable primitives, then using those systems for controlled original experiments.
OpenAI Codex with GPT-5.6 was used across essentially the entire project: curriculum research and architecture, lesson writing, UI and interaction design, implementation, testing, debugging, documentation, and release verification. The project owner set the direction, reviewed the work, and made the final decisions.
The program currently contains 182 lessons across five complete courses:
| Course | Lessons | Canonical home | What the learner builds |
|---|---|---|---|
| Large Language Models | 44 | /llm/ | Tensors, a tokenizer, a decoder-only Transformer, training and inference systems, and evidence-aware applications |
| World Models | 46 | /worldmodel/ | State estimators, latent dynamics, imagined rollouts, planners, and model-based decision systems |
| Generative Models | 30 | /generative/ | Autoregressive, variational, flow, energy-based, diffusion, and conditional generators |
| Reinforcement Learning & Control | 32 | /rl/ | Tabular and deep value learners, policy-gradient agents, model-based control, and reliable experiments |
| Embodied AI | 30 | /embodied/ | Typed sensor-policy-actuator loops, imitation and language-conditioned policies, feedback, and simulation studies |
The course selector sits beside the site identity and changes the complete curriculum context. A canonical lesson URL is /<course-id>/<lesson-id>/; the root resumes the last selected course, and legacy flat LLM lesson URLs forward to their /llm/ locations. The recommended sequence and the places where concepts branch or rejoin are documented in docs/CURRICULUM_ARCHITECTURE.md.
Prerequisite: Node.js >=22.13.0. Full release verification also requires Python 3.12; its course dependencies are installed into a fresh temporary environment rather than your global Python installation.
npm install
npm run dev
Open http://localhost:3000/. Progress and project notes stay in browser storage and are isolated by course. Existing LLM progress using the original storage key is migrated on first use. Required lessons, practice, feedback, assessments, and reference artifacts work without an account, API, teacher, or external grader.
npm run hooks:install
npm run ci:verify
npm install installs the reviewed .githooks/ path automatically; npm run hooks:install repairs or confirms it explicitly. The pre-push hook runs the same ci:verify command as GitHub Actions. The verifier installs the exact npm graph, creates an isolated Python 3.12 environment from requirements-ci.txt, runs lint and the complete regression suite, and checks root-hosted plus /neural-field-guide Pages exports. A failed check blocks a normal direct push to main; git push --no-verify is an explicit emergency bypass, not the normal publishing path, and GitHub still refuses deployment when remote verification fails.
npm test remains the focused repository suite when dependencies are already installed. It creates and verifies the root static export, checks preserved learning and experiment artifacts, confirms the current independent page-grade evidence, and runs the complete curriculum, accessibility, and UX regression suite. Documentation-specific invariants can be checked quickly with:
node --test tests/documentation.test.mjs
The current grading rubric, generated 187-page report, objective review, interaction audit, and documentation ownership map are indexed in docs/README.md.
Browser labs and preserved fixtures make mechanisms inspectable, but they are not presented as model-quality measurements. Course-scale validation artifacts retain their provenance and claim boundaries. Heavyweight or accelerator-backed experiments are optional extensions, with smoke checks, full commands, expected invariants, variable observations, stop criteria, and failure-preserving output contracts.
The external execution families cover:
Start with external-executions/README.md. The Generative, RL, and Embodied runbooks use the same CLI on Google Colab, another compatible GPU service, or a local environment. No external run is required to complete a course, and no plausible result is treated as measured evidence until its preserved artifact is reviewed.
GitHub Pages is the supported target. npm run build:pages uses Next.js native static export and writes the publishable site to out/; the application has no database, authentication, secret-backed API, or server runtime requirement.
Publication is not active by default. Read docs/GITHUB_PAGES.md before making the repository public or copying the inert workflow template into .github/workflows/.
AGENTS.md: contributor contract and complete lesson teaching standardapp/course-data.ts and app/course-catalog.ts: LLM source of truth and the five registered course definitionsapp/world-models/, app/generative/, app/rl/, app/embodied/: course-specific curricula, labs, assessments, evidence, and projectsapp/research-courses/: shared implementation contracts for the three research coursesapp/curriculum-graph.ts and app/research-curriculum-manifests.ts: cross-course ownership and released-course manifestspublic/validation-artifacts/ and public/capstone-artifacts/: downloadable, machine-readable reference evidencepublic/experiment-runbooks/: learner-facing copies of optional accelerator experiment instructionsexternal-executions/: optional reproduction runners, dependency pins, runbooks, and evidence schemasscripts/: deterministic generators and repository verifiersdocs/: maintained architecture, review, grading, interaction, and publication documentationtests/: executable curriculum, content, artifact, accessibility, rendering, and deployment contractsSee docs/README.md before adding a new report. It identifies the canonical maintained documents, generated files, owners, regeneration commands, and retirement policy.
62 commits
TypeScript
76.4%
JavaScript
14.3%
Python
8.8%