galapagos
DocsHubLeaderboardPlaygroundNews
galapagos

six blocks · any task ·
better solutions emerge.

Platform

  • Hub
  • Leaderboard
  • Playground

Resources

  • Docs
  • API reference
  • Card spec

Community

  • GitHub
  • Contribute

Updates

  • News
  • Releases

© 2026 Galapagos. Licensed under Apache-2.0.

Build your own scaffold.

Hub/Scaffolds/default/Best-of-N

default/best_of_n

Best-of-N

Give the LLM N valid attempts at the same parent before committing to the global best, then repeat.

Test-time searchApache-2.0
Scaffold cardFiles and versions
best_of_n/memory.py
9 lines · 258 BpythonDownload
"""Best-of-N Memory component — none.

Best-of-N keeps no cross-candidate free-form knowledge; the plain loop leaves Memory empty (NullMemory).
"""
from __future__ import annotations

from ...components.memory import NullMemory

BestOfNMemory = NullMemory