DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to fan a question out to several agents with best-of-n with Endo

Run the shipped best-of-n workflow to collect and compare multiple agent answers.

Short answer: Clone the repo with git clone https://github.com/longsurf-ai/endo.git and enter it with cd endo; then install dependencies with just install --frozen-lockfile; start the desktop app with just desktop. All steps.

Who it is forA developer or analyst who needs the strongest of several drafts or answers and wants the calls to run in parallel.

The problemAsking several agents by hand, one after another, is slow and makes it hard to see which answer wins.

The outcomeA Workflow card in chat that shows each agent call as it happens and returns the candidate answers from the run.

What you need first

  • A Mac with Apple Silicon for the signed download, or Node.js 24, Bun 1.4.2 and Just for running from source
  • An existing codex, claude, Antigravity or grok login, or a provider set up in Settings → Models
  • A workspace folder where workflow files can live

Steps

  1. Clone the repo with git clone https://github.com/longsurf-ai/endo.git and enter it with cd endo.
  2. Install dependencies with just install --frozen-lockfile.
  3. Start the desktop app with just desktop.
  4. In chat, run /best-of-n on your question and watch the Workflow card show each call.
  5. Open the workflow file in your workspace to change how many agents or phases it uses. (inferred, check the README)

Prompt for your agent

In the longsurf-ai/endo repo, run the /best-of-n workflow on <my question> from the Endo chat. Expected output: a Workflow card listing each agent call and the candidate answers. Verify that calls from more than one provider appear before you accept a result.

Caveat. The README names /best-of-n as a shipped workflow but does not describe its internals, so check the workflow file before relying on its exact behavior.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for longsurf-ai/endo and "Fan a question out to several agents with best-of-n"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer