Optional EvalPort adapter for AgentMessage trajectories (portable eval-result interchange)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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)
- Lenguaje dominante
- Python
- Estrellas
- 2.3k
- Forks
- 249
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de InternLM/lagent
-
OpenAI shuts down gpt-3.5-turbo and gpt-4o-2024-05-13 on 2026-10-23: default model_type values need updatingPosiblemente ocupada @qiyuhuating la tomó hace 53 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
`trust_remote_code=True` is hard-coded in the Hugging Face and vLLM wrappers and cannot be turned offPosiblemente ocupada @ningyixi la tomó hace 4 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 50/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Todos los issues de InternLM/lagent
Issues similares
-
accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
future-agi/future-agi#5908 ·
Los mantenedores suelen responder en 1 día
-
Placeholder export disables HTML image input for picture descriptionPosiblemente ocupada @cloudiful la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
docling-project/docling-serve#817 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Techiebutler/freeframe#687 ·
Los mantenedores suelen responder en 1 día
-
Parse truncated verbose GC logs up to the first XML errorPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug verbose GC
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
IBM/javacore-analyser#677 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 2 días