Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Tracking: Migrate Agent layer to OpenAI Agents SDK

Abierto
#71 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Refactorización
Claridad
Necesita aclaración
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
ai, backend

Línea de trabajo

Comienza leyendo la arquitectura objetivo y los PR referenciados #61, #65, #67 y #70, y luego inspecciona las áreas actuales brain/, tools/, flow/ y llm/. Este issue es un tracker de migración, no una tarea independiente; solo estará completado cuando se haya terminado el trabajo de migración de la hoja de ruta.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area: flows area: mind type: refactor

Motivation

QuantMind invested ~3 months building a smolagents-derived Agent runtime in PRs #61, #65, and #67 (~1900 lines of brain/ + tools/ + supporting modules). We now believe this was a wrong direction:

  • Agent runtime is a commodity in 2026. OpenAI Agents SDK, smolagents, LangGraph, etc. compete on the same surface. Maintaining our own gives QuantMind no differentiation.
  • It consumes engineering time that should go into financial-domain work (data schemas, e2e pipelines, research-friendly memory patterns).

This issue tracks the migration to OpenAI Agents SDK as the underlying agent runtime, with QuantMind repositioning as a domain library on top.

Architecture update (2026-07-15): Durable canonical collections and semantic indexing belong to the top-level quantmind/library/ package tracked in #111. mind/ owns cognition, tools, working memory, and later tree navigation; it may consume library but does not own persistence or index lifecycle. This supersedes the vague KnowledgeStore placement in the original roadmap below.

Target Architecture

quantmind/
├── flows/        # e2e processing pipelines (paper_flow, news_flow, ...)
├── knowledge/    # Pydantic-based knowledge schema standard (Paper, News, ...)
├── library/      # canonical collections + derived semantic index (#111)
├── preprocess/   # fetch (arxiv/http/doi/local) + format (pdf/html/markdown)
├── mind/         # cognition, tools, working memory, tree navigation; no persistence
├── configs/      # centralized BaseFlowCfg + per-flow cfg + input types
├── magic.py      # resolve_magic_input: natural language → (input, cfg)
└── utils/        # logger only

Key principle: QuantMind does NOT rebuild Agent runtime, lifecycle hooks, tracing, multi-agent handoff, or tool framework. Those come from openai-agents.

Roadmap

  • PR1 (#70): Clean removal of self-built agent runtime
  • PR2: knowledge/ + configs/ skeleton (Pydantic schemas + centralized cfg)
  • PR3: preprocess/ two-layer structure (fetch + format)
  • PR4: flows/ + paper_flow + batch_run + magic.py; concurrent removal of flow/ and llm/
  • PR5: mind/memory/filesystem MVP + trajectory archive
  • PR6+: Semantic library (#111), paper-search integration (#112), PageIndex navigation (#95), additional sources, and observability cookbook

Archive

The pre-pivot agent runtime is preserved as a snapshot on the archive/agent-runtime-final branch on origin for historical reference. It will not be merged back to master.

References

Lenguaje dominante
Python
Estrellas
3.1k
Forks
492
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de LLMQuant/quant-mind

Todos los issues de LLMQuant/quant-mind

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.