"""Agentic Supply —— Agentic 架构基础设施供给层 层次结构(由内到外): ┌─────────────────┐ │ src.config │ 配置管理 ├─────────────────┤ │ src.infra │ 基础设施(DB / HTTP / 日志 / 工具) ├─────────────────┤ │ src.core │ 框架内核(Agent / Tool / Memory / Orchestrator) ├─────────────────┤ │ src.server │ 应用服务(Quart / XXL) └─────────────────┘ 快速开始: from src import ( Agent, Tool, ToolRegistry, # 领域层 DatabaseManager, LogService, # 设施层 create_app, # 服务层 ) """ # 配置 from src.config import ( GlobalConfig, ) # 基础设施 from src.infra import ( DatabaseManager, MysqlManager, create_backend, MySQLBackend, LogService, LogRecord, LogLevel, LogCategory, LogStatus, AsyncHttpClient, ) # 领域 from src.core import ( Agent, AgentContext, AgentResult, AgentStatus, AgentOrchestrator, ChainOrchestrator, ParallelOrchestrator, Tool, ToolResult, ToolRegistry, Memory, ConversationMemory, VectorMemory, ) # 业务领域 from src.domains import ( FetchDemands, EnqueueDemands, DemandQueueMapper, DemandSearchArticle, ArticleFetchDetail, AccountFetch, AccountArticleFetch, ) # 服务 from src.server import create_app __all__ = [ # Config "GlobalConfig", # Infra "DatabaseManager", "MysqlManager", "create_backend", "MySQLBackend", "LogService", "LogRecord", "LogLevel", "LogCategory", "LogStatus", "AsyncHttpClient", # Core - Agent "Agent", "AgentContext", "AgentResult", "AgentStatus", "AgentOrchestrator", "ChainOrchestrator", "ParallelOrchestrator", "Tool", "ToolResult", "ToolRegistry", "Memory", "ConversationMemory", "VectorMemory", # Domains "FetchDemands", "EnqueueDemands", "DemandQueueMapper", "DemandSearchArticle", "ArticleFetchDetail", "AccountFetch", "AccountArticleFetch", # Server "create_app", ]