mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 14:29:48 +08:00
24 lines
826 B
Python
24 lines
826 B
Python
"""
|
|
Agents Module - Unified agent system for OpenTutor.
|
|
|
|
This module provides a unified BaseAgent class and module-specific agents:
|
|
- solve: Question solving agents (MainSolver, SolveAgent, etc.)
|
|
- research: Deep research agents (DecomposeAgent, ResearchAgent, etc.)
|
|
- guide: Guided learning agents (ChatAgent, DesignAgent, etc.)
|
|
- co_writer: Co-writing agents (EditAgent, NarratorAgent)
|
|
- question: Question generation agents (ReAct architecture, separate base)
|
|
- chat: Lightweight conversational agent with session management
|
|
|
|
Usage:
|
|
from deeptutor.agents.base_agent import BaseAgent
|
|
|
|
class MyAgent(BaseAgent):
|
|
async def process(self, *args, **kwargs):
|
|
...
|
|
"""
|
|
|
|
from .base_agent import BaseAgent
|
|
from .chat import ChatAgent, SessionManager
|
|
|
|
__all__ = ["BaseAgent", "ChatAgent", "SessionManager"]
|