Reinforcement Learning Brain
A second brain for reinforcement learning that you can actually trust. Every claim traces to a dated primary source, every source has a refresh date, and the whole thing is an Obsidian vault your AI agents can read and operate.
It covers the full arc of RL: the classic foundations (MDPs, Q-learning, policy gradients, PPO, SAC), the frontier that ships today (RLHF, DPO, GRPO, RL with verifiable rewards, agentic multi-turn RL, world models, test-time compute), and the practice in between (debugging training runs, evaluation pitfalls, safe RL, the tooling landscape).
Current maturity: market-ready. Brainstein audit 100/100 with zero critical failures, coach grade SSS+, 34 topic dossiers, 70-source verified ledger, refreshed monthly.
It ships two artifacts:
assets/template-brain/ - the distributable Obsidian vault.
SKILL.md plus scripts/ - the agent-facing operating layer.
How It Works
Knowledge flows from verified sources to answers you can cite:
%%{init: {"theme": "base", "themeVariables": {
"background": "#faf8f3",
"primaryColor": "#f7f3ea",
"primaryTextColor": "#2c3a4f",
"primaryBorderColor": "#b99a5f",
"lineColor": "#8195a8",
"secondaryColor": "#efe9db",
"tertiaryColor": "#faf8f3",
"edgeLabelBackground": "#faf8f3",
"fontFamily": "Segoe UI, Helvetica, Arial, sans-serif"
}}}%%
flowchart LR
A["Primary sources<br/>papers, docs, PyPI"] -->|"verify URL + date"| B["Source ledger<br/>70 entries"]
B --> C["Topic dossiers<br/>34 evidence files"]
B --> D["Claim ledger<br/>adversarially reviewed"]
C -->|"deterministic fold"| E["Obsidian vault<br/>concept notes"]
B -->|"render"| F["Research pack<br/>theme source notes"]
E --> G["Answers, playbooks,<br/>deliverables"]
D --> G
F --> E
The 34 topics span five curated themes:
%%{init: {"theme": "base", "themeVariables": {
"background": "#faf8f3",
"primaryTextColor": "#2c3a4f",
"fontFamily": "Segoe UI, Helvetica, Arial, sans-serif",
"cScale0": "#b99a5f",
"cScale1": "#2c3a4f",
"cScale2": "#8195a8",
"cScale3": "#d8c9a3",
"cScale4": "#5b7590",
"cScale5": "#efe9db"
}}}%%
mindmap
root(("RL Brain<br/>34 topics"))
("Classic foundations")
("MDPs, bandits, TD learning")
("Q-learning, deadly triad")
("POMDPs, distributional RL")
("Deep RL")
("DQN, PPO, SAC, TD3")
("Model-based, world models")
("Exploration, offline, multi-agent")
("LLM post-training")
("RLHF, DPO family, GRPO + RLVR")
("Process reward models")
("Agentic RL, test-time compute")
("Practice")
("Debugging training runs")
("Evaluation and reproducibility")
("Safe RL, sim-to-real")
("Tooling")
("Gymnasium, SB3, CleanRL")
("TRL, veRL, OpenRLHF")
("Distributed RL systems")
The repo also ships working adapters: feed it a training-run export and it flags entropy collapse, KL spikes, and reward collapse with citations back to the debugging canon:
%%{init: {"theme": "base", "themeVariables": {
"background": "#faf8f3",
"primaryColor": "#f7f3ea",
"primaryTextColor": "#2c3a4f",
"primaryBorderColor": "#b99a5f",
"lineColor": "#8195a8",
"secondaryColor": "#efe9db",
"tertiaryColor": "#faf8f3",
"edgeLabelBackground": "#faf8f3",
"fontFamily": "Segoe UI, Helvetica, Arial, sans-serif"
}}}%%
flowchart LR
A["Training run<br/>CSV or W&B JSON"] --> B["import_training_run.py<br/>validate + normalize"]
B --> C["synthesize_training_run.py<br/>detect failure patterns"]
C --> D["render_training_run_report.py<br/>markdown health report"]
D --> E["Findings cite<br/>references/topics/023"]
Buyer
ML engineers, researchers, and AI builders who need repeatable, source-cited reinforcement learning decisions, from classic RL through modern LLM post-training.
Outputs
- Algorithm selection guide
- RLHF / post-training pipeline playbook
- Debugging and reproducibility checklist
- Evaluation and benchmark scorecard
- Weekly research-refresh report
Quick Start
python -m pip install -e .
reinforcement-learning-brain demo
reinforcement-learning-brain lint --vault examples/sample-vault
reinforcement-learning-brain report --vault examples/sample-vault --html-only
To create a client vault: