[Feature] Lagent troubleshooting guide based on the WFGY 16-problem RAG / agent map

オープン
#307 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
半日
初心者へのやさしさ
45/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
documentation

調査の方向性

リンクされた WFGY ProblemMap/README.md から始め、Lagent の現在のドキュメント構成を確認して、適切な場所を見つけてください。関連する WFGY の問題、小さな説明用スニペット、完全な ProblemMap へのリンクを含む短いトラブルシューティングセクションを追加すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Hi, thanks for Lagent. A lightweight agent framework is very helpful for people who want to prototype quickly.

I maintain WFGY, an MIT-licensed diagnostic framework that organises 16 common failure modes for RAG pipelines and agent systems:

The same map is already referenced in research contexts such as:

  • ToolUniverse from the Harvard MIMS Lab (LLM tools benchmark including WFGY in the robustness / debugging section)
  • Multimodal RAG Survey by the QCRI LLM Lab (curated survey of multimodal RAG where WFGY appears as a practical diagnostic framework)
  • Rankify from the University of Innsbruck Data Science Group (RAG toolkit that points to the WFGY ProblemMap for failure analysis)
Motivation

Lagent users often build:

  • small but deep tool-using agents
  • RAG-backed workflows that run many steps
  • multi-agent experiments glued together via simple interfaces.

Typical breakdowns include mis-interpreted retrieved chunks, long-chain drift, disappearing context between calls, or hard-to-debug multi-agent interactions. Those line up with several WFGY problems (No.1, No.2, No.3, No.7, No.13).

Proposal

I would like to propose a short “Troubleshooting with WFGY” section in the Lagent docs that:

  1. Lists the subset of the 16 WFGY problems that are most common in Lagent scenarios.
  2. Shows very small code or log snippets illustrating each pattern.
  3. Links to the full ProblemMap README for users who want the complete taxonomy and mitigation ideas.

If this direction is acceptable, I can provide a first draft and adapt it to the current documentation structure.

主要言語
Python
スター
2.3k
フォーク
249
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

InternLM/lagent のほかの issue

InternLM/lagent の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。