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

Đang mở
#315 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
git, javascript
Lĩnh vực
ai, distributed-systems, search

Hướng nghiên cứu

Đề xuất này đề cập đến các agent WebPlanner và WebSearcher chạy đồng thời của MindSearch nhưng không nêu tên tệp hoặc test nào. Hãy bắt đầu bằng việc xác định kiến trúc tìm kiếm song song và đọc đặc tả GNAP được liên kết. Công việc được xem là hoàn tất khi có một thiết kế tích hợp đã được thống nhất, cung cấp khả năng điều phối tác vụ, khôi phục sau sự cố và các kết quả tìm kiếm đã được commit.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
JavaScript
Star
7k
Fork
684
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của InternLM/MindSearch

Tất cả issue của InternLM/MindSearch

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.