Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Tracking: Migrate Agent layer to OpenAI Agents SDK

Aperta
#71 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
ai, backend

Direzione di ricerca

Inizia leggendo l’architettura target e le PR di riferimento #61, #65, #67 e #70, quindi esamina le aree attuali brain/, tools/, flow/ e llm/. Questa issue è un tracker della migrazione, non un’attività autonoma; è completata solo quando il lavoro di migrazione della roadmap è stato terminato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
3k
Fork
484
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LLMQuant/quant-mind

Tutte le issue di LLMQuant/quant-mind

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.