GNAP: git-native coordination for MindSearch's parallel web search agents

Open
#315 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
git, javascript

Research direction

The proposal refers to MindSearch's WebPlanner and concurrent WebSearcher agents but names no files or tests. Start by locating the parallel search architecture and read the linked GNAP specification. Done would require an agreed integration design that provides task coordination, crash recovery, and committed search results.

Written by the indexing model from the issue text.

Description

Proposal: GNAP as a coordination layer for MindSearch's concurrent WebSearcher agents

MindSearch's mimicking of human mind search — a WebPlanner that breaks queries into parallel WebSearcher subtasks — is elegant. The concurrent multi-query search (improved in v0.5 with Lagent) is the key performance driver. Coordinating these parallel searchers is exactly what GNAP is designed for.

GNAP (Git-Native Agent Protocol) provides durable coordination: board/todo/ → board/doing/ → board/done/. Each WebSearcher claims a search task, completes it, and commits results.

Applied to MindSearch's parallel search architecture:

When WebPlanner decomposes a complex query into parallel sub-queries:

board/todo/search-quantum-error-correction-basics.md   ← WebPlanner creates
board/todo/search-quantum-error-correction-recent.md
board/todo/search-quantum-hardware-implementations.md

board/doing/search-quantum-error-correction-basics.md  ← WebSearcher 1 claims
board/doing/search-quantum-error-correction-recent.md  ← WebSearcher 2 claims in parallel
board/done/search-quantum-error-correction-basics.md   ← Results committed

board/todo/synthesize-quantum-overview.md              ← WebPlanner picks up all done results

This provides crash-safe parallel search — if a WebSearcher crashes mid-search, another can reclaim the task from board/todo/. Given MindSearch's deployment on Puyu (production scale), this durability is valuable.

GNAP also captures the full search decomposition history in git — a useful research artifact for studying how the WebPlanner decomposes different query types.

Spec: https://github.com/farol-team/gnap

Dominant language
JavaScript
Stars
7k
Forks
684
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from InternLM/MindSearch

All issues in InternLM/MindSearch

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.