Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

816 B
Raw Blame
"""The agent loop and its host.

One turn = one loop over one growing conversation (see
:mod:`deeptutor.agents.loop.agent_loop`). :class:`AgenticLoopPipeline` is the
host that assembles a turn for it — tools, prompt, budgets, dispatch — and is
subclassed by each loop that has its own protocol:

* :class:`deeptutor.agents.chat.agentic_pipeline.AgenticChatPipeline` — chat,
  and the deep modes that run on chat's own protocol;
* :class:`deeptutor.capabilities.mastery.pipeline.MasteryLoopPipeline` —
  mastery tutoring, whose protocol (a posed question ends the turn) is not
  chat's.
"""

from deeptutor.agents.loop.pipeline import AgenticLoopPipeline
from deeptutor.agents.loop.prompt_blocks import LoopPromptAssembler, PromptBlock

__all__ = ["AgenticLoopPipeline", "LoopPromptAssembler", "PromptBlock"]