User repository on GitHub
Metacognition for any agent. Drastically improves accuracy with almost no increase in cost.
- Forks
- 2
- Last pushed
- Updated Sep 2026
Repo stats from the GitHub API, cached Oct 2026.
Python inference-time loop that lets a separate judge score one greedy answer and, when uncertain, samples extra thought paths in parallel and returns the best-scored path.
User repository on GitHub
Metacognition for any agent. Drastically improves accuracy with almost no increase in cost.
Repo stats from the GitHub API, cached Oct 2026.
Let a small, fast judge steer a bigger model's reasoning. MetaCog wraps any language model — local or API — in an inference-time metacognition loop. The model writes one answer; a separate judge scores it. If the judge is confident, that is the answer. If not, the model writes several more thought paths in parallel, the judge scores each path and each distinct final answer, and the best one is returned. No training, no weights touched.
Quoted from the project's README. Read the full README.
Watch out
The judge must not be the thinker; self-grading measured worse than no judge. Race mode needs parallel serving or timing collapses, and model-generated code should run containerized. Report coverage ceiling next to accuracy. Copy reviewed against the repository README on 2026-10-04, not from running it.
Posts from builders shipping with Jev right now.