Optional EvalPort adapter for AgentMessage trajectories (portable eval-result interchange)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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)
- Lingua principale
- Python
- Stelle
- 2.3k
- Fork
- 249
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di InternLM/lagent
-
OpenAI shuts down gpt-3.5-turbo and gpt-4o-2024-05-13 on 2026-10-23: default model_type values need updatingForse già presa @qiyuhuating l’ha presa 53 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
`trust_remote_code=True` is hard-coded in the Hugging Face and vLLM wrappers and cannot be turned offForse già presa @ningyixi l’ha presa 4 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Tutte le issue di InternLM/lagent
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
Techiebutler/freeframe#687 ·
I maintainer di solito rispondono entro 1 giorno
-
bug verbose GC
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
IBM/javacore-analyser#677 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 2 giorni
-
area/config comp/plugins P1 platform/qqbot tool/file type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
NousResearch/hermes-agent#163932 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
plugins/dsh: todayStr() computes UTC but is documented as local — journal entries written 00:00–08:00 local land in the previous day's fileForse già presa @Beehtrix l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
zilliztech/memsearch#907 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno