Optional EvalPort adapter for AgentMessage trajectories (portable eval-result interchange)
まだ誰も着手していません。
評価
調査の方向性
Start by reading lagent/schema.py, lagent/agents/agent.py, and the react.py and fc_agent.py agents to understand the trajectory and action objects they produce. Review EvalPort's SPEC.md, then clarify whether the adapter belongs under lagent/eval/ or in EvalPort's adapters; done would mean an agreed optional conversion and import scope without required core dependencies.
索引モデルが issue の本文から書いたものです。
説明
I've been reading lagent/schema.py — AgentMessage (content, sender, receiver, tool_calls, tool_calls_ids, formatted, extra_info, stream_state, finish_reason) and ActionReturn (args, result, state: ActionStatusCode, valid: ActionValidCode) — plus lagent/agents/agent.py and the react.py/fc_agent.py agents that produce sequences of these as a run unfolds.
I maintain EvalPort, a JSON-Schema-based interchange spec (TestCase/Suite/Grader/Result/ResultSet) for moving eval data between frameworks instead of it being locked to one tool's format. It's early-stage (~35 shipped adapters, no notable star count — being upfront about that).
The AgentMessage trajectory a lagent agent run produces — the sequence of sender/receiver/content/tool_calls, terminating in a message with finish_reason — maps reasonably well onto an EvalPort Result's transcript, and ActionReturn.state/valid give a natural signal for a GraderResult. What lagent doesn't have today is any way to get that trajectory into a form another framework's eval/scoring tooling (or a benchmark harness someone's already built for a different agent framework) can consume, or to run a suite of tasks defined in a portable format against a lagent agent.
I'd propose a standalone, optional adapter — converting a run's list of AgentMessages (plus ActionReturns for any tool calls) to an EvalPort Result/ResultSet, with an importer so an EvalPort Suite of tasks can drive lagent.agents agents. No required dependency, no change to lagent's core message/action classes.
Happy to build this either as a PR into lagent (e.g. under a new lagent/eval/ or as an example), or as a standalone package in EvalPort's own adapters/ directory with zero footprint on this repo — whichever fits better. Let me know if there's interest. Spec: https://github.com/adhabnr-ux/evalport/blob/main/SPEC.md
— Sahi, independent contributor (not affiliated with lagent/InternLM)
- 主要言語
- Python
- スター
- 2.3k
- フォーク
- 249
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
InternLM/lagent のほかの issue
-
OpenAI shuts down gpt-3.5-turbo and gpt-4o-2024-05-13 on 2026-10-23: default model_type values need updating対応中かも @qiyuhuating が 53 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
`trust_remote_code=True` is hard-coded in the Hugging Face and vLLM wrappers and cannot be turned off対応中かも @ningyixi が 4 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
InternLM/lagent の issue をすべて見る
似ている issue
-
accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
future-agi/future-agi#5908 ·
メンテナーはふだん 1 日以内に返信
-
Placeholder export disables HTML image input for picture description対応中かも @cloudiful が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
docling-project/docling-serve#817 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
Techiebutler/freeframe#687 ·
メンテナーはふだん 1 日以内に返信
-
Parse truncated verbose GC logs up to the first XML error対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug verbose GC
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
IBM/javacore-analyser#677 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 2 日以内に返信