Skip to content

MetaCog

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.

Stars
25
Language
Python
License
MIT
Published by
Community
Author
ItIsCuthNotCup
Last verified
Oct 2026

ItIsCuthNotCup/MetaCog

User repository on GitHub

View 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.

About this project

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.

Highlights

  • Adaptive default stops at high confidence, otherwise sizes extra branches from uncertainty.
  • Scores every full path plus each distinct bare final answer with an answer prior before picking.
  • Modes for best-of-N, stepwise continuation, and streaming race with early cancellation of losers.
  • Jev hosted by default, Reflex local, or keyless LogitJudge from next-token logits; judge must differ from thinker.

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.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

51GitHub stars
Local LinkedIn recruiting workspace on Browser Use's Jev Ultrafast: Jev screens titles, drives navigation, and assesses profile excerpts against your brief while a live browser stays visible; matches and evidence export as JSON.
Jev Agents & MCP#community#jevbest#catalog-import
33GitHub stars
Codex Skill plus stdlib-only Python CLI that recommends which installed skill to read next for a task, allowing no-skill or uncertain answers and never executing candidates.
Jev Agents & MCP#community#jevbest#catalog-import
32GitHub stars
Daily AI news pipeline that gathers RSS, arXiv, and social sources with staged agents and publishes a searchable web frontend.
Jev Agents & MCP#community#jevbest#catalog-import
72GitHub stars
MCP server over stdio that gives coding agents fourteen Jev judgment tools, turning evidence plus an enumerable question into auto, review, or escalate actions from calibrated probabilities.
Jev Agents & MCP#community#jevbest#catalog-import
Research runtime that pages a large logical tool and context space through a small bounded Jev decision surface with explicit approvals.
Jev Agents & MCP#community#jevbest#catalog-import
21GitHub stars
Skill pack for Codex, Claude Code, and WorkBuddy that drives CNKI topic search, result parsing, detail reading, downloads, citation export, screening tables, and resumable task ledgers.
Jev Agents & MCP#community#jevbest#catalog-import
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai