From baaa7089cd3e14bd5261274288ac35149b9ad2d4 Mon Sep 17 00:00:00 2001 From: chiguyong Date: Sun, 14 Jun 2026 16:54:12 +0800 Subject: [PATCH] docs: update README and knowledge graph for gap closure features - README: add dark theme, LLM cache, semantic router, cascade detection, ComputerUseTool, @-mention - build_kg.py: add 30+ module summaries for new modules - knowledge-graph.json: rebuild (2496 nodes, 3328 edges) - fingerprints.json: recalculate 524 file fingerprints - meta.json: update gitCommitHash and analyzedAt --- .understand-anything/build_kg.py | 48 +- .understand-anything/fingerprints.json | 774 +- .understand-anything/knowledge-graph.json | 9424 ++++++++++++++------- .understand-anything/meta.json | 8 +- README.md | 66 +- 5 files changed, 6828 insertions(+), 3492 deletions(-) diff --git a/.understand-anything/build_kg.py b/.understand-anything/build_kg.py index c28abc6..07ed2a4 100644 --- a/.understand-anything/build_kg.py +++ b/.understand-anything/build_kg.py @@ -65,6 +65,13 @@ MODULE_SUMMARIES = { "core.headroom_compressor": "Headroom AI压缩器 - 基于Headroom AI的上下文压缩实现", "core.logging": "日志配置 - 统一日志格式和配置", "core.standalone": "独立运行模式 - 支持Agent脱离框架独立运行", + "core.goal_planner": "目标规划器 - 将复杂目标分解为可执行步骤", + "core.plan_checker": "计划检查器 - 验证执行计划的完整性和可行性", + "core.plan_exec_engine": "计划执行引擎 - 执行分解后的计划步骤", + "core.plan_executor": "计划执行器 - 管理计划执行的完整流程", + "core.plan_schema": "计划Schema - 执行计划的数据结构定义", + "core.reflexion": "Reflexion引擎 - 自反思推理,通过自我评估改进输出", + "core.rewoo": "ReWOO引擎 - 无观察推理,先规划后执行的高效模式", "llm": "LLM网关模块 - 多Provider统一网关,支持OpenAI/Anthropic/Gemini/文心/豆包/元宝等", "llm.gateway": "LLM网关 - 统一多Provider调用接口,支持路由、重试、流式输出", @@ -79,6 +86,17 @@ MODULE_SUMMARIES = { "llm.providers.doubao": "豆包Provider - 支持字节豆包大模型", "llm.providers.yuanbao": "元宝Provider - 支持腾讯元宝大模型", "llm.providers.tracker": "LLM调用追踪器 - 记录和统计LLM调用", + "llm.providers.usage_store": "LLM用量存储 - Token用量和成本追踪,支持InMemory和Redis后端", + "llm.cache": "LLM响应缓存 - 基于语义相似度的LLM响应缓存,减少重复调用", + "llm.cache_key": "缓存键生成 - LLM缓存键的计算和归一化", + + "chat": "聊天路由模块 - CostAwareRouter三层意图路由和语义路由", + "chat.skill_routing": "三层意图路由 - CostAwareRouter,正则→启发式→LLM分类逐层升级", + "chat.semantic_router": "语义路由 - 基于向量相似度的意图路由,支持语义匹配", + + "quality.cascade_detector": "级联检测器 - 检测Agent输出中的级联失败模式", + "quality.cascade_state_store": "级联状态存储 - 级联检测状态持久化,支持InMemory和Redis后端", + "quality.alignment": "对齐守卫 - 检测和修正Agent输出中的对齐偏差", "tools": "工具模块 - 提供Agent可调用的各类工具", "tools.base": "工具基类 - 定义Tool接口和标准执行流程", @@ -95,6 +113,13 @@ MODULE_SUMMARIES = { "tools.composition": "工具组合 - 支持工具链式组合", "tools.baidu_search": "百度搜索工具 - 百度搜索引擎集成", "tools.headroom_retrieve": "Headroom检索工具 - Headroom AI知识检索", + "tools.computer_use": "计算机使用工具 - 桌面操控工具,支持截图、点击、输入等操作", + "tools.computer_use_session": "计算机使用会话 - 桌面操控会话管理,支持云端和本地(pyautogui)模式", + "tools.computer_use_recorder": "计算机使用录制器 - 记录桌面操控动作序列", + "tools.pty_session": "PTY会话 - 伪终端会话管理", + "tools.terminal_session": "终端会话 - 终端模拟器会话", + "tools.output_parser": "输出解析器 - 解析Agent输出为结构化数据", + "tools.skill_install": "技能安装器 - 动态安装技能包", "memory": "记忆模块 - 多层记忆系统,支持工作记忆、情景记忆、语义记忆", "memory.base": "记忆基类 - 定义Memory接口", @@ -166,12 +191,19 @@ MODULE_SUMMARIES = { "server.routes.ws": "WebSocket路由 - 实时通信端点", "server.routes.tasks": "任务路由 - 任务管理API", "server.routes.agents": "Agent路由 - Agent管理API", - "server.routes.skills": "技能路由 - 技能管理API", + "server.routes.skills": "技能路由 - 技能管理API,含@-mention建议端点", "server.routes.memory": "记忆路由 - 记忆管理API", "server.routes.llm": "LLM路由 - LLM配置和调用API", "server.routes.health": "健康检查路由 - 服务健康状态端点", "server.routes.metrics": "指标路由 - 运行指标API", "server.routes.evolution": "进化路由 - Agent进化管理API", + "server.routes.evolution_dashboard": "进化仪表盘路由 - 进化数据可视化API", + "server.routes.kb_management": "知识库管理路由 - 文档上传/搜索/源配置API", + "server.routes.settings": "设置路由 - 系统配置管理API", + "server.routes.terminal": "终端路由 - PTY终端会话API", + "server.routes.workflows": "工作流路由 - Pipeline工作流管理API", + "server.routes.skill_management": "技能管理路由 - 技能CRUD操作API", + "server.routes.portal": "门户路由 - Web GUI入口和静态资源", "cli": "命令行模块 - CLI工具", "cli.main": "CLI入口 - Typer应用主入口", @@ -206,10 +238,22 @@ MODULE_SUMMARIES = { "evolution.ab_tester": "A/B测试 - 对比测试不同进化变体", "evolution.evolution_store": "进化存储 - 持久化进化历史", "evolution.models": "进化模型 - 进化相关数据模型", + "evolution.experience_schema": "经验Schema - 经验数据结构定义", + "evolution.experience_store": "经验存储 - 成功/失败经验持久化", + "evolution.path_optimizer": "路径优化器 - 分析工具调用路径,推荐更优策略", + "evolution.pitfall_detector": "陷阱检测器 - 检测重复错误模式", "evaluation": "评估模块 - Agent输出质量评估", "evaluation.ragas_evaluator": "RAGAS评估器 - 使用RAGAS框架评估RAG质量", + "org": "组织发现模块 - 多Agent组织架构和协作发现", + "org.context": "组织上下文 - 组织级别的共享上下文管理", + "org.discovery": "组织发现 - Agent间能力发现和协作匹配", + + "marketplace": "多Agent市场模块 - Agent间的拍卖和财富分配", + "marketplace.auction": "拍卖机制 - Agent间的任务拍卖和竞价", + "marketplace.wealth": "财富管理 - Agent间的价值交换和分配", + "configs": "配置模块 - Pipeline和技能YAML配置", "configs.geo_server": "GEO服务器 - 地理信息HTTP服务", "configs.geo_handlers": "GEO处理器 - 地理信息请求处理", @@ -613,7 +657,7 @@ def build_knowledge_graph(): tours = build_tours(file_data, file_node_ids, class_node_ids, func_node_ids) # Get git commit hash - git_hash = "045fecd4cee49f04dc7b693c14d35ca38a0d92cb" + git_hash = "d9d1b16e5911ad958cd8ae38958058bea13f3fcc" # Build final JSON graph = { diff --git a/.understand-anything/fingerprints.json b/.understand-anything/fingerprints.json index d6a70da..0396378 100644 --- a/.understand-anything/fingerprints.json +++ b/.understand-anything/fingerprints.json @@ -1,250 +1,526 @@ { - "configs/__init__.py": "830897da8bc1af33", - "configs/geo_handlers.py": "cbcf89b4d9da69c9", - "configs/geo_server.py": "41ddafbef18eea22", - "configs/geo_tools.py": "8a29de5d7511d2a0", - "src/agentkit/__init__.py": "43b17418bafb2c7c", - "src/agentkit/__main__.py": "503810fb0f210fab", - "src/agentkit/bus/__init__.py": "83b51b8b680ee75f", - "src/agentkit/bus/interface.py": "ee93b26fdcee1495", - "src/agentkit/bus/memory_bus.py": "28b4c3a18ef13181", - "src/agentkit/bus/message.py": "035adf5510427f85", - "src/agentkit/bus/protocol.py": "67e1ebb03a53da30", - "src/agentkit/bus/redis_bus.py": "7431c6cc2ed20e51", - "src/agentkit/chat/__init__.py": "e3b0c44298fc1c14", - "src/agentkit/chat/skill_routing.py": "bce85b158d5f2bd0", - "src/agentkit/cli/__init__.py": "a41c63d720a6e4db", - "src/agentkit/cli/chat.py": "fa0b4e7570c8bcb2", - "src/agentkit/cli/init.py": "b4f0de1670acdbb1", - "src/agentkit/cli/main.py": "25d92f4947b60dbf", - "src/agentkit/cli/onboarding.py": "0a6e8f869a02b067", - "src/agentkit/cli/pair.py": "1ceeffcc7a8d8ed3", - "src/agentkit/cli/skill.py": "af567fc67d603df6", - "src/agentkit/cli/task.py": "2a19fd0985717a20", - "src/agentkit/cli/templates.py": "b997aa3fc0dd8162", - "src/agentkit/cli/usage.py": "e121c1a5e76d21c1", - "src/agentkit/core/__init__.py": "f07bf925ec204974", - "src/agentkit/core/agent_pool.py": "d400580ed51fdd75", - "src/agentkit/core/base.py": "ab7261b559dd98c8", - "src/agentkit/core/compressor.py": "bfecb74c1a3de3e3", - "src/agentkit/core/config_driven.py": "68841e58ba2aa461", - "src/agentkit/core/dispatcher.py": "ec4c0dfc4a93b0be", - "src/agentkit/core/exceptions.py": "9145f66231230bd2", - "src/agentkit/core/goal_planner.py": "f2a4b33e33a3ab8a", - "src/agentkit/core/headroom_compressor.py": "cb496a6c5accb2ec", - "src/agentkit/core/logging.py": "96f61c08b97e4ffc", - "src/agentkit/core/orchestrator.py": "dd2de2f5a175e0de", - "src/agentkit/core/plan_checker.py": "8efab3240c01bca9", - "src/agentkit/core/plan_exec_engine.py": "93cc488b6a73cbd1", - "src/agentkit/core/plan_executor.py": "83e65f3399795244", - "src/agentkit/core/plan_schema.py": "a7ba8308e5ca8965", - "src/agentkit/core/protocol.py": "0c7d19ada22bff72", - "src/agentkit/core/react.py": "8612b9b1331c16b6", - "src/agentkit/core/reflexion.py": "a0812059d9c94825", - "src/agentkit/core/registry.py": "fa377a6bc19e87c7", - "src/agentkit/core/rewoo.py": "e673444bc4b91121", - "src/agentkit/core/shared_workspace.py": "9babb2eefff54246", - "src/agentkit/core/standalone.py": "a8a02755d5e4653d", - "src/agentkit/core/trace.py": "529563c5e0621c43", - "src/agentkit/evaluation/__init__.py": "d56ae7e0faa9a31d", - "src/agentkit/evaluation/ragas_evaluator.py": "8b6268ac71df3178", - "src/agentkit/evolution/__init__.py": "95142ac26f1ba26b", - "src/agentkit/evolution/ab_tester.py": "f8dc4bca82be03a9", - "src/agentkit/evolution/evolution_store.py": "9e9a1840f5a92377", - "src/agentkit/evolution/experience_schema.py": "81c2f52a74590e10", - "src/agentkit/evolution/experience_store.py": "f135174a2bbdfc2a", - "src/agentkit/evolution/fitness.py": "ba768d8387013b04", - "src/agentkit/evolution/genetic.py": "cdf3ff703b719be7", - "src/agentkit/evolution/lifecycle.py": "ae86dda1b5801b5f", - "src/agentkit/evolution/llm_reflector.py": "a9de6e81324c64f6", - "src/agentkit/evolution/models.py": "f5efef0d197be11f", - "src/agentkit/evolution/path_optimizer.py": "3fab382499e56ccd", - "src/agentkit/evolution/pitfall_detector.py": "e28d3ec9e8d59bf1", - "src/agentkit/evolution/prompt_optimizer.py": "41fb13fede6b3403", - "src/agentkit/evolution/reflector.py": "e72a78a4e7f2edf5", - "src/agentkit/evolution/strategy_tuner.py": "dc8cd09c786169ef", - "src/agentkit/llm/__init__.py": "657ef26b62f7bbba", - "src/agentkit/llm/config.py": "6a1984e98c59ec66", - "src/agentkit/llm/gateway.py": "b76262bb52cb4d13", - "src/agentkit/llm/protocol.py": "1bcfac4dfdff4d2c", - "src/agentkit/llm/providers/__init__.py": "46c33110f5f2520b", - "src/agentkit/llm/providers/anthropic.py": "28f5155e34b14f92", - "src/agentkit/llm/providers/doubao.py": "b33492eec5c57335", - "src/agentkit/llm/providers/gemini.py": "887f3a1322d0bae3", - "src/agentkit/llm/providers/openai.py": "e271cdb6914c3c2c", - "src/agentkit/llm/providers/tracker.py": "ed247284b574d0eb", - "src/agentkit/llm/providers/wenxin.py": "a0ac6a379635f8da", - "src/agentkit/llm/providers/yuanbao.py": "b9fc13b79e9942aa", - "src/agentkit/llm/retry.py": "478e1bb02bfcc598", - "src/agentkit/marketplace/__init__.py": "1f1580e072a7ca29", - "src/agentkit/marketplace/auction.py": "f09f9d6eff9a5b8f", - "src/agentkit/marketplace/wealth.py": "fd1a946e02f78d8b", - "src/agentkit/mcp/__init__.py": "a8a5c3c1add774af", - "src/agentkit/mcp/client.py": "785b1aba3497b49c", - "src/agentkit/mcp/manager.py": "736d67c3d8dd9d8d", - "src/agentkit/mcp/server.py": "3a9e94779d5eb53e", - "src/agentkit/mcp/transport.py": "8c6b1e564eb3e5e2", - "src/agentkit/memory/__init__.py": "71011b735f958a95", - "src/agentkit/memory/adapters/__init__.py": "469c38ab35d48484", - "src/agentkit/memory/adapters/base.py": "347dfd141a11d140", - "src/agentkit/memory/adapters/confluence.py": "f39068ec5354b67b", - "src/agentkit/memory/adapters/feishu.py": "2c0aa671fbbe3d3b", - "src/agentkit/memory/adapters/generic_http.py": "d45303c306d958f5", - "src/agentkit/memory/base.py": "df64874fe41402d7", - "src/agentkit/memory/chunking.py": "7c9947a60d8ebd7d", - "src/agentkit/memory/contextual_retrieval.py": "e3edd302f05cdfcd", - "src/agentkit/memory/document_loader.py": "30f5646712525d61", - "src/agentkit/memory/embedder.py": "3b483d4e80377e18", - "src/agentkit/memory/episodic.py": "db6f26e0dda31b8c", - "src/agentkit/memory/http_rag.py": "e4cd3f7bf11ba0ab", - "src/agentkit/memory/knowledge_base.py": "faa986892a910eff", - "src/agentkit/memory/local_rag.py": "4d474c286717a5a6", - "src/agentkit/memory/models.py": "e6861ba415a995a8", - "src/agentkit/memory/multi_source_retriever.py": "6eee1f48acf2f19f", - "src/agentkit/memory/profile.py": "153e008e625aa2f2", - "src/agentkit/memory/query_transformer.py": "ebedbfc043ee3ca9", - "src/agentkit/memory/rag_loop.py": "3ca5f89bf16fd16c", - "src/agentkit/memory/relevance_scorer.py": "bdb8930083078914", - "src/agentkit/memory/retriever.py": "28cc28168b69a5a3", - "src/agentkit/memory/semantic.py": "aa86076fd321399c", - "src/agentkit/memory/working.py": "8fc00c3c87d70845", - "src/agentkit/orchestrator/__init__.py": "4102c9499dd08119", - "src/agentkit/orchestrator/compensation.py": "460b78386f605f44", - "src/agentkit/orchestrator/dynamic_pipeline.py": "14e3f57a275160df", - "src/agentkit/orchestrator/handoff.py": "1901f8cd993ea02f", - "src/agentkit/orchestrator/pipeline_engine.py": "ab062dccfdc1f63b", - "src/agentkit/orchestrator/pipeline_loader.py": "2c09e8ede1ee792c", - "src/agentkit/orchestrator/pipeline_models.py": "de0175517a1fbb88", - "src/agentkit/orchestrator/pipeline_schema.py": "d0d64e7c20e63d53", - "src/agentkit/orchestrator/pipeline_state.py": "a462320b6c3554bc", - "src/agentkit/orchestrator/reflection.py": "2472b8d7161461b6", - "src/agentkit/orchestrator/retry.py": "abdc9c5fdd441e83", - "src/agentkit/orchestrator/workflow_schema.py": "f5b7efdb966d3564", - "src/agentkit/org/__init__.py": "ecc4ac01f48368bf", - "src/agentkit/org/context.py": "ee8e857268917c37", - "src/agentkit/org/discovery.py": "81dfb33d7599bb24", - "src/agentkit/prompts/__init__.py": "8afc78b85bd1f569", - "src/agentkit/prompts/section.py": "7698dadf96c29d62", - "src/agentkit/prompts/template.py": "de354279290b886b", - "src/agentkit/quality/__init__.py": "c12a5e356c25ef64", - "src/agentkit/quality/alignment.py": "1b480674d6598f8a", - "src/agentkit/quality/cascade_detector.py": "68dc7066e40ac8c9", - "src/agentkit/quality/gate.py": "211bf1d53ee7154d", - "src/agentkit/quality/output.py": "b26386d06d74d96d", - "src/agentkit/router/__init__.py": "76c37a202d535839", - "src/agentkit/router/intent.py": "99293a856fe71be6", - "src/agentkit/server/__init__.py": "df934a940763b2ae", - "src/agentkit/server/client.py": "badd8fd035e77613", - "src/agentkit/server/client_config.py": "c22cf22a3c9c52d7", - "src/agentkit/server/config.py": "a029878144c1fade", - "src/agentkit/server/middleware.py": "35981a4158defe97", - "src/agentkit/server/routes/agents.py": "f40c808fb19bb183", - "src/agentkit/server/routes/chat.py": "689d69dda752a22f", - "src/agentkit/server/routes/evolution.py": "f2b1d93d1588a9ed", - "src/agentkit/server/routes/health.py": "029fde5bf0951d0e", - "src/agentkit/server/routes/llm.py": "e3abf707341d9677", - "src/agentkit/server/routes/memory.py": "da00b9a092576ebe", - "src/agentkit/server/routes/metrics.py": "9cf9d61479278136", - "src/agentkit/server/routes/portal.py": "8c5ebdc1b3ede2bf", - "src/agentkit/server/routes/skill_management.py": "629bb1fe85f33007", - "src/agentkit/server/routes/skills.py": "3193d721029b5c6e", - "src/agentkit/server/routes/tasks.py": "f15c9f350f869770", - "src/agentkit/server/routes/ws.py": "784cb2b1af8abec2", - "src/agentkit/server/runner.py": "375e22b9f596adb9", - "src/agentkit/server/task_store.py": "b04afea982579a93", - "src/agentkit/session/__init__.py": "f7e2123235f799c2", - "src/agentkit/session/manager.py": "5cb0518f967b854b", - "src/agentkit/session/models.py": "8d96a974afc9acfb", - "src/agentkit/session/store.py": "41238fe9f9a4a522", - "src/agentkit/skills/__init__.py": "cd3bd9c844656636", - "src/agentkit/skills/base.py": "36e3d8062cbccd57", - "src/agentkit/skills/geo_pipeline.py": "42f969c61d0a3a7a", - "src/agentkit/skills/loader.py": "197ae05b735b6946", - "src/agentkit/skills/pipeline.py": "0367d52bd1a4d410", - "src/agentkit/skills/registry.py": "f63b5e174ec5d4d7", - "src/agentkit/skills/schema.py": "3cbe7fe2db688c4d", - "src/agentkit/skills/skill_md.py": "758de3b3601b2520", - "src/agentkit/telemetry/__init__.py": "66f777be163ce971", - "src/agentkit/telemetry/metrics.py": "72d548e3d6f1abef", - "src/agentkit/telemetry/setup.py": "b9f13873ef525378", - "src/agentkit/telemetry/tracer.py": "de8aebbe499ac264", - "src/agentkit/telemetry/tracing.py": "c0bca2277a02d383", - "src/agentkit/tools/__init__.py": "514d210f2d24be53", - "src/agentkit/tools/agent_tool.py": "0ba5f7b255225b0d", - "src/agentkit/tools/ask_human.py": "f9cb5255733e2e77", - "src/agentkit/tools/baidu_search.py": "81eaecce86d80780", - "src/agentkit/tools/base.py": "6a61acd0ca114026", - "src/agentkit/tools/composition.py": "1d2d10361382f459", - "src/agentkit/tools/computer_use.py": "be3462775cf3e004", - "src/agentkit/tools/computer_use_recorder.py": "98cf8693c0f136bf", - "src/agentkit/tools/computer_use_session.py": "102e1ac315fd09b8", - "src/agentkit/tools/function_tool.py": "702e5b3e8d6b465c", - "src/agentkit/tools/headroom_retrieve.py": "6da46b1a23fe8933", - "src/agentkit/tools/mcp_tool.py": "8a1da789ca963e2c", - "src/agentkit/tools/memory_tool.py": "197c51edcbbab705", - "src/agentkit/tools/output_parser.py": "f799cc7cafb6bb2e", - "src/agentkit/tools/pty_session.py": "6ceb31edf52a87fe", - "src/agentkit/tools/registry.py": "b2fe99106355b39d", - "src/agentkit/tools/schema_tools.py": "e490844348f3656b", - "src/agentkit/tools/shell.py": "6e2614979a2ade61", - "src/agentkit/tools/skill_install.py": "3cdf1b7c06343947", - "src/agentkit/tools/terminal_session.py": "432ceed53d63fcac", - "src/agentkit/tools/web_crawl.py": "89e2b4380810f60b", - "src/agentkit/tools/web_search.py": "3901c5ee7450521c", - "src/agentkit/utils/__init__.py": "273d2c7ba7ce101d", - "src/agentkit/utils/security.py": "939e46e447f57882", - "src/agentkit/utils/vector_math.py": "c3c7fa3f1e71463f", - "docs/brainstorms/2026-06-12-frontend-productization-requirements.md": "46e3ab3f45cd622e", - "docs/plans/2026-06-12-023-feat-frontend-productization-plan.md": "8f65a3b0dad42c4b", - "src/agentkit/server/frontend/package.json": "aebd560acfea05e8", - "src/agentkit/server/frontend/tsconfig.node.json": "d5806943b1bd0a2a", - "src/agentkit/server/frontend/vite.config.ts": "75f0385595bdcfcd", - "src/agentkit/server/app.py": "7ab76c4e95d04c05", - "src/agentkit/server/routes/__init__.py": "258f2f4c0d0cfaca", - "src/agentkit/server/routes/evolution_dashboard.py": "50d0e5cabdf6deaf", - "src/agentkit/server/routes/kb_management.py": "f2df2ab336e8966a", - "src/agentkit/server/routes/settings.py": "115e3e6fb9898883", - "src/agentkit/server/routes/terminal.py": "91ef1ba5efec6864", - "src/agentkit/server/routes/workflows.py": "6a3c19b6a4c6b157", - "src/agentkit/server/frontend/src/api/base.ts": "00e0b9a8a20134ae", - "src/agentkit/server/frontend/src/api/client.ts": "5ee2010d46fde145", - "src/agentkit/server/frontend/src/api/evolution.ts": "8e0be1d17af12ddf", - "src/agentkit/server/frontend/src/api/kb.ts": "d72a99362582fd7e", - "src/agentkit/server/frontend/src/api/settings.ts": "b9ed465850bc7ce1", - "src/agentkit/server/frontend/src/api/skills.ts": "59416c4806e257f0", - "src/agentkit/server/frontend/src/api/terminal.ts": "898862c911ca38c9", - "src/agentkit/server/frontend/src/api/workflow.ts": "60c5f34f8bf17739", - "src/agentkit/server/frontend/src/components/evolution/DashboardOverview.vue": "1734ddb592e27a91", - "src/agentkit/server/frontend/src/components/evolution/ExperiencePanel.vue": "c85a57ce584ad065", - "src/agentkit/server/frontend/src/components/evolution/MetricsChart.vue": "bb02f1ccc68e7891", - "src/agentkit/server/frontend/src/components/evolution/MetricsPanel.vue": "96a11588037f431d", - "src/agentkit/server/frontend/src/components/evolution/OptimizationPanel.vue": "cd09d8949e96728a", - "src/agentkit/server/frontend/src/components/evolution/PitfallRoutePanel.vue": "3a257fe8fadf557f", - "src/agentkit/server/frontend/src/components/evolution/UsagePanel.vue": "71e4e86d65238cc8", - "src/agentkit/server/frontend/src/components/kb/DocumentUpload.vue": "f72627b63f7dcd23", - "src/agentkit/server/frontend/src/components/kb/SearchTest.vue": "9189e0cdb6221bda", - "src/agentkit/server/frontend/src/components/kb/SourceConfig.vue": "debc96a327735395", - "src/agentkit/server/frontend/src/components/workflow/ApprovalNode.vue": "554f8c34a47678b8", - "src/agentkit/server/frontend/src/components/workflow/ConditionNode.vue": "3ac8a2cbc279d158", - "src/agentkit/server/frontend/src/components/workflow/FlowCanvas.vue": "aca6f13eaa7f4548", - "src/agentkit/server/frontend/src/components/workflow/ParallelNode.vue": "dcf01080ee5171d4", - "src/agentkit/server/frontend/src/components/workflow/PropertyPanel.vue": "d84b2944a68c4da2", - "src/agentkit/server/frontend/src/components/workflow/SkillNode.vue": "209ebd4ea8b044dc", - "src/agentkit/server/frontend/src/main.ts": "b39507810967315c", - "src/agentkit/server/frontend/src/router/index.ts": "abb5156ca57d99b4", - "src/agentkit/server/frontend/src/stores/evolution.ts": "54f43be963383e56", - "src/agentkit/server/frontend/src/stores/knowledge.ts": "c639bbbee6906230", - "src/agentkit/server/frontend/src/stores/settings.ts": "a74460585842e471", - "src/agentkit/server/frontend/src/stores/terminal.ts": "aa652567a5eac361", - "src/agentkit/server/frontend/src/stores/workflow.ts": "94aadc5b90e7f98f", - "src/agentkit/server/frontend/src/utils/echarts.ts": "0f94ea52ff56ca85", - "src/agentkit/server/frontend/src/utils/workflowSerializer.ts": "2a38775e7c55f364", - "src/agentkit/server/frontend/src/views/EvolutionView.vue": "b6e92037d8ba864c", - "src/agentkit/server/frontend/src/views/TerminalView.vue": "444065d74e0d6272", - "src/agentkit/server/frontend/src/views/WorkflowView.vue": "0b43755c77b1babe", - "tests/unit/server/test_evolution_dashboard.py": "0b584b6c40aaec8b", - "tests/unit/server/test_kb_management.py": "16463430acc7a429", - "tests/unit/server/test_settings_routes.py": "f7920e0768fa4523", - "tests/unit/server/test_terminal_routes.py": "9433384c804e1705", - "tests/unit/server/test_workflow_routes.py": "99c72096d652ba95" -} \ No newline at end of file + "configs/__init__.py": "c177bc3f2e94623f", + "configs/geo_handlers.py": "4df68c7922568aab", + "configs/geo_server.py": "189e38838336cad4", + "configs/geo_tools.py": "3c442267d598dc1c", + "docs/GEO-INTEGRATION-GUIDE.md": "bf3dfb02cf6846e1", + "docs/brainstorms/2026-06-05-agentkit-architecture-gap-analysis-requirements.md": "eb46b87f5cdca0fa", + "docs/brainstorms/2026-06-09-agentkit-capability-matrix/plan.md": "5829f1e545a08f0f", + "docs/brainstorms/2026-06-09-agentkit-capability-matrix/requirements.md": "50e4f91f200089a8", + "docs/brainstorms/2026-06-09-clawith-research-prompt.md": "82cbce39736c76dc", + "docs/brainstorms/2026-06-12-frontend-productization-requirements.md": "41bb5034978e107c", + "docs/brainstorms/2026-06-13-agentkit-platform-experience-upgrade-requirements.md": "97b00dd54e012bfd", + "docs/brainstorms/2026-06-13-gui-productization-requirements.md": "501f89238bc6e504", + "docs/brainstorms/2026-06-13-gui-redesign-requirements.md": "e703c3a1dff253c8", + "docs/plans/2026-06-05-001-feat-agentkit-tdd-validation-plan.md": "cb31514b78616c90", + "docs/plans/2026-06-05-002-design-agentkit-v2-architecture.md": "e64efa0d464352d6", + "docs/plans/2026-06-05-003-feat-agentkit-v2-phase1-plan.md": "8bfaed59f42e58eb", + "docs/plans/2026-06-05-004-geo-migration-mode-a.md": "552e179027bd15cc", + "docs/plans/2026-06-05-005-refactor-agentkit-framework-hardening.md": "00cf6aa686fbe699", + "docs/plans/2026-06-05-006-refactor-agentkit-v2-phase2-plan.md": "c58751ee3720d3f1", + "docs/plans/2026-06-05-007-feat-agentkit-cli-deployment-plan.md": "c21d783c264ce1dc", + "docs/plans/2026-06-06-008-feat-agentkit-phase3-upgrade-plan.md": "1ba1a31257aeb6ee", + "docs/plans/2026-06-06-009-feat-agentkit-rag-optimization-plan.md": "596b971c39b92374", + "docs/plans/2026-06-06-010-feat-agentkit-phase4-production-plan.md": "f5443a0b04f80eca", + "docs/plans/2026-06-06-011-feat-agentkit-phase5-intelligence-plan.md": "35083bba9d52c3a4", + "docs/plans/2026-06-07-012-feat-agentkit-phase6-toolkit-plan.md": "110616fdbf34b501", + "docs/plans/2026-06-07-013-feat-agentkit-phase7-headroom-plan.md": "c4a730d9d1b1e3bc", + "docs/plans/2026-06-07-014-fix-agentkit-p0-review-fixes-plan.md": "4b62eee79a38f8c0", + "docs/plans/2026-06-07-015-feat-agentkit-phase8-chat-adaptive-plan.md": "d9730989b4e1056b", + "docs/plans/2026-06-08-016-feat-agentkit-layered-memory-plan.md": "0fbb6ba2badbd690", + "docs/plans/2026-06-09-017-feat-agentkit-multi-agent-marketplace-plan.md": "125227b9fab2f7cf", + "docs/plans/2026-06-10-018-fix-agentkit-p2-hardening-plan.md": "fb2b2de97bc5d108", + "docs/plans/2026-06-10-019-feat-agentkit-deferred-improvements-plan.md": "d59405e0d5660cbc", + "docs/plans/2026-06-12-020-feat-pipeline-adversarial-loop-plan.md": "8d857040371b14c9", + "docs/plans/2026-06-12-021-feat-chat-response-speed-optimization-plan.md": "9a5e58432a3b9bbd", + "docs/plans/2026-06-12-022-feat-agentkit-phase9-integrated-next-stage-plan.md": "8a18b30c7a7d4976", + "docs/plans/2026-06-12-023-feat-frontend-productization-plan.md": "c17f31ebce588103", + "docs/plans/2026-06-13-001-feat-gui-productization-plan.md": "924d3081d6a4c328", + "docs/plans/2026-06-13-001-refactor-gui-redesign-plan.md": "5ec64af7d790295e", + "docs/plans/2026-06-13-003-feat-platform-experience-upgrade-plan.md": "354b625271f06f5e", + "docs/plans/2026-06-13-004-feat-tauri-desktop-client-plan.md": "c9afebfb3dae8a90", + "docs/plans/2026-06-14-001-feat-p0-production-hardening-plan.md": "29737af17bfd9ade", + "docs/plans/2026-06-14-002-u1-llm-cache-architecture.md": "71feabd02ad95169", + "docs/plans/2026-06-14-003-u2-llm-cache-integration.md": "853bfdf22312dbae", + "docs/plans/2026-06-14-004-u3-semantic-router.md": "6c765cbc5140be53", + "src/agentkit/__init__.py": "8f3077a792be01bf", + "src/agentkit/__main__.py": "a79cda859a4ff1e4", + "src/agentkit/bus/__init__.py": "46dddb662dbc4455", + "src/agentkit/bus/interface.py": "4172d55fa0e96410", + "src/agentkit/bus/memory_bus.py": "993b110d1aa1bf8b", + "src/agentkit/bus/message.py": "21093d396668686e", + "src/agentkit/bus/protocol.py": "ceb9511a718981ec", + "src/agentkit/bus/redis_bus.py": "b18f9d14abb106a4", + "src/agentkit/chat/__init__.py": "d41d8cd98f00b204", + "src/agentkit/chat/semantic_router.py": "ce5293262dc5fc6d", + "src/agentkit/chat/skill_routing.py": "4edfe82920e62b29", + "src/agentkit/cli/__init__.py": "6be0f88bfb1933cd", + "src/agentkit/cli/chat.py": "555a58858d7ac531", + "src/agentkit/cli/init.py": "c941e7e24b524414", + "src/agentkit/cli/main.py": "2f67646566ddbba2", + "src/agentkit/cli/onboarding.py": "c62b4f1b5508b05f", + "src/agentkit/cli/pair.py": "b796381a116076a3", + "src/agentkit/cli/skill.py": "513a7848cf995b79", + "src/agentkit/cli/task.py": "19ba46de4dfe86ee", + "src/agentkit/cli/templates.py": "3e3ea04125ac45dd", + "src/agentkit/cli/usage.py": "988272ab7ffb34ff", + "src/agentkit/core/__init__.py": "6e1420ad43fe4f94", + "src/agentkit/core/agent_pool.py": "38c413cc11f0be6c", + "src/agentkit/core/base.py": "330fbf17f4dfa01b", + "src/agentkit/core/compressor.py": "eae7a723d1b55bc3", + "src/agentkit/core/config_driven.py": "7592e9094dcbfa8b", + "src/agentkit/core/dispatcher.py": "a032ac64cc6d88e2", + "src/agentkit/core/exceptions.py": "a2e3376e0b06c6df", + "src/agentkit/core/goal_planner.py": "85a82ad127be83df", + "src/agentkit/core/headroom_compressor.py": "79691d95f00a9f2c", + "src/agentkit/core/logging.py": "4ca908eac76f4487", + "src/agentkit/core/orchestrator.py": "0b73a7612bf0d5fb", + "src/agentkit/core/plan_checker.py": "da4b29c79546f1ef", + "src/agentkit/core/plan_exec_engine.py": "5e78dab734dbd7a5", + "src/agentkit/core/plan_executor.py": "4e145a4903d2c159", + "src/agentkit/core/plan_schema.py": "5516e66e2a5241a6", + "src/agentkit/core/protocol.py": "6cfa0bfb01ee29f3", + "src/agentkit/core/react.py": "77124fe27b73d5fa", + "src/agentkit/core/reflexion.py": "23f90a739bfdb96b", + "src/agentkit/core/registry.py": "537905f014c67bc9", + "src/agentkit/core/rewoo.py": "3ad60b5f4015b434", + "src/agentkit/core/shared_workspace.py": "a847f5a879c5c551", + "src/agentkit/core/standalone.py": "aa0bf44a1b1649a6", + "src/agentkit/core/trace.py": "b6a4f8cebca7d594", + "src/agentkit/evaluation/__init__.py": "a330342ce4ca36e5", + "src/agentkit/evaluation/ragas_evaluator.py": "8f8d3f013d02e8b4", + "src/agentkit/evolution/__init__.py": "723b5130fb48b695", + "src/agentkit/evolution/ab_tester.py": "7841dff79e521e81", + "src/agentkit/evolution/evolution_store.py": "af3444081d9daa98", + "src/agentkit/evolution/experience_schema.py": "d2c096f18e1699ef", + "src/agentkit/evolution/experience_store.py": "d58a3d12c5bc9b2e", + "src/agentkit/evolution/fitness.py": "cc3a200bc1a45f8c", + "src/agentkit/evolution/genetic.py": "f688039da416f456", + "src/agentkit/evolution/lifecycle.py": "ec1fe00da015f086", + "src/agentkit/evolution/llm_reflector.py": "11a57b403186159b", + "src/agentkit/evolution/models.py": "f4431b403fb631be", + "src/agentkit/evolution/path_optimizer.py": "e14acc297c384e1f", + "src/agentkit/evolution/pg_store.py": "7d73520b6aaf6520", + "src/agentkit/evolution/pitfall_detector.py": "b20426d9c8ad32f0", + "src/agentkit/evolution/prompt_optimizer.py": "55d6803ff662373f", + "src/agentkit/evolution/reflector.py": "3bd2e26da20cf83f", + "src/agentkit/evolution/strategy_tuner.py": "bda557828a67e072", + "src/agentkit/llm/__init__.py": "82c7e6de6d66bb43", + "src/agentkit/llm/cache.py": "12e3ca6b88970d1b", + "src/agentkit/llm/cache_key.py": "647aba5b414ee210", + "src/agentkit/llm/config.py": "c6248208496fa3aa", + "src/agentkit/llm/gateway.py": "7725c78f65c86b22", + "src/agentkit/llm/protocol.py": "e37a2f29cc468686", + "src/agentkit/llm/providers/__init__.py": "782e0bfe4705d0a9", + "src/agentkit/llm/providers/anthropic.py": "bb56d751393249f0", + "src/agentkit/llm/providers/doubao.py": "15a834e0808a9243", + "src/agentkit/llm/providers/gemini.py": "d8531fc268d702d2", + "src/agentkit/llm/providers/openai.py": "33a7e10d8fc09e47", + "src/agentkit/llm/providers/tracker.py": "949dab590baf4768", + "src/agentkit/llm/providers/usage_store.py": "d7e8bf9cd92e3f70", + "src/agentkit/llm/providers/wenxin.py": "3748b70a13c1463f", + "src/agentkit/llm/providers/yuanbao.py": "9fcc4b6ad8ac31b4", + "src/agentkit/llm/retry.py": "2aa47e585f77dd50", + "src/agentkit/marketplace/__init__.py": "7eba735388883e2d", + "src/agentkit/marketplace/auction.py": "593df1eb74b19149", + "src/agentkit/marketplace/wealth.py": "49b6d56a6dc938b9", + "src/agentkit/mcp/__init__.py": "c043d1a081979781", + "src/agentkit/mcp/client.py": "287662e5fa494e0f", + "src/agentkit/mcp/manager.py": "0652af492b6d0d02", + "src/agentkit/mcp/server.py": "b2689b6ff79e98ec", + "src/agentkit/mcp/transport.py": "6c509f28b30eeb93", + "src/agentkit/memory/__init__.py": "899e6e94f549d9ee", + "src/agentkit/memory/adapters/__init__.py": "d80a08cc9de5c4e5", + "src/agentkit/memory/adapters/base.py": "045ccec94443abb2", + "src/agentkit/memory/adapters/confluence.py": "13e76eb173bfaf3d", + "src/agentkit/memory/adapters/feishu.py": "011d187d101c942b", + "src/agentkit/memory/adapters/generic_http.py": "ecd08ccaf23fb6a9", + "src/agentkit/memory/base.py": "da502f486f860246", + "src/agentkit/memory/chunking.py": "7cdd1dcb43eaaecd", + "src/agentkit/memory/contextual_retrieval.py": "5c192a0c86b7fc45", + "src/agentkit/memory/document_loader.py": "b9af5438034e1450", + "src/agentkit/memory/embedder.py": "1cf207b86c87fb9f", + "src/agentkit/memory/episodic.py": "d9eadf7068d02985", + "src/agentkit/memory/http_rag.py": "c115b197f512896d", + "src/agentkit/memory/knowledge_base.py": "594e0601119ba926", + "src/agentkit/memory/local_rag.py": "35c473b15ce6ba0f", + "src/agentkit/memory/models.py": "1ed936d411b508b2", + "src/agentkit/memory/multi_source_retriever.py": "a528a4d316d9b1a7", + "src/agentkit/memory/profile.py": "8d1144e61dc41ab0", + "src/agentkit/memory/query_transformer.py": "4ed2930eba6ffa32", + "src/agentkit/memory/rag_loop.py": "9f22171fd1ad1e4c", + "src/agentkit/memory/relevance_scorer.py": "bd5bde3493c1d88f", + "src/agentkit/memory/retriever.py": "3d124234ea5f6bc2", + "src/agentkit/memory/semantic.py": "d8330a3242202690", + "src/agentkit/memory/working.py": "2c23cc7e7311fca8", + "src/agentkit/orchestrator/__init__.py": "c3fc598ee58f6f8b", + "src/agentkit/orchestrator/compensation.py": "439752d48824ac1a", + "src/agentkit/orchestrator/dynamic_pipeline.py": "a71d105fd793c873", + "src/agentkit/orchestrator/handoff.py": "088b49d79a7d8ce5", + "src/agentkit/orchestrator/pipeline_engine.py": "2aa54170ff33511f", + "src/agentkit/orchestrator/pipeline_loader.py": "367bdc2921b95136", + "src/agentkit/orchestrator/pipeline_models.py": "6a565353eca205aa", + "src/agentkit/orchestrator/pipeline_schema.py": "7002a77b7bd837b6", + "src/agentkit/orchestrator/pipeline_state.py": "61e7b05b8ff7d7c3", + "src/agentkit/orchestrator/reflection.py": "ffb779fa4ee52e4d", + "src/agentkit/orchestrator/retry.py": "d3664f5702da0891", + "src/agentkit/orchestrator/workflow_schema.py": "304c14f9107e18d3", + "src/agentkit/org/__init__.py": "cfa58426f7f486f6", + "src/agentkit/org/context.py": "2f2e35245c8d460d", + "src/agentkit/org/discovery.py": "ceb833baf51b62ff", + "src/agentkit/prompts/__init__.py": "3edd02e1768b0daa", + "src/agentkit/prompts/section.py": "f1d167a2f0abebf5", + "src/agentkit/prompts/template.py": "717673ca624bbe25", + "src/agentkit/quality/__init__.py": "1cd7368784872d72", + "src/agentkit/quality/alignment.py": "f252282b05baa04d", + "src/agentkit/quality/cascade_detector.py": "62ceb3c9a6ea94f5", + "src/agentkit/quality/cascade_state_store.py": "3e3afeabf789b676", + "src/agentkit/quality/gate.py": "8f615904f6ef877e", + "src/agentkit/quality/output.py": "9f596461e85908fd", + "src/agentkit/router/__init__.py": "6b1080a95c77611c", + "src/agentkit/router/intent.py": "0e8cb267be40071c", + "src/agentkit/server/__init__.py": "e6ba7d89409ef8bc", + "src/agentkit/server/app.py": "b300b1e0afdc3d3d", + "src/agentkit/server/client.py": "d18b1a046e59ca55", + "src/agentkit/server/client_config.py": "91e05d25245e90cf", + "src/agentkit/server/config.py": "b45512d0b1b53073", + "src/agentkit/server/frontend/components.d.ts": "5f476f813a2598b2", + "src/agentkit/server/frontend/env.d.ts": "7e784bd82b37b057", + "src/agentkit/server/frontend/package.json": "64e85b8f27c88709", + "src/agentkit/server/frontend/src/App.vue": "cef09b6f2dae1f21", + "src/agentkit/server/frontend/src/api/base.ts": "8f917711ede5bf8e", + "src/agentkit/server/frontend/src/api/client.ts": "faf1c13362837642", + "src/agentkit/server/frontend/src/api/evolution.ts": "a8369e1c5f2d53a1", + "src/agentkit/server/frontend/src/api/kb.ts": "2d3ea26a96f0666d", + "src/agentkit/server/frontend/src/api/settings.ts": "7c8523fcbd08e9cc", + "src/agentkit/server/frontend/src/api/skills.ts": "83fc22d3ab317669", + "src/agentkit/server/frontend/src/api/tauri.ts": "b4da451ccb551f44", + "src/agentkit/server/frontend/src/api/terminal.ts": "c3566c3ef0db60e8", + "src/agentkit/server/frontend/src/api/types.ts": "1b1ee4f23c38e580", + "src/agentkit/server/frontend/src/api/workflow.ts": "e96945651f30a5e9", + "src/agentkit/server/frontend/src/components/chat/ChatInput.vue": "afdebfb4570dcbee", + "src/agentkit/server/frontend/src/components/chat/ChatMessage.vue": "06a2d6cb671e68a2", + "src/agentkit/server/frontend/src/components/chat/ChatSidebar.vue": "cc6f7b8bbdcf449a", + "src/agentkit/server/frontend/src/components/chat/ContextPill.vue": "330ed22357ce7616", + "src/agentkit/server/frontend/src/components/chat/FilePreview.vue": "defd56ba76c588a0", + "src/agentkit/server/frontend/src/components/chat/MentionDropdown.vue": "4c7d84ff26d7d899", + "src/agentkit/server/frontend/src/components/chat/ToolCallCard.vue": "7081a83bd23f2414", + "src/agentkit/server/frontend/src/components/chat/ToolCallIndicator.vue": "9431bf6cc2e76df8", + "src/agentkit/server/frontend/src/components/code/CodeDiffViewer.vue": "6d668833fa45c2fd", + "src/agentkit/server/frontend/src/components/code/FileTree.vue": "7ccd0d7f03c1c8c4", + "src/agentkit/server/frontend/src/components/evolution/DashboardOverview.vue": "a1961bfd0b32228d", + "src/agentkit/server/frontend/src/components/evolution/ExperiencePanel.vue": "21fcfabd936c32f5", + "src/agentkit/server/frontend/src/components/evolution/ExperienceTimeline.vue": "d626e873a11e8c08", + "src/agentkit/server/frontend/src/components/evolution/MetricsChart.vue": "06767d5c02e37823", + "src/agentkit/server/frontend/src/components/evolution/MetricsPanel.vue": "66e873ddf0d0c542", + "src/agentkit/server/frontend/src/components/evolution/OptimizationPanel.vue": "c0e148ad6648aab3", + "src/agentkit/server/frontend/src/components/evolution/PathOptimizerPanel.vue": "bcc00116179846ba", + "src/agentkit/server/frontend/src/components/evolution/PitfallPanel.vue": "f7c32f866c78f081", + "src/agentkit/server/frontend/src/components/evolution/PitfallRoutePanel.vue": "141fa883a4f139f3", + "src/agentkit/server/frontend/src/components/evolution/UsagePanel.vue": "3e7ae825a23b550e", + "src/agentkit/server/frontend/src/components/kb/DocumentUpload.vue": "eaf08ca06861c8ee", + "src/agentkit/server/frontend/src/components/kb/SearchTest.vue": "e813640e950768a2", + "src/agentkit/server/frontend/src/components/kb/SourceConfig.vue": "9453a7d7466c190c", + "src/agentkit/server/frontend/src/components/layout/AgentLayout.vue": "8302bdbff9f407fe", + "src/agentkit/server/frontend/src/components/layout/AppLayout.vue": "0f3d4a85e031b87e", + "src/agentkit/server/frontend/src/components/layout/IconNav.vue": "be857d42b74ed508", + "src/agentkit/server/frontend/src/components/layout/QuadrantPanel.vue": "77329d3919b07f00", + "src/agentkit/server/frontend/src/components/layout/SideNav.vue": "323ce7d138162303", + "src/agentkit/server/frontend/src/components/layout/SplashScreen.vue": "ec6928eebd625c58", + "src/agentkit/server/frontend/src/components/layout/SplitPane.vue": "75fc8951b277767b", + "src/agentkit/server/frontend/src/components/layout/TitleBar.vue": "b6d128888ee306c8", + "src/agentkit/server/frontend/src/components/layout/TopNav.vue": "2808cedccab1d945", + "src/agentkit/server/frontend/src/components/skills/SkillCard.vue": "40c0fd217652f00d", + "src/agentkit/server/frontend/src/components/skills/SkillDetail.vue": "9d1d4601560084cf", + "src/agentkit/server/frontend/src/components/terminal/CommandHistory.vue": "faaf28480d749c4a", + "src/agentkit/server/frontend/src/components/terminal/TerminalEmulator.vue": "609caa6d694356d5", + "src/agentkit/server/frontend/src/components/workflow/ApprovalNode.vue": "f8f2461cec0a7315", + "src/agentkit/server/frontend/src/components/workflow/ConditionNode.vue": "407959ec9eb47ee3", + "src/agentkit/server/frontend/src/components/workflow/FlowCanvas.vue": "a8a03d2ee204d45e", + "src/agentkit/server/frontend/src/components/workflow/NodePalette.vue": "95fb0648ce648331", + "src/agentkit/server/frontend/src/components/workflow/ParallelNode.vue": "865dde4247960ec4", + "src/agentkit/server/frontend/src/components/workflow/PropertyPanel.vue": "d43f36e67014da03", + "src/agentkit/server/frontend/src/components/workflow/SkillNode.vue": "7ad0101f51d1c4aa", + "src/agentkit/server/frontend/src/main.ts": "639546b71c6c8e64", + "src/agentkit/server/frontend/src/router/index.ts": "29208a1d32a815ec", + "src/agentkit/server/frontend/src/stores/capabilities.ts": "0176d1b76782ebc3", + "src/agentkit/server/frontend/src/stores/chat.ts": "935a67e98204747b", + "src/agentkit/server/frontend/src/stores/evolution.ts": "069b9010ed60a48e", + "src/agentkit/server/frontend/src/stores/knowledge.ts": "99f61767dba1fe03", + "src/agentkit/server/frontend/src/stores/settings.ts": "56d078006752617c", + "src/agentkit/server/frontend/src/stores/skills.ts": "ae5050c1fb6ddd53", + "src/agentkit/server/frontend/src/stores/terminal.ts": "cbccc94e9cc62778", + "src/agentkit/server/frontend/src/stores/theme.ts": "58bd9259796d6c5b", + "src/agentkit/server/frontend/src/stores/workflow.ts": "d41bf6daa2725f1e", + "src/agentkit/server/frontend/src/styles/index.ts": "c5c64537137cdd6c", + "src/agentkit/server/frontend/src/styles/responsive.css": "5555100df036dfde", + "src/agentkit/server/frontend/src/styles/theme.ts": "9e10f0955fe24771", + "src/agentkit/server/frontend/src/styles/tokens.css": "856befefe5094b09", + "src/agentkit/server/frontend/src/styles/transitions.css": "5d761d0a4cc6fc7c", + "src/agentkit/server/frontend/src/utils/echarts.ts": "ae4cffe3c5d35db6", + "src/agentkit/server/frontend/src/utils/workflowSerializer.ts": "3b808fd32d78e280", + "src/agentkit/server/frontend/src/views/ChatView.vue": "d19086d9f744decc", + "src/agentkit/server/frontend/src/views/ComputerUseView.vue": "61c9868f1f7bf2aa", + "src/agentkit/server/frontend/src/views/EvolutionView.vue": "508f4b284dc6d96d", + "src/agentkit/server/frontend/src/views/KnowledgeBaseView.vue": "90a70c08c1ad2cb9", + "src/agentkit/server/frontend/src/views/SettingsView.vue": "a986f8bdb21cfe15", + "src/agentkit/server/frontend/src/views/SkillsView.vue": "617903074c9d2941", + "src/agentkit/server/frontend/src/views/TerminalView.vue": "63ac6fc0787aea9d", + "src/agentkit/server/frontend/src/views/WorkflowView.vue": "3b5d6c6e1f585f69", + "src/agentkit/server/frontend/tsconfig.json": "dd37dcb70fdb4d9a", + "src/agentkit/server/frontend/tsconfig.node.json": "80d15af8bdd98d4b", + "src/agentkit/server/frontend/vite.config.ts": "3680082296b63e43", + "src/agentkit/server/middleware.py": "96b05f6f8063241d", + "src/agentkit/server/routes/__init__.py": "1b79a3ccfc6a066b", + "src/agentkit/server/routes/agents.py": "21f2555a100d026a", + "src/agentkit/server/routes/chat.py": "104dbdffea2e444c", + "src/agentkit/server/routes/evolution.py": "fce7e8d39d81d71b", + "src/agentkit/server/routes/evolution_dashboard.py": "d8cdddb6f1f31a2f", + "src/agentkit/server/routes/health.py": "6b80279471d80b96", + "src/agentkit/server/routes/kb_management.py": "4e2805fe7e5cefcc", + "src/agentkit/server/routes/llm.py": "41528730c7e8fc23", + "src/agentkit/server/routes/memory.py": "1c80383f27ea9d06", + "src/agentkit/server/routes/metrics.py": "00e89aa44374d486", + "src/agentkit/server/routes/portal.py": "f84fd0fd3765a473", + "src/agentkit/server/routes/settings.py": "d4e099566030cdd3", + "src/agentkit/server/routes/skill_management.py": "18b59ecc2101a983", + "src/agentkit/server/routes/skills.py": "d8af03b75ee51a7d", + "src/agentkit/server/routes/tasks.py": "5da229c6eeee665d", + "src/agentkit/server/routes/terminal.py": "54a7be8b03545753", + "src/agentkit/server/routes/workflows.py": "36a26fff758c1d46", + "src/agentkit/server/routes/ws.py": "610ea335d8dc8029", + "src/agentkit/server/runner.py": "d9dcdc9dbcead3a2", + "src/agentkit/server/static/assets/AgentLayout-DRofOCle.css": "624fe10c57377b9f", + "src/agentkit/server/static/assets/AppLayout-D3vb9nEe.css": "da60a0d0bcd6f73b", + "src/agentkit/server/static/assets/ChatView-pABfekuB.css": "4c85ceda245e4296", + "src/agentkit/server/static/assets/ComputerUseView-DLnWxFj5.css": "634489f6de671317", + "src/agentkit/server/static/assets/EvolutionView-CYpO52XJ.css": "1093af8009b6d07e", + "src/agentkit/server/static/assets/KnowledgeBaseView-B7BP9eFg.css": "897bd5863b866a4b", + "src/agentkit/server/static/assets/SettingsView-Cux44Hx9.css": "5d814d3e6e2aad80", + "src/agentkit/server/static/assets/SkillsView-CD6l4lTk.css": "01d3f36c1c81d634", + "src/agentkit/server/static/assets/TerminalView-Dg1PpXnU.css": "f700710a00b17f72", + "src/agentkit/server/static/assets/WorkflowView-DRk6nEaR.css": "34e060faceedeaa8", + "src/agentkit/server/static/assets/index-De1g9qb4.css": "440d66ee03cf0385", + "src/agentkit/server/task_store.py": "48b0fa6b93eedd02", + "src/agentkit/session/__init__.py": "4c9b3ddcd033cdfd", + "src/agentkit/session/manager.py": "6970d7f8e84533c9", + "src/agentkit/session/models.py": "73142e2bd83acf39", + "src/agentkit/session/store.py": "afc3cb368d3eda2d", + "src/agentkit/skills/__init__.py": "da932fee48b46389", + "src/agentkit/skills/base.py": "21f6dd7a8ce8e743", + "src/agentkit/skills/geo_pipeline.py": "3d24462bf74772d6", + "src/agentkit/skills/loader.py": "894ad8633fbd6a71", + "src/agentkit/skills/pipeline.py": "5337561cd632fa86", + "src/agentkit/skills/registry.py": "8fb961ea4694a0c8", + "src/agentkit/skills/schema.py": "37b34d43e7d4c872", + "src/agentkit/skills/skill_md.py": "50115a8f8c7daf39", + "src/agentkit/telemetry/__init__.py": "0196a5ba60a48373", + "src/agentkit/telemetry/metrics.py": "2c137c5e2afc0219", + "src/agentkit/telemetry/setup.py": "d80b0163b2b40e4b", + "src/agentkit/telemetry/tracer.py": "2febd113b9aefaff", + "src/agentkit/telemetry/tracing.py": "0de031c9690f1084", + "src/agentkit/tools/__init__.py": "3f38137ac910b75e", + "src/agentkit/tools/agent_tool.py": "40dd8fc67609c1c7", + "src/agentkit/tools/ask_human.py": "0af1dce2de198057", + "src/agentkit/tools/baidu_search.py": "f1fc70895adf4c86", + "src/agentkit/tools/base.py": "f8051c91e7b2c870", + "src/agentkit/tools/composition.py": "1399400373a7bae1", + "src/agentkit/tools/computer_use.py": "07fd6142ba572caf", + "src/agentkit/tools/computer_use_recorder.py": "b128cf30a8194210", + "src/agentkit/tools/computer_use_session.py": "07e93efbf41e56bb", + "src/agentkit/tools/function_tool.py": "d965b795e7aa971a", + "src/agentkit/tools/headroom_retrieve.py": "78c9f452e2884b56", + "src/agentkit/tools/mcp_tool.py": "fdf613db4e05386a", + "src/agentkit/tools/memory_tool.py": "f0e43e260a066b41", + "src/agentkit/tools/output_parser.py": "b5979893bc8751a0", + "src/agentkit/tools/pty_session.py": "a59eb84476a1d233", + "src/agentkit/tools/registry.py": "d9f431fde32e23da", + "src/agentkit/tools/schema_tools.py": "d06b2ebb68137eae", + "src/agentkit/tools/shell.py": "d979a37c206abb75", + "src/agentkit/tools/skill_install.py": "7f6df2be83f0a974", + "src/agentkit/tools/terminal_session.py": "09a52ee902faadf8", + "src/agentkit/tools/web_crawl.py": "7d33adfa513583f9", + "src/agentkit/tools/web_search.py": "32c04419179a503b", + "src/agentkit/utils/__init__.py": "c4cde77152627568", + "src/agentkit/utils/security.py": "64a377f0f9af299b", + "src/agentkit/utils/vector_math.py": "95fbdc879f63c9f6", + "tests/__init__.py": "d41d8cd98f00b204", + "tests/conftest.py": "e25a6080360bb392", + "tests/integration/__init__.py": "d41d8cd98f00b204", + "tests/integration/conftest.py": "35362f98fbcf007d", + "tests/integration/test_agent_lifecycle.py": "45ca2361ae89d2dc", + "tests/integration/test_agent_v2_lifecycle.py": "813c0f11a440e191", + "tests/integration/test_chat_adaptive_e2e.py": "3c29dadefff87012", + "tests/integration/test_coding_harness_pipeline.py": "c07c587bdf135085", + "tests/integration/test_evolution_loop.py": "af13640b3c042c8f", + "tests/integration/test_gap_closure.py": "5445e0618f1570c7", + "tests/integration/test_geo_compression.py": "e97a1e18fec7de33", + "tests/integration/test_geo_e2e.py": "6ab31754e519e7e4", + "tests/integration/test_goal_driven_scenario.py": "d4ff1c1d1095712c", + "tests/integration/test_marketplace_e2e.py": "f9953b64d5fec881", + "tests/integration/test_mcp_roundtrip.py": "d7b61599fa38f9fb", + "tests/integration/test_merged_router.py": "4ebbb09628b4e5ec", + "tests/integration/test_p0_hardening.py": "a64e9748554c3af5", + "tests/integration/test_parallel_tools.py": "835e923a8ed8f0f6", + "tests/integration/test_react_loop.py": "6600439989c27015", + "tests/integration/test_reflexion_loop.py": "44cd7bd06b36311d", + "tests/integration/test_rewoo_configurable_fallback.py": "22d188945fcfcace", + "tests/integration/test_rewoo_fallback.py": "b0d90d02ad2e376a", + "tests/integration/test_router_engine_chain.py": "298d027b3fb536e0", + "tests/integration/test_server_e2e.py": "b18dd4834e6c9294", + "tests/integration/test_soul_evolution_trigger.py": "395fa9a1c00ccf84", + "tests/integration/test_tool_composition.py": "ca26b34ba7ac9fb4", + "tests/test_routing_chain.py": "dc4bbb716852dc24", + "tests/unit/__init__.py": "d41d8cd98f00b204", + "tests/unit/conftest.py": "d957c6d325cecf73", + "tests/unit/core/__init__.py": "d41d8cd98f00b204", + "tests/unit/core/test_plan_checker.py": "a19366b76820465f", + "tests/unit/core/test_plan_executor.py": "c91e6cf7aa90421d", + "tests/unit/evolution/__init__.py": "d41d8cd98f00b204", + "tests/unit/evolution/test_experience_store.py": "95ac34f0aa4eff18", + "tests/unit/evolution/test_path_optimizer.py": "061f66cc4818ca25", + "tests/unit/evolution/test_pitfall_detector.py": "456b21abec2630ed", + "tests/unit/llm/test_usage_store.py": "d35fdbc8ad8c8807", + "tests/unit/memory/__init__.py": "d41d8cd98f00b204", + "tests/unit/memory/test_adapters.py": "bf54ecf5caaba82a", + "tests/unit/memory/test_document_loader.py": "a85a73dacefded5b", + "tests/unit/memory/test_local_rag.py": "d1bb69b64a704ac6", + "tests/unit/memory/test_multi_source_rag.py": "2a90418f99d39a38", + "tests/unit/quality/test_cascade_state_store.py": "373a5015bc25f010", + "tests/unit/server/__init__.py": "d41d8cd98f00b204", + "tests/unit/server/test_evolution_dashboard.py": "8b1882eb0e28c0fe", + "tests/unit/server/test_kb_management.py": "ba66ac5d81a89675", + "tests/unit/server/test_portal_routes.py": "5096d6fb11f916e4", + "tests/unit/server/test_settings_routes.py": "c958e137d691bbdb", + "tests/unit/server/test_skill_management.py": "7c2ab7ca496c2238", + "tests/unit/server/test_terminal_routes.py": "473c2f0453f7bce5", + "tests/unit/server/test_workflow_routes.py": "43f994ebbf8c14a1", + "tests/unit/skills/__init__.py": "d41d8cd98f00b204", + "tests/unit/skills/test_skill_registry_v2.py": "09566589524e0eb7", + "tests/unit/test_ab_tester.py": "ddc218d7db08297a", + "tests/unit/test_agent_bus.py": "7b4ec0c38781e682", + "tests/unit/test_agent_pool.py": "6b0ed7625bfc0ca9", + "tests/unit/test_agent_tool.py": "1d90fc78af703235", + "tests/unit/test_alignment_guard.py": "e8dd184b11c82084", + "tests/unit/test_anthropic_provider.py": "d15f53edc11cb259", + "tests/unit/test_ask_human_tool.py": "a097f78a6d3161ea", + "tests/unit/test_async_tasks.py": "f67efcc208f8ebae", + "tests/unit/test_auction.py": "854f6a6ac5d810b6", + "tests/unit/test_base_agent.py": "527b0607af6b3d0b", + "tests/unit/test_base_agent_v2.py": "8b34903756625ed8", + "tests/unit/test_bus_protocol.py": "cc278c537b9ab55a", + "tests/unit/test_chat_memory_integration.py": "e04eedb7d6769bb9", + "tests/unit/test_chat_routes.py": "ac9fd896485fad70", + "tests/unit/test_chinese_providers.py": "8b7c6b1db3aed927", + "tests/unit/test_cli.py": "391386a1f4b59780", + "tests/unit/test_compression_config.py": "6e789f9e0b0e163d", + "tests/unit/test_compression_strategy.py": "a354bb2c7caf96da", + "tests/unit/test_config_driven.py": "c6110f498ad0685e", + "tests/unit/test_context_compressor.py": "99d074bd33277d71", + "tests/unit/test_contextual_retrieval.py": "c67f8f0c3cd088d1", + "tests/unit/test_cost_aware_router.py": "c46fd3ad7d16d9b2", + "tests/unit/test_dispatcher.py": "093c243e1fd88c53", + "tests/unit/test_embedding_cache.py": "63f6898cd4c08cf8", + "tests/unit/test_episodic_memory.py": "efd3fed7476b01fa", + "tests/unit/test_episodic_vector_search.py": "d512a403d915d17c", + "tests/unit/test_evolution.py": "267c0d997ac4b69b", + "tests/unit/test_evolution_api.py": "c8bc3257089f2f28", + "tests/unit/test_evolution_integration.py": "97dbf613d90cfade", + "tests/unit/test_evolution_lifecycle.py": "c54cba680de3c6cf", + "tests/unit/test_evolution_store.py": "aeede35adc6298bb", + "tests/unit/test_evolution_store_persistent.py": "0a4f2e0b68352bf4", + "tests/unit/test_execution_modes.py": "721e3dbd3bbe42b6", + "tests/unit/test_fitness.py": "a8574c829dd1e6b8", + "tests/unit/test_gateway_cache.py": "b90d19fe913acd6b", + "tests/unit/test_gemini_provider.py": "a11569acda793b28", + "tests/unit/test_genetic_evolution.py": "2298a952c78a1d57", + "tests/unit/test_geo_pipeline.py": "0fbea766ae4127ff", + "tests/unit/test_goal_planner.py": "41a75d8d954b9be2", + "tests/unit/test_handoff.py": "b62bd295b820e7f0", + "tests/unit/test_headroom_compressor.py": "690070348dedc54f", + "tests/unit/test_headroom_retrieve_tool.py": "9cd59c7ef33abdf8", + "tests/unit/test_http_rag_service.py": "c9553d7192028003", + "tests/unit/test_intent_router.py": "d6d25ef448de860b", + "tests/unit/test_llm_cache.py": "40d438e5249bffa3", + "tests/unit/test_llm_gateway.py": "bc60cbfd1cab0078", + "tests/unit/test_llm_protocol.py": "aa3e78b428e69995", + "tests/unit/test_llm_provider.py": "596744095843d1ff", + "tests/unit/test_llm_reflector.py": "703d9262357056ce", + "tests/unit/test_llm_retry.py": "24b9eeb9b333a1e8", + "tests/unit/test_mcp_client.py": "a41cb2b1f7a2ef9f", + "tests/unit/test_mcp_config.py": "81b92487b8d81f0b", + "tests/unit/test_mcp_manager.py": "8536847fdc4cd5ea", + "tests/unit/test_mcp_server.py": "5a27613e90d76aae", + "tests/unit/test_mcp_transport.py": "41d5b3080f524384", + "tests/unit/test_memory_api.py": "bdbc0f4ee07e6f3f", + "tests/unit/test_memory_integration.py": "c65d5c3312dfaf06", + "tests/unit/test_memory_profile.py": "536e91f76c288475", + "tests/unit/test_memory_retriever.py": "fe00ea44c651dd61", + "tests/unit/test_memory_system.py": "cfb1ed2fcf7b3d2b", + "tests/unit/test_memory_tool.py": "14b9fa7c03ca094d", + "tests/unit/test_observability.py": "bc2708134d2e52ac", + "tests/unit/test_onboarding.py": "b3fbdf5aa374ede9", + "tests/unit/test_orchestrator.py": "93feb0c97e569e8c", + "tests/unit/test_orchestrator_adaptive.py": "4b3204dd2e649de8", + "tests/unit/test_orchestrator_bus.py": "20392261e563eedc", + "tests/unit/test_orchestrator_integration.py": "5e5a16aac7a0f1d5", + "tests/unit/test_org_context.py": "d1bad982d17ef585", + "tests/unit/test_output_standardizer.py": "9305eddc864f0c3f", + "tests/unit/test_pipeline.py": "dd3d8845733456f6", + "tests/unit/test_pipeline_adversarial.py": "af99d36831acec26", + "tests/unit/test_pipeline_compensation.py": "2acc0c4bd0126cc8", + "tests/unit/test_pipeline_reflection.py": "d171b373e96620b4", + "tests/unit/test_pipeline_retry.py": "b50bba77dc357937", + "tests/unit/test_pipeline_state.py": "65df456e2d6054c5", + "tests/unit/test_plan_exec_engine.py": "18c76d5d4f010b7d", + "tests/unit/test_prompt_optimizer.py": "06325696628d2f69", + "tests/unit/test_prompt_section.py": "e764eca7b44cc6c8", + "tests/unit/test_prompt_template.py": "e57af046cdb3b4e4", + "tests/unit/test_protocol.py": "da661f7a951b6576", + "tests/unit/test_quality_gate.py": "a1b9a0ce009e3d8d", + "tests/unit/test_query_transformer.py": "7fde4b222ae1f145", + "tests/unit/test_rag_loop.py": "f1347eac9a5919a2", + "tests/unit/test_ragas_evaluator.py": "521786f58e3fbb2f", + "tests/unit/test_react_compression.py": "40a45ee367d84810", + "tests/unit/test_react_engine.py": "62a5df9422ae21f4", + "tests/unit/test_react_skill_mcp_integration.py": "6725ad4c70f8e4a9", + "tests/unit/test_react_token_streaming.py": "14aa43e723cef9c6", + "tests/unit/test_reflexion_engine.py": "689979f3c835aedb", + "tests/unit/test_registry.py": "8d31cc0eee9cd89d", + "tests/unit/test_retrieval_config.py": "a09fca0f1d8c44b2", + "tests/unit/test_retrieve_knowledge_tool.py": "d12b7414e129f593", + "tests/unit/test_rewoo_engine.py": "1fbd72b1923c3e24", + "tests/unit/test_schema_tools.py": "a600b44b4c2ec894", + "tests/unit/test_semantic_router.py": "a277ea3cb0bdd4d3", + "tests/unit/test_server_config.py": "e86663f135a8396c", + "tests/unit/test_server_middleware.py": "660766db5bdf4fb0", + "tests/unit/test_server_routes.py": "3370e164dbac52ea", + "tests/unit/test_session_manager.py": "90ef9929f4910c4b", + "tests/unit/test_session_models.py": "2297ebde41ac1961", + "tests/unit/test_session_store.py": "124898baeef2c549", + "tests/unit/test_shell_tool.py": "fc1237230c684e25", + "tests/unit/test_skill_config.py": "f3aef1188e101bac", + "tests/unit/test_skill_loader.py": "21b83961057e4fcb", + "tests/unit/test_skill_md.py": "a78f997dbe75695b", + "tests/unit/test_skill_pipeline.py": "b51de8bf81f193d4", + "tests/unit/test_skill_registry.py": "30679e6242902a3e", + "tests/unit/test_soul_evolution.py": "07d8b0b4550142a6", + "tests/unit/test_stdio_transport.py": "ad7d51c748b3580f", + "tests/unit/test_streaming.py": "9430a86a4cae4435", + "tests/unit/test_task_store_redis.py": "31e1ed3cb10dab5b", + "tests/unit/test_telemetry.py": "2f957631f9d87522", + "tests/unit/test_tool_composition.py": "88c496199e43eab1", + "tests/unit/test_tool_registry.py": "cb930ed167fe2b23", + "tests/unit/test_trace_recorder.py": "0f7809fe85094c08", + "tests/unit/test_u8_geo_integration.py": "c0eb3468de53fe1e", + "tests/unit/test_unified_evolution_store.py": "8419ece33016b902", + "tests/unit/test_usage_tracker.py": "eed60bc0fcf6a4a3", + "tests/unit/test_web_crawl_tool.py": "13d5bb6f6b098410", + "tests/unit/test_web_search_tool.py": "7ee8a8b20b793e03", + "tests/unit/test_websocket.py": "53e9ecd8c70f5bfe", + "tests/unit/test_working_memory.py": "49016e18a7998c4a", + "tests/unit/tools/__init__.py": "d41d8cd98f00b204", + "tests/unit/tools/test_computer_use.py": "1f851f50f5eb5e44", + "tests/unit/tools/test_pty_session.py": "8a512aabb314036e", + "tests/unit/tools/test_terminal_session.py": "1e979327e0d14753" +} diff --git a/.understand-anything/knowledge-graph.json b/.understand-anything/knowledge-graph.json index 74d064b..564cd74 100644 --- a/.understand-anything/knowledge-graph.json +++ b/.understand-anything/knowledge-graph.json @@ -13,8 +13,8 @@ "Redis" ], "description": "AI驱动的Agent框架,支持ReAct引擎、多LLM网关、Pipeline编排、自适应反思和消息总线", - "analyzedAt": "2026-06-14T02:23:49.851310+00:00", - "gitCommitHash": "045fecd4cee49f04dc7b693c14d35ca38a0d92cb" + "analyzedAt": "2026-06-14T08:41:38.874016+00:00", + "gitCommitHash": "d9d1b16e5911ad958cd8ae38958058bea13f3fcc" }, "nodes": [ { @@ -163,12 +163,24 @@ "name": "__init__.py", "filePath": "src/agentkit/chat/__init__.py", "layer": "service", - "summary": "模块 chat", + "summary": "聊天路由模块 - CostAwareRouter三层意图路由和语义路由", "tags": [ "chat" ], "complexity": "simple" }, + { + "id": "file:src/agentkit/chat/semantic_router.py", + "type": "file", + "name": "semantic_router.py", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "Semantic Router — Embedding-based intent routing as Layer 1.5.", + "tags": [ + "chat" + ], + "complexity": "moderate" + }, { "id": "file:src/agentkit/chat/skill_routing.py", "type": "file", @@ -733,6 +745,18 @@ ], "complexity": "moderate" }, + { + "id": "file:src/agentkit/evolution/pg_store.py", + "type": "file", + "name": "pg_store.py", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore - 基于 PostgreSQL 的异步进化存储", + "tags": [ + "evolution" + ], + "complexity": "moderate" + }, { "id": "file:src/agentkit/evolution/pitfall_detector.py", "type": "file", @@ -793,6 +817,30 @@ ], "complexity": "simple" }, + { + "id": "file:src/agentkit/llm/cache.py", + "type": "file", + "name": "cache.py", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "LLM Response Cache — Exact-match + Semantic-match dual cache for LLM responses.", + "tags": [ + "llm" + ], + "complexity": "moderate" + }, + { + "id": "file:src/agentkit/llm/cache_key.py", + "type": "file", + "name": "cache_key.py", + "filePath": "src/agentkit/llm/cache_key.py", + "layer": "utility", + "summary": "LLM Cache Key Generation — Deterministic SHA-256 cache key from LLM request parameters.", + "tags": [ + "llm" + ], + "complexity": "moderate" + }, { "id": "file:src/agentkit/llm/config.py", "type": "file", @@ -900,7 +948,20 @@ "name": "tracker.py", "filePath": "src/agentkit/llm/providers/tracker.py", "layer": "utility", - "summary": "Usage Tracker - 使用量追踪", + "summary": "Usage Tracker - 使用量追踪(委托给 UsageStore)", + "tags": [ + "llm", + "providers" + ], + "complexity": "moderate" + }, + { + "id": "file:src/agentkit/llm/providers/usage_store.py", + "type": "file", + "name": "usage_store.py", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "Usage Store — Persistent usage tracking with Redis Hash backend.", "tags": [ "llm", "providers" @@ -1580,7 +1641,19 @@ "name": "cascade_detector.py", "filePath": "src/agentkit/quality/cascade_detector.py", "layer": "utility", - "summary": "CascadeDetector - 独立的级联故障检测工具", + "summary": "CascadeDetector - 独立的级联故障检测工具(委托给 CascadeStateStore)", + "tags": [ + "quality" + ], + "complexity": "moderate" + }, + { + "id": "file:src/agentkit/quality/cascade_state_store.py", + "type": "file", + "name": "cascade_state_store.py", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "Cascade State Store — Persistent cascade detection state with Redis INCR backend.", "tags": [ "quality" ], @@ -3009,6 +3082,198 @@ ], "complexity": "simple" }, + { + "id": "class:SemanticRouteResult", + "type": "class", + "name": "SemanticRouteResult", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "Result of semantic routing.", + "tags": [ + "SemanticRouteResult" + ], + "complexity": "simple" + }, + { + "id": "class:SkillEmbeddingIndex", + "type": "class", + "name": "SkillEmbeddingIndex", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "Pre-computed embedding index for registered skills.", + "tags": [ + "SkillEmbeddingIndex" + ], + "complexity": "moderate" + }, + { + "id": "func:SkillEmbeddingIndex.__init__", + "type": "function", + "name": "__init__", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SkillEmbeddingIndex.__init__(embedder) 方法", + "tags": [ + "SkillEmbeddingIndex", + "__init__" + ], + "complexity": "simple" + }, + { + "id": "func:SkillEmbeddingIndex.build", + "type": "function", + "name": "build", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SkillEmbeddingIndex.build(skill_registry) 异步方法", + "tags": [ + "SkillEmbeddingIndex", + "build" + ], + "complexity": "simple" + }, + { + "id": "func:SkillEmbeddingIndex.update_skill", + "type": "function", + "name": "update_skill", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SkillEmbeddingIndex.update_skill(skill_name, skill) 异步方法", + "tags": [ + "SkillEmbeddingIndex", + "update_skill" + ], + "complexity": "simple" + }, + { + "id": "func:SkillEmbeddingIndex.remove_skill", + "type": "function", + "name": "remove_skill", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SkillEmbeddingIndex.remove_skill(skill_name) 方法", + "tags": [ + "SkillEmbeddingIndex", + "remove_skill" + ], + "complexity": "simple" + }, + { + "id": "func:SkillEmbeddingIndex.search", + "type": "function", + "name": "search", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SkillEmbeddingIndex.search(query_embedding, top_k) 异步方法", + "tags": [ + "SkillEmbeddingIndex", + "search" + ], + "complexity": "simple" + }, + { + "id": "func:SkillEmbeddingIndex._build_source_text", + "type": "function", + "name": "_build_source_text", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SkillEmbeddingIndex._build_source_text(skill) 方法", + "tags": [ + "SkillEmbeddingIndex", + "_build_source_text" + ], + "complexity": "simple" + }, + { + "id": "func:SkillEmbeddingIndex.size", + "type": "function", + "name": "size", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SkillEmbeddingIndex.size() 方法", + "tags": [ + "SkillEmbeddingIndex", + "size" + ], + "complexity": "simple" + }, + { + "id": "class:SemanticRouter", + "type": "class", + "name": "SemanticRouter", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "Embedding-based semantic routing as Layer 1.5.", + "tags": [ + "SemanticRouter" + ], + "complexity": "moderate" + }, + { + "id": "func:SemanticRouter.__init__", + "type": "function", + "name": "__init__", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SemanticRouter.__init__(embedder, similarity_high, similarity_low) 方法", + "tags": [ + "SemanticRouter", + "__init__" + ], + "complexity": "simple" + }, + { + "id": "func:SemanticRouter.build_index", + "type": "function", + "name": "build_index", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SemanticRouter.build_index(skill_registry) 异步方法", + "tags": [ + "SemanticRouter", + "build_index" + ], + "complexity": "simple" + }, + { + "id": "func:SemanticRouter.update_skill", + "type": "function", + "name": "update_skill", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SemanticRouter.update_skill(skill_name, skill) 异步方法", + "tags": [ + "SemanticRouter", + "update_skill" + ], + "complexity": "simple" + }, + { + "id": "func:SemanticRouter.remove_skill", + "type": "function", + "name": "remove_skill", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SemanticRouter.remove_skill(skill_name) 方法", + "tags": [ + "SemanticRouter", + "remove_skill" + ], + "complexity": "simple" + }, + { + "id": "func:SemanticRouter.route", + "type": "function", + "name": "route", + "filePath": "src/agentkit/chat/semantic_router.py", + "layer": "unknown", + "summary": "SemanticRouter.route(query) 异步方法", + "tags": [ + "SemanticRouter", + "route" + ], + "complexity": "simple" + }, { "id": "class:ExecutionMode", "type": "class", @@ -3076,7 +3341,7 @@ "name": "__init__", "filePath": "src/agentkit/chat/skill_routing.py", "layer": "unknown", - "summary": "CostAwareRouter.__init__(llm_gateway, model, org_context, auction_enabled, classifier, merged_llm_classify) 方法", + "summary": "CostAwareRouter.__init__(llm_gateway, model, org_context, auction_enabled, classifier, merged_llm_classify, semantic_router) 方法", "tags": [ "CostAwareRouter", "__init__" @@ -8529,6 +8794,109 @@ ], "complexity": "simple" }, + { + "id": "class:EvolutionStoreProtocol", + "type": "class", + "name": "EvolutionStoreProtocol", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "进化存储统一接口 Protocol", + "tags": [ + "EvolutionStoreProtocol" + ], + "complexity": "moderate" + }, + { + "id": "func:EvolutionStoreProtocol.record", + "type": "function", + "name": "record", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "EvolutionStoreProtocol.record(event) 异步方法", + "tags": [ + "EvolutionStoreProtocol", + "record" + ], + "complexity": "simple" + }, + { + "id": "func:EvolutionStoreProtocol.rollback", + "type": "function", + "name": "rollback", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "EvolutionStoreProtocol.rollback(event_id) 异步方法", + "tags": [ + "EvolutionStoreProtocol", + "rollback" + ], + "complexity": "simple" + }, + { + "id": "func:EvolutionStoreProtocol.list_events", + "type": "function", + "name": "list_events", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "EvolutionStoreProtocol.list_events(agent_name, change_type, status) 异步方法", + "tags": [ + "EvolutionStoreProtocol", + "list_events" + ], + "complexity": "simple" + }, + { + "id": "func:EvolutionStoreProtocol.record_skill_version", + "type": "function", + "name": "record_skill_version", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "EvolutionStoreProtocol.record_skill_version(skill_name, version, content, parent_version) 异步方法", + "tags": [ + "EvolutionStoreProtocol", + "record_skill_version" + ], + "complexity": "simple" + }, + { + "id": "func:EvolutionStoreProtocol.list_skill_versions", + "type": "function", + "name": "list_skill_versions", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "EvolutionStoreProtocol.list_skill_versions(skill_name) 异步方法", + "tags": [ + "EvolutionStoreProtocol", + "list_skill_versions" + ], + "complexity": "simple" + }, + { + "id": "func:EvolutionStoreProtocol.record_ab_test_result", + "type": "function", + "name": "record_ab_test_result", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "EvolutionStoreProtocol.record_ab_test_result(test_id, variant, score, sample_count) 异步方法", + "tags": [ + "EvolutionStoreProtocol", + "record_ab_test_result" + ], + "complexity": "simple" + }, + { + "id": "func:EvolutionStoreProtocol.get_ab_test_results", + "type": "function", + "name": "get_ab_test_results", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "EvolutionStoreProtocol.get_ab_test_results(test_id) 异步方法", + "tags": [ + "EvolutionStoreProtocol", + "get_ab_test_results" + ], + "complexity": "simple" + }, { "id": "class:EvolutionStore", "type": "class", @@ -8593,6 +8961,58 @@ ], "complexity": "simple" }, + { + "id": "func:EvolutionStore.record_skill_version", + "type": "function", + "name": "record_skill_version", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "EvolutionStore.record_skill_version(skill_name, version, content, parent_version) 异步方法", + "tags": [ + "EvolutionStore", + "record_skill_version" + ], + "complexity": "simple" + }, + { + "id": "func:EvolutionStore.list_skill_versions", + "type": "function", + "name": "list_skill_versions", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "EvolutionStore.list_skill_versions(skill_name) 异步方法", + "tags": [ + "EvolutionStore", + "list_skill_versions" + ], + "complexity": "simple" + }, + { + "id": "func:EvolutionStore.record_ab_test_result", + "type": "function", + "name": "record_ab_test_result", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "EvolutionStore.record_ab_test_result(test_id, variant, score, sample_count) 异步方法", + "tags": [ + "EvolutionStore", + "record_ab_test_result" + ], + "complexity": "simple" + }, + { + "id": "func:EvolutionStore.get_ab_test_results", + "type": "function", + "name": "get_ab_test_results", + "filePath": "src/agentkit/evolution/evolution_store.py", + "layer": "utility", + "summary": "EvolutionStore.get_ab_test_results(test_id) 异步方法", + "tags": [ + "EvolutionStore", + "get_ab_test_results" + ], + "complexity": "simple" + }, { "id": "class:PersistentEvolutionStore", "type": "class", @@ -10219,6 +10639,223 @@ ], "complexity": "simple" }, + { + "id": "class:PGEvolutionEventModel", + "type": "class", + "name": "PGEvolutionEventModel", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQL 进化事件 ORM 模型", + "tags": [ + "PGEvolutionEventModel" + ], + "complexity": "simple" + }, + { + "id": "class:PGSkillVersionModel", + "type": "class", + "name": "PGSkillVersionModel", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQL 技能版本 ORM 模型", + "tags": [ + "PGSkillVersionModel" + ], + "complexity": "simple" + }, + { + "id": "class:PGABTestResultModel", + "type": "class", + "name": "PGABTestResultModel", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQL A/B 测试结果 ORM 模型", + "tags": [ + "PGABTestResultModel" + ], + "complexity": "simple" + }, + { + "id": "class:PostgreSQLEvolutionStore", + "type": "class", + "name": "PostgreSQLEvolutionStore", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQL 异步进化存储", + "tags": [ + "PostgreSQLEvolutionStore" + ], + "complexity": "complex" + }, + { + "id": "func:PostgreSQLEvolutionStore.__init__", + "type": "function", + "name": "__init__", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.__init__(database_url) 方法", + "tags": [ + "PostgreSQLEvolutionStore", + "__init__" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore._ensure_initialized", + "type": "function", + "name": "_ensure_initialized", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore._ensure_initialized() 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "_ensure_initialized" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore.ensure_tables", + "type": "function", + "name": "ensure_tables", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.ensure_tables() 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "ensure_tables" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore.close", + "type": "function", + "name": "close", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.close() 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "close" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore.__aenter__", + "type": "function", + "name": "__aenter__", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.__aenter__() 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "__aenter__" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore.__aexit__", + "type": "function", + "name": "__aexit__", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.__aexit__(exc_type, exc_val, exc_tb) 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "__aexit__" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore.record", + "type": "function", + "name": "record", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.record(event) 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "record" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore.rollback", + "type": "function", + "name": "rollback", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.rollback(event_id) 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "rollback" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore.list_events", + "type": "function", + "name": "list_events", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.list_events(agent_name, change_type, status, limit) 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "list_events" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore.record_skill_version", + "type": "function", + "name": "record_skill_version", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.record_skill_version(skill_name, version, content, parent_version) 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "record_skill_version" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore.list_skill_versions", + "type": "function", + "name": "list_skill_versions", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.list_skill_versions(skill_name, limit) 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "list_skill_versions" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore.record_ab_test_result", + "type": "function", + "name": "record_ab_test_result", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.record_ab_test_result(test_id, variant, score, sample_count) 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "record_ab_test_result" + ], + "complexity": "simple" + }, + { + "id": "func:PostgreSQLEvolutionStore.get_ab_test_results", + "type": "function", + "name": "get_ab_test_results", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "PostgreSQLEvolutionStore.get_ab_test_results(test_id, limit) 异步方法", + "tags": [ + "PostgreSQLEvolutionStore", + "get_ab_test_results" + ], + "complexity": "simple" + }, { "id": "class:WarningLevel", "type": "class", @@ -10752,6 +11389,364 @@ ], "complexity": "simple" }, + { + "id": "class:CacheEntry", + "type": "class", + "name": "CacheEntry", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "A cached LLM response with metadata.", + "tags": [ + "CacheEntry" + ], + "complexity": "simple" + }, + { + "id": "class:CacheResult", + "type": "class", + "name": "CacheResult", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "Result of a cache lookup.", + "tags": [ + "CacheResult" + ], + "complexity": "simple" + }, + { + "id": "class:LLMCache", + "type": "class", + "name": "LLMCache", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "LLM response cache interface.", + "tags": [ + "LLMCache" + ], + "complexity": "moderate" + }, + { + "id": "func:LLMCache.get", + "type": "function", + "name": "get", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "LLMCache.get(key) 异步方法", + "tags": [ + "LLMCache", + "get" + ], + "complexity": "simple" + }, + { + "id": "func:LLMCache.semantic_search", + "type": "function", + "name": "semantic_search", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "LLMCache.semantic_search(query_embedding, threshold) 异步方法", + "tags": [ + "LLMCache", + "semantic_search" + ], + "complexity": "simple" + }, + { + "id": "func:LLMCache.put", + "type": "function", + "name": "put", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "LLMCache.put(key, response, query_embedding) 异步方法", + "tags": [ + "LLMCache", + "put" + ], + "complexity": "simple" + }, + { + "id": "func:LLMCache.invalidate", + "type": "function", + "name": "invalidate", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "LLMCache.invalidate(pattern) 异步方法", + "tags": [ + "LLMCache", + "invalidate" + ], + "complexity": "simple" + }, + { + "id": "func:LLMCache.stats", + "type": "function", + "name": "stats", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "LLMCache.stats() 异步方法", + "tags": [ + "LLMCache", + "stats" + ], + "complexity": "simple" + }, + { + "id": "class:InMemoryLLMCache", + "type": "class", + "name": "InMemoryLLMCache", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "In-memory LLM cache with LRU eviction and semantic search.", + "tags": [ + "InMemoryLLMCache" + ], + "complexity": "moderate" + }, + { + "id": "func:InMemoryLLMCache.__init__", + "type": "function", + "name": "__init__", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "InMemoryLLMCache.__init__(max_entries, exact_ttl, semantic_ttl, similarity_threshold) 方法", + "tags": [ + "InMemoryLLMCache", + "__init__" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryLLMCache.get", + "type": "function", + "name": "get", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "InMemoryLLMCache.get(key) 异步方法", + "tags": [ + "InMemoryLLMCache", + "get" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryLLMCache.semantic_search", + "type": "function", + "name": "semantic_search", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "InMemoryLLMCache.semantic_search(query_embedding, threshold) 异步方法", + "tags": [ + "InMemoryLLMCache", + "semantic_search" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryLLMCache.put", + "type": "function", + "name": "put", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "InMemoryLLMCache.put(key, response, query_embedding) 异步方法", + "tags": [ + "InMemoryLLMCache", + "put" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryLLMCache.invalidate", + "type": "function", + "name": "invalidate", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "InMemoryLLMCache.invalidate(pattern) 异步方法", + "tags": [ + "InMemoryLLMCache", + "invalidate" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryLLMCache.stats", + "type": "function", + "name": "stats", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "InMemoryLLMCache.stats() 异步方法", + "tags": [ + "InMemoryLLMCache", + "stats" + ], + "complexity": "simple" + }, + { + "id": "class:RedisLLMCache", + "type": "class", + "name": "RedisLLMCache", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "Redis-backed LLM cache with SET index for semantic search.", + "tags": [ + "RedisLLMCache" + ], + "complexity": "complex" + }, + { + "id": "func:RedisLLMCache.__init__", + "type": "function", + "name": "__init__", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "RedisLLMCache.__init__(redis_url, max_entries, exact_ttl, semantic_ttl, similarity_threshold, max_entries_to_scan, fallback) 方法", + "tags": [ + "RedisLLMCache", + "__init__" + ], + "complexity": "simple" + }, + { + "id": "func:RedisLLMCache._get_redis", + "type": "function", + "name": "_get_redis", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "RedisLLMCache._get_redis() 异步方法", + "tags": [ + "RedisLLMCache", + "_get_redis" + ], + "complexity": "simple" + }, + { + "id": "func:RedisLLMCache.aclose", + "type": "function", + "name": "aclose", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "RedisLLMCache.aclose() 异步方法", + "tags": [ + "RedisLLMCache", + "aclose" + ], + "complexity": "simple" + }, + { + "id": "func:RedisLLMCache._degrade_to_fallback", + "type": "function", + "name": "_degrade_to_fallback", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "RedisLLMCache._degrade_to_fallback() 方法", + "tags": [ + "RedisLLMCache", + "_degrade_to_fallback" + ], + "complexity": "simple" + }, + { + "id": "func:RedisLLMCache._try_recover", + "type": "function", + "name": "_try_recover", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "RedisLLMCache._try_recover() 方法", + "tags": [ + "RedisLLMCache", + "_try_recover" + ], + "complexity": "simple" + }, + { + "id": "func:RedisLLMCache.get", + "type": "function", + "name": "get", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "RedisLLMCache.get(key) 异步方法", + "tags": [ + "RedisLLMCache", + "get" + ], + "complexity": "simple" + }, + { + "id": "func:RedisLLMCache.semantic_search", + "type": "function", + "name": "semantic_search", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "RedisLLMCache.semantic_search(query_embedding, threshold) 异步方法", + "tags": [ + "RedisLLMCache", + "semantic_search" + ], + "complexity": "simple" + }, + { + "id": "func:RedisLLMCache.put", + "type": "function", + "name": "put", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "RedisLLMCache.put(key, response, query_embedding) 异步方法", + "tags": [ + "RedisLLMCache", + "put" + ], + "complexity": "simple" + }, + { + "id": "func:RedisLLMCache.invalidate", + "type": "function", + "name": "invalidate", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "RedisLLMCache.invalidate(pattern) 异步方法", + "tags": [ + "RedisLLMCache", + "invalidate" + ], + "complexity": "simple" + }, + { + "id": "func:RedisLLMCache.stats", + "type": "function", + "name": "stats", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "RedisLLMCache.stats() 异步方法", + "tags": [ + "RedisLLMCache", + "stats" + ], + "complexity": "simple" + }, + { + "id": "class:CacheConfig", + "type": "class", + "name": "CacheConfig", + "filePath": "src/agentkit/llm/config.py", + "layer": "utility", + "summary": "LLM Cache 配置", + "tags": [ + "CacheConfig" + ], + "complexity": "simple" + }, + { + "id": "func:CacheConfig.from_dict", + "type": "function", + "name": "from_dict", + "filePath": "src/agentkit/llm/config.py", + "layer": "utility", + "summary": "CacheConfig.from_dict(cls, data) 方法", + "tags": [ + "CacheConfig", + "from_dict" + ], + "complexity": "simple" + }, { "id": "class:ProviderConfig", "type": "class", @@ -10808,7 +11803,7 @@ "name": "LLMGateway", "filePath": "src/agentkit/llm/gateway.py", "layer": "utility", - "summary": "LLM 网关 - Provider 注册、模型别名解析、Fallback、Usage 追踪", + "summary": "LLM 网关 - Provider 注册、模型别名解析、Fallback、Usage 追踪、Cache", "tags": [ "LLMGateway" ], @@ -10820,13 +11815,26 @@ "name": "__init__", "filePath": "src/agentkit/llm/gateway.py", "layer": "utility", - "summary": "LLMGateway.__init__(config) 方法", + "summary": "LLMGateway.__init__(config, usage_store) 方法", "tags": [ "LLMGateway", "__init__" ], "complexity": "simple" }, + { + "id": "func:LLMGateway._create_embedder", + "type": "function", + "name": "_create_embedder", + "filePath": "src/agentkit/llm/gateway.py", + "layer": "utility", + "summary": "LLMGateway._create_embedder(cache_config) 方法", + "tags": [ + "LLMGateway", + "_create_embedder" + ], + "complexity": "simple" + }, { "id": "func:LLMGateway.register_provider", "type": "function", @@ -11789,37 +12797,13 @@ ], "complexity": "simple" }, - { - "id": "class:UsageRecord", - "type": "class", - "name": "UsageRecord", - "filePath": "src/agentkit/llm/providers/tracker.py", - "layer": "utility", - "summary": "使用量记录", - "tags": [ - "UsageRecord" - ], - "complexity": "simple" - }, - { - "id": "class:UsageSummary", - "type": "class", - "name": "UsageSummary", - "filePath": "src/agentkit/llm/providers/tracker.py", - "layer": "utility", - "summary": "使用量汇总", - "tags": [ - "UsageSummary" - ], - "complexity": "simple" - }, { "id": "class:UsageTracker", "type": "class", "name": "UsageTracker", "filePath": "src/agentkit/llm/providers/tracker.py", "layer": "utility", - "summary": "使用量追踪器", + "summary": "使用量追踪器 — 委托给可插拔的 UsageStore", "tags": [ "UsageTracker" ], @@ -11831,7 +12815,7 @@ "name": "__init__", "filePath": "src/agentkit/llm/providers/tracker.py", "layer": "utility", - "summary": "UsageTracker.__init__() 方法", + "summary": "UsageTracker.__init__(store) 方法", "tags": [ "UsageTracker", "__init__" @@ -11864,6 +12848,260 @@ ], "complexity": "simple" }, + { + "id": "class:UsageRecord", + "type": "class", + "name": "UsageRecord", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "使用量记录", + "tags": [ + "UsageRecord" + ], + "complexity": "simple" + }, + { + "id": "func:UsageRecord.__post_init__", + "type": "function", + "name": "__post_init__", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "UsageRecord.__post_init__() 方法", + "tags": [ + "UsageRecord", + "__post_init__" + ], + "complexity": "simple" + }, + { + "id": "class:UsageBucket", + "type": "class", + "name": "UsageBucket", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "Aggregated usage for an agent+model pair on a given date.", + "tags": [ + "UsageBucket" + ], + "complexity": "simple" + }, + { + "id": "class:UsageSummary", + "type": "class", + "name": "UsageSummary", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "使用量汇总", + "tags": [ + "UsageSummary" + ], + "complexity": "simple" + }, + { + "id": "class:UsageStore", + "type": "class", + "name": "UsageStore", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "Persistent usage store interface.", + "tags": [ + "UsageStore" + ], + "complexity": "simple" + }, + { + "id": "func:UsageStore.record", + "type": "function", + "name": "record", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "UsageStore.record(agent_name, model, usage, cost, latency_ms) 方法", + "tags": [ + "UsageStore", + "record" + ], + "complexity": "simple" + }, + { + "id": "func:UsageStore.get_usage", + "type": "function", + "name": "get_usage", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "UsageStore.get_usage(agent_name, start_time, end_time) 方法", + "tags": [ + "UsageStore", + "get_usage" + ], + "complexity": "simple" + }, + { + "id": "class:InMemoryUsageStore", + "type": "class", + "name": "InMemoryUsageStore", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "In-memory usage store (drop-in replacement for old UsageTracker).", + "tags": [ + "InMemoryUsageStore" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryUsageStore.__init__", + "type": "function", + "name": "__init__", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "InMemoryUsageStore.__init__() 方法", + "tags": [ + "InMemoryUsageStore", + "__init__" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryUsageStore.record", + "type": "function", + "name": "record", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "InMemoryUsageStore.record(agent_name, model, usage, cost, latency_ms) 方法", + "tags": [ + "InMemoryUsageStore", + "record" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryUsageStore.get_usage", + "type": "function", + "name": "get_usage", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "InMemoryUsageStore.get_usage(agent_name, start_time, end_time) 方法", + "tags": [ + "InMemoryUsageStore", + "get_usage" + ], + "complexity": "simple" + }, + { + "id": "class:RedisUsageStore", + "type": "class", + "name": "RedisUsageStore", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "Redis-backed usage store using Hash per date for O(1) writes.", + "tags": [ + "RedisUsageStore" + ], + "complexity": "moderate" + }, + { + "id": "func:RedisUsageStore.__init__", + "type": "function", + "name": "__init__", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "RedisUsageStore.__init__(redis_url) 方法", + "tags": [ + "RedisUsageStore", + "__init__" + ], + "complexity": "simple" + }, + { + "id": "func:RedisUsageStore._get_redis", + "type": "function", + "name": "_get_redis", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "RedisUsageStore._get_redis() 异步方法", + "tags": [ + "RedisUsageStore", + "_get_redis" + ], + "complexity": "simple" + }, + { + "id": "func:RedisUsageStore._get_sync_redis", + "type": "function", + "name": "_get_sync_redis", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "RedisUsageStore._get_sync_redis() 方法", + "tags": [ + "RedisUsageStore", + "_get_sync_redis" + ], + "complexity": "simple" + }, + { + "id": "func:RedisUsageStore.aclose", + "type": "function", + "name": "aclose", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "RedisUsageStore.aclose() 异步方法", + "tags": [ + "RedisUsageStore", + "aclose" + ], + "complexity": "simple" + }, + { + "id": "func:RedisUsageStore._degrade_to_fallback", + "type": "function", + "name": "_degrade_to_fallback", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "RedisUsageStore._degrade_to_fallback() 方法", + "tags": [ + "RedisUsageStore", + "_degrade_to_fallback" + ], + "complexity": "simple" + }, + { + "id": "func:RedisUsageStore._today_key", + "type": "function", + "name": "_today_key", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "RedisUsageStore._today_key() 方法", + "tags": [ + "RedisUsageStore", + "_today_key" + ], + "complexity": "simple" + }, + { + "id": "func:RedisUsageStore.record", + "type": "function", + "name": "record", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "RedisUsageStore.record(agent_name, model, usage, cost, latency_ms) 方法", + "tags": [ + "RedisUsageStore", + "record" + ], + "complexity": "simple" + }, + { + "id": "func:RedisUsageStore.get_usage", + "type": "function", + "name": "get_usage", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "RedisUsageStore.get_usage(agent_name, start_time, end_time) 方法", + "tags": [ + "RedisUsageStore", + "get_usage" + ], + "complexity": "simple" + }, { "id": "class:WenxinProvider", "type": "class", @@ -18490,7 +19728,7 @@ "name": "__init__", "filePath": "src/agentkit/quality/cascade_detector.py", "layer": "utility", - "summary": "CascadeDetector.__init__(max_interactions, max_depth) 方法", + "summary": "CascadeDetector.__init__(max_interactions, max_depth, store) 方法", "tags": [ "CascadeDetector", "__init__" @@ -18549,6 +19787,341 @@ ], "complexity": "simple" }, + { + "id": "class:CascadeStateStore", + "type": "class", + "name": "CascadeStateStore", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "Persistent cascade detection state interface.", + "tags": [ + "CascadeStateStore" + ], + "complexity": "moderate" + }, + { + "id": "func:CascadeStateStore.increment_interaction", + "type": "function", + "name": "increment_interaction", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "CascadeStateStore.increment_interaction(session_id) 方法", + "tags": [ + "CascadeStateStore", + "increment_interaction" + ], + "complexity": "simple" + }, + { + "id": "func:CascadeStateStore.get_interaction", + "type": "function", + "name": "get_interaction", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "CascadeStateStore.get_interaction(session_id) 方法", + "tags": [ + "CascadeStateStore", + "get_interaction" + ], + "complexity": "simple" + }, + { + "id": "func:CascadeStateStore.set_depth", + "type": "function", + "name": "set_depth", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "CascadeStateStore.set_depth(session_id, depth) 方法", + "tags": [ + "CascadeStateStore", + "set_depth" + ], + "complexity": "simple" + }, + { + "id": "func:CascadeStateStore.get_depth", + "type": "function", + "name": "get_depth", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "CascadeStateStore.get_depth(session_id) 方法", + "tags": [ + "CascadeStateStore", + "get_depth" + ], + "complexity": "simple" + }, + { + "id": "func:CascadeStateStore.reset", + "type": "function", + "name": "reset", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "CascadeStateStore.reset(session_id) 方法", + "tags": [ + "CascadeStateStore", + "reset" + ], + "complexity": "simple" + }, + { + "id": "class:InMemoryCascadeStateStore", + "type": "class", + "name": "InMemoryCascadeStateStore", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "In-memory cascade state store (default, process-local).", + "tags": [ + "InMemoryCascadeStateStore" + ], + "complexity": "complex" + }, + { + "id": "func:InMemoryCascadeStateStore.__init__", + "type": "function", + "name": "__init__", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "InMemoryCascadeStateStore.__init__(session_ttl) 方法", + "tags": [ + "InMemoryCascadeStateStore", + "__init__" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryCascadeStateStore._is_expired", + "type": "function", + "name": "_is_expired", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "InMemoryCascadeStateStore._is_expired(session_id) 方法", + "tags": [ + "InMemoryCascadeStateStore", + "_is_expired" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryCascadeStateStore._cleanup_expired", + "type": "function", + "name": "_cleanup_expired", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "InMemoryCascadeStateStore._cleanup_expired() 方法", + "tags": [ + "InMemoryCascadeStateStore", + "_cleanup_expired" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryCascadeStateStore._touch", + "type": "function", + "name": "_touch", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "InMemoryCascadeStateStore._touch(session_id) 方法", + "tags": [ + "InMemoryCascadeStateStore", + "_touch" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryCascadeStateStore.increment_interaction", + "type": "function", + "name": "increment_interaction", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "InMemoryCascadeStateStore.increment_interaction(session_id) 方法", + "tags": [ + "InMemoryCascadeStateStore", + "increment_interaction" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryCascadeStateStore.get_interaction", + "type": "function", + "name": "get_interaction", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "InMemoryCascadeStateStore.get_interaction(session_id) 方法", + "tags": [ + "InMemoryCascadeStateStore", + "get_interaction" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryCascadeStateStore.set_depth", + "type": "function", + "name": "set_depth", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "InMemoryCascadeStateStore.set_depth(session_id, depth) 方法", + "tags": [ + "InMemoryCascadeStateStore", + "set_depth" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryCascadeStateStore.get_depth", + "type": "function", + "name": "get_depth", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "InMemoryCascadeStateStore.get_depth(session_id) 方法", + "tags": [ + "InMemoryCascadeStateStore", + "get_depth" + ], + "complexity": "simple" + }, + { + "id": "func:InMemoryCascadeStateStore.reset", + "type": "function", + "name": "reset", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "InMemoryCascadeStateStore.reset(session_id) 方法", + "tags": [ + "InMemoryCascadeStateStore", + "reset" + ], + "complexity": "simple" + }, + { + "id": "class:RedisCascadeStateStore", + "type": "class", + "name": "RedisCascadeStateStore", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "Redis-backed cascade state store using INCR for atomic increments.", + "tags": [ + "RedisCascadeStateStore" + ], + "complexity": "complex" + }, + { + "id": "func:RedisCascadeStateStore.__init__", + "type": "function", + "name": "__init__", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "RedisCascadeStateStore.__init__(redis_url, session_ttl) 方法", + "tags": [ + "RedisCascadeStateStore", + "__init__" + ], + "complexity": "simple" + }, + { + "id": "func:RedisCascadeStateStore._get_sync_redis", + "type": "function", + "name": "_get_sync_redis", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "RedisCascadeStateStore._get_sync_redis() 方法", + "tags": [ + "RedisCascadeStateStore", + "_get_sync_redis" + ], + "complexity": "simple" + }, + { + "id": "func:RedisCascadeStateStore._degrade_to_fallback", + "type": "function", + "name": "_degrade_to_fallback", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "RedisCascadeStateStore._degrade_to_fallback() 方法", + "tags": [ + "RedisCascadeStateStore", + "_degrade_to_fallback" + ], + "complexity": "simple" + }, + { + "id": "func:RedisCascadeStateStore.increment_interaction", + "type": "function", + "name": "increment_interaction", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "RedisCascadeStateStore.increment_interaction(session_id) 方法", + "tags": [ + "RedisCascadeStateStore", + "increment_interaction" + ], + "complexity": "simple" + }, + { + "id": "func:RedisCascadeStateStore.get_interaction", + "type": "function", + "name": "get_interaction", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "RedisCascadeStateStore.get_interaction(session_id) 方法", + "tags": [ + "RedisCascadeStateStore", + "get_interaction" + ], + "complexity": "simple" + }, + { + "id": "func:RedisCascadeStateStore.set_depth", + "type": "function", + "name": "set_depth", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "RedisCascadeStateStore.set_depth(session_id, depth) 方法", + "tags": [ + "RedisCascadeStateStore", + "set_depth" + ], + "complexity": "simple" + }, + { + "id": "func:RedisCascadeStateStore.get_depth", + "type": "function", + "name": "get_depth", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "RedisCascadeStateStore.get_depth(session_id) 方法", + "tags": [ + "RedisCascadeStateStore", + "get_depth" + ], + "complexity": "simple" + }, + { + "id": "func:RedisCascadeStateStore.reset", + "type": "function", + "name": "reset", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "RedisCascadeStateStore.reset(session_id) 方法", + "tags": [ + "RedisCascadeStateStore", + "reset" + ], + "complexity": "simple" + }, + { + "id": "func:RedisCascadeStateStore.close", + "type": "function", + "name": "close", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "RedisCascadeStateStore.close() 方法", + "tags": [ + "RedisCascadeStateStore", + "close" + ], + "complexity": "simple" + }, { "id": "class:QualityCheck", "type": "class", @@ -19258,7 +20831,7 @@ "name": "__init__", "filePath": "src/agentkit/server/config.py", "layer": "api", - "summary": "ServerConfig.__init__(host, port, workers, api_key, rate_limit, llm_config, skill_paths, auto_discover_skills, log_level, log_format, task_store, cors_origins, memory, mcp_servers, telemetry, compression, session, bus, marketplace, alignment, router, on_change) 方法", + "summary": "ServerConfig.__init__(host, port, workers, api_key, rate_limit, llm_config, skill_paths, auto_discover_skills, log_level, log_format, task_store, cors_origins, memory, mcp_servers, telemetry, compression, session, bus, marketplace, alignment, router, usage_store, cascade_store, evolution, on_change) 方法", "tags": [ "ServerConfig", "__init__" @@ -24889,6 +26462,109 @@ ], "complexity": "simple" }, + { + "id": "class:LocalComputerUseSession", + "type": "class", + "name": "LocalComputerUseSession", + "filePath": "src/agentkit/tools/computer_use_session.py", + "layer": "utility", + "summary": "本地桌面会话,使用 pyautogui + screencapture。", + "tags": [ + "LocalComputerUseSession" + ], + "complexity": "moderate" + }, + { + "id": "func:LocalComputerUseSession.__init__", + "type": "function", + "name": "__init__", + "filePath": "src/agentkit/tools/computer_use_session.py", + "layer": "utility", + "summary": "LocalComputerUseSession.__init__(session_id, screen_width, screen_height) 方法", + "tags": [ + "LocalComputerUseSession", + "__init__" + ], + "complexity": "simple" + }, + { + "id": "func:LocalComputerUseSession.start", + "type": "function", + "name": "start", + "filePath": "src/agentkit/tools/computer_use_session.py", + "layer": "utility", + "summary": "LocalComputerUseSession.start() 异步方法", + "tags": [ + "LocalComputerUseSession", + "start" + ], + "complexity": "simple" + }, + { + "id": "func:LocalComputerUseSession.stop", + "type": "function", + "name": "stop", + "filePath": "src/agentkit/tools/computer_use_session.py", + "layer": "utility", + "summary": "LocalComputerUseSession.stop() 异步方法", + "tags": [ + "LocalComputerUseSession", + "stop" + ], + "complexity": "simple" + }, + { + "id": "func:LocalComputerUseSession.screenshot", + "type": "function", + "name": "screenshot", + "filePath": "src/agentkit/tools/computer_use_session.py", + "layer": "utility", + "summary": "LocalComputerUseSession.screenshot() 异步方法", + "tags": [ + "LocalComputerUseSession", + "screenshot" + ], + "complexity": "simple" + }, + { + "id": "func:LocalComputerUseSession.execute_action", + "type": "function", + "name": "execute_action", + "filePath": "src/agentkit/tools/computer_use_session.py", + "layer": "utility", + "summary": "LocalComputerUseSession.execute_action(action) 异步方法", + "tags": [ + "LocalComputerUseSession", + "execute_action" + ], + "complexity": "simple" + }, + { + "id": "func:LocalComputerUseSession._validate_coordinates", + "type": "function", + "name": "_validate_coordinates", + "filePath": "src/agentkit/tools/computer_use_session.py", + "layer": "utility", + "summary": "LocalComputerUseSession._validate_coordinates(x, y) 方法", + "tags": [ + "LocalComputerUseSession", + "_validate_coordinates" + ], + "complexity": "simple" + }, + { + "id": "func:LocalComputerUseSession._execute_local_action", + "type": "function", + "name": "_execute_local_action", + "filePath": "src/agentkit/tools/computer_use_session.py", + "layer": "utility", + "summary": "LocalComputerUseSession._execute_local_action(action) 异步方法", + "tags": [ + "LocalComputerUseSession", + "_execute_local_action" + ], + "complexity": "simple" + }, { "id": "class:DockerComputerUseSession", "type": "class", @@ -27015,7 +28691,7 @@ "name": "resolve_skill_routing", "filePath": "src/agentkit/chat/skill_routing.py", "layer": "unknown", - "summary": "resolve_skill_routing(content, skill_registry, intent_router, default_tools, default_system_prompt, default_model, default_agent_name, agent_tool_registry, session_id) 异步函数 → SkillRoutingResult", + "summary": "resolve_skill_routing(content, skill_registry, intent_router, default_tools, default_system_prompt, default_model, default_agent_name, agent_tool_registry, session_id, force_skill) 异步函数 → SkillRoutingResult", "tags": [ "resolve_skill_routing" ], @@ -27519,7 +29195,7 @@ "name": "create_evolution_store", "filePath": "src/agentkit/evolution/evolution_store.py", "layer": "utility", - "summary": "create_evolution_store(backend, db_path, session_factory, evolution_model) 函数 → BinOp(left=BinOp(left=Name(id='EvolutionStore', ctx=Load()), op=BitOr(), right=Name(id='PersistentEvolutionStore', ctx=Load())), op=BitOr(), right=Name(id='InMemoryEvolutionStore', ctx=Load()))", + "summary": "create_evolution_store(backend, db_path, session_factory, evolution_model, database_url) 函数 → BinOp(left=BinOp(left=Name(id='EvolutionStore', ctx=Load()), op=BitOr(), right=Name(id='PersistentEvolutionStore', ctx=Load())), op=BitOr(), right=Name(id='InMemoryEvolutionStore', ctx=Load()))", "tags": [ "create_evolution_store" ], @@ -27537,6 +29213,18 @@ ], "complexity": "moderate" }, + { + "id": "func:_utcnow", + "type": "function", + "name": "_utcnow", + "filePath": "src/agentkit/evolution/pg_store.py", + "layer": "utility", + "summary": "_utcnow() 函数 → datetime", + "tags": [ + "_utcnow" + ], + "complexity": "simple" + }, { "id": "func:_compute_name_similarity", "type": "function", @@ -27609,6 +29297,126 @@ ], "complexity": "moderate" }, + { + "id": "func:_serialize_response", + "type": "function", + "name": "_serialize_response", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "_serialize_response(response) 函数 → dict", + "tags": [ + "_serialize_response" + ], + "complexity": "simple" + }, + { + "id": "func:_deserialize_response", + "type": "function", + "name": "_deserialize_response", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "_deserialize_response(data) 函数 → LLMResponse", + "tags": [ + "_deserialize_response" + ], + "complexity": "simple" + }, + { + "id": "func:_serialize_entry", + "type": "function", + "name": "_serialize_entry", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "_serialize_entry(entry) 函数 → dict", + "tags": [ + "_serialize_entry" + ], + "complexity": "simple" + }, + { + "id": "func:_deserialize_entry", + "type": "function", + "name": "_deserialize_entry", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "_deserialize_entry(data) 函数 → CacheEntry", + "tags": [ + "_deserialize_entry" + ], + "complexity": "simple" + }, + { + "id": "func:create_llm_cache", + "type": "function", + "name": "create_llm_cache", + "filePath": "src/agentkit/llm/cache.py", + "layer": "utility", + "summary": "create_llm_cache(backend, redis_url, max_entries, exact_ttl, semantic_ttl, similarity_threshold) 函数 → LLMCache", + "tags": [ + "create_llm_cache" + ], + "complexity": "simple" + }, + { + "id": "func:generate_cache_key", + "type": "function", + "name": "generate_cache_key", + "filePath": "src/agentkit/llm/cache_key.py", + "layer": "utility", + "summary": "generate_cache_key(model, messages, temperature, tools, tool_choice, max_tokens) 函数 → str", + "tags": [ + "generate_cache_key" + ], + "complexity": "simple" + }, + { + "id": "func:_extract_system_prompt", + "type": "function", + "name": "_extract_system_prompt", + "filePath": "src/agentkit/llm/cache_key.py", + "layer": "utility", + "summary": "_extract_system_prompt(messages) 函数 → str", + "tags": [ + "_extract_system_prompt" + ], + "complexity": "simple" + }, + { + "id": "func:_hash_str", + "type": "function", + "name": "_hash_str", + "filePath": "src/agentkit/llm/cache_key.py", + "layer": "utility", + "summary": "_hash_str(s) 函数 → str", + "tags": [ + "_hash_str" + ], + "complexity": "simple" + }, + { + "id": "func:_hash_json", + "type": "function", + "name": "_hash_json", + "filePath": "src/agentkit/llm/cache_key.py", + "layer": "utility", + "summary": "_hash_json(obj) 函数 → str", + "tags": [ + "_hash_json" + ], + "complexity": "simple" + }, + { + "id": "func:create_usage_store", + "type": "function", + "name": "create_usage_store", + "filePath": "src/agentkit/llm/providers/usage_store.py", + "layer": "utility", + "summary": "create_usage_store(backend, redis_url) 函数 → UsageStore", + "tags": [ + "create_usage_store" + ], + "complexity": "simple" + }, { "id": "func:_is_retryable_error", "type": "function", @@ -27729,6 +29537,18 @@ ], "complexity": "moderate" }, + { + "id": "func:create_cascade_state_store", + "type": "function", + "name": "create_cascade_state_store", + "filePath": "src/agentkit/quality/cascade_state_store.py", + "layer": "utility", + "summary": "create_cascade_state_store(backend, redis_url, session_ttl) 函数 → CascadeStateStore", + "tags": [ + "create_cascade_state_store" + ], + "complexity": "simple" + }, { "id": "func:_build_llm_gateway", "type": "function", @@ -27739,7 +29559,7 @@ "tags": [ "_build_llm_gateway" ], - "complexity": "moderate" + "complexity": "complex" }, { "id": "func:_build_skill_registry", @@ -28905,6 +30725,18 @@ ], "complexity": "moderate" }, + { + "id": "func:mention_suggest", + "type": "function", + "name": "mention_suggest", + "filePath": "src/agentkit/server/routes/skills.py", + "layer": "api", + "summary": "mention_suggest(q, req) 异步函数", + "tags": [ + "mention_suggest" + ], + "complexity": "moderate" + }, { "id": "func:install_skill", "type": "function", @@ -29748,22162 +31580,23296 @@ ], "edges": [ { - "id": "edge:717a9967", + "id": "edge:8ee4f985", "source": "file:src/agentkit/bus/interface.py", "target": "class:MessageBus", "type": "contains", "label": "定义类 MessageBus" }, { - "id": "edge:19af7bc4", + "id": "edge:fdba7527", "source": "class:MessageBus", "target": "func:MessageBus.publish", "type": "contains", "label": "方法 publish" }, { - "id": "edge:02fe14c0", + "id": "edge:c8e54364", "source": "class:MessageBus", "target": "func:MessageBus.subscribe", "type": "contains", "label": "方法 subscribe" }, { - "id": "edge:63c58fa4", + "id": "edge:de510dbd", "source": "class:MessageBus", "target": "func:MessageBus.unsubscribe", "type": "contains", "label": "方法 unsubscribe" }, { - "id": "edge:1c008fc6", + "id": "edge:6a22aafb", "source": "class:MessageBus", "target": "func:MessageBus.request", "type": "contains", "label": "方法 request" }, { - "id": "edge:d4b99660", + "id": "edge:92a0afd8", "source": "file:src/agentkit/bus/memory_bus.py", "target": "class:InMemoryMessageBus", "type": "contains", "label": "定义类 InMemoryMessageBus" }, { - "id": "edge:d23bcf14", + "id": "edge:b100b408", "source": "class:InMemoryMessageBus", "target": "func:InMemoryMessageBus.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:1677c696", + "id": "edge:abb140d4", "source": "class:InMemoryMessageBus", "target": "func:InMemoryMessageBus.publish", "type": "contains", "label": "方法 publish" }, { - "id": "edge:f77af9dc", + "id": "edge:157eaaa9", "source": "class:InMemoryMessageBus", "target": "func:InMemoryMessageBus.subscribe", "type": "contains", "label": "方法 subscribe" }, { - "id": "edge:7e81d148", + "id": "edge:c30d987d", "source": "class:InMemoryMessageBus", "target": "func:InMemoryMessageBus._consume_queue", "type": "contains", "label": "方法 _consume_queue" }, { - "id": "edge:e98e5e70", + "id": "edge:700c53a8", "source": "class:InMemoryMessageBus", "target": "func:InMemoryMessageBus._try_resolve_pending", "type": "contains", "label": "方法 _try_resolve_pending" }, { - "id": "edge:1f0f1fc1", + "id": "edge:9ade7b4f", "source": "class:InMemoryMessageBus", "target": "func:InMemoryMessageBus.unsubscribe", "type": "contains", "label": "方法 unsubscribe" }, { - "id": "edge:b159a8db", + "id": "edge:8e62b9fe", "source": "class:InMemoryMessageBus", "target": "func:InMemoryMessageBus.request", "type": "contains", "label": "方法 request" }, { - "id": "edge:d64e8898", + "id": "edge:fbcb1862", "source": "class:InMemoryMessageBus", "target": "func:InMemoryMessageBus.broadcast", "type": "contains", "label": "方法 broadcast" }, { - "id": "edge:7666bb10", + "id": "edge:0512f3aa", "source": "class:InMemoryMessageBus", "target": "func:InMemoryMessageBus.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:9c736677", + "id": "edge:e60af514", "source": "class:InMemoryMessageBus", "target": "func:InMemoryMessageBus.backend_type", "type": "contains", "label": "方法 backend_type" }, { - "id": "edge:a2b8fbf5", + "id": "edge:bb133ac2", "source": "file:src/agentkit/bus/message.py", "target": "class:AgentMessage", "type": "contains", "label": "定义类 AgentMessage" }, { - "id": "edge:069895ee", + "id": "edge:b44ed6e7", "source": "class:AgentMessage", "target": "func:AgentMessage.is_expired", "type": "contains", "label": "方法 is_expired" }, { - "id": "edge:6e6c3b83", + "id": "edge:3c701693", "source": "class:AgentMessage", "target": "func:AgentMessage.is_broadcast", "type": "contains", "label": "方法 is_broadcast" }, { - "id": "edge:1e0f779b", + "id": "edge:cfc16ca4", "source": "class:AgentMessage", "target": "func:AgentMessage.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:5c7d1d92", + "id": "edge:bd55a0bc", "source": "class:AgentMessage", "target": "func:AgentMessage.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:bd5469ec", + "id": "edge:0f57312a", "source": "file:src/agentkit/bus/protocol.py", "target": "class:MessageBus", "type": "contains", "label": "定义类 MessageBus" }, { - "id": "edge:220ba1a9", + "id": "edge:e56891e5", "source": "class:MessageBus", "target": "func:MessageBus.publish", "type": "contains", "label": "方法 publish" }, { - "id": "edge:2a58836b", + "id": "edge:54286b5a", "source": "class:MessageBus", "target": "func:MessageBus.subscribe", "type": "contains", "label": "方法 subscribe" }, { - "id": "edge:10d4ca9f", + "id": "edge:7c325244", "source": "class:MessageBus", "target": "func:MessageBus.unsubscribe", "type": "contains", "label": "方法 unsubscribe" }, { - "id": "edge:b97acfb1", + "id": "edge:e1d10137", "source": "class:MessageBus", "target": "func:MessageBus.request", "type": "contains", "label": "方法 request" }, { - "id": "edge:eedaffe0", + "id": "edge:d01897bd", "source": "class:MessageBus", "target": "func:MessageBus.broadcast", "type": "contains", "label": "方法 broadcast" }, { - "id": "edge:67f603c5", + "id": "edge:4a699c05", "source": "class:MessageBus", "target": "func:MessageBus.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:4d14c6ea", + "id": "edge:f8fd8df9", "source": "file:src/agentkit/bus/redis_bus.py", "target": "class:RedisMessageBus", "type": "contains", "label": "定义类 RedisMessageBus" }, { - "id": "edge:1e0f868b", + "id": "edge:32440e90", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:737229fe", + "id": "edge:4d3d7e2a", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus._get_redis", "type": "contains", "label": "方法 _get_redis" }, { - "id": "edge:df9d2472", + "id": "edge:f9331664", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus._stream_key", "type": "contains", "label": "方法 _stream_key" }, { - "id": "edge:a5d01203", + "id": "edge:61f43c6c", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus._dead_letter_key", "type": "contains", "label": "方法 _dead_letter_key" }, { - "id": "edge:3583e0c5", + "id": "edge:80193dd0", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus.publish", "type": "contains", "label": "方法 publish" }, { - "id": "edge:fd01ee0a", + "id": "edge:97dafae4", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus.subscribe", "type": "contains", "label": "方法 subscribe" }, { - "id": "edge:b41ac432", + "id": "edge:abba2ca4", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus._consume_stream", "type": "contains", "label": "方法 _consume_stream" }, { - "id": "edge:30a50791", + "id": "edge:3d7d068c", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus._handle_failed_message", "type": "contains", "label": "方法 _handle_failed_message" }, { - "id": "edge:840cf12e", + "id": "edge:f6ea8f5b", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus.unsubscribe", "type": "contains", "label": "方法 unsubscribe" }, { - "id": "edge:6f9ea6af", + "id": "edge:645758f9", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus.request", "type": "contains", "label": "方法 request" }, { - "id": "edge:f86136fa", + "id": "edge:6260f504", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus.broadcast", "type": "contains", "label": "方法 broadcast" }, { - "id": "edge:8ccb888e", + "id": "edge:5f5eeb79", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:127614f2", + "id": "edge:ff66c54b", "source": "class:RedisMessageBus", "target": "func:RedisMessageBus.backend_type", "type": "contains", "label": "方法 backend_type" }, { - "id": "edge:8390f5e9", + "id": "edge:b2049920", + "source": "file:src/agentkit/chat/semantic_router.py", + "target": "class:SemanticRouteResult", + "type": "contains", + "label": "定义类 SemanticRouteResult" + }, + { + "id": "edge:f66be213", + "source": "file:src/agentkit/chat/semantic_router.py", + "target": "class:SkillEmbeddingIndex", + "type": "contains", + "label": "定义类 SkillEmbeddingIndex" + }, + { + "id": "edge:8b25ac4d", + "source": "class:SkillEmbeddingIndex", + "target": "func:SkillEmbeddingIndex.__init__", + "type": "contains", + "label": "方法 __init__" + }, + { + "id": "edge:7affbff4", + "source": "class:SkillEmbeddingIndex", + "target": "func:SkillEmbeddingIndex.build", + "type": "contains", + "label": "方法 build" + }, + { + "id": "edge:be6fa178", + "source": "class:SkillEmbeddingIndex", + "target": "func:SkillEmbeddingIndex.update_skill", + "type": "contains", + "label": "方法 update_skill" + }, + { + "id": "edge:e05fc23e", + "source": "class:SkillEmbeddingIndex", + "target": "func:SkillEmbeddingIndex.remove_skill", + "type": "contains", + "label": "方法 remove_skill" + }, + { + "id": "edge:b3127575", + "source": "class:SkillEmbeddingIndex", + "target": "func:SkillEmbeddingIndex.search", + "type": "contains", + "label": "方法 search" + }, + { + "id": "edge:cb6f96f1", + "source": "class:SkillEmbeddingIndex", + "target": "func:SkillEmbeddingIndex._build_source_text", + "type": "contains", + "label": "方法 _build_source_text" + }, + { + "id": "edge:63894cf1", + "source": "class:SkillEmbeddingIndex", + "target": "func:SkillEmbeddingIndex.size", + "type": "contains", + "label": "方法 size" + }, + { + "id": "edge:f3f7bee8", + "source": "file:src/agentkit/chat/semantic_router.py", + "target": "class:SemanticRouter", + "type": "contains", + "label": "定义类 SemanticRouter" + }, + { + "id": "edge:3cebf779", + "source": "class:SemanticRouter", + "target": "func:SemanticRouter.__init__", + "type": "contains", + "label": "方法 __init__" + }, + { + "id": "edge:f5c66302", + "source": "class:SemanticRouter", + "target": "func:SemanticRouter.build_index", + "type": "contains", + "label": "方法 build_index" + }, + { + "id": "edge:270873f2", + "source": "class:SemanticRouter", + "target": "func:SemanticRouter.update_skill", + "type": "contains", + "label": "方法 update_skill" + }, + { + "id": "edge:cfe8d51f", + "source": "class:SemanticRouter", + "target": "func:SemanticRouter.remove_skill", + "type": "contains", + "label": "方法 remove_skill" + }, + { + "id": "edge:e3dbd610", + "source": "class:SemanticRouter", + "target": "func:SemanticRouter.route", + "type": "contains", + "label": "方法 route" + }, + { + "id": "edge:ba88bd96", "source": "file:src/agentkit/chat/skill_routing.py", "target": "class:ExecutionMode", "type": "contains", "label": "定义类 ExecutionMode" }, { - "id": "edge:86faf6ab", + "id": "edge:c087f43d", "source": "file:src/agentkit/chat/skill_routing.py", "target": "class:SkillRoutingResult", "type": "contains", "label": "定义类 SkillRoutingResult" }, { - "id": "edge:3192daef", + "id": "edge:d1538ba5", "source": "file:src/agentkit/chat/skill_routing.py", "target": "class:HeuristicClassifier", "type": "contains", "label": "定义类 HeuristicClassifier" }, { - "id": "edge:e052dbdd", + "id": "edge:97ef5b0e", "source": "class:HeuristicClassifier", "target": "func:HeuristicClassifier.classify", "type": "contains", "label": "方法 classify" }, { - "id": "edge:0284fbdf", + "id": "edge:5a56c960", "source": "file:src/agentkit/chat/skill_routing.py", "target": "class:CostAwareRouter", "type": "contains", "label": "定义类 CostAwareRouter" }, { - "id": "edge:f66b7c62", + "id": "edge:4990de00", "source": "class:CostAwareRouter", "target": "func:CostAwareRouter.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:d03386e3", + "id": "edge:ab1f09de", "source": "class:CostAwareRouter", "target": "func:CostAwareRouter._match_layer0", "type": "contains", "label": "方法 _match_layer0" }, { - "id": "edge:e8217584", + "id": "edge:545f5197", "source": "class:CostAwareRouter", "target": "func:CostAwareRouter.quick_classify", "type": "contains", "label": "方法 quick_classify" }, { - "id": "edge:52fafce5", + "id": "edge:173bc9da", "source": "class:CostAwareRouter", "target": "func:CostAwareRouter._classify_merged", "type": "contains", "label": "方法 _classify_merged" }, { - "id": "edge:a4c1a077", + "id": "edge:8cbeb570", "source": "class:CostAwareRouter", "target": "func:CostAwareRouter._route_layer2", "type": "contains", "label": "方法 _route_layer2" }, { - "id": "edge:6a2e99e5", + "id": "edge:d7482799", "source": "class:CostAwareRouter", "target": "func:CostAwareRouter.route", "type": "contains", "label": "方法 route" }, { - "id": "edge:6fc0e0c8", + "id": "edge:e9a687a2", "source": "file:src/agentkit/core/agent_pool.py", "target": "class:AgentPool", "type": "contains", "label": "定义类 AgentPool" }, { - "id": "edge:f41bd1b1", + "id": "edge:14bf9c7c", "source": "class:AgentPool", "target": "func:AgentPool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:58128fdc", + "id": "edge:b40d6bc9", "source": "class:AgentPool", "target": "func:AgentPool.create_agent", "type": "contains", "label": "方法 create_agent" }, { - "id": "edge:ac347f10", + "id": "edge:f5958d3b", "source": "class:AgentPool", "target": "func:AgentPool.remove_agent", "type": "contains", "label": "方法 remove_agent" }, { - "id": "edge:d4aa17be", + "id": "edge:65c5f841", "source": "class:AgentPool", "target": "func:AgentPool.get_agent", "type": "contains", "label": "方法 get_agent" }, { - "id": "edge:0f0b8b53", + "id": "edge:13bcfb9d", "source": "class:AgentPool", "target": "func:AgentPool.list_agents", "type": "contains", "label": "方法 list_agents" }, { - "id": "edge:fabbfd04", + "id": "edge:2a62206d", "source": "class:AgentPool", "target": "func:AgentPool.create_agent_from_skill", "type": "contains", "label": "方法 create_agent_from_skill" }, { - "id": "edge:4e4825fc", + "id": "edge:699f7ce8", "source": "file:src/agentkit/core/base.py", "target": "class:BaseAgent", "type": "contains", "label": "定义类 BaseAgent" }, { - "id": "edge:77e1df27", + "id": "edge:619e4f3c", "source": "class:BaseAgent", "target": "func:BaseAgent.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:41281374", + "id": "edge:b58c6c02", "source": "class:BaseAgent", "target": "func:BaseAgent.status", "type": "contains", "label": "方法 status" }, { - "id": "edge:8b8ee391", + "id": "edge:482b0284", "source": "class:BaseAgent", "target": "func:BaseAgent.config_version", "type": "contains", "label": "方法 config_version" }, { - "id": "edge:3b28af12", + "id": "edge:cef85095", "source": "class:BaseAgent", "target": "func:BaseAgent.is_distributed", "type": "contains", "label": "方法 is_distributed" }, { - "id": "edge:3002e08e", + "id": "edge:c6432701", "source": "class:BaseAgent", "target": "func:BaseAgent._acquire_status_lock", "type": "contains", "label": "方法 _acquire_status_lock" }, { - "id": "edge:474f21e5", + "id": "edge:bf665747", "source": "class:BaseAgent", "target": "func:BaseAgent._release_status_lock", "type": "contains", "label": "方法 _release_status_lock" }, { - "id": "edge:6039df9e", + "id": "edge:c6f3fadb", "source": "class:BaseAgent", "target": "func:BaseAgent.tools", "type": "contains", "label": "方法 tools" }, { - "id": "edge:28833e47", + "id": "edge:90c6f0b8", "source": "class:BaseAgent", "target": "func:BaseAgent.memory", "type": "contains", "label": "方法 memory" }, { - "id": "edge:23ddc328", + "id": "edge:4c4067d2", "source": "class:BaseAgent", "target": "func:BaseAgent.llm_gateway", "type": "contains", "label": "方法 llm_gateway" }, { - "id": "edge:73c0685d", + "id": "edge:61f65cfb", "source": "class:BaseAgent", "target": "func:BaseAgent.llm_gateway", "type": "contains", "label": "方法 llm_gateway" }, { - "id": "edge:2a8d82ef", + "id": "edge:b41b6af1", "source": "class:BaseAgent", "target": "func:BaseAgent.skill", "type": "contains", "label": "方法 skill" }, { - "id": "edge:2e79a683", + "id": "edge:b38cfa25", "source": "class:BaseAgent", "target": "func:BaseAgent.skill", "type": "contains", "label": "方法 skill" }, { - "id": "edge:07b726a7", + "id": "edge:fc26ada1", "source": "class:BaseAgent", "target": "func:BaseAgent.quality_gate", "type": "contains", "label": "方法 quality_gate" }, { - "id": "edge:ca479889", + "id": "edge:5303d536", "source": "class:BaseAgent", "target": "func:BaseAgent.handle_task", "type": "contains", "label": "方法 handle_task" }, { - "id": "edge:ddc335d7", + "id": "edge:cbc37ece", "source": "class:BaseAgent", "target": "func:BaseAgent.get_capabilities", "type": "contains", "label": "方法 get_capabilities" }, { - "id": "edge:4756ea8f", + "id": "edge:bd6c7cf3", "source": "class:BaseAgent", "target": "func:BaseAgent.on_task_start", "type": "contains", "label": "方法 on_task_start" }, { - "id": "edge:842e49cb", + "id": "edge:4e7293de", "source": "class:BaseAgent", "target": "func:BaseAgent.on_task_complete", "type": "contains", "label": "方法 on_task_complete" }, { - "id": "edge:6b92ca2f", + "id": "edge:a19ca4a9", "source": "class:BaseAgent", "target": "func:BaseAgent.on_task_failed", "type": "contains", "label": "方法 on_task_failed" }, { - "id": "edge:3aa31e80", + "id": "edge:86615689", "source": "class:BaseAgent", "target": "func:BaseAgent.handle_task_with_feedback", "type": "contains", "label": "方法 handle_task_with_feedback" }, { - "id": "edge:917dad5a", + "id": "edge:a61853b5", "source": "class:BaseAgent", "target": "func:BaseAgent._build_quality_feedback", "type": "contains", "label": "方法 _build_quality_feedback" }, { - "id": "edge:a8bc42cb", + "id": "edge:4dd3f3a0", "source": "class:BaseAgent", "target": "func:BaseAgent.use_tool", "type": "contains", "label": "方法 use_tool" }, { - "id": "edge:abf1dbda", + "id": "edge:0fab1ead", "source": "class:BaseAgent", "target": "func:BaseAgent.use_memory", "type": "contains", "label": "方法 use_memory" }, { - "id": "edge:81f07fee", + "id": "edge:c8cf80f4", "source": "class:BaseAgent", "target": "func:BaseAgent.use_memory_retriever", "type": "contains", "label": "方法 use_memory_retriever" }, { - "id": "edge:5e4f6cc1", + "id": "edge:9018ef99", "source": "class:BaseAgent", "target": "func:BaseAgent.set_registry", "type": "contains", "label": "方法 set_registry" }, { - "id": "edge:0dbcaf8c", + "id": "edge:19678e55", "source": "class:BaseAgent", "target": "func:BaseAgent.set_dispatcher", "type": "contains", "label": "方法 set_dispatcher" }, { - "id": "edge:dc949b76", + "id": "edge:eec3744d", "source": "class:BaseAgent", "target": "func:BaseAgent.start", "type": "contains", "label": "方法 start" }, { - "id": "edge:600918b0", + "id": "edge:a8066e45", "source": "class:BaseAgent", "target": "func:BaseAgent.stop", "type": "contains", "label": "方法 stop" }, { - "id": "edge:56749b18", + "id": "edge:38fa7dd1", "source": "class:BaseAgent", "target": "func:BaseAgent.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:6e116ecc", + "id": "edge:e916cf84", "source": "class:BaseAgent", "target": "func:BaseAgent.cancel_task", "type": "contains", "label": "方法 cancel_task" }, { - "id": "edge:70119a3a", + "id": "edge:86216335", "source": "class:BaseAgent", "target": "func:BaseAgent.handoff", "type": "contains", "label": "方法 handoff" }, { - "id": "edge:7841f452", + "id": "edge:671f9e4f", "source": "class:BaseAgent", "target": "func:BaseAgent.report_progress", "type": "contains", "label": "方法 report_progress" }, { - "id": "edge:50ae7246", + "id": "edge:b28ae804", "source": "class:BaseAgent", "target": "func:BaseAgent.heartbeat", "type": "contains", "label": "方法 heartbeat" }, { - "id": "edge:ed4fd9f6", + "id": "edge:76a5754c", "source": "class:BaseAgent", "target": "func:BaseAgent._heartbeat_loop", "type": "contains", "label": "方法 _heartbeat_loop" }, { - "id": "edge:ead0b5d4", + "id": "edge:8c795ea5", "source": "class:BaseAgent", "target": "func:BaseAgent._listen_for_tasks", "type": "contains", "label": "方法 _listen_for_tasks" }, { - "id": "edge:2b523773", + "id": "edge:0e565c7f", "source": "class:BaseAgent", "target": "func:BaseAgent._execute_task_with_semaphore", "type": "contains", "label": "方法 _execute_task_with_semaphore" }, { - "id": "edge:00c92168", + "id": "edge:dc7c1712", "source": "class:BaseAgent", "target": "func:BaseAgent._execute_task", "type": "contains", "label": "方法 _execute_task" }, { - "id": "edge:6a4b840b", + "id": "edge:52687200", "source": "class:BaseAgent", "target": "func:BaseAgent._validate_input", "type": "contains", "label": "方法 _validate_input" }, { - "id": "edge:2085bfd4", + "id": "edge:8c208495", "source": "file:src/agentkit/core/compressor.py", "target": "class:CompressionStrategy", "type": "contains", "label": "定义类 CompressionStrategy" }, { - "id": "edge:f12acb2e", + "id": "edge:8bae4a13", "source": "class:CompressionStrategy", "target": "func:CompressionStrategy.compress", "type": "contains", "label": "方法 compress" }, { - "id": "edge:989f1f26", + "id": "edge:7ebb01b1", "source": "class:CompressionStrategy", "target": "func:CompressionStrategy.compress_tool_result", "type": "contains", "label": "方法 compress_tool_result" }, { - "id": "edge:7fe52bd3", + "id": "edge:dc195356", "source": "class:CompressionStrategy", "target": "func:CompressionStrategy.is_available", "type": "contains", "label": "方法 is_available" }, { - "id": "edge:0a5d068a", + "id": "edge:4abfcdf7", "source": "file:src/agentkit/core/compressor.py", "target": "class:ContextCompressor", "type": "contains", "label": "定义类 ContextCompressor" }, { - "id": "edge:052f8b9e", + "id": "edge:2fb7be7c", "source": "class:ContextCompressor", "target": "func:ContextCompressor.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:cf78e6dc", + "id": "edge:ef7efb10", "source": "class:ContextCompressor", "target": "func:ContextCompressor.estimate_tokens", "type": "contains", "label": "方法 estimate_tokens" }, { - "id": "edge:e80bebea", + "id": "edge:8d5f800c", "source": "class:ContextCompressor", "target": "func:ContextCompressor.compress", "type": "contains", "label": "方法 compress" }, { - "id": "edge:46d3b077", + "id": "edge:fa738deb", "source": "class:ContextCompressor", "target": "func:ContextCompressor._summarize", "type": "contains", "label": "方法 _summarize" }, { - "id": "edge:9ae2807b", + "id": "edge:5571b733", "source": "class:ContextCompressor", "target": "func:ContextCompressor._simple_summary", "type": "contains", "label": "方法 _simple_summary" }, { - "id": "edge:d03184ed", + "id": "edge:7cfdb7b7", "source": "class:ContextCompressor", "target": "func:ContextCompressor._compress_aggressive", "type": "contains", "label": "方法 _compress_aggressive" }, { - "id": "edge:6dbf8ab3", + "id": "edge:dd1e7b0b", "source": "class:ContextCompressor", "target": "func:ContextCompressor._truncate", "type": "contains", "label": "方法 _truncate" }, { - "id": "edge:17f9b75f", + "id": "edge:f9f7fb01", "source": "class:ContextCompressor", "target": "func:ContextCompressor.compress_tool_result", "type": "contains", "label": "方法 compress_tool_result" }, { - "id": "edge:acbb83d4", + "id": "edge:2c028a2e", "source": "class:ContextCompressor", "target": "func:ContextCompressor.is_available", "type": "contains", "label": "方法 is_available" }, { - "id": "edge:6d6221ca", + "id": "edge:e4d74bdd", "source": "file:src/agentkit/core/config_driven.py", "target": "class:AgentConfig", "type": "contains", "label": "定义类 AgentConfig" }, { - "id": "edge:0a3b5365", + "id": "edge:2712e1ba", "source": "class:AgentConfig", "target": "func:AgentConfig.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:4e317996", + "id": "edge:0f15d71e", "source": "class:AgentConfig", "target": "func:AgentConfig._validate", "type": "contains", "label": "方法 _validate" }, { - "id": "edge:3ef94b77", + "id": "edge:da035016", "source": "class:AgentConfig", "target": "func:AgentConfig.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:633d2182", + "id": "edge:ab891784", "source": "class:AgentConfig", "target": "func:AgentConfig.from_yaml", "type": "contains", "label": "方法 from_yaml" }, { - "id": "edge:b55d0c99", + "id": "edge:9a27c789", "source": "class:AgentConfig", "target": "func:AgentConfig.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:86b08cfb", + "id": "edge:ed4dae03", "source": "file:src/agentkit/core/config_driven.py", "target": "class:ConfigDrivenAgent", "type": "contains", "label": "定义类 ConfigDrivenAgent" }, { - "id": "edge:944ad973", + "id": "edge:79e8e1d8", "source": "class:ConfigDrivenAgent", "target": "class:BaseAgent", "type": "extends", "label": "继承 BaseAgent" }, { - "id": "edge:fb448e7e", + "id": "edge:fed9f30f", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:548d38b4", + "id": "edge:d120f884", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.get_tools", "type": "contains", "label": "方法 get_tools" }, { - "id": "edge:69091b57", + "id": "edge:f808bad7", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.get_model", "type": "contains", "label": "方法 get_model" }, { - "id": "edge:5ae32376", + "id": "edge:fe7d33cb", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.get_system_prompt", "type": "contains", "label": "方法 get_system_prompt" }, { - "id": "edge:48542d0f", + "id": "edge:774f6ff6", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._build_tools_description", "type": "contains", "label": "方法 _build_tools_description" }, { - "id": "edge:21306c2a", + "id": "edge:5808460a", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.get_react_config", "type": "contains", "label": "方法 get_react_config" }, { - "id": "edge:4199677c", + "id": "edge:9f1456e1", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.config", "type": "contains", "label": "方法 config" }, { - "id": "edge:5e3be3ac", + "id": "edge:5c4258b0", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.prompt_template", "type": "contains", "label": "方法 prompt_template" }, { - "id": "edge:f6f0a9b8", + "id": "edge:b726e180", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.on_task_complete", "type": "contains", "label": "方法 on_task_complete" }, { - "id": "edge:9367d87f", + "id": "edge:bb20d681", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.on_task_failed", "type": "contains", "label": "方法 on_task_failed" }, { - "id": "edge:f65f566d", + "id": "edge:27a79745", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._bind_tools", "type": "contains", "label": "方法 _bind_tools" }, { - "id": "edge:e5630f04", + "id": "edge:5e7b2514", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._auto_set_current_module", "type": "contains", "label": "方法 _auto_set_current_module" }, { - "id": "edge:f956e978", + "id": "edge:8309863b", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._register_mcp_tools", "type": "contains", "label": "方法 _register_mcp_tools" }, { - "id": "edge:e6eedd84", + "id": "edge:be99ddef", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.get_capabilities", "type": "contains", "label": "方法 get_capabilities" }, { - "id": "edge:53ba430d", + "id": "edge:76ab119b", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.handle_task", "type": "contains", "label": "方法 handle_task" }, { - "id": "edge:5b60e6ac", + "id": "edge:e41f5a30", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._handle_react", "type": "contains", "label": "方法 _handle_react" }, { - "id": "edge:916ed28e", + "id": "edge:b66cc4d2", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._handle_rewoo", "type": "contains", "label": "方法 _handle_rewoo" }, { - "id": "edge:5f1f21cf", + "id": "edge:c91e80da", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._handle_plan_exec", "type": "contains", "label": "方法 _handle_plan_exec" }, { - "id": "edge:46233b24", + "id": "edge:d29e267a", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._handle_reflexion", "type": "contains", "label": "方法 _handle_reflexion" }, { - "id": "edge:9d592c89", + "id": "edge:8bcc583f", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._handle_direct", "type": "contains", "label": "方法 _handle_direct" }, { - "id": "edge:b440c60a", + "id": "edge:8739661c", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent.handle_task_with_feedback", "type": "contains", "label": "方法 handle_task_with_feedback" }, { - "id": "edge:e660f5ff", + "id": "edge:0cee4700", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._wrap_llm_client", "type": "contains", "label": "方法 _wrap_llm_client" }, { - "id": "edge:06afeeee", + "id": "edge:c1bb1643", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._handle_llm_generate", "type": "contains", "label": "方法 _handle_llm_generate" }, { - "id": "edge:6d96e336", + "id": "edge:426c2676", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._handle_tool_call", "type": "contains", "label": "方法 _handle_tool_call" }, { - "id": "edge:924edb6b", + "id": "edge:b28e4fc9", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._handle_custom", "type": "contains", "label": "方法 _handle_custom" }, { - "id": "edge:72b7ffb2", + "id": "edge:41c6cb8f", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._resolve_tool", "type": "contains", "label": "方法 _resolve_tool" }, { - "id": "edge:3a6e9e56", + "id": "edge:8f488dd5", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._call_llm", "type": "contains", "label": "方法 _call_llm" }, { - "id": "edge:486aa0ca", + "id": "edge:aad5f222", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._parse_llm_response", "type": "contains", "label": "方法 _parse_llm_response" }, { - "id": "edge:934a4761", + "id": "edge:83dc2348", "source": "class:ConfigDrivenAgent", "target": "func:ConfigDrivenAgent._import_handler", "type": "contains", "label": "方法 _import_handler" }, { - "id": "edge:85517173", + "id": "edge:58fecc38", "source": "file:src/agentkit/core/dispatcher.py", "target": "class:TaskDispatcher", "type": "contains", "label": "定义类 TaskDispatcher" }, { - "id": "edge:9a526d11", + "id": "edge:833ce904", "source": "class:TaskDispatcher", "target": "func:TaskDispatcher.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:839edc35", + "id": "edge:13c500d8", "source": "class:TaskDispatcher", "target": "func:TaskDispatcher._get_redis", "type": "contains", "label": "方法 _get_redis" }, { - "id": "edge:a53bd22c", + "id": "edge:aec89097", "source": "class:TaskDispatcher", "target": "func:TaskDispatcher.dispatch", "type": "contains", "label": "方法 dispatch" }, { - "id": "edge:b09f78a5", + "id": "edge:8807214c", "source": "class:TaskDispatcher", "target": "func:TaskDispatcher.cancel_task", "type": "contains", "label": "方法 cancel_task" }, { - "id": "edge:8b0b42bc", + "id": "edge:7fd78c6e", "source": "class:TaskDispatcher", "target": "func:TaskDispatcher.get_task_status", "type": "contains", "label": "方法 get_task_status" }, { - "id": "edge:fb5cd1ec", + "id": "edge:39e8b4dc", "source": "class:TaskDispatcher", "target": "func:TaskDispatcher.handle_result", "type": "contains", "label": "方法 handle_result" }, { - "id": "edge:56665e07", + "id": "edge:e6fe8bb9", "source": "class:TaskDispatcher", "target": "func:TaskDispatcher.handle_progress", "type": "contains", "label": "方法 handle_progress" }, { - "id": "edge:a170ea6d", + "id": "edge:7d1ca7c4", "source": "class:TaskDispatcher", "target": "func:TaskDispatcher.retry_failed_tasks", "type": "contains", "label": "方法 retry_failed_tasks" }, { - "id": "edge:554fd5a0", + "id": "edge:847f24cb", "source": "class:TaskDispatcher", "target": "func:TaskDispatcher._write_log", "type": "contains", "label": "方法 _write_log" }, { - "id": "edge:bfc7a946", + "id": "edge:88cf3be6", "source": "class:TaskDispatcher", "target": "func:TaskDispatcher._trigger_callback", "type": "contains", "label": "方法 _trigger_callback" }, { - "id": "edge:586bc7d2", + "id": "edge:5da85061", "source": "class:TaskDispatcher", "target": "func:TaskDispatcher._task_to_dict", "type": "contains", "label": "方法 _task_to_dict" }, { - "id": "edge:384c7ce9", + "id": "edge:d2b6805d", "source": "file:src/agentkit/core/exceptions.py", "target": "class:AgentFrameworkError", "type": "contains", "label": "定义类 AgentFrameworkError" }, { - "id": "edge:f74fe0c4", + "id": "edge:856d5500", "source": "class:AgentFrameworkError", "target": "func:AgentFrameworkError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:a86e7211", + "id": "edge:c866c08d", "source": "file:src/agentkit/core/exceptions.py", "target": "class:AgentNotFoundError", "type": "contains", "label": "定义类 AgentNotFoundError" }, { - "id": "edge:10897225", + "id": "edge:3b5b3f05", "source": "class:AgentNotFoundError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:7950a477", + "id": "edge:be579b17", "source": "class:AgentNotFoundError", "target": "func:AgentNotFoundError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:6ad97edc", + "id": "edge:cbf43383", "source": "file:src/agentkit/core/exceptions.py", "target": "class:AgentAlreadyRegisteredError", "type": "contains", "label": "定义类 AgentAlreadyRegisteredError" }, { - "id": "edge:e8424fc3", + "id": "edge:cc9ab182", "source": "class:AgentAlreadyRegisteredError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:aeef56f5", + "id": "edge:9285fe66", "source": "class:AgentAlreadyRegisteredError", "target": "func:AgentAlreadyRegisteredError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:17d802e1", + "id": "edge:a300a695", "source": "file:src/agentkit/core/exceptions.py", "target": "class:AgentUnavailableError", "type": "contains", "label": "定义类 AgentUnavailableError" }, { - "id": "edge:218ba661", + "id": "edge:452cedaf", "source": "class:AgentUnavailableError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:75546060", + "id": "edge:06d90153", "source": "class:AgentUnavailableError", "target": "func:AgentUnavailableError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:09276c9a", + "id": "edge:192e009e", "source": "file:src/agentkit/core/exceptions.py", "target": "class:TaskNotFoundError", "type": "contains", "label": "定义类 TaskNotFoundError" }, { - "id": "edge:ffe50bf6", + "id": "edge:97e2e58c", "source": "class:TaskNotFoundError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:c1dbd936", + "id": "edge:5110a3ac", "source": "class:TaskNotFoundError", "target": "func:TaskNotFoundError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:979d0f35", + "id": "edge:4746b49a", "source": "file:src/agentkit/core/exceptions.py", "target": "class:TaskDispatchError", "type": "contains", "label": "定义类 TaskDispatchError" }, { - "id": "edge:14aba424", + "id": "edge:8e852160", "source": "class:TaskDispatchError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:c53e10a2", + "id": "edge:f2b6bca1", "source": "class:TaskDispatchError", "target": "func:TaskDispatchError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:6529eb71", + "id": "edge:7f99c112", "source": "file:src/agentkit/core/exceptions.py", "target": "class:TaskExecutionError", "type": "contains", "label": "定义类 TaskExecutionError" }, { - "id": "edge:8f7b5109", + "id": "edge:6d3e5bb0", "source": "class:TaskExecutionError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:bce96133", + "id": "edge:ed26d6cc", "source": "class:TaskExecutionError", "target": "func:TaskExecutionError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:731c5a42", + "id": "edge:10277f7d", "source": "file:src/agentkit/core/exceptions.py", "target": "class:TaskTimeoutError", "type": "contains", "label": "定义类 TaskTimeoutError" }, { - "id": "edge:8b20c625", + "id": "edge:936095e9", "source": "class:TaskTimeoutError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:4687edc3", + "id": "edge:20c9e639", "source": "class:TaskTimeoutError", "target": "func:TaskTimeoutError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:573283b3", + "id": "edge:05621f1e", "source": "file:src/agentkit/core/exceptions.py", "target": "class:TaskCancelledError", "type": "contains", "label": "定义类 TaskCancelledError" }, { - "id": "edge:84644d54", + "id": "edge:6326dfa4", "source": "class:TaskCancelledError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:b101f6e6", + "id": "edge:3a9e5927", "source": "class:TaskCancelledError", "target": "func:TaskCancelledError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:1e3a41b5", + "id": "edge:df315165", "source": "file:src/agentkit/core/exceptions.py", "target": "class:NoAvailableAgentError", "type": "contains", "label": "定义类 NoAvailableAgentError" }, { - "id": "edge:69dffc47", + "id": "edge:6923c287", "source": "class:NoAvailableAgentError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:af66a534", + "id": "edge:96b2df7c", "source": "class:NoAvailableAgentError", "target": "func:NoAvailableAgentError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8c3528b8", + "id": "edge:86c76ca2", "source": "file:src/agentkit/core/exceptions.py", "target": "class:ConfigValidationError", "type": "contains", "label": "定义类 ConfigValidationError" }, { - "id": "edge:970c05a7", + "id": "edge:adc05273", "source": "class:ConfigValidationError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:5f0095d1", + "id": "edge:5a5640a1", "source": "class:ConfigValidationError", "target": "func:ConfigValidationError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:fcf0b39a", + "id": "edge:a0f95e6d", "source": "file:src/agentkit/core/exceptions.py", "target": "class:AgentNotReadyError", "type": "contains", "label": "定义类 AgentNotReadyError" }, { - "id": "edge:8467244e", + "id": "edge:eff38ce5", "source": "class:AgentNotReadyError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:a7a13ecb", + "id": "edge:daba7647", "source": "class:AgentNotReadyError", "target": "func:AgentNotReadyError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b5777567", + "id": "edge:d140b162", "source": "file:src/agentkit/core/exceptions.py", "target": "class:SkillNotFoundError", "type": "contains", "label": "定义类 SkillNotFoundError" }, { - "id": "edge:66330410", + "id": "edge:11b6d92d", "source": "class:SkillNotFoundError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:3854de26", + "id": "edge:df706fe4", "source": "class:SkillNotFoundError", "target": "func:SkillNotFoundError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:48b28f36", + "id": "edge:754fe802", "source": "file:src/agentkit/core/exceptions.py", "target": "class:ToolNotFoundError", "type": "contains", "label": "定义类 ToolNotFoundError" }, { - "id": "edge:0963e5a3", + "id": "edge:0f515c73", "source": "class:ToolNotFoundError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:00a44c97", + "id": "edge:de8e6810", "source": "class:ToolNotFoundError", "target": "func:ToolNotFoundError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:cce4505f", + "id": "edge:97bf1a71", "source": "file:src/agentkit/core/exceptions.py", "target": "class:ToolExecutionError", "type": "contains", "label": "定义类 ToolExecutionError" }, { - "id": "edge:76e23637", + "id": "edge:bd42c8eb", "source": "class:ToolExecutionError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:bc4d29b4", + "id": "edge:c088ae30", "source": "class:ToolExecutionError", "target": "func:ToolExecutionError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:80b6e7c9", + "id": "edge:108cb79c", "source": "file:src/agentkit/core/exceptions.py", "target": "class:SchemaValidationError", "type": "contains", "label": "定义类 SchemaValidationError" }, { - "id": "edge:8d63b014", + "id": "edge:65d6b4f6", "source": "class:SchemaValidationError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:52a3fb1a", + "id": "edge:ff1a8351", "source": "class:SchemaValidationError", "target": "func:SchemaValidationError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:aca602a0", + "id": "edge:c982e81d", "source": "file:src/agentkit/core/exceptions.py", "target": "class:HandoffError", "type": "contains", "label": "定义类 HandoffError" }, { - "id": "edge:d95137b5", + "id": "edge:098f8595", "source": "class:HandoffError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:df6041ce", + "id": "edge:3e18af1e", "source": "class:HandoffError", "target": "func:HandoffError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:6e57e056", + "id": "edge:f3403faa", "source": "file:src/agentkit/core/exceptions.py", "target": "class:EvolutionError", "type": "contains", "label": "定义类 EvolutionError" }, { - "id": "edge:c7524713", + "id": "edge:4e6206a6", "source": "class:EvolutionError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:c1b83ac3", + "id": "edge:fc8d2828", "source": "class:EvolutionError", "target": "func:EvolutionError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b292b505", + "id": "edge:3eede3c9", "source": "file:src/agentkit/core/exceptions.py", "target": "class:LLMError", "type": "contains", "label": "定义类 LLMError" }, { - "id": "edge:ef534984", + "id": "edge:7b86e948", "source": "class:LLMError", "target": "class:AgentFrameworkError", "type": "extends", "label": "继承 AgentFrameworkError" }, { - "id": "edge:1d75e66f", + "id": "edge:fdf9e1d6", "source": "class:LLMError", "target": "func:LLMError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:4fc877dd", + "id": "edge:bb784a92", "source": "file:src/agentkit/core/exceptions.py", "target": "class:LLMProviderError", "type": "contains", "label": "定义类 LLMProviderError" }, { - "id": "edge:d9c993a8", + "id": "edge:4cda9c33", "source": "class:LLMProviderError", "target": "class:LLMError", "type": "extends", "label": "继承 LLMError" }, { - "id": "edge:4a867aff", + "id": "edge:70df55c0", "source": "class:LLMProviderError", "target": "func:LLMProviderError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:5d5bc4c5", + "id": "edge:b4d7274a", "source": "file:src/agentkit/core/exceptions.py", "target": "class:ModelNotFoundError", "type": "contains", "label": "定义类 ModelNotFoundError" }, { - "id": "edge:2cf541ee", + "id": "edge:c000283d", "source": "class:ModelNotFoundError", "target": "class:LLMError", "type": "extends", "label": "继承 LLMError" }, { - "id": "edge:1aa86abb", + "id": "edge:845ceac4", "source": "class:ModelNotFoundError", "target": "func:ModelNotFoundError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:47386aa4", + "id": "edge:c5c23e75", "source": "file:src/agentkit/core/goal_planner.py", "target": "class:GoalPlanner", "type": "contains", "label": "定义类 GoalPlanner" }, { - "id": "edge:8fb2958c", + "id": "edge:e25dc94f", "source": "class:GoalPlanner", "target": "func:GoalPlanner.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:0bd774f9", + "id": "edge:2ce5d553", "source": "class:GoalPlanner", "target": "func:GoalPlanner.generate_plan", "type": "contains", "label": "方法 generate_plan" }, { - "id": "edge:0edc51c3", + "id": "edge:d92a975c", "source": "class:GoalPlanner", "target": "func:GoalPlanner._rule_based_decompose", "type": "contains", "label": "方法 _rule_based_decompose" }, { - "id": "edge:51464833", + "id": "edge:38b1b00b", "source": "class:GoalPlanner", "target": "func:GoalPlanner._extract_parallel_items", "type": "contains", "label": "方法 _extract_parallel_items" }, { - "id": "edge:5748a0da", + "id": "edge:f28df35f", "source": "class:GoalPlanner", "target": "func:GoalPlanner._extract_sequential_parts", "type": "contains", "label": "方法 _extract_sequential_parts" }, { - "id": "edge:66983226", + "id": "edge:edc125d1", "source": "class:GoalPlanner", "target": "func:GoalPlanner._decompose_parallel_goal", "type": "contains", "label": "方法 _decompose_parallel_goal" }, { - "id": "edge:af99f6ac", + "id": "edge:ccbed0d7", "source": "class:GoalPlanner", "target": "func:GoalPlanner._decompose_sequential_goal", "type": "contains", "label": "方法 _decompose_sequential_goal" }, { - "id": "edge:3ef20ec4", + "id": "edge:1ddac9ce", "source": "class:GoalPlanner", "target": "func:GoalPlanner._decompose_simple_goal", "type": "contains", "label": "方法 _decompose_simple_goal" }, { - "id": "edge:4ad0d49c", + "id": "edge:3597abfa", "source": "class:GoalPlanner", "target": "func:GoalPlanner._infer_required_skills", "type": "contains", "label": "方法 _infer_required_skills" }, { - "id": "edge:301da66d", + "id": "edge:361f48b1", "source": "class:GoalPlanner", "target": "func:GoalPlanner._identify_skill_gaps", "type": "contains", "label": "方法 _identify_skill_gaps" }, { - "id": "edge:ab80c64d", + "id": "edge:82f70cd2", "source": "class:GoalPlanner", "target": "func:GoalPlanner._should_refine_with_llm", "type": "contains", "label": "方法 _should_refine_with_llm" }, { - "id": "edge:04e2efd7", + "id": "edge:b0eae8b1", "source": "class:GoalPlanner", "target": "func:GoalPlanner._llm_refine_plan", "type": "contains", "label": "方法 _llm_refine_plan" }, { - "id": "edge:b0b07cac", + "id": "edge:269080d0", "source": "class:GoalPlanner", "target": "func:GoalPlanner._build_parallel_groups", "type": "contains", "label": "方法 _build_parallel_groups" }, { - "id": "edge:71079f2b", + "id": "edge:ff7681fe", "source": "class:GoalPlanner", "target": "func:GoalPlanner.update_plan_from_feedback", "type": "contains", "label": "方法 update_plan_from_feedback" }, { - "id": "edge:558bd2c0", + "id": "edge:9036d4de", "source": "class:GoalPlanner", "target": "func:GoalPlanner.validate_plan", "type": "contains", "label": "方法 validate_plan" }, { - "id": "edge:5dbb7ea7", + "id": "edge:c9672dd2", "source": "file:src/agentkit/core/headroom_compressor.py", "target": "class:HeadroomCompressor", "type": "contains", "label": "定义类 HeadroomCompressor" }, { - "id": "edge:5b280548", + "id": "edge:d1f336fd", "source": "class:HeadroomCompressor", "target": "func:HeadroomCompressor.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:52b7933a", + "id": "edge:eba79afa", "source": "class:HeadroomCompressor", "target": "func:HeadroomCompressor.is_available", "type": "contains", "label": "方法 is_available" }, { - "id": "edge:11a5d622", + "id": "edge:71736c38", "source": "class:HeadroomCompressor", "target": "func:HeadroomCompressor.compress", "type": "contains", "label": "方法 compress" }, { - "id": "edge:f6a63c51", + "id": "edge:8778fdf0", "source": "class:HeadroomCompressor", "target": "func:HeadroomCompressor.compress_tool_result", "type": "contains", "label": "方法 compress_tool_result" }, { - "id": "edge:35bfcb23", + "id": "edge:0800ea0a", "source": "class:HeadroomCompressor", "target": "func:HeadroomCompressor._detect_content_type", "type": "contains", "label": "方法 _detect_content_type" }, { - "id": "edge:c484cb51", + "id": "edge:caa97041", "source": "class:HeadroomCompressor", "target": "func:HeadroomCompressor._compress_with_headroom", "type": "contains", "label": "方法 _compress_with_headroom" }, { - "id": "edge:2411ca30", + "id": "edge:e3d06c76", "source": "class:HeadroomCompressor", "target": "func:HeadroomCompressor._store_ccr", "type": "contains", "label": "方法 _store_ccr" }, { - "id": "edge:b0c5ad14", + "id": "edge:b9c54d53", "source": "class:HeadroomCompressor", "target": "func:HeadroomCompressor._evict_expired", "type": "contains", "label": "方法 _evict_expired" }, { - "id": "edge:60d1f74f", + "id": "edge:8a35e43d", "source": "class:HeadroomCompressor", "target": "func:HeadroomCompressor.retrieve", "type": "contains", "label": "方法 retrieve" }, { - "id": "edge:9a4cf585", + "id": "edge:e7a37ae0", "source": "file:src/agentkit/core/logging.py", "target": "class:StructuredFormatter", "type": "contains", "label": "定义类 StructuredFormatter" }, { - "id": "edge:c65fc99a", + "id": "edge:4e11b439", "source": "class:StructuredFormatter", "target": "func:StructuredFormatter.format", "type": "contains", "label": "方法 format" }, { - "id": "edge:4fb92193", + "id": "edge:db22e527", "source": "file:src/agentkit/core/orchestrator.py", "target": "class:AgentRole", "type": "contains", "label": "定义类 AgentRole" }, { - "id": "edge:a1369729", + "id": "edge:744ace02", "source": "file:src/agentkit/core/orchestrator.py", "target": "class:SubTaskStatus", "type": "contains", "label": "定义类 SubTaskStatus" }, { - "id": "edge:405428a8", + "id": "edge:7229bbab", "source": "file:src/agentkit/core/orchestrator.py", "target": "class:SubTask", "type": "contains", "label": "定义类 SubTask" }, { - "id": "edge:3e65bf50", + "id": "edge:b84828e4", "source": "file:src/agentkit/core/orchestrator.py", "target": "class:OrchestrationPlan", "type": "contains", "label": "定义类 OrchestrationPlan" }, { - "id": "edge:639b1ba9", + "id": "edge:e27d29b9", "source": "file:src/agentkit/core/orchestrator.py", "target": "class:OrchestrationResult", "type": "contains", "label": "定义类 OrchestrationResult" }, { - "id": "edge:e99a9065", + "id": "edge:7586d1bb", "source": "file:src/agentkit/core/orchestrator.py", "target": "class:OrchestratorConfig", "type": "contains", "label": "定义类 OrchestratorConfig" }, { - "id": "edge:a8be3b19", + "id": "edge:7328867c", "source": "file:src/agentkit/core/orchestrator.py", "target": "class:Orchestrator", "type": "contains", "label": "定义类 Orchestrator" }, { - "id": "edge:f10f22a3", + "id": "edge:a4f61a5e", "source": "class:Orchestrator", "target": "func:Orchestrator.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:fd79bef7", + "id": "edge:e0da30df", "source": "class:Orchestrator", "target": "func:Orchestrator.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:abceb6a7", + "id": "edge:925b507f", "source": "class:Orchestrator", "target": "func:Orchestrator._decompose_task", "type": "contains", "label": "方法 _decompose_task" }, { - "id": "edge:efb00e67", + "id": "edge:15865a1f", "source": "class:Orchestrator", "target": "func:Orchestrator._llm_decompose", "type": "contains", "label": "方法 _llm_decompose" }, { - "id": "edge:d5fa548c", + "id": "edge:801b3e09", "source": "class:Orchestrator", "target": "func:Orchestrator._build_parallel_groups", "type": "contains", "label": "方法 _build_parallel_groups" }, { - "id": "edge:61b68ccb", + "id": "edge:75a1c07c", "source": "class:Orchestrator", "target": "func:Orchestrator._execute_plan", "type": "contains", "label": "方法 _execute_plan" }, { - "id": "edge:64dd9711", + "id": "edge:45ddd2d7", "source": "class:Orchestrator", "target": "func:Orchestrator._execute_subtask", "type": "contains", "label": "方法 _execute_subtask" }, { - "id": "edge:e7157ec3", + "id": "edge:8a66abd6", "source": "class:Orchestrator", "target": "func:Orchestrator._inject_dependency_results", "type": "contains", "label": "方法 _inject_dependency_results" }, { - "id": "edge:2852a4c0", + "id": "edge:a95c7bf8", "source": "class:Orchestrator", "target": "func:Orchestrator._aggregate_results", "type": "contains", "label": "方法 _aggregate_results" }, { - "id": "edge:64218495", + "id": "edge:ff347543", "source": "class:Orchestrator", "target": "func:Orchestrator._get_available_skill_names", "type": "contains", "label": "方法 _get_available_skill_names" }, { - "id": "edge:b287e1cd", + "id": "edge:350d4be7", "source": "class:Orchestrator", "target": "func:Orchestrator._convert_execution_plan_to_subtasks", "type": "contains", "label": "方法 _convert_execution_plan_to_subtasks" }, { - "id": "edge:80c3a84d", + "id": "edge:1f5450a5", "source": "class:Orchestrator", "target": "func:Orchestrator._match_agent_for_skills", "type": "contains", "label": "方法 _match_agent_for_skills" }, { - "id": "edge:ed80278c", + "id": "edge:ea9ff8bb", "source": "class:Orchestrator", "target": "func:Orchestrator.execute_adaptive", "type": "contains", "label": "方法 execute_adaptive" }, { - "id": "edge:0b9ddefa", + "id": "edge:415d7315", "source": "class:Orchestrator", "target": "func:Orchestrator._evaluate_quality", "type": "contains", "label": "方法 _evaluate_quality" }, { - "id": "edge:58202d2d", + "id": "edge:9d177db2", "source": "class:Orchestrator", "target": "func:Orchestrator._rule_based_evaluate", "type": "contains", "label": "方法 _rule_based_evaluate" }, { - "id": "edge:5a5d59cf", + "id": "edge:3fb9af70", "source": "class:Orchestrator", "target": "func:Orchestrator._llm_evaluate", "type": "contains", "label": "方法 _llm_evaluate" }, { - "id": "edge:d4328f3b", + "id": "edge:c575e219", "source": "class:Orchestrator", "target": "func:Orchestrator._reexecute_failed", "type": "contains", "label": "方法 _reexecute_failed" }, { - "id": "edge:1b64ebd5", + "id": "edge:12af9db0", "source": "file:src/agentkit/core/plan_checker.py", "target": "class:CheckStatus", "type": "contains", "label": "定义类 CheckStatus" }, { - "id": "edge:3d636fdc", + "id": "edge:b350fc73", "source": "file:src/agentkit/core/plan_checker.py", "target": "class:CheckResult", "type": "contains", "label": "定义类 CheckResult" }, { - "id": "edge:1aa70ebd", + "id": "edge:2a019b04", "source": "file:src/agentkit/core/plan_checker.py", "target": "class:ReviewReport", "type": "contains", "label": "定义类 ReviewReport" }, { - "id": "edge:b399f269", + "id": "edge:e05d33e3", "source": "class:ReviewReport", "target": "func:ReviewReport.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:73465285", + "id": "edge:8ca26be8", "source": "file:src/agentkit/core/plan_checker.py", "target": "class:QualityGate", "type": "contains", "label": "定义类 QualityGate" }, { - "id": "edge:8ff644d2", + "id": "edge:20f2e75d", "source": "class:QualityGate", "target": "func:QualityGate.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:3515d492", + "id": "edge:1e165805", "source": "class:QualityGate", "target": "func:QualityGate.check", "type": "contains", "label": "方法 check" }, { - "id": "edge:693edf47", + "id": "edge:226021c0", "source": "class:QualityGate", "target": "func:QualityGate._check_required_fields", "type": "contains", "label": "方法 _check_required_fields" }, { - "id": "edge:558631a9", + "id": "edge:18094978", "source": "class:QualityGate", "target": "func:QualityGate._check_min_word_count", "type": "contains", "label": "方法 _check_min_word_count" }, { - "id": "edge:dbbcc0d8", + "id": "edge:adcc5dfb", "source": "class:QualityGate", "target": "func:QualityGate._check_custom", "type": "contains", "label": "方法 _check_custom" }, { - "id": "edge:be3a1655", + "id": "edge:29d2ae42", "source": "class:QualityGate", "target": "func:QualityGate._compute_quality_score", "type": "contains", "label": "方法 _compute_quality_score" }, { - "id": "edge:5d632eee", + "id": "edge:32af88af", "source": "file:src/agentkit/core/plan_checker.py", "target": "class:RuleBasedStepReflector", "type": "contains", "label": "定义类 RuleBasedStepReflector" }, { - "id": "edge:6a6e652c", + "id": "edge:529ec748", "source": "class:RuleBasedStepReflector", "target": "func:RuleBasedStepReflector.reflect_step", "type": "contains", "label": "方法 reflect_step" }, { - "id": "edge:b0999581", + "id": "edge:01523ce1", "source": "file:src/agentkit/core/plan_checker.py", "target": "class:PlanChecker", "type": "contains", "label": "定义类 PlanChecker" }, { - "id": "edge:1ee30630", + "id": "edge:81410088", "source": "class:PlanChecker", "target": "func:PlanChecker.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:08474744", + "id": "edge:d2c7c3fb", "source": "class:PlanChecker", "target": "func:PlanChecker.check_step", "type": "contains", "label": "方法 check_step" }, { - "id": "edge:ed148b73", + "id": "edge:c2595375", "source": "class:PlanChecker", "target": "func:PlanChecker.review_plan", "type": "contains", "label": "方法 review_plan" }, { - "id": "edge:b0a7cac6", + "id": "edge:4f02eecf", "source": "class:PlanChecker", "target": "func:PlanChecker.should_retry", "type": "contains", "label": "方法 should_retry" }, { - "id": "edge:dff7603f", + "id": "edge:62f6f830", "source": "class:PlanChecker", "target": "func:PlanChecker.should_request_human", "type": "contains", "label": "方法 should_request_human" }, { - "id": "edge:18cc5820", + "id": "edge:f8fa1190", "source": "class:PlanChecker", "target": "func:PlanChecker.make_step_complete_callback", "type": "contains", "label": "方法 make_step_complete_callback" }, { - "id": "edge:dd813516", + "id": "edge:b0ea9505", "source": "class:PlanChecker", "target": "func:PlanChecker._collect_failure_reasons", "type": "contains", "label": "方法 _collect_failure_reasons" }, { - "id": "edge:613d2dad", + "id": "edge:4c78f275", "source": "class:PlanChecker", "target": "func:PlanChecker._determine_outcome", "type": "contains", "label": "方法 _determine_outcome" }, { - "id": "edge:52a87fc3", + "id": "edge:17e6bd5e", "source": "class:PlanChecker", "target": "func:PlanChecker._generate_optimization_tips", "type": "contains", "label": "方法 _generate_optimization_tips" }, { - "id": "edge:b3d5b463", + "id": "edge:2dc5dcbc", "source": "class:PlanChecker", "target": "func:PlanChecker._write_experience", "type": "contains", "label": "方法 _write_experience" }, { - "id": "edge:7cb85d9b", + "id": "edge:45cc2f0a", "source": "class:PlanChecker", "target": "func:PlanChecker.reset", "type": "contains", "label": "方法 reset" }, { - "id": "edge:dfeb9227", + "id": "edge:02944f73", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "class:_StreamState", "type": "contains", "label": "定义类 _StreamState" }, { - "id": "edge:114dd9cf", + "id": "edge:db08af08", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "class:PlanExecEngine", "type": "contains", "label": "定义类 PlanExecEngine" }, { - "id": "edge:67b89a73", + "id": "edge:2334426a", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:04c94640", + "id": "edge:994e4460", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:7372dac6", + "id": "edge:ace71045", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine.execute_stream", "type": "contains", "label": "方法 execute_stream" }, { - "id": "edge:76a99fea", + "id": "edge:1425fbd0", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine._execute_loop", "type": "contains", "label": "方法 _execute_loop" }, { - "id": "edge:ec57a791", + "id": "edge:faea6c24", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine._execute_with_replanning", "type": "contains", "label": "方法 _execute_with_replanning" }, { - "id": "edge:315fdc3d", + "id": "edge:e15e6a32", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine._extract_goal", "type": "contains", "label": "方法 _extract_goal" }, { - "id": "edge:f2179b6d", + "id": "edge:34670599", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine._extract_skill_names", "type": "contains", "label": "方法 _extract_skill_names" }, { - "id": "edge:62121405", + "id": "edge:867ffaa9", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine._build_task_message", "type": "contains", "label": "方法 _build_task_message" }, { - "id": "edge:2b9030d7", + "id": "edge:0c0ba843", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine._create_executor", "type": "contains", "label": "方法 _create_executor" }, { - "id": "edge:c9f480f8", + "id": "edge:986c5d73", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine._plan_to_pipeline", "type": "contains", "label": "方法 _plan_to_pipeline" }, { - "id": "edge:add981d6", + "id": "edge:3ecbe8f8", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine._plan_result_to_pipeline_result", "type": "contains", "label": "方法 _plan_result_to_pipeline_result" }, { - "id": "edge:e0813847", + "id": "edge:5c55280d", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine._pipeline_to_plan", "type": "contains", "label": "方法 _pipeline_to_plan" }, { - "id": "edge:0bde0553", + "id": "edge:096286ac", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine._merge_completed_results", "type": "contains", "label": "方法 _merge_completed_results" }, { - "id": "edge:430ea100", + "id": "edge:7ba109a2", "source": "class:PlanExecEngine", "target": "func:PlanExecEngine._aggregate_output", "type": "contains", "label": "方法 _aggregate_output" }, { - "id": "edge:c81bed54", + "id": "edge:7833b477", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "class:_LLMStepExecutor", "type": "contains", "label": "定义类 _LLMStepExecutor" }, { - "id": "edge:58b743e7", + "id": "edge:7971eb03", "source": "class:_LLMStepExecutor", "target": "func:_LLMStepExecutor.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:a55fc335", + "id": "edge:a31aea14", "source": "class:_LLMStepExecutor", "target": "func:_LLMStepExecutor.create_agent_from_skill", "type": "contains", "label": "方法 create_agent_from_skill" }, { - "id": "edge:90c6fd7c", + "id": "edge:2cac3a56", "source": "class:_LLMStepExecutor", "target": "func:_LLMStepExecutor.get_agent", "type": "contains", "label": "方法 get_agent" }, { - "id": "edge:9c4aadf1", + "id": "edge:208995f1", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "class:_LLMStepAgent", "type": "contains", "label": "定义类 _LLMStepAgent" }, { - "id": "edge:814b0aba", + "id": "edge:66ae46d8", "source": "class:_LLMStepAgent", "target": "func:_LLMStepAgent.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:ad6ce417", + "id": "edge:f1a81248", "source": "class:_LLMStepAgent", "target": "func:_LLMStepAgent.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:3e9e765c", + "id": "edge:2cc61531", "source": "file:src/agentkit/core/plan_executor.py", "target": "class:FailureAction", "type": "contains", "label": "定义类 FailureAction" }, { - "id": "edge:56f8786c", + "id": "edge:7cfd3be4", "source": "file:src/agentkit/core/plan_executor.py", "target": "class:StepExecutionResult", "type": "contains", "label": "定义类 StepExecutionResult" }, { - "id": "edge:4bc66386", + "id": "edge:a2faaa14", "source": "file:src/agentkit/core/plan_executor.py", "target": "class:PlanExecutionResult", "type": "contains", "label": "定义类 PlanExecutionResult" }, { - "id": "edge:51adddf4", + "id": "edge:f4db7e1a", "source": "class:PlanExecutionResult", "target": "func:PlanExecutionResult.completed_steps", "type": "contains", "label": "方法 completed_steps" }, { - "id": "edge:29b08dde", + "id": "edge:4f5188df", "source": "class:PlanExecutionResult", "target": "func:PlanExecutionResult.failed_steps", "type": "contains", "label": "方法 failed_steps" }, { - "id": "edge:3d0fc671", + "id": "edge:c94746bc", "source": "class:PlanExecutionResult", "target": "func:PlanExecutionResult.skipped_steps", "type": "contains", "label": "方法 skipped_steps" }, { - "id": "edge:bf0f2c56", + "id": "edge:670fd038", "source": "file:src/agentkit/core/plan_executor.py", "target": "class:PlanExecutor", "type": "contains", "label": "定义类 PlanExecutor" }, { - "id": "edge:a94639a3", + "id": "edge:7bd4d77a", "source": "class:PlanExecutor", "target": "func:PlanExecutor.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:2310eda4", + "id": "edge:c42a0489", "source": "class:PlanExecutor", "target": "func:PlanExecutor.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:f66209d5", + "id": "edge:9bd1ae4c", "source": "class:PlanExecutor", "target": "func:PlanExecutor._execute_step_with_retry", "type": "contains", "label": "方法 _execute_step_with_retry" }, { - "id": "edge:e5106c8b", + "id": "edge:3c8cec51", "source": "class:PlanExecutor", "target": "func:PlanExecutor._execute_step_once", "type": "contains", "label": "方法 _execute_step_once" }, { - "id": "edge:f30236b5", + "id": "edge:d7cf735c", "source": "class:PlanExecutor", "target": "func:PlanExecutor._handle_step_failure", "type": "contains", "label": "方法 _handle_step_failure" }, { - "id": "edge:baafdb4a", + "id": "edge:fbd1e308", "source": "class:PlanExecutor", "target": "func:PlanExecutor._default_failure_action", "type": "contains", "label": "方法 _default_failure_action" }, { - "id": "edge:2bbc4f7a", + "id": "edge:4c905f05", "source": "class:PlanExecutor", "target": "func:PlanExecutor._skip_dependent_steps", "type": "contains", "label": "方法 _skip_dependent_steps" }, { - "id": "edge:ae56c421", + "id": "edge:504f8cd9", "source": "class:PlanExecutor", "target": "func:PlanExecutor._abort_remaining_steps", "type": "contains", "label": "方法 _abort_remaining_steps" }, { - "id": "edge:479f9d10", + "id": "edge:a41e83d8", "source": "class:PlanExecutor", "target": "func:PlanExecutor._inject_dependency_results", "type": "contains", "label": "方法 _inject_dependency_results" }, { - "id": "edge:bc2da391", + "id": "edge:a838e297", "source": "class:PlanExecutor", "target": "func:PlanExecutor._determine_overall_status", "type": "contains", "label": "方法 _determine_overall_status" }, { - "id": "edge:fda540b7", + "id": "edge:dde01971", "source": "file:src/agentkit/core/plan_schema.py", "target": "class:PlanStepStatus", "type": "contains", "label": "定义类 PlanStepStatus" }, { - "id": "edge:f9472d3e", + "id": "edge:f2c94235", "source": "file:src/agentkit/core/plan_schema.py", "target": "class:SkillGapLevel", "type": "contains", "label": "定义类 SkillGapLevel" }, { - "id": "edge:8055a200", + "id": "edge:a8c6df95", "source": "file:src/agentkit/core/plan_schema.py", "target": "class:SkillGap", "type": "contains", "label": "定义类 SkillGap" }, { - "id": "edge:92222fd4", + "id": "edge:faef2d9e", "source": "file:src/agentkit/core/plan_schema.py", "target": "class:PlanStep", "type": "contains", "label": "定义类 PlanStep" }, { - "id": "edge:833d4aec", + "id": "edge:1d82d90d", "source": "class:PlanStep", "target": "func:PlanStep.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:7c1a11b8", + "id": "edge:d66f3419", "source": "file:src/agentkit/core/plan_schema.py", "target": "class:ExecutionPlan", "type": "contains", "label": "定义类 ExecutionPlan" }, { - "id": "edge:88b4d892", + "id": "edge:b2538eed", "source": "class:ExecutionPlan", "target": "func:ExecutionPlan.has_skill_gaps", "type": "contains", "label": "方法 has_skill_gaps" }, { - "id": "edge:e07a104d", + "id": "edge:d9417a05", "source": "class:ExecutionPlan", "target": "func:ExecutionPlan.get_step", "type": "contains", "label": "方法 get_step" }, { - "id": "edge:485acadd", + "id": "edge:06079664", "source": "class:ExecutionPlan", "target": "func:ExecutionPlan.to_readable", "type": "contains", "label": "方法 to_readable" }, { - "id": "edge:44d0f6f9", + "id": "edge:84f7a405", "source": "class:ExecutionPlan", "target": "func:ExecutionPlan.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:1924ef08", + "id": "edge:45b0413b", "source": "file:src/agentkit/core/protocol.py", "target": "class:TaskStatus", "type": "contains", "label": "定义类 TaskStatus" }, { - "id": "edge:cf97328c", + "id": "edge:bd28c6d6", "source": "file:src/agentkit/core/protocol.py", "target": "class:AgentStatus", "type": "contains", "label": "定义类 AgentStatus" }, { - "id": "edge:6a9dd453", + "id": "edge:b2bdf82b", "source": "file:src/agentkit/core/protocol.py", "target": "class:AgentCapability", "type": "contains", "label": "定义类 AgentCapability" }, { - "id": "edge:c8ca7b37", + "id": "edge:ccd5f871", "source": "class:AgentCapability", "target": "func:AgentCapability.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:514349ad", + "id": "edge:97e3b1c0", "source": "class:AgentCapability", "target": "func:AgentCapability.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:87ba9086", + "id": "edge:6e3bbcf9", "source": "file:src/agentkit/core/protocol.py", "target": "class:TaskMessage", "type": "contains", "label": "定义类 TaskMessage" }, { - "id": "edge:6d23dfa3", + "id": "edge:fa3d622f", "source": "class:TaskMessage", "target": "func:TaskMessage.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:d9203201", + "id": "edge:3fb46011", "source": "class:TaskMessage", "target": "func:TaskMessage.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:fe4e12c6", + "id": "edge:0cccb49b", "source": "file:src/agentkit/core/protocol.py", "target": "class:TaskResult", "type": "contains", "label": "定义类 TaskResult" }, { - "id": "edge:0c4c9b66", + "id": "edge:2b964b8d", "source": "class:TaskResult", "target": "func:TaskResult.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:9dfe5d01", + "id": "edge:cc84d8d3", "source": "class:TaskResult", "target": "func:TaskResult.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:28e87f24", + "id": "edge:d91c6319", "source": "file:src/agentkit/core/protocol.py", "target": "class:TaskProgress", "type": "contains", "label": "定义类 TaskProgress" }, { - "id": "edge:59a533d9", + "id": "edge:fa712235", "source": "class:TaskProgress", "target": "func:TaskProgress.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:fe3d2adb", + "id": "edge:010e9ef7", "source": "class:TaskProgress", "target": "func:TaskProgress.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:fc284db3", + "id": "edge:dc6d58a0", "source": "file:src/agentkit/core/protocol.py", "target": "class:HandoffMessage", "type": "contains", "label": "定义类 HandoffMessage" }, { - "id": "edge:72a2e79b", + "id": "edge:689be86a", "source": "class:HandoffMessage", "target": "func:HandoffMessage.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:2ca4c32f", + "id": "edge:3ac1c543", "source": "class:HandoffMessage", "target": "func:HandoffMessage.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:30d092eb", + "id": "edge:66510171", "source": "file:src/agentkit/core/protocol.py", "target": "class:EvolutionEvent", "type": "contains", "label": "定义类 EvolutionEvent" }, { - "id": "edge:3002f795", + "id": "edge:75008efb", "source": "class:EvolutionEvent", "target": "func:EvolutionEvent.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:cf704190", + "id": "edge:4697fc10", "source": "file:src/agentkit/core/protocol.py", "target": "class:CancellationToken", "type": "contains", "label": "定义类 CancellationToken" }, { - "id": "edge:ade9a65f", + "id": "edge:4624e4eb", "source": "class:CancellationToken", "target": "func:CancellationToken.cancel", "type": "contains", "label": "方法 cancel" }, { - "id": "edge:00ff07da", + "id": "edge:54695c0e", "source": "class:CancellationToken", "target": "func:CancellationToken.is_cancelled", "type": "contains", "label": "方法 is_cancelled" }, { - "id": "edge:40c768d1", + "id": "edge:2fdf8382", "source": "class:CancellationToken", "target": "func:CancellationToken.check", "type": "contains", "label": "方法 check" }, { - "id": "edge:affdeb0c", + "id": "edge:472888e7", "source": "file:src/agentkit/core/react.py", "target": "class:ReActStep", "type": "contains", "label": "定义类 ReActStep" }, { - "id": "edge:1c34ab7c", + "id": "edge:2fc5fd21", "source": "file:src/agentkit/core/react.py", "target": "class:ReActResult", "type": "contains", "label": "定义类 ReActResult" }, { - "id": "edge:a1057f19", + "id": "edge:bac71a53", "source": "file:src/agentkit/core/react.py", "target": "class:ReActEvent", "type": "contains", "label": "定义类 ReActEvent" }, { - "id": "edge:dae7fb35", + "id": "edge:08fd675a", "source": "file:src/agentkit/core/react.py", "target": "class:ReActEngine", "type": "contains", "label": "定义类 ReActEngine" }, { - "id": "edge:ff1659c7", + "id": "edge:3d39dd24", "source": "class:ReActEngine", "target": "func:ReActEngine.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:af789e99", + "id": "edge:4eaa84da", "source": "class:ReActEngine", "target": "func:ReActEngine.reset", "type": "contains", "label": "方法 reset" }, { - "id": "edge:c6ff51ae", + "id": "edge:6c826735", "source": "class:ReActEngine", "target": "func:ReActEngine.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:d7847156", + "id": "edge:00dabe31", "source": "class:ReActEngine", "target": "func:ReActEngine._execute_loop", "type": "contains", "label": "方法 _execute_loop" }, { - "id": "edge:69e47152", + "id": "edge:cf1f06f1", "source": "class:ReActEngine", "target": "func:ReActEngine.execute_stream", "type": "contains", "label": "方法 execute_stream" }, { - "id": "edge:4ee81331", + "id": "edge:76f38f2a", "source": "class:ReActEngine", "target": "func:ReActEngine._build_tool_schemas", "type": "contains", "label": "方法 _build_tool_schemas" }, { - "id": "edge:d76817b5", + "id": "edge:8e2613d8", "source": "class:ReActEngine", "target": "func:ReActEngine._build_response_from_stream", "type": "contains", "label": "方法 _build_response_from_stream" }, { - "id": "edge:986c460c", + "id": "edge:5f85f74e", "source": "class:ReActEngine", "target": "func:ReActEngine._find_tool", "type": "contains", "label": "方法 _find_tool" }, { - "id": "edge:756e5ae9", + "id": "edge:593c3664", "source": "class:ReActEngine", "target": "func:ReActEngine._should_compress", "type": "contains", "label": "方法 _should_compress" }, { - "id": "edge:603d117f", + "id": "edge:be17dc12", "source": "class:ReActEngine", "target": "func:ReActEngine._build_tool_result_message", "type": "contains", "label": "方法 _build_tool_result_message" }, { - "id": "edge:44fd81a9", + "id": "edge:33a58ef2", "source": "class:ReActEngine", "target": "func:ReActEngine._execute_tool", "type": "contains", "label": "方法 _execute_tool" }, { - "id": "edge:8956e68e", + "id": "edge:e0418f84", "source": "class:ReActEngine", "target": "func:ReActEngine._execute_tool_with_confirmation", "type": "contains", "label": "方法 _execute_tool_with_confirmation" }, { - "id": "edge:8c511556", + "id": "edge:75eb0e4f", "source": "class:ReActEngine", "target": "func:ReActEngine._should_execute_parallel", "type": "contains", "label": "方法 _should_execute_parallel" }, { - "id": "edge:b8b6033d", + "id": "edge:400265ce", "source": "class:ReActEngine", "target": "func:ReActEngine._get_parallelizable_indices", "type": "contains", "label": "方法 _get_parallelizable_indices" }, { - "id": "edge:4f9f5fbc", + "id": "edge:37fc728d", "source": "class:ReActEngine", "target": "func:ReActEngine._parse_text_tool_calls", "type": "contains", "label": "方法 _parse_text_tool_calls" }, { - "id": "edge:190fc33b", + "id": "edge:49156af8", "source": "file:src/agentkit/core/reflexion.py", "target": "class:ReflexionReflection", "type": "contains", "label": "定义类 ReflexionReflection" }, { - "id": "edge:2c89ba45", + "id": "edge:fd7ff9b5", "source": "file:src/agentkit/core/reflexion.py", "target": "class:ReflexionResult", "type": "contains", "label": "定义类 ReflexionResult" }, { - "id": "edge:4cb9d98f", + "id": "edge:ac5906f7", "source": "file:src/agentkit/core/reflexion.py", "target": "class:ReflexionEngine", "type": "contains", "label": "定义类 ReflexionEngine" }, { - "id": "edge:3ef196df", + "id": "edge:17078b5d", "source": "class:ReflexionEngine", "target": "func:ReflexionEngine.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:de057ddc", + "id": "edge:9f4e78b6", "source": "class:ReflexionEngine", "target": "func:ReflexionEngine.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:7bc7327e", + "id": "edge:7e3d32ff", "source": "class:ReflexionEngine", "target": "func:ReflexionEngine._execute_loop", "type": "contains", "label": "方法 _execute_loop" }, { - "id": "edge:d17de063", + "id": "edge:be683a73", "source": "class:ReflexionEngine", "target": "func:ReflexionEngine.execute_stream", "type": "contains", "label": "方法 execute_stream" }, { - "id": "edge:136ba892", + "id": "edge:2f509811", "source": "class:ReflexionEngine", "target": "func:ReflexionEngine._evaluate", "type": "contains", "label": "方法 _evaluate" }, { - "id": "edge:def7baa8", + "id": "edge:598939a8", "source": "class:ReflexionEngine", "target": "func:ReflexionEngine._parse_evaluation_score", "type": "contains", "label": "方法 _parse_evaluation_score" }, { - "id": "edge:82c2fdb0", + "id": "edge:bb82a0a8", "source": "class:ReflexionEngine", "target": "func:ReflexionEngine._reflect", "type": "contains", "label": "方法 _reflect" }, { - "id": "edge:c5a25c80", + "id": "edge:358cea93", "source": "class:ReflexionEngine", "target": "func:ReflexionEngine._build_reflection_prompt", "type": "contains", "label": "方法 _build_reflection_prompt" }, { - "id": "edge:bda6ddb3", + "id": "edge:ac7377f3", "source": "file:src/agentkit/core/registry.py", "target": "class:AgentRegistry", "type": "contains", "label": "定义类 AgentRegistry" }, { - "id": "edge:d6d6dbcc", + "id": "edge:d79ba299", "source": "class:AgentRegistry", "target": "func:AgentRegistry.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b40311f9", + "id": "edge:f8ef98d7", "source": "class:AgentRegistry", "target": "func:AgentRegistry.register", "type": "contains", "label": "方法 register" }, { - "id": "edge:a30964c5", + "id": "edge:5de5331a", "source": "class:AgentRegistry", "target": "func:AgentRegistry.unregister", "type": "contains", "label": "方法 unregister" }, { - "id": "edge:d0f5bab6", + "id": "edge:62553489", "source": "class:AgentRegistry", "target": "func:AgentRegistry.update_heartbeat", "type": "contains", "label": "方法 update_heartbeat" }, { - "id": "edge:5d55d946", + "id": "edge:b8bd048a", "source": "class:AgentRegistry", "target": "func:AgentRegistry.get_agent", "type": "contains", "label": "方法 get_agent" }, { - "id": "edge:8751a219", + "id": "edge:a712fa0b", "source": "class:AgentRegistry", "target": "func:AgentRegistry.list_agents", "type": "contains", "label": "方法 list_agents" }, { - "id": "edge:4904b92c", + "id": "edge:21fa2d5c", "source": "class:AgentRegistry", "target": "func:AgentRegistry.get_available_agent", "type": "contains", "label": "方法 get_available_agent" }, { - "id": "edge:e8fafb12", + "id": "edge:0b28b5c0", "source": "class:AgentRegistry", "target": "func:AgentRegistry.check_health", "type": "contains", "label": "方法 check_health" }, { - "id": "edge:7128ec17", + "id": "edge:83fbe99c", "source": "class:AgentRegistry", "target": "func:AgentRegistry._agent_to_dict", "type": "contains", "label": "方法 _agent_to_dict" }, { - "id": "edge:2d89d71f", + "id": "edge:8a354e24", "source": "file:src/agentkit/core/rewoo.py", "target": "class:_FallbackFailedError", "type": "contains", "label": "定义类 _FallbackFailedError" }, { - "id": "edge:c802874c", + "id": "edge:f1b61ca5", "source": "class:_FallbackFailedError", "target": "func:_FallbackFailedError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:ac8fe82e", + "id": "edge:c3ce591a", "source": "file:src/agentkit/core/rewoo.py", "target": "class:ReWOOPlanStep", "type": "contains", "label": "定义类 ReWOOPlanStep" }, { - "id": "edge:f1ec1c0d", + "id": "edge:27622534", "source": "file:src/agentkit/core/rewoo.py", "target": "class:ReWOOPlan", "type": "contains", "label": "定义类 ReWOOPlan" }, { - "id": "edge:ae775de9", + "id": "edge:0e2bfc2b", "source": "file:src/agentkit/core/rewoo.py", "target": "class:ReWOOStep", "type": "contains", "label": "定义类 ReWOOStep" }, { - "id": "edge:74a68aa8", + "id": "edge:267d3228", "source": "class:ReWOOStep", "target": "class:ReActStep", "type": "extends", "label": "继承 ReActStep" }, { - "id": "edge:32b8655c", + "id": "edge:3dba3d31", "source": "file:src/agentkit/core/rewoo.py", "target": "class:ReWOOEngine", "type": "contains", "label": "定义类 ReWOOEngine" }, { - "id": "edge:d5857eae", + "id": "edge:6b832c2b", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:11838a82", + "id": "edge:f3d5eaad", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:aa9c81e1", + "id": "edge:576ca69d", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._execute_rewoo", "type": "contains", "label": "方法 _execute_rewoo" }, { - "id": "edge:626ea391", + "id": "edge:6aae3030", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine.execute_stream", "type": "contains", "label": "方法 execute_stream" }, { - "id": "edge:5a85eda6", + "id": "edge:859a29ef", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._try_fallback_strategies_stream", "type": "contains", "label": "方法 _try_fallback_strategies_stream" }, { - "id": "edge:2517b120", + "id": "edge:a58f4b9c", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._fallback_simplified_rewoo_stream", "type": "contains", "label": "方法 _fallback_simplified_rewoo_stream" }, { - "id": "edge:810f0eaa", + "id": "edge:6c503b15", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._fallback_react_stream", "type": "contains", "label": "方法 _fallback_react_stream" }, { - "id": "edge:07b5b1f7", + "id": "edge:2afa9ccc", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._fallback_direct_stream", "type": "contains", "label": "方法 _fallback_direct_stream" }, { - "id": "edge:f786d727", + "id": "edge:e0c68a02", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._fallback_plan_exec_stream", "type": "contains", "label": "方法 _fallback_plan_exec_stream" }, { - "id": "edge:f2c98f86", + "id": "edge:903c8fd1", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._try_fallback_strategies", "type": "contains", "label": "方法 _try_fallback_strategies" }, { - "id": "edge:0bc0cc6e", + "id": "edge:e3c9a433", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._fallback_simplified_rewoo", "type": "contains", "label": "方法 _fallback_simplified_rewoo" }, { - "id": "edge:ef0b7f03", + "id": "edge:9711dae5", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._fallback_react", "type": "contains", "label": "方法 _fallback_react" }, { - "id": "edge:9a305591", + "id": "edge:801b694b", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._fallback_direct", "type": "contains", "label": "方法 _fallback_direct" }, { - "id": "edge:e66b69b6", + "id": "edge:df44aadb", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._fallback_plan_exec", "type": "contains", "label": "方法 _fallback_plan_exec" }, { - "id": "edge:049eb2fe", + "id": "edge:86114d67", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._plan_phase", "type": "contains", "label": "方法 _plan_phase" }, { - "id": "edge:ad4ca605", + "id": "edge:9398e377", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._synthesis_phase", "type": "contains", "label": "方法 _synthesis_phase" }, { - "id": "edge:7eacd668", + "id": "edge:1b94455e", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._build_tool_schemas", "type": "contains", "label": "方法 _build_tool_schemas" }, { - "id": "edge:35369afe", + "id": "edge:3ca0d4a3", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._build_tool_descriptions", "type": "contains", "label": "方法 _build_tool_descriptions" }, { - "id": "edge:ecb0e2e0", + "id": "edge:4516dcd9", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._parse_plan", "type": "contains", "label": "方法 _parse_plan" }, { - "id": "edge:4def798f", + "id": "edge:193d96e4", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._find_tool", "type": "contains", "label": "方法 _find_tool" }, { - "id": "edge:4ec775aa", + "id": "edge:db3dd8de", "source": "class:ReWOOEngine", "target": "func:ReWOOEngine._execute_tool", "type": "contains", "label": "方法 _execute_tool" }, { - "id": "edge:aa8c482f", + "id": "edge:6589bdc7", "source": "file:src/agentkit/core/shared_workspace.py", "target": "class:SharedWorkspace", "type": "contains", "label": "定义类 SharedWorkspace" }, { - "id": "edge:77e63706", + "id": "edge:a4b3d441", "source": "class:SharedWorkspace", "target": "func:SharedWorkspace.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b7946174", + "id": "edge:635fe1ea", "source": "class:SharedWorkspace", "target": "func:SharedWorkspace._make_key", "type": "contains", "label": "方法 _make_key" }, { - "id": "edge:e4265800", + "id": "edge:61d66644", "source": "class:SharedWorkspace", "target": "func:SharedWorkspace.write", "type": "contains", "label": "方法 write" }, { - "id": "edge:6d0b8ebe", + "id": "edge:6e0c5f6e", "source": "class:SharedWorkspace", "target": "func:SharedWorkspace.read", "type": "contains", "label": "方法 read" }, { - "id": "edge:9c82377a", + "id": "edge:a94eca55", "source": "class:SharedWorkspace", "target": "func:SharedWorkspace.delete", "type": "contains", "label": "方法 delete" }, { - "id": "edge:b6be95f6", + "id": "edge:86eac6a6", "source": "class:SharedWorkspace", "target": "func:SharedWorkspace.lock", "type": "contains", "label": "方法 lock" }, { - "id": "edge:e8079634", + "id": "edge:b02a12cd", "source": "class:SharedWorkspace", "target": "func:SharedWorkspace.unlock", "type": "contains", "label": "方法 unlock" }, { - "id": "edge:b5d4c1ae", + "id": "edge:5c63e85a", "source": "class:SharedWorkspace", "target": "func:SharedWorkspace._get_version", "type": "contains", "label": "方法 _get_version" }, { - "id": "edge:0495070f", + "id": "edge:ae68212f", "source": "class:SharedWorkspace", "target": "func:SharedWorkspace.list_keys", "type": "contains", "label": "方法 list_keys" }, { - "id": "edge:3df4439a", + "id": "edge:c3d1ad7e", "source": "file:src/agentkit/core/standalone.py", "target": "class:StandaloneRunner", "type": "contains", "label": "定义类 StandaloneRunner" }, { - "id": "edge:09367ba5", + "id": "edge:95931e01", "source": "class:StandaloneRunner", "target": "func:StandaloneRunner.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:a3a6587f", + "id": "edge:c9f93027", "source": "class:StandaloneRunner", "target": "func:StandaloneRunner.agents", "type": "contains", "label": "方法 agents" }, { - "id": "edge:e6af7bd8", + "id": "edge:f07dfdfc", "source": "class:StandaloneRunner", "target": "func:StandaloneRunner.add_tool", "type": "contains", "label": "方法 add_tool" }, { - "id": "edge:878e9d2a", + "id": "edge:6ea5d1a5", "source": "class:StandaloneRunner", "target": "func:StandaloneRunner.add_custom_handler", "type": "contains", "label": "方法 add_custom_handler" }, { - "id": "edge:1164d70a", + "id": "edge:b19d5693", "source": "class:StandaloneRunner", "target": "func:StandaloneRunner.discover_configs", "type": "contains", "label": "方法 discover_configs" }, { - "id": "edge:472a6714", + "id": "edge:e756f98c", "source": "class:StandaloneRunner", "target": "func:StandaloneRunner.build_agents", "type": "contains", "label": "方法 build_agents" }, { - "id": "edge:536f7ae4", + "id": "edge:15de7360", "source": "class:StandaloneRunner", "target": "func:StandaloneRunner.start_all", "type": "contains", "label": "方法 start_all" }, { - "id": "edge:dc73af74", + "id": "edge:c2c4e647", "source": "class:StandaloneRunner", "target": "func:StandaloneRunner.stop_all", "type": "contains", "label": "方法 stop_all" }, { - "id": "edge:2cedb7f8", + "id": "edge:834ecff4", "source": "class:StandaloneRunner", "target": "func:StandaloneRunner.execute_task", "type": "contains", "label": "方法 execute_task" }, { - "id": "edge:0d7cf28c", + "id": "edge:33b3179e", "source": "file:src/agentkit/core/trace.py", "target": "class:TraceStep", "type": "contains", "label": "定义类 TraceStep" }, { - "id": "edge:83acde91", + "id": "edge:60452398", "source": "class:TraceStep", "target": "func:TraceStep.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:ae973298", + "id": "edge:41e4e951", "source": "file:src/agentkit/core/trace.py", "target": "class:ExecutionTrace", "type": "contains", "label": "定义类 ExecutionTrace" }, { - "id": "edge:dc40b8a6", + "id": "edge:d45c0b19", "source": "class:ExecutionTrace", "target": "func:ExecutionTrace.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:19543323", + "id": "edge:b3a8e7e0", "source": "file:src/agentkit/core/trace.py", "target": "class:TraceRecorder", "type": "contains", "label": "定义类 TraceRecorder" }, { - "id": "edge:8d58e4ef", + "id": "edge:e537aeb8", "source": "class:TraceRecorder", "target": "func:TraceRecorder.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8f62abfd", + "id": "edge:70ff5db2", "source": "class:TraceRecorder", "target": "func:TraceRecorder.start_trace", "type": "contains", "label": "方法 start_trace" }, { - "id": "edge:092dbf95", + "id": "edge:a818af9d", "source": "class:TraceRecorder", "target": "func:TraceRecorder.record_step", "type": "contains", "label": "方法 record_step" }, { - "id": "edge:e82a5531", + "id": "edge:6ee4ad51", "source": "class:TraceRecorder", "target": "func:TraceRecorder.end_trace", "type": "contains", "label": "方法 end_trace" }, { - "id": "edge:ba53490c", + "id": "edge:1268863d", "source": "class:TraceRecorder", "target": "func:TraceRecorder.get_trace", "type": "contains", "label": "方法 get_trace" }, { - "id": "edge:7bfcfede", + "id": "edge:d8e0fe75", "source": "class:TraceRecorder", "target": "func:TraceRecorder.start_step_timer", "type": "contains", "label": "方法 start_step_timer" }, { - "id": "edge:b6c78941", + "id": "edge:0f5e0991", "source": "class:TraceRecorder", "target": "func:TraceRecorder.elapsed_ms", "type": "contains", "label": "方法 elapsed_ms" }, { - "id": "edge:9e620185", + "id": "edge:15bd371f", "source": "file:src/agentkit/evaluation/ragas_evaluator.py", "target": "class:EvalSample", "type": "contains", "label": "定义类 EvalSample" }, { - "id": "edge:3a010938", + "id": "edge:c5f85c56", "source": "file:src/agentkit/evaluation/ragas_evaluator.py", "target": "class:EvalMetrics", "type": "contains", "label": "定义类 EvalMetrics" }, { - "id": "edge:add1c5b7", + "id": "edge:47022d5c", "source": "class:EvalMetrics", "target": "func:EvalMetrics.average", "type": "contains", "label": "方法 average" }, { - "id": "edge:99193744", + "id": "edge:32d590c3", "source": "class:EvalMetrics", "target": "func:EvalMetrics.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:1f1d8673", + "id": "edge:f3a5eb3f", "source": "file:src/agentkit/evaluation/ragas_evaluator.py", "target": "class:EvalResult", "type": "contains", "label": "定义类 EvalResult" }, { - "id": "edge:c8125b57", + "id": "edge:05064528", "source": "file:src/agentkit/evaluation/ragas_evaluator.py", "target": "class:EvalDatasetBuilder", "type": "contains", "label": "定义类 EvalDatasetBuilder" }, { - "id": "edge:bfa543da", + "id": "edge:94641aec", "source": "class:EvalDatasetBuilder", "target": "func:EvalDatasetBuilder.from_traces", "type": "contains", "label": "方法 from_traces" }, { - "id": "edge:f1ec8747", + "id": "edge:a2699ef5", "source": "class:EvalDatasetBuilder", "target": "func:EvalDatasetBuilder.from_dict_list", "type": "contains", "label": "方法 from_dict_list" }, { - "id": "edge:756f9f22", + "id": "edge:b3893fac", "source": "file:src/agentkit/evaluation/ragas_evaluator.py", "target": "class:RagasEvaluator", "type": "contains", "label": "定义类 RagasEvaluator" }, { - "id": "edge:26738dc5", + "id": "edge:7437dc63", "source": "class:RagasEvaluator", "target": "func:RagasEvaluator.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:52ca0cdf", + "id": "edge:c824fe7a", "source": "class:RagasEvaluator", "target": "func:RagasEvaluator.evaluate", "type": "contains", "label": "方法 evaluate" }, { - "id": "edge:b787e7fb", + "id": "edge:abdc0aba", "source": "class:RagasEvaluator", "target": "func:RagasEvaluator._evaluate_with_ragas", "type": "contains", "label": "方法 _evaluate_with_ragas" }, { - "id": "edge:85f60e6c", + "id": "edge:40e5a88c", "source": "class:RagasEvaluator", "target": "func:RagasEvaluator._evaluate_builtin", "type": "contains", "label": "方法 _evaluate_builtin" }, { - "id": "edge:fe9e15ed", + "id": "edge:30464508", "source": "file:src/agentkit/evolution/ab_tester.py", "target": "class:ABTestConfig", "type": "contains", "label": "定义类 ABTestConfig" }, { - "id": "edge:b5c87b12", + "id": "edge:8d24ec6e", "source": "file:src/agentkit/evolution/ab_tester.py", "target": "class:ABTestResult", "type": "contains", "label": "定义类 ABTestResult" }, { - "id": "edge:06b948dc", + "id": "edge:b56c808d", "source": "file:src/agentkit/evolution/ab_tester.py", "target": "class:ABTester", "type": "contains", "label": "定义类 ABTester" }, { - "id": "edge:456fd518", + "id": "edge:e595c2c2", "source": "class:ABTester", "target": "func:ABTester.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8fbfcfd6", + "id": "edge:cef4be69", "source": "class:ABTester", "target": "func:ABTester.create_test", "type": "contains", "label": "方法 create_test" }, { - "id": "edge:421f74c7", + "id": "edge:9c3f6446", "source": "class:ABTester", "target": "func:ABTester.assign_group", "type": "contains", "label": "方法 assign_group" }, { - "id": "edge:16ca7dfd", + "id": "edge:82e7e2b6", "source": "class:ABTester", "target": "func:ABTester.record_result", "type": "contains", "label": "方法 record_result" }, { - "id": "edge:82b2e10f", + "id": "edge:6c18d4fc", "source": "class:ABTester", "target": "func:ABTester.persist_results", "type": "contains", "label": "方法 persist_results" }, { - "id": "edge:396952e4", + "id": "edge:20ded4ab", "source": "class:ABTester", "target": "func:ABTester.evaluate", "type": "contains", "label": "方法 evaluate" }, { - "id": "edge:6499e668", + "id": "edge:601ad5d7", "source": "class:ABTester", "target": "func:ABTester._normal_cdf", "type": "contains", "label": "方法 _normal_cdf" }, { - "id": "edge:58c4e0c3", + "id": "edge:3319c936", + "source": "file:src/agentkit/evolution/evolution_store.py", + "target": "class:EvolutionStoreProtocol", + "type": "contains", + "label": "定义类 EvolutionStoreProtocol" + }, + { + "id": "edge:87a6a5e6", + "source": "class:EvolutionStoreProtocol", + "target": "func:EvolutionStoreProtocol.record", + "type": "contains", + "label": "方法 record" + }, + { + "id": "edge:8ebe7c57", + "source": "class:EvolutionStoreProtocol", + "target": "func:EvolutionStoreProtocol.rollback", + "type": "contains", + "label": "方法 rollback" + }, + { + "id": "edge:88ab0c32", + "source": "class:EvolutionStoreProtocol", + "target": "func:EvolutionStoreProtocol.list_events", + "type": "contains", + "label": "方法 list_events" + }, + { + "id": "edge:d09ace44", + "source": "class:EvolutionStoreProtocol", + "target": "func:EvolutionStoreProtocol.record_skill_version", + "type": "contains", + "label": "方法 record_skill_version" + }, + { + "id": "edge:ee19872d", + "source": "class:EvolutionStoreProtocol", + "target": "func:EvolutionStoreProtocol.list_skill_versions", + "type": "contains", + "label": "方法 list_skill_versions" + }, + { + "id": "edge:b774824a", + "source": "class:EvolutionStoreProtocol", + "target": "func:EvolutionStoreProtocol.record_ab_test_result", + "type": "contains", + "label": "方法 record_ab_test_result" + }, + { + "id": "edge:0bd98f30", + "source": "class:EvolutionStoreProtocol", + "target": "func:EvolutionStoreProtocol.get_ab_test_results", + "type": "contains", + "label": "方法 get_ab_test_results" + }, + { + "id": "edge:354dcbb8", "source": "file:src/agentkit/evolution/evolution_store.py", "target": "class:EvolutionStore", "type": "contains", "label": "定义类 EvolutionStore" }, { - "id": "edge:a72790b2", + "id": "edge:0d0df586", "source": "class:EvolutionStore", "target": "func:EvolutionStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:4bd16c76", + "id": "edge:5340fe74", "source": "class:EvolutionStore", "target": "func:EvolutionStore.record", "type": "contains", "label": "方法 record" }, { - "id": "edge:a805db01", + "id": "edge:460de8f3", "source": "class:EvolutionStore", "target": "func:EvolutionStore.rollback", "type": "contains", "label": "方法 rollback" }, { - "id": "edge:66c66878", + "id": "edge:331b1733", "source": "class:EvolutionStore", "target": "func:EvolutionStore.list_events", "type": "contains", "label": "方法 list_events" }, { - "id": "edge:d171078f", + "id": "edge:84f3e224", + "source": "class:EvolutionStore", + "target": "func:EvolutionStore.record_skill_version", + "type": "contains", + "label": "方法 record_skill_version" + }, + { + "id": "edge:b490c748", + "source": "class:EvolutionStore", + "target": "func:EvolutionStore.list_skill_versions", + "type": "contains", + "label": "方法 list_skill_versions" + }, + { + "id": "edge:4b43a200", + "source": "class:EvolutionStore", + "target": "func:EvolutionStore.record_ab_test_result", + "type": "contains", + "label": "方法 record_ab_test_result" + }, + { + "id": "edge:0235b936", + "source": "class:EvolutionStore", + "target": "func:EvolutionStore.get_ab_test_results", + "type": "contains", + "label": "方法 get_ab_test_results" + }, + { + "id": "edge:54d5114a", "source": "file:src/agentkit/evolution/evolution_store.py", "target": "class:PersistentEvolutionStore", "type": "contains", "label": "定义类 PersistentEvolutionStore" }, { - "id": "edge:23a27823", + "id": "edge:37ff54d8", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:108feab6", + "id": "edge:2dbe7ae4", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore._run_sync", "type": "contains", "label": "方法 _run_sync" }, { - "id": "edge:5c7c6f58", + "id": "edge:0fb1d8c5", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore.close", "type": "contains", "label": "方法 close" }, { - "id": "edge:eb69cc97", + "id": "edge:57d8ad77", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore.__aenter__", "type": "contains", "label": "方法 __aenter__" }, { - "id": "edge:1dda7b5d", + "id": "edge:a68e8cdf", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore.__aexit__", "type": "contains", "label": "方法 __aexit__" }, { - "id": "edge:fac8864d", + "id": "edge:4af6e5a6", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore._retry_locked", "type": "contains", "label": "方法 _retry_locked" }, { - "id": "edge:77855ffc", + "id": "edge:a6d3022d", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore._record_sync", "type": "contains", "label": "方法 _record_sync" }, { - "id": "edge:197e202c", + "id": "edge:0466549d", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore.record", "type": "contains", "label": "方法 record" }, { - "id": "edge:487cd19f", + "id": "edge:7561a45f", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore._rollback_sync", "type": "contains", "label": "方法 _rollback_sync" }, { - "id": "edge:7fba9b04", + "id": "edge:4a16ce49", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore.rollback", "type": "contains", "label": "方法 rollback" }, { - "id": "edge:e369ba1e", + "id": "edge:b7afd122", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore._list_events_sync", "type": "contains", "label": "方法 _list_events_sync" }, { - "id": "edge:0edc20f3", + "id": "edge:491fc9d1", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore.list_events", "type": "contains", "label": "方法 list_events" }, { - "id": "edge:2ce1bb1e", + "id": "edge:692bea38", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore._record_skill_version_sync", "type": "contains", "label": "方法 _record_skill_version_sync" }, { - "id": "edge:f6301584", + "id": "edge:cb1bd070", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore.record_skill_version", "type": "contains", "label": "方法 record_skill_version" }, { - "id": "edge:9e64a116", + "id": "edge:9dff8382", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore._list_skill_versions_sync", "type": "contains", "label": "方法 _list_skill_versions_sync" }, { - "id": "edge:6efd20cc", + "id": "edge:cc9e3f9b", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore.list_skill_versions", "type": "contains", "label": "方法 list_skill_versions" }, { - "id": "edge:59ca0e9c", + "id": "edge:082c6c60", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore._record_ab_test_result_sync", "type": "contains", "label": "方法 _record_ab_test_result_sync" }, { - "id": "edge:ae2172d3", + "id": "edge:127179e7", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore.record_ab_test_result", "type": "contains", "label": "方法 record_ab_test_result" }, { - "id": "edge:3a8a933d", + "id": "edge:319a509b", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore._get_ab_test_results_sync", "type": "contains", "label": "方法 _get_ab_test_results_sync" }, { - "id": "edge:ae879625", + "id": "edge:5ef4798b", "source": "class:PersistentEvolutionStore", "target": "func:PersistentEvolutionStore.get_ab_test_results", "type": "contains", "label": "方法 get_ab_test_results" }, { - "id": "edge:536f1a53", + "id": "edge:b45067bb", "source": "file:src/agentkit/evolution/evolution_store.py", "target": "class:InMemoryEvolutionStore", "type": "contains", "label": "定义类 InMemoryEvolutionStore" }, { - "id": "edge:d13744e1", + "id": "edge:745a5cdb", "source": "class:InMemoryEvolutionStore", "target": "func:InMemoryEvolutionStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:5a2045a2", + "id": "edge:b060662e", "source": "class:InMemoryEvolutionStore", "target": "func:InMemoryEvolutionStore.record", "type": "contains", "label": "方法 record" }, { - "id": "edge:c5c2ff78", + "id": "edge:40bf8ea0", "source": "class:InMemoryEvolutionStore", "target": "func:InMemoryEvolutionStore.rollback", "type": "contains", "label": "方法 rollback" }, { - "id": "edge:a8a6a246", + "id": "edge:c1f97ef3", "source": "class:InMemoryEvolutionStore", "target": "func:InMemoryEvolutionStore.list_events", "type": "contains", "label": "方法 list_events" }, { - "id": "edge:6a2639d6", + "id": "edge:bc6fb55e", "source": "class:InMemoryEvolutionStore", "target": "func:InMemoryEvolutionStore.record_skill_version", "type": "contains", "label": "方法 record_skill_version" }, { - "id": "edge:6ae84675", + "id": "edge:3e7b4bd0", "source": "class:InMemoryEvolutionStore", "target": "func:InMemoryEvolutionStore.list_skill_versions", "type": "contains", "label": "方法 list_skill_versions" }, { - "id": "edge:f60285a9", + "id": "edge:9076ade8", "source": "class:InMemoryEvolutionStore", "target": "func:InMemoryEvolutionStore.record_ab_test_result", "type": "contains", "label": "方法 record_ab_test_result" }, { - "id": "edge:83773c6c", + "id": "edge:271d1aed", "source": "class:InMemoryEvolutionStore", "target": "func:InMemoryEvolutionStore.get_ab_test_results", "type": "contains", "label": "方法 get_ab_test_results" }, { - "id": "edge:4fb23497", + "id": "edge:72f7d2fc", "source": "file:src/agentkit/evolution/experience_schema.py", "target": "class:TaskExperience", "type": "contains", "label": "定义类 TaskExperience" }, { - "id": "edge:f7aeb471", + "id": "edge:5706ae91", "source": "class:TaskExperience", "target": "func:TaskExperience.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:41f8ec79", + "id": "edge:5a2f94da", "source": "class:TaskExperience", "target": "func:TaskExperience.text_for_embedding", "type": "contains", "label": "方法 text_for_embedding" }, { - "id": "edge:f96d9a28", + "id": "edge:b11d5b22", "source": "file:src/agentkit/evolution/experience_schema.py", "target": "class:EvolutionMetrics", "type": "contains", "label": "定义类 EvolutionMetrics" }, { - "id": "edge:cc6098bc", + "id": "edge:d41bfef9", "source": "class:EvolutionMetrics", "target": "func:EvolutionMetrics.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:9ad73e50", + "id": "edge:c6cae702", "source": "file:src/agentkit/evolution/experience_store.py", "target": "class:ExperienceStore", "type": "contains", "label": "定义类 ExperienceStore" }, { - "id": "edge:029db329", + "id": "edge:b284b262", "source": "class:ExperienceStore", "target": "func:ExperienceStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:fc612c92", + "id": "edge:2eb1a310", "source": "class:ExperienceStore", "target": "func:ExperienceStore.record_experience", "type": "contains", "label": "方法 record_experience" }, { - "id": "edge:d1763d55", + "id": "edge:9cefd9a6", "source": "class:ExperienceStore", "target": "func:ExperienceStore.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:ccce4dfe", + "id": "edge:a4b97d1e", "source": "class:ExperienceStore", "target": "func:ExperienceStore._search_pgvector", "type": "contains", "label": "方法 _search_pgvector" }, { - "id": "edge:f7efbb0f", + "id": "edge:1156557a", "source": "class:ExperienceStore", "target": "func:ExperienceStore._search_client_side", "type": "contains", "label": "方法 _search_client_side" }, { - "id": "edge:a4277bdb", + "id": "edge:f1cf8e72", "source": "class:ExperienceStore", "target": "func:ExperienceStore.get_metrics", "type": "contains", "label": "方法 get_metrics" }, { - "id": "edge:56d0e5ec", + "id": "edge:e67f9dca", "source": "file:src/agentkit/evolution/experience_store.py", "target": "class:InMemoryExperienceStore", "type": "contains", "label": "定义类 InMemoryExperienceStore" }, { - "id": "edge:b90177f1", + "id": "edge:24c0c968", "source": "class:InMemoryExperienceStore", "target": "func:InMemoryExperienceStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:612cd694", + "id": "edge:ac0e87a0", "source": "class:InMemoryExperienceStore", "target": "func:InMemoryExperienceStore.record_experience", "type": "contains", "label": "方法 record_experience" }, { - "id": "edge:a3284704", + "id": "edge:ac7e3ce0", "source": "class:InMemoryExperienceStore", "target": "func:InMemoryExperienceStore.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:195595ec", + "id": "edge:bde2e5db", "source": "class:InMemoryExperienceStore", "target": "func:InMemoryExperienceStore.get_metrics", "type": "contains", "label": "方法 get_metrics" }, { - "id": "edge:ff954f88", + "id": "edge:358ac0c2", "source": "file:src/agentkit/evolution/fitness.py", "target": "class:FitnessWeights", "type": "contains", "label": "定义类 FitnessWeights" }, { - "id": "edge:45276a67", + "id": "edge:ff93d6bd", "source": "class:FitnessWeights", "target": "func:FitnessWeights.__post_init__", "type": "contains", "label": "方法 __post_init__" }, { - "id": "edge:859f932e", + "id": "edge:0f1f3bc9", "source": "file:src/agentkit/evolution/fitness.py", "target": "class:MultiObjectiveFitness", "type": "contains", "label": "定义类 MultiObjectiveFitness" }, { - "id": "edge:dcb38e3b", + "id": "edge:df951aed", "source": "class:MultiObjectiveFitness", "target": "func:MultiObjectiveFitness.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:55fa4eee", + "id": "edge:c2f3234a", "source": "class:MultiObjectiveFitness", "target": "func:MultiObjectiveFitness.evaluate", "type": "contains", "label": "方法 evaluate" }, { - "id": "edge:058d6a19", + "id": "edge:02e5f6b8", "source": "class:MultiObjectiveFitness", "target": "func:MultiObjectiveFitness.weighted_score", "type": "contains", "label": "方法 weighted_score" }, { - "id": "edge:02430fd4", + "id": "edge:0c46b140", "source": "class:MultiObjectiveFitness", "target": "func:MultiObjectiveFitness.pareto_rank", "type": "contains", "label": "方法 pareto_rank" }, { - "id": "edge:e7d7aa84", + "id": "edge:cb9c89df", "source": "class:MultiObjectiveFitness", "target": "func:MultiObjectiveFitness.crowding_distance", "type": "contains", "label": "方法 crowding_distance" }, { - "id": "edge:c031b07c", + "id": "edge:de9c1527", "source": "file:src/agentkit/evolution/fitness.py", "target": "class:ExtendedStrategyConfig", "type": "contains", "label": "定义类 ExtendedStrategyConfig" }, { - "id": "edge:77a34a1c", + "id": "edge:a70f904b", "source": "file:src/agentkit/evolution/fitness.py", "target": "class:ExtendedStrategyTuner", "type": "contains", "label": "定义类 ExtendedStrategyTuner" }, { - "id": "edge:19024615", + "id": "edge:71874e71", "source": "class:ExtendedStrategyTuner", "target": "func:ExtendedStrategyTuner.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:58351ea4", + "id": "edge:2643fb3e", "source": "class:ExtendedStrategyTuner", "target": "func:ExtendedStrategyTuner.record", "type": "contains", "label": "方法 record" }, { - "id": "edge:b51cfaf1", + "id": "edge:2a3a2f44", "source": "class:ExtendedStrategyTuner", "target": "func:ExtendedStrategyTuner.suggest", "type": "contains", "label": "方法 suggest" }, { - "id": "edge:6eb37613", + "id": "edge:81959972", "source": "class:ExtendedStrategyTuner", "target": "func:ExtendedStrategyTuner._optimize_param", "type": "contains", "label": "方法 _optimize_param" }, { - "id": "edge:604bb655", + "id": "edge:cd950fc8", "source": "class:ExtendedStrategyTuner", "target": "func:ExtendedStrategyTuner._suggest_retrieval_mode", "type": "contains", "label": "方法 _suggest_retrieval_mode" }, { - "id": "edge:5a982847", + "id": "edge:ff085dc5", "source": "class:ExtendedStrategyTuner", "target": "func:ExtendedStrategyTuner.history_size", "type": "contains", "label": "方法 history_size" }, { - "id": "edge:fef0c906", + "id": "edge:007ed4d5", "source": "file:src/agentkit/evolution/genetic.py", "target": "class:FitnessScore", "type": "contains", "label": "定义类 FitnessScore" }, { - "id": "edge:1cfcb057", + "id": "edge:f9530b48", "source": "class:FitnessScore", "target": "func:FitnessScore.normalized", "type": "contains", "label": "方法 normalized" }, { - "id": "edge:0fc578e6", + "id": "edge:a13b8de5", "source": "class:FitnessScore", "target": "func:FitnessScore.dominates", "type": "contains", "label": "方法 dominates" }, { - "id": "edge:f8ab8a30", + "id": "edge:7bfd9a00", "source": "file:src/agentkit/evolution/genetic.py", "target": "class:PromptChromosome", "type": "contains", "label": "定义类 PromptChromosome" }, { - "id": "edge:475524a9", + "id": "edge:3d2e298f", "source": "class:PromptChromosome", "target": "func:PromptChromosome.to_module", "type": "contains", "label": "方法 to_module" }, { - "id": "edge:b658e9de", + "id": "edge:49aba3af", "source": "class:PromptChromosome", "target": "func:PromptChromosome.from_module", "type": "contains", "label": "方法 from_module" }, { - "id": "edge:77553ff7", + "id": "edge:e08e8753", "source": "file:src/agentkit/evolution/genetic.py", "target": "class:CrossoverOperator", "type": "contains", "label": "定义类 CrossoverOperator" }, { - "id": "edge:50549c04", + "id": "edge:14a2b8b8", "source": "class:CrossoverOperator", "target": "func:CrossoverOperator.crossover", "type": "contains", "label": "方法 crossover" }, { - "id": "edge:c6d75b6e", + "id": "edge:24e538f0", "source": "class:CrossoverOperator", "target": "func:CrossoverOperator._crossover_text", "type": "contains", "label": "方法 _crossover_text" }, { - "id": "edge:b52cf2ec", + "id": "edge:8781a04e", "source": "class:CrossoverOperator", "target": "func:CrossoverOperator._crossover_demos", "type": "contains", "label": "方法 _crossover_demos" }, { - "id": "edge:32066864", + "id": "edge:91d69e3a", "source": "class:CrossoverOperator", "target": "func:CrossoverOperator._crossover_constraints", "type": "contains", "label": "方法 _crossover_constraints" }, { - "id": "edge:dc024eb7", + "id": "edge:0a869198", "source": "file:src/agentkit/evolution/genetic.py", "target": "class:MutationOperator", "type": "contains", "label": "定义类 MutationOperator" }, { - "id": "edge:419b0b00", + "id": "edge:216ec69f", "source": "class:MutationOperator", "target": "func:MutationOperator.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:68502172", + "id": "edge:3ac0cc8e", "source": "class:MutationOperator", "target": "func:MutationOperator.mutate", "type": "contains", "label": "方法 mutate" }, { - "id": "edge:ac9cd394", + "id": "edge:980cdbd4", "source": "class:MutationOperator", "target": "func:MutationOperator._mutate_instructions", "type": "contains", "label": "方法 _mutate_instructions" }, { - "id": "edge:d6a37dc7", + "id": "edge:26263810", "source": "class:MutationOperator", "target": "func:MutationOperator._mutate_demos", "type": "contains", "label": "方法 _mutate_demos" }, { - "id": "edge:46f9a66d", + "id": "edge:d1de6a0a", "source": "class:MutationOperator", "target": "func:MutationOperator._mutate_constraints", "type": "contains", "label": "方法 _mutate_constraints" }, { - "id": "edge:c85b20b9", + "id": "edge:273bd0ce", "source": "file:src/agentkit/evolution/genetic.py", "target": "class:GEPAPopulation", "type": "contains", "label": "定义类 GEPAPopulation" }, { - "id": "edge:7fbbd98a", + "id": "edge:5e8932e3", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:39dc60d7", + "id": "edge:af622444", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.generation", "type": "contains", "label": "方法 generation" }, { - "id": "edge:21ed00d8", + "id": "edge:de180c43", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.individuals", "type": "contains", "label": "方法 individuals" }, { - "id": "edge:4558f06e", + "id": "edge:2ddf2bf7", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.size", "type": "contains", "label": "方法 size" }, { - "id": "edge:c29d7fa3", + "id": "edge:be0ad6af", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.initialize", "type": "contains", "label": "方法 initialize" }, { - "id": "edge:e4777712", + "id": "edge:9b3e7dcf", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.add", "type": "contains", "label": "方法 add" }, { - "id": "edge:0b918b96", + "id": "edge:a02c3d35", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.get_elite", "type": "contains", "label": "方法 get_elite" }, { - "id": "edge:906534e6", + "id": "edge:a8fb1654", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.get_pareto_front", "type": "contains", "label": "方法 get_pareto_front" }, { - "id": "edge:2ff21c26", + "id": "edge:1ca4110a", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.tournament_select", "type": "contains", "label": "方法 tournament_select" }, { - "id": "edge:bdea55dc", + "id": "edge:0232928f", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.evolve", "type": "contains", "label": "方法 evolve" }, { - "id": "edge:47c09839", + "id": "edge:f3f51c99", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.get_best", "type": "contains", "label": "方法 get_best" }, { - "id": "edge:0c97c808", + "id": "edge:7e700503", "source": "class:GEPAPopulation", "target": "func:GEPAPopulation.get_statistics", "type": "contains", "label": "方法 get_statistics" }, { - "id": "edge:2057e686", + "id": "edge:0203a635", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "class:SoulEvolutionConfig", "type": "contains", "label": "定义类 SoulEvolutionConfig" }, { - "id": "edge:f8d2b24b", + "id": "edge:86880349", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "class:EvolutionLogEntry", "type": "contains", "label": "定义类 EvolutionLogEntry" }, { - "id": "edge:3d616b7b", + "id": "edge:bbbe1062", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "class:EvolutionMixin", "type": "contains", "label": "定义类 EvolutionMixin" }, { - "id": "edge:5126ab2b", + "id": "edge:bad9ebe4", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b3aa7ed5", + "id": "edge:cdd35064", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin._create_reflector", "type": "contains", "label": "方法 _create_reflector" }, { - "id": "edge:80d768ee", + "id": "edge:ab995e27", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin.evolve_after_task", "type": "contains", "label": "方法 evolve_after_task" }, { - "id": "edge:35ce9897", + "id": "edge:86886a5c", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin._optimize_with_context", "type": "contains", "label": "方法 _optimize_with_context" }, { - "id": "edge:2d4d6f84", + "id": "edge:d1ca5807", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin._run_ab_test", "type": "contains", "label": "方法 _run_ab_test" }, { - "id": "edge:d11b7315", + "id": "edge:bef80a77", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin._run_strategy_tuning", "type": "contains", "label": "方法 _run_strategy_tuning" }, { - "id": "edge:963f4a5b", + "id": "edge:77470dcc", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin.get_evolution_history", "type": "contains", "label": "方法 get_evolution_history" }, { - "id": "edge:3d5d6cab", + "id": "edge:a943c7f0", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin.set_current_module", "type": "contains", "label": "方法 set_current_module" }, { - "id": "edge:4901f194", + "id": "edge:81228b2b", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin._apply_change", "type": "contains", "label": "方法 _apply_change" }, { - "id": "edge:def891ed", + "id": "edge:9fabcff2", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin._rollback_change", "type": "contains", "label": "方法 _rollback_change" }, { - "id": "edge:b6b7f14a", + "id": "edge:46425897", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin.record_reflection", "type": "contains", "label": "方法 record_reflection" }, { - "id": "edge:afd8fc18", + "id": "edge:61705207", "source": "class:EvolutionMixin", "target": "func:EvolutionMixin.evolve_soul", "type": "contains", "label": "方法 evolve_soul" }, { - "id": "edge:5de09963", + "id": "edge:c39aab24", "source": "file:src/agentkit/evolution/llm_reflector.py", "target": "class:LLMReflector", "type": "contains", "label": "定义类 LLMReflector" }, { - "id": "edge:df2b841e", + "id": "edge:44cde6d6", "source": "class:LLMReflector", "target": "func:LLMReflector.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:6b3f9aa4", + "id": "edge:49f89e3c", "source": "class:LLMReflector", "target": "func:LLMReflector._sanitize_for_prompt", "type": "contains", "label": "方法 _sanitize_for_prompt" }, { - "id": "edge:2776fe5d", + "id": "edge:aacdfd1d", "source": "class:LLMReflector", "target": "func:LLMReflector.reflect", "type": "contains", "label": "方法 reflect" }, { - "id": "edge:39526896", + "id": "edge:77572a05", "source": "class:LLMReflector", "target": "func:LLMReflector._build_reflection_prompt", "type": "contains", "label": "方法 _build_reflection_prompt" }, { - "id": "edge:1c05a943", + "id": "edge:03d561e6", "source": "class:LLMReflector", "target": "func:LLMReflector._parse_reflection_response", "type": "contains", "label": "方法 _parse_reflection_response" }, { - "id": "edge:2740caad", + "id": "edge:efe2ef25", "source": "class:LLMReflector", "target": "func:LLMReflector._build_reflection_from_data", "type": "contains", "label": "方法 _build_reflection_from_data" }, { - "id": "edge:bde420ce", + "id": "edge:e094406b", "source": "file:src/agentkit/evolution/models.py", "target": "class:EvolutionEventModel", "type": "contains", "label": "定义类 EvolutionEventModel" }, { - "id": "edge:931c21ea", + "id": "edge:564b0995", "source": "file:src/agentkit/evolution/models.py", "target": "class:SkillVersionModel", "type": "contains", "label": "定义类 SkillVersionModel" }, { - "id": "edge:1d03fb22", + "id": "edge:36acd46e", "source": "file:src/agentkit/evolution/models.py", "target": "class:ABTestResultModel", "type": "contains", "label": "定义类 ABTestResultModel" }, { - "id": "edge:c5ed7c0b", + "id": "edge:2e9f8352", "source": "file:src/agentkit/evolution/path_optimizer.py", "target": "class:ExecutionPath", "type": "contains", "label": "定义类 ExecutionPath" }, { - "id": "edge:3e9a355c", + "id": "edge:19e59a14", "source": "file:src/agentkit/evolution/path_optimizer.py", "target": "class:PathUpdateResult", "type": "contains", "label": "定义类 PathUpdateResult" }, { - "id": "edge:81ed1f83", + "id": "edge:c0dcfae0", "source": "file:src/agentkit/evolution/path_optimizer.py", "target": "class:PathOptimizer", "type": "contains", "label": "定义类 PathOptimizer" }, { - "id": "edge:5c3247fd", + "id": "edge:38128532", "source": "class:PathOptimizer", "target": "func:PathOptimizer.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:1a10307b", + "id": "edge:161f9f0c", "source": "class:PathOptimizer", "target": "func:PathOptimizer.get_recommended_path", "type": "contains", "label": "方法 get_recommended_path" }, { - "id": "edge:07c1d9de", + "id": "edge:52db2b28", "source": "class:PathOptimizer", "target": "func:PathOptimizer.evaluate_and_update", "type": "contains", "label": "方法 evaluate_and_update" }, { - "id": "edge:77704197", + "id": "edge:e054b2ad", "source": "class:PathOptimizer", "target": "func:PathOptimizer._compare_and_decide", "type": "contains", "label": "方法 _compare_and_decide" }, { - "id": "edge:d557fb2b", + "id": "edge:1a0598ac", "source": "class:PathOptimizer", "target": "func:PathOptimizer._apply_update", "type": "contains", "label": "方法 _apply_update" }, { - "id": "edge:e42962db", + "id": "edge:87a96f22", "source": "class:PathOptimizer", "target": "func:PathOptimizer.get_pending_paths", "type": "contains", "label": "方法 get_pending_paths" }, { - "id": "edge:8a7077ef", + "id": "edge:c951f653", + "source": "file:src/agentkit/evolution/pg_store.py", + "target": "class:PGEvolutionEventModel", + "type": "contains", + "label": "定义类 PGEvolutionEventModel" + }, + { + "id": "edge:708d2fc0", + "source": "file:src/agentkit/evolution/pg_store.py", + "target": "class:PGSkillVersionModel", + "type": "contains", + "label": "定义类 PGSkillVersionModel" + }, + { + "id": "edge:93f02797", + "source": "file:src/agentkit/evolution/pg_store.py", + "target": "class:PGABTestResultModel", + "type": "contains", + "label": "定义类 PGABTestResultModel" + }, + { + "id": "edge:f87d7eef", + "source": "file:src/agentkit/evolution/pg_store.py", + "target": "class:PostgreSQLEvolutionStore", + "type": "contains", + "label": "定义类 PostgreSQLEvolutionStore" + }, + { + "id": "edge:bfdce2f8", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.__init__", + "type": "contains", + "label": "方法 __init__" + }, + { + "id": "edge:b067f95c", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore._ensure_initialized", + "type": "contains", + "label": "方法 _ensure_initialized" + }, + { + "id": "edge:76713841", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.ensure_tables", + "type": "contains", + "label": "方法 ensure_tables" + }, + { + "id": "edge:e5cf3cb3", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.close", + "type": "contains", + "label": "方法 close" + }, + { + "id": "edge:3a455c67", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.__aenter__", + "type": "contains", + "label": "方法 __aenter__" + }, + { + "id": "edge:9d0fc366", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.__aexit__", + "type": "contains", + "label": "方法 __aexit__" + }, + { + "id": "edge:2245e354", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.record", + "type": "contains", + "label": "方法 record" + }, + { + "id": "edge:edf33a27", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.rollback", + "type": "contains", + "label": "方法 rollback" + }, + { + "id": "edge:f03cf840", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.list_events", + "type": "contains", + "label": "方法 list_events" + }, + { + "id": "edge:772e9bdb", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.record_skill_version", + "type": "contains", + "label": "方法 record_skill_version" + }, + { + "id": "edge:2e919248", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.list_skill_versions", + "type": "contains", + "label": "方法 list_skill_versions" + }, + { + "id": "edge:7166beb1", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.record_ab_test_result", + "type": "contains", + "label": "方法 record_ab_test_result" + }, + { + "id": "edge:433e10a4", + "source": "class:PostgreSQLEvolutionStore", + "target": "func:PostgreSQLEvolutionStore.get_ab_test_results", + "type": "contains", + "label": "方法 get_ab_test_results" + }, + { + "id": "edge:fc7bd14f", "source": "file:src/agentkit/evolution/pitfall_detector.py", "target": "class:WarningLevel", "type": "contains", "label": "定义类 WarningLevel" }, { - "id": "edge:96846062", + "id": "edge:2d82eca1", "source": "file:src/agentkit/evolution/pitfall_detector.py", "target": "class:PitfallWarning", "type": "contains", "label": "定义类 PitfallWarning" }, { - "id": "edge:aab900f0", + "id": "edge:5e254963", "source": "file:src/agentkit/evolution/pitfall_detector.py", "target": "class:ExperienceStoreProtocol", "type": "contains", "label": "定义类 ExperienceStoreProtocol" }, { - "id": "edge:4e6e1c8b", + "id": "edge:16f88e89", "source": "class:ExperienceStoreProtocol", "target": "func:ExperienceStoreProtocol.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:47abcdcf", + "id": "edge:3fe887aa", "source": "file:src/agentkit/evolution/pitfall_detector.py", "target": "class:PitfallDetector", "type": "contains", "label": "定义类 PitfallDetector" }, { - "id": "edge:42cb178b", + "id": "edge:422ebe95", "source": "class:PitfallDetector", "target": "func:PitfallDetector.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8d6406ca", + "id": "edge:72c141e2", "source": "class:PitfallDetector", "target": "func:PitfallDetector.check_pitfalls", "type": "contains", "label": "方法 check_pitfalls" }, { - "id": "edge:93860d29", + "id": "edge:ed788a2c", "source": "class:PitfallDetector", "target": "func:PitfallDetector._search_experiences", "type": "contains", "label": "方法 _search_experiences" }, { - "id": "edge:48596b42", + "id": "edge:2f0151e6", "source": "class:PitfallDetector", "target": "func:PitfallDetector._extract_step_failure_stats", "type": "contains", "label": "方法 _extract_step_failure_stats" }, { - "id": "edge:bc226c33", + "id": "edge:245a233b", "source": "class:PitfallDetector", "target": "func:PitfallDetector._match_and_warn", "type": "contains", "label": "方法 _match_and_warn" }, { - "id": "edge:19949a07", + "id": "edge:2579c21a", "source": "file:src/agentkit/evolution/pitfall_detector.py", "target": "class:_StepFailureStats", "type": "contains", "label": "定义类 _StepFailureStats" }, { - "id": "edge:8bb4fdc1", + "id": "edge:6650d48f", "source": "file:src/agentkit/evolution/prompt_optimizer.py", "target": "class:Signature", "type": "contains", "label": "定义类 Signature" }, { - "id": "edge:df8641ac", + "id": "edge:5757316d", "source": "class:Signature", "target": "func:Signature.to_prompt_prefix", "type": "contains", "label": "方法 to_prompt_prefix" }, { - "id": "edge:862b971c", + "id": "edge:9a7b49f1", "source": "file:src/agentkit/evolution/prompt_optimizer.py", "target": "class:Module", "type": "contains", "label": "定义类 Module" }, { - "id": "edge:42bc645d", + "id": "edge:228b97fa", "source": "class:Module", "target": "func:Module.render", "type": "contains", "label": "方法 render" }, { - "id": "edge:5025f147", + "id": "edge:f203f9dc", "source": "file:src/agentkit/evolution/prompt_optimizer.py", "target": "class:BootstrapPromptOptimizer", "type": "contains", "label": "定义类 BootstrapPromptOptimizer" }, { - "id": "edge:5c9a0412", + "id": "edge:d318318f", "source": "class:BootstrapPromptOptimizer", "target": "func:BootstrapPromptOptimizer.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:31a65128", + "id": "edge:803ae253", "source": "class:BootstrapPromptOptimizer", "target": "func:BootstrapPromptOptimizer.add_example", "type": "contains", "label": "方法 add_example" }, { - "id": "edge:4139aa8b", + "id": "edge:349ce75b", "source": "class:BootstrapPromptOptimizer", "target": "func:BootstrapPromptOptimizer.optimize", "type": "contains", "label": "方法 optimize" }, { - "id": "edge:3b615ba1", + "id": "edge:d544f78b", "source": "class:BootstrapPromptOptimizer", "target": "func:BootstrapPromptOptimizer.example_count", "type": "contains", "label": "方法 example_count" }, { - "id": "edge:89e747ae", + "id": "edge:90979594", "source": "file:src/agentkit/evolution/prompt_optimizer.py", "target": "class:LLMPromptOptimizer", "type": "contains", "label": "定义类 LLMPromptOptimizer" }, { - "id": "edge:17036f0c", + "id": "edge:d828a577", "source": "class:LLMPromptOptimizer", "target": "func:LLMPromptOptimizer.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:f840f5d6", + "id": "edge:7035363c", "source": "class:LLMPromptOptimizer", "target": "func:LLMPromptOptimizer.add_example", "type": "contains", "label": "方法 add_example" }, { - "id": "edge:8b3cffa9", + "id": "edge:edd94a38", "source": "class:LLMPromptOptimizer", "target": "func:LLMPromptOptimizer.optimize", "type": "contains", "label": "方法 optimize" }, { - "id": "edge:27b7f169", + "id": "edge:30804d57", "source": "class:LLMPromptOptimizer", "target": "func:LLMPromptOptimizer._llm_optimize_instruction", "type": "contains", "label": "方法 _llm_optimize_instruction" }, { - "id": "edge:015cdb36", + "id": "edge:57a4c964", "source": "class:LLMPromptOptimizer", "target": "func:LLMPromptOptimizer._build_optimization_prompt", "type": "contains", "label": "方法 _build_optimization_prompt" }, { - "id": "edge:f93f648b", + "id": "edge:c49d39ca", "source": "class:LLMPromptOptimizer", "target": "func:LLMPromptOptimizer.example_count", "type": "contains", "label": "方法 example_count" }, { - "id": "edge:bb36f5ac", + "id": "edge:0635e1f8", "source": "file:src/agentkit/evolution/reflector.py", "target": "class:Reflection", "type": "contains", "label": "定义类 Reflection" }, { - "id": "edge:5006c4df", + "id": "edge:1918748c", "source": "file:src/agentkit/evolution/reflector.py", "target": "class:RuleBasedReflector", "type": "contains", "label": "定义类 RuleBasedReflector" }, { - "id": "edge:d398a4cf", + "id": "edge:e0eb31d6", "source": "class:RuleBasedReflector", "target": "func:RuleBasedReflector.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:fb5e56cb", + "id": "edge:d437b62c", "source": "class:RuleBasedReflector", "target": "func:RuleBasedReflector.reflect", "type": "contains", "label": "方法 reflect" }, { - "id": "edge:90f37e25", + "id": "edge:610d3095", "source": "class:RuleBasedReflector", "target": "func:RuleBasedReflector._score_quality", "type": "contains", "label": "方法 _score_quality" }, { - "id": "edge:2d734102", + "id": "edge:e8f946e5", "source": "class:RuleBasedReflector", "target": "func:RuleBasedReflector._extract_patterns", "type": "contains", "label": "方法 _extract_patterns" }, { - "id": "edge:ac5767a2", + "id": "edge:c27632cf", "source": "class:RuleBasedReflector", "target": "func:RuleBasedReflector._generate_insights", "type": "contains", "label": "方法 _generate_insights" }, { - "id": "edge:570a18f9", + "id": "edge:be818a3e", "source": "class:RuleBasedReflector", "target": "func:RuleBasedReflector._generate_suggestions", "type": "contains", "label": "方法 _generate_suggestions" }, { - "id": "edge:d9999ef1", + "id": "edge:8cd18e22", "source": "file:src/agentkit/evolution/strategy_tuner.py", "target": "class:StrategyConfig", "type": "contains", "label": "定义类 StrategyConfig" }, { - "id": "edge:7ae3c3e2", + "id": "edge:90bba490", "source": "file:src/agentkit/evolution/strategy_tuner.py", "target": "class:StrategyTuner", "type": "contains", "label": "定义类 StrategyTuner" }, { - "id": "edge:119e60ee", + "id": "edge:5a7f1551", "source": "class:StrategyTuner", "target": "func:StrategyTuner.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:a54ab121", + "id": "edge:1ab2ad6f", "source": "class:StrategyTuner", "target": "func:StrategyTuner.record", "type": "contains", "label": "方法 record" }, { - "id": "edge:969eb470", + "id": "edge:4f865778", "source": "class:StrategyTuner", "target": "func:StrategyTuner.suggest", "type": "contains", "label": "方法 suggest" }, { - "id": "edge:e7356518", + "id": "edge:0c8b2792", "source": "class:StrategyTuner", "target": "func:StrategyTuner._optimize_param_1d", "type": "contains", "label": "方法 _optimize_param_1d" }, { - "id": "edge:668cb5d2", + "id": "edge:7521231f", "source": "class:StrategyTuner", "target": "func:StrategyTuner._clamp", "type": "contains", "label": "方法 _clamp" }, { - "id": "edge:bae6304b", + "id": "edge:80efba11", + "source": "file:src/agentkit/llm/cache.py", + "target": "class:CacheEntry", + "type": "contains", + "label": "定义类 CacheEntry" + }, + { + "id": "edge:3f556974", + "source": "file:src/agentkit/llm/cache.py", + "target": "class:CacheResult", + "type": "contains", + "label": "定义类 CacheResult" + }, + { + "id": "edge:57287b2a", + "source": "file:src/agentkit/llm/cache.py", + "target": "class:LLMCache", + "type": "contains", + "label": "定义类 LLMCache" + }, + { + "id": "edge:322801bc", + "source": "class:LLMCache", + "target": "func:LLMCache.get", + "type": "contains", + "label": "方法 get" + }, + { + "id": "edge:482f85eb", + "source": "class:LLMCache", + "target": "func:LLMCache.semantic_search", + "type": "contains", + "label": "方法 semantic_search" + }, + { + "id": "edge:5a0b2031", + "source": "class:LLMCache", + "target": "func:LLMCache.put", + "type": "contains", + "label": "方法 put" + }, + { + "id": "edge:c4dfd953", + "source": "class:LLMCache", + "target": "func:LLMCache.invalidate", + "type": "contains", + "label": "方法 invalidate" + }, + { + "id": "edge:e9d928db", + "source": "class:LLMCache", + "target": "func:LLMCache.stats", + "type": "contains", + "label": "方法 stats" + }, + { + "id": "edge:32828009", + "source": "file:src/agentkit/llm/cache.py", + "target": "class:InMemoryLLMCache", + "type": "contains", + "label": "定义类 InMemoryLLMCache" + }, + { + "id": "edge:ea149b86", + "source": "class:InMemoryLLMCache", + "target": "func:InMemoryLLMCache.__init__", + "type": "contains", + "label": "方法 __init__" + }, + { + "id": "edge:9ed2d7ed", + "source": "class:InMemoryLLMCache", + "target": "func:InMemoryLLMCache.get", + "type": "contains", + "label": "方法 get" + }, + { + "id": "edge:5762494a", + "source": "class:InMemoryLLMCache", + "target": "func:InMemoryLLMCache.semantic_search", + "type": "contains", + "label": "方法 semantic_search" + }, + { + "id": "edge:c7016765", + "source": "class:InMemoryLLMCache", + "target": "func:InMemoryLLMCache.put", + "type": "contains", + "label": "方法 put" + }, + { + "id": "edge:79672ea4", + "source": "class:InMemoryLLMCache", + "target": "func:InMemoryLLMCache.invalidate", + "type": "contains", + "label": "方法 invalidate" + }, + { + "id": "edge:9095aa02", + "source": "class:InMemoryLLMCache", + "target": "func:InMemoryLLMCache.stats", + "type": "contains", + "label": "方法 stats" + }, + { + "id": "edge:03a2efbb", + "source": "file:src/agentkit/llm/cache.py", + "target": "class:RedisLLMCache", + "type": "contains", + "label": "定义类 RedisLLMCache" + }, + { + "id": "edge:f347bd13", + "source": "class:RedisLLMCache", + "target": "func:RedisLLMCache.__init__", + "type": "contains", + "label": "方法 __init__" + }, + { + "id": "edge:3980942d", + "source": "class:RedisLLMCache", + "target": "func:RedisLLMCache._get_redis", + "type": "contains", + "label": "方法 _get_redis" + }, + { + "id": "edge:ca2c7b00", + "source": "class:RedisLLMCache", + "target": "func:RedisLLMCache.aclose", + "type": "contains", + "label": "方法 aclose" + }, + { + "id": "edge:b7ea28e7", + "source": "class:RedisLLMCache", + "target": "func:RedisLLMCache._degrade_to_fallback", + "type": "contains", + "label": "方法 _degrade_to_fallback" + }, + { + "id": "edge:e1e90966", + "source": "class:RedisLLMCache", + "target": "func:RedisLLMCache._try_recover", + "type": "contains", + "label": "方法 _try_recover" + }, + { + "id": "edge:2bef5163", + "source": "class:RedisLLMCache", + "target": "func:RedisLLMCache.get", + "type": "contains", + "label": "方法 get" + }, + { + "id": "edge:d71d0d00", + "source": "class:RedisLLMCache", + "target": "func:RedisLLMCache.semantic_search", + "type": "contains", + "label": "方法 semantic_search" + }, + { + "id": "edge:f67671bb", + "source": "class:RedisLLMCache", + "target": "func:RedisLLMCache.put", + "type": "contains", + "label": "方法 put" + }, + { + "id": "edge:d0bf2958", + "source": "class:RedisLLMCache", + "target": "func:RedisLLMCache.invalidate", + "type": "contains", + "label": "方法 invalidate" + }, + { + "id": "edge:5ff74ec8", + "source": "class:RedisLLMCache", + "target": "func:RedisLLMCache.stats", + "type": "contains", + "label": "方法 stats" + }, + { + "id": "edge:985e923a", + "source": "file:src/agentkit/llm/config.py", + "target": "class:CacheConfig", + "type": "contains", + "label": "定义类 CacheConfig" + }, + { + "id": "edge:b6adc449", + "source": "class:CacheConfig", + "target": "func:CacheConfig.from_dict", + "type": "contains", + "label": "方法 from_dict" + }, + { + "id": "edge:1ad24830", "source": "file:src/agentkit/llm/config.py", "target": "class:ProviderConfig", "type": "contains", "label": "定义类 ProviderConfig" }, { - "id": "edge:50c239a1", + "id": "edge:3cfdba91", "source": "file:src/agentkit/llm/config.py", "target": "class:LLMConfig", "type": "contains", "label": "定义类 LLMConfig" }, { - "id": "edge:91fb3b75", + "id": "edge:1735336c", "source": "class:LLMConfig", "target": "func:LLMConfig.from_yaml", "type": "contains", "label": "方法 from_yaml" }, { - "id": "edge:abd68aed", + "id": "edge:901403ab", "source": "class:LLMConfig", "target": "func:LLMConfig.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:f0873e1c", + "id": "edge:3f618726", "source": "file:src/agentkit/llm/gateway.py", "target": "class:LLMGateway", "type": "contains", "label": "定义类 LLMGateway" }, { - "id": "edge:16deb503", + "id": "edge:ed59a0d9", "source": "class:LLMGateway", "target": "func:LLMGateway.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:bd2d94b4", + "id": "edge:82385668", + "source": "class:LLMGateway", + "target": "func:LLMGateway._create_embedder", + "type": "contains", + "label": "方法 _create_embedder" + }, + { + "id": "edge:c3ffcf08", "source": "class:LLMGateway", "target": "func:LLMGateway.register_provider", "type": "contains", "label": "方法 register_provider" }, { - "id": "edge:25f36b28", + "id": "edge:86cccf8b", "source": "class:LLMGateway", "target": "func:LLMGateway.has_providers", "type": "contains", "label": "方法 has_providers" }, { - "id": "edge:92269564", + "id": "edge:dcc4361e", "source": "class:LLMGateway", "target": "func:LLMGateway.chat", "type": "contains", "label": "方法 chat" }, { - "id": "edge:a9fdf142", + "id": "edge:10fc293c", "source": "class:LLMGateway", "target": "func:LLMGateway.chat_stream", "type": "contains", "label": "方法 chat_stream" }, { - "id": "edge:f3a634d5", + "id": "edge:9e06e8f1", "source": "class:LLMGateway", "target": "func:LLMGateway._get_models_to_try", "type": "contains", "label": "方法 _get_models_to_try" }, { - "id": "edge:b800994e", + "id": "edge:12815b5b", "source": "class:LLMGateway", "target": "func:LLMGateway._resolve_model_alias", "type": "contains", "label": "方法 _resolve_model_alias" }, { - "id": "edge:13789a73", + "id": "edge:fa955650", "source": "class:LLMGateway", "target": "func:LLMGateway._resolve_model", "type": "contains", "label": "方法 _resolve_model" }, { - "id": "edge:4d01b6f6", + "id": "edge:ae3123f1", "source": "class:LLMGateway", "target": "func:LLMGateway._get_fallback_model", "type": "contains", "label": "方法 _get_fallback_model" }, { - "id": "edge:ce90eced", + "id": "edge:a1898907", "source": "class:LLMGateway", "target": "func:LLMGateway._calculate_cost", "type": "contains", "label": "方法 _calculate_cost" }, { - "id": "edge:46d98483", + "id": "edge:73f6e053", "source": "class:LLMGateway", "target": "func:LLMGateway.get_usage", "type": "contains", "label": "方法 get_usage" }, { - "id": "edge:0037c500", + "id": "edge:4e1f2599", "source": "file:src/agentkit/llm/protocol.py", "target": "class:TokenUsage", "type": "contains", "label": "定义类 TokenUsage" }, { - "id": "edge:b99fdcbc", + "id": "edge:45166399", "source": "class:TokenUsage", "target": "func:TokenUsage.total_tokens", "type": "contains", "label": "方法 total_tokens" }, { - "id": "edge:63b715d7", + "id": "edge:2daf7970", "source": "file:src/agentkit/llm/protocol.py", "target": "class:ToolCall", "type": "contains", "label": "定义类 ToolCall" }, { - "id": "edge:ff49e956", + "id": "edge:7818f2b3", "source": "file:src/agentkit/llm/protocol.py", "target": "class:LLMRequest", "type": "contains", "label": "定义类 LLMRequest" }, { - "id": "edge:bd8432e8", + "id": "edge:afb2ddd8", "source": "class:LLMRequest", "target": "func:LLMRequest.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:0c897035", + "id": "edge:b5697934", "source": "file:src/agentkit/llm/protocol.py", "target": "class:StreamChunk", "type": "contains", "label": "定义类 StreamChunk" }, { - "id": "edge:cd19878c", + "id": "edge:fd60959a", "source": "file:src/agentkit/llm/protocol.py", "target": "class:LLMResponse", "type": "contains", "label": "定义类 LLMResponse" }, { - "id": "edge:24aedb3c", + "id": "edge:553daf0e", "source": "class:LLMResponse", "target": "func:LLMResponse.has_tool_calls", "type": "contains", "label": "方法 has_tool_calls" }, { - "id": "edge:8b8f03e2", + "id": "edge:fe6acfbb", "source": "file:src/agentkit/llm/protocol.py", "target": "class:LLMProvider", "type": "contains", "label": "定义类 LLMProvider" }, { - "id": "edge:470176fa", + "id": "edge:e72a72f3", "source": "class:LLMProvider", "target": "func:LLMProvider.chat", "type": "contains", "label": "方法 chat" }, { - "id": "edge:93e9b178", + "id": "edge:6a717cb0", "source": "class:LLMProvider", "target": "func:LLMProvider.chat_stream", "type": "contains", "label": "方法 chat_stream" }, { - "id": "edge:88e82dab", + "id": "edge:081fa766", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "class:_AnthropicStreamContext", "type": "contains", "label": "定义类 _AnthropicStreamContext" }, { - "id": "edge:8eba27b8", + "id": "edge:01cfe734", "source": "class:_AnthropicStreamContext", "target": "func:_AnthropicStreamContext.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:6b9da9e7", + "id": "edge:c1e396d3", "source": "class:_AnthropicStreamContext", "target": "func:_AnthropicStreamContext.__aenter__", "type": "contains", "label": "方法 __aenter__" }, { - "id": "edge:be946446", + "id": "edge:9a781463", "source": "class:_AnthropicStreamContext", "target": "func:_AnthropicStreamContext.__aexit__", "type": "contains", "label": "方法 __aexit__" }, { - "id": "edge:fa515dbb", + "id": "edge:c683d0ac", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "class:AnthropicProvider", "type": "contains", "label": "定义类 AnthropicProvider" }, { - "id": "edge:90fc25f8", + "id": "edge:67907b5d", "source": "class:AnthropicProvider", "target": "class:LLMProvider", "type": "extends", "label": "继承 LLMProvider" }, { - "id": "edge:7f97fe2a", + "id": "edge:4cfab704", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:e5e2f611", + "id": "edge:6047dfbc", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider._get_client", "type": "contains", "label": "方法 _get_client" }, { - "id": "edge:552bacc6", + "id": "edge:54e9c342", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider.close", "type": "contains", "label": "方法 close" }, { - "id": "edge:0fac31c6", + "id": "edge:03acda39", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider._build_headers", "type": "contains", "label": "方法 _build_headers" }, { - "id": "edge:085187af", + "id": "edge:36c31f57", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider._convert_messages", "type": "contains", "label": "方法 _convert_messages" }, { - "id": "edge:7b300099", + "id": "edge:85df16cd", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider._convert_tools", "type": "contains", "label": "方法 _convert_tools" }, { - "id": "edge:ead67955", + "id": "edge:c18a3a52", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider._convert_tool_choice", "type": "contains", "label": "方法 _convert_tool_choice" }, { - "id": "edge:214737ec", + "id": "edge:b192c50d", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider._parse_response", "type": "contains", "label": "方法 _parse_response" }, { - "id": "edge:514097a9", + "id": "edge:45edf1fa", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider._handle_error", "type": "contains", "label": "方法 _handle_error" }, { - "id": "edge:39d000ac", + "id": "edge:dd08d22f", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider.chat", "type": "contains", "label": "方法 chat" }, { - "id": "edge:9f3cad15", + "id": "edge:4ae4e7f5", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider._chat_impl", "type": "contains", "label": "方法 _chat_impl" }, { - "id": "edge:4101f820", + "id": "edge:5eeb27e2", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider.chat_stream", "type": "contains", "label": "方法 chat_stream" }, { - "id": "edge:ea9de081", + "id": "edge:1d5b75c5", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider._open_stream", "type": "contains", "label": "方法 _open_stream" }, { - "id": "edge:7b890a34", + "id": "edge:de40f4e5", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider._iterate_stream", "type": "contains", "label": "方法 _iterate_stream" }, { - "id": "edge:5e042513", + "id": "edge:12a99626", "source": "class:AnthropicProvider", "target": "func:AnthropicProvider.get_model_info", "type": "contains", "label": "方法 get_model_info" }, { - "id": "edge:97395612", + "id": "edge:9dc32522", "source": "file:src/agentkit/llm/providers/doubao.py", "target": "class:DoubaoProvider", "type": "contains", "label": "定义类 DoubaoProvider" }, { - "id": "edge:63f8d5e3", + "id": "edge:d5e29a3c", "source": "class:DoubaoProvider", "target": "func:DoubaoProvider.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:2cd2dea9", + "id": "edge:e06d35bf", "source": "class:DoubaoProvider", "target": "func:DoubaoProvider.chat", "type": "contains", "label": "方法 chat" }, { - "id": "edge:411c07a1", + "id": "edge:4eecae9f", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "class:_GeminiStreamContext", "type": "contains", "label": "定义类 _GeminiStreamContext" }, { - "id": "edge:b97525ef", + "id": "edge:972edfe6", "source": "class:_GeminiStreamContext", "target": "func:_GeminiStreamContext.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:7d1c2b67", + "id": "edge:73386a32", "source": "class:_GeminiStreamContext", "target": "func:_GeminiStreamContext.__aenter__", "type": "contains", "label": "方法 __aenter__" }, { - "id": "edge:7fef7bcd", + "id": "edge:8665b78f", "source": "class:_GeminiStreamContext", "target": "func:_GeminiStreamContext.__aexit__", "type": "contains", "label": "方法 __aexit__" }, { - "id": "edge:d6daf273", + "id": "edge:ef5c519b", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "class:GeminiProvider", "type": "contains", "label": "定义类 GeminiProvider" }, { - "id": "edge:19dcdc54", + "id": "edge:f06bccba", "source": "class:GeminiProvider", "target": "class:LLMProvider", "type": "extends", "label": "继承 LLMProvider" }, { - "id": "edge:1ee9ad73", + "id": "edge:2aa6eb30", "source": "class:GeminiProvider", "target": "func:GeminiProvider.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8f7788f6", + "id": "edge:4a0fb294", "source": "class:GeminiProvider", "target": "func:GeminiProvider._get_client", "type": "contains", "label": "方法 _get_client" }, { - "id": "edge:b21109e8", + "id": "edge:1c3688d7", "source": "class:GeminiProvider", "target": "func:GeminiProvider.close", "type": "contains", "label": "方法 close" }, { - "id": "edge:629f79cd", + "id": "edge:9712018c", "source": "class:GeminiProvider", "target": "func:GeminiProvider._convert_messages", "type": "contains", "label": "方法 _convert_messages" }, { - "id": "edge:ef25442b", + "id": "edge:32c7b2b5", "source": "class:GeminiProvider", "target": "func:GeminiProvider._convert_tools", "type": "contains", "label": "方法 _convert_tools" }, { - "id": "edge:60cd27f7", + "id": "edge:222b6bc3", "source": "class:GeminiProvider", "target": "func:GeminiProvider._convert_tool_choice", "type": "contains", "label": "方法 _convert_tool_choice" }, { - "id": "edge:35917947", + "id": "edge:66feb239", "source": "class:GeminiProvider", "target": "func:GeminiProvider._parse_response", "type": "contains", "label": "方法 _parse_response" }, { - "id": "edge:4c3a7447", + "id": "edge:05048e63", "source": "class:GeminiProvider", "target": "func:GeminiProvider._handle_error", "type": "contains", "label": "方法 _handle_error" }, { - "id": "edge:6ff59d15", + "id": "edge:c10209b8", "source": "class:GeminiProvider", "target": "func:GeminiProvider.chat", "type": "contains", "label": "方法 chat" }, { - "id": "edge:b0d563c1", + "id": "edge:708e6ef7", "source": "class:GeminiProvider", "target": "func:GeminiProvider._chat_impl", "type": "contains", "label": "方法 _chat_impl" }, { - "id": "edge:20831433", + "id": "edge:b62d4c8c", "source": "class:GeminiProvider", "target": "func:GeminiProvider.chat_stream", "type": "contains", "label": "方法 chat_stream" }, { - "id": "edge:a2933ddd", + "id": "edge:38c9b569", "source": "class:GeminiProvider", "target": "func:GeminiProvider._open_stream", "type": "contains", "label": "方法 _open_stream" }, { - "id": "edge:2d9908cb", + "id": "edge:ed0a7959", "source": "class:GeminiProvider", "target": "func:GeminiProvider._iterate_stream", "type": "contains", "label": "方法 _iterate_stream" }, { - "id": "edge:81cd4b00", + "id": "edge:2840c7b6", "source": "class:GeminiProvider", "target": "func:GeminiProvider.get_model_info", "type": "contains", "label": "方法 get_model_info" }, { - "id": "edge:95c19e5e", + "id": "edge:fe917270", "source": "file:src/agentkit/llm/providers/openai.py", "target": "class:_StreamContext", "type": "contains", "label": "定义类 _StreamContext" }, { - "id": "edge:dac9d1fb", + "id": "edge:6e1e8519", "source": "class:_StreamContext", "target": "func:_StreamContext.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b8256c37", + "id": "edge:eddb70e8", "source": "class:_StreamContext", "target": "func:_StreamContext.__aenter__", "type": "contains", "label": "方法 __aenter__" }, { - "id": "edge:73997b5f", + "id": "edge:76d0b087", "source": "class:_StreamContext", "target": "func:_StreamContext.__aexit__", "type": "contains", "label": "方法 __aexit__" }, { - "id": "edge:5fb00aa8", + "id": "edge:14b7d6cf", "source": "file:src/agentkit/llm/providers/openai.py", "target": "class:OpenAICompatibleProvider", "type": "contains", "label": "定义类 OpenAICompatibleProvider" }, { - "id": "edge:20819967", + "id": "edge:a6a26d54", "source": "class:OpenAICompatibleProvider", "target": "class:LLMProvider", "type": "extends", "label": "继承 LLMProvider" }, { - "id": "edge:b1b43730", + "id": "edge:da4153bd", "source": "class:OpenAICompatibleProvider", "target": "func:OpenAICompatibleProvider.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:29831f86", + "id": "edge:50cd1be5", "source": "class:OpenAICompatibleProvider", "target": "func:OpenAICompatibleProvider.close", "type": "contains", "label": "方法 close" }, { - "id": "edge:3f5cc2c6", + "id": "edge:63c415e6", "source": "class:OpenAICompatibleProvider", "target": "func:OpenAICompatibleProvider.chat", "type": "contains", "label": "方法 chat" }, { - "id": "edge:205bae50", + "id": "edge:d0705494", "source": "class:OpenAICompatibleProvider", "target": "func:OpenAICompatibleProvider._chat_impl", "type": "contains", "label": "方法 _chat_impl" }, { - "id": "edge:26b76caa", + "id": "edge:02050dec", "source": "class:OpenAICompatibleProvider", "target": "func:OpenAICompatibleProvider.chat_stream", "type": "contains", "label": "方法 chat_stream" }, { - "id": "edge:ab19c99d", + "id": "edge:8932423e", "source": "class:OpenAICompatibleProvider", "target": "func:OpenAICompatibleProvider._open_stream", "type": "contains", "label": "方法 _open_stream" }, { - "id": "edge:f36698d3", + "id": "edge:1ad063d1", "source": "class:OpenAICompatibleProvider", "target": "func:OpenAICompatibleProvider._iterate_stream", "type": "contains", "label": "方法 _iterate_stream" }, { - "id": "edge:270e4d0b", - "source": "file:src/agentkit/llm/providers/tracker.py", - "target": "class:UsageRecord", - "type": "contains", - "label": "定义类 UsageRecord" - }, - { - "id": "edge:688c8f03", - "source": "file:src/agentkit/llm/providers/tracker.py", - "target": "class:UsageSummary", - "type": "contains", - "label": "定义类 UsageSummary" - }, - { - "id": "edge:160f72a5", + "id": "edge:2d51c13b", "source": "file:src/agentkit/llm/providers/tracker.py", "target": "class:UsageTracker", "type": "contains", "label": "定义类 UsageTracker" }, { - "id": "edge:3ae290fc", + "id": "edge:f7646cb1", "source": "class:UsageTracker", "target": "func:UsageTracker.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:f12b0261", + "id": "edge:d2bcd1b8", "source": "class:UsageTracker", "target": "func:UsageTracker.record", "type": "contains", "label": "方法 record" }, { - "id": "edge:7c36c7ee", + "id": "edge:62bc8cfc", "source": "class:UsageTracker", "target": "func:UsageTracker.get_usage", "type": "contains", "label": "方法 get_usage" }, { - "id": "edge:a91e305a", + "id": "edge:0a6887df", + "source": "file:src/agentkit/llm/providers/usage_store.py", + "target": "class:UsageRecord", + "type": "contains", + "label": "定义类 UsageRecord" + }, + { + "id": "edge:5bb20c5e", + "source": "class:UsageRecord", + "target": "func:UsageRecord.__post_init__", + "type": "contains", + "label": "方法 __post_init__" + }, + { + "id": "edge:0ab6cc99", + "source": "file:src/agentkit/llm/providers/usage_store.py", + "target": "class:UsageBucket", + "type": "contains", + "label": "定义类 UsageBucket" + }, + { + "id": "edge:fa235dec", + "source": "file:src/agentkit/llm/providers/usage_store.py", + "target": "class:UsageSummary", + "type": "contains", + "label": "定义类 UsageSummary" + }, + { + "id": "edge:85f9f38d", + "source": "file:src/agentkit/llm/providers/usage_store.py", + "target": "class:UsageStore", + "type": "contains", + "label": "定义类 UsageStore" + }, + { + "id": "edge:e35b4310", + "source": "class:UsageStore", + "target": "func:UsageStore.record", + "type": "contains", + "label": "方法 record" + }, + { + "id": "edge:ed54925f", + "source": "class:UsageStore", + "target": "func:UsageStore.get_usage", + "type": "contains", + "label": "方法 get_usage" + }, + { + "id": "edge:f5d28b35", + "source": "file:src/agentkit/llm/providers/usage_store.py", + "target": "class:InMemoryUsageStore", + "type": "contains", + "label": "定义类 InMemoryUsageStore" + }, + { + "id": "edge:8629389a", + "source": "class:InMemoryUsageStore", + "target": "func:InMemoryUsageStore.__init__", + "type": "contains", + "label": "方法 __init__" + }, + { + "id": "edge:a66e174d", + "source": "class:InMemoryUsageStore", + "target": "func:InMemoryUsageStore.record", + "type": "contains", + "label": "方法 record" + }, + { + "id": "edge:5c036638", + "source": "class:InMemoryUsageStore", + "target": "func:InMemoryUsageStore.get_usage", + "type": "contains", + "label": "方法 get_usage" + }, + { + "id": "edge:14f3298c", + "source": "file:src/agentkit/llm/providers/usage_store.py", + "target": "class:RedisUsageStore", + "type": "contains", + "label": "定义类 RedisUsageStore" + }, + { + "id": "edge:066236a6", + "source": "class:RedisUsageStore", + "target": "func:RedisUsageStore.__init__", + "type": "contains", + "label": "方法 __init__" + }, + { + "id": "edge:dcd3270b", + "source": "class:RedisUsageStore", + "target": "func:RedisUsageStore._get_redis", + "type": "contains", + "label": "方法 _get_redis" + }, + { + "id": "edge:aae19ec6", + "source": "class:RedisUsageStore", + "target": "func:RedisUsageStore._get_sync_redis", + "type": "contains", + "label": "方法 _get_sync_redis" + }, + { + "id": "edge:b416f2a8", + "source": "class:RedisUsageStore", + "target": "func:RedisUsageStore.aclose", + "type": "contains", + "label": "方法 aclose" + }, + { + "id": "edge:dce86918", + "source": "class:RedisUsageStore", + "target": "func:RedisUsageStore._degrade_to_fallback", + "type": "contains", + "label": "方法 _degrade_to_fallback" + }, + { + "id": "edge:b03b9084", + "source": "class:RedisUsageStore", + "target": "func:RedisUsageStore._today_key", + "type": "contains", + "label": "方法 _today_key" + }, + { + "id": "edge:e5fd9019", + "source": "class:RedisUsageStore", + "target": "func:RedisUsageStore.record", + "type": "contains", + "label": "方法 record" + }, + { + "id": "edge:4ea73f31", + "source": "class:RedisUsageStore", + "target": "func:RedisUsageStore.get_usage", + "type": "contains", + "label": "方法 get_usage" + }, + { + "id": "edge:2e48d644", "source": "file:src/agentkit/llm/providers/wenxin.py", "target": "class:WenxinProvider", "type": "contains", "label": "定义类 WenxinProvider" }, { - "id": "edge:78ccbc26", + "id": "edge:d8d6e72a", "source": "class:WenxinProvider", "target": "class:OpenAICompatibleProvider", "type": "extends", "label": "继承 OpenAICompatibleProvider" }, { - "id": "edge:7b0b9fce", + "id": "edge:01b52755", "source": "class:WenxinProvider", "target": "func:WenxinProvider.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:44442410", + "id": "edge:7678693b", "source": "class:WenxinProvider", "target": "func:WenxinProvider.chat", "type": "contains", "label": "方法 chat" }, { - "id": "edge:abb45581", + "id": "edge:624fe37c", "source": "class:WenxinProvider", "target": "func:WenxinProvider._ensure_access_token", "type": "contains", "label": "方法 _ensure_access_token" }, { - "id": "edge:98bc9a76", + "id": "edge:4d83a749", "source": "file:src/agentkit/llm/providers/yuanbao.py", "target": "class:YuanbaoProvider", "type": "contains", "label": "定义类 YuanbaoProvider" }, { - "id": "edge:db6cec0e", + "id": "edge:55dc7a3a", "source": "class:YuanbaoProvider", "target": "class:OpenAICompatibleProvider", "type": "extends", "label": "继承 OpenAICompatibleProvider" }, { - "id": "edge:fd6aa0de", + "id": "edge:6ff22622", "source": "class:YuanbaoProvider", "target": "func:YuanbaoProvider.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:46274408", + "id": "edge:8963c781", "source": "class:YuanbaoProvider", "target": "func:YuanbaoProvider.chat", "type": "contains", "label": "方法 chat" }, { - "id": "edge:8203b448", + "id": "edge:e6223435", "source": "file:src/agentkit/llm/retry.py", "target": "class:RetryConfig", "type": "contains", "label": "定义类 RetryConfig" }, { - "id": "edge:b3d2b032", + "id": "edge:368cf560", "source": "file:src/agentkit/llm/retry.py", "target": "class:CircuitState", "type": "contains", "label": "定义类 CircuitState" }, { - "id": "edge:4edcddae", + "id": "edge:96a5f137", "source": "file:src/agentkit/llm/retry.py", "target": "class:CircuitBreakerConfig", "type": "contains", "label": "定义类 CircuitBreakerConfig" }, { - "id": "edge:448fb32d", + "id": "edge:1b4e01ac", "source": "file:src/agentkit/llm/retry.py", "target": "class:CircuitOpenError", "type": "contains", "label": "定义类 CircuitOpenError" }, { - "id": "edge:90707f20", + "id": "edge:0b8edbf2", "source": "class:CircuitOpenError", "target": "class:LLMProviderError", "type": "extends", "label": "继承 LLMProviderError" }, { - "id": "edge:ab54cd74", + "id": "edge:50d58fa2", "source": "class:CircuitOpenError", "target": "func:CircuitOpenError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:757e1d94", + "id": "edge:06615bcc", "source": "file:src/agentkit/llm/retry.py", "target": "class:RetryPolicy", "type": "contains", "label": "定义类 RetryPolicy" }, { - "id": "edge:d7e0861e", + "id": "edge:87dfb976", "source": "class:RetryPolicy", "target": "func:RetryPolicy.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:e03b7295", + "id": "edge:8178edbf", "source": "class:RetryPolicy", "target": "func:RetryPolicy.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:fafdcc0d", + "id": "edge:09e69d76", "source": "file:src/agentkit/llm/retry.py", "target": "class:CircuitBreaker", "type": "contains", "label": "定义类 CircuitBreaker" }, { - "id": "edge:87541e7b", + "id": "edge:50d93b3f", "source": "class:CircuitBreaker", "target": "func:CircuitBreaker.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:4223445e", + "id": "edge:ec2d6e06", "source": "class:CircuitBreaker", "target": "func:CircuitBreaker.state", "type": "contains", "label": "方法 state" }, { - "id": "edge:12606e9f", + "id": "edge:0cf0de6e", "source": "class:CircuitBreaker", "target": "func:CircuitBreaker._on_success", "type": "contains", "label": "方法 _on_success" }, { - "id": "edge:bc92a188", + "id": "edge:443c79c7", "source": "class:CircuitBreaker", "target": "func:CircuitBreaker._on_failure", "type": "contains", "label": "方法 _on_failure" }, { - "id": "edge:338a831c", + "id": "edge:b75ea705", "source": "class:CircuitBreaker", "target": "func:CircuitBreaker.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:d7a5e3d0", + "id": "edge:9b4fd133", "source": "file:src/agentkit/marketplace/auction.py", "target": "class:Bid", "type": "contains", "label": "定义类 Bid" }, { - "id": "edge:4642f8de", + "id": "edge:ee2165f8", "source": "class:Bid", "target": "func:Bid.__post_init__", "type": "contains", "label": "方法 __post_init__" }, { - "id": "edge:bf90fae9", + "id": "edge:7cc9b677", "source": "file:src/agentkit/marketplace/auction.py", "target": "class:AuctionResult", "type": "contains", "label": "定义类 AuctionResult" }, { - "id": "edge:7e58997b", + "id": "edge:64ce015a", "source": "file:src/agentkit/marketplace/auction.py", "target": "class:AuctionHouse", "type": "contains", "label": "定义类 AuctionHouse" }, { - "id": "edge:8f932d03", + "id": "edge:3fb06e69", "source": "class:AuctionHouse", "target": "func:AuctionHouse.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:29f31965", + "id": "edge:bd03344d", "source": "class:AuctionHouse", "target": "func:AuctionHouse.run_auction", "type": "contains", "label": "方法 run_auction" }, { - "id": "edge:01a5c083", + "id": "edge:f57c16fd", "source": "class:AuctionHouse", "target": "func:AuctionHouse.score_bid", "type": "contains", "label": "方法 score_bid" }, { - "id": "edge:23e09c4b", + "id": "edge:b8fe9e35", "source": "class:AuctionHouse", "target": "func:AuctionHouse.filter_by_capabilities", "type": "contains", "label": "方法 filter_by_capabilities" }, { - "id": "edge:8429dcde", + "id": "edge:dc648286", "source": "class:AuctionHouse", "target": "func:AuctionHouse.run_vickrey_auction", "type": "contains", "label": "方法 run_vickrey_auction" }, { - "id": "edge:dbf48654", + "id": "edge:c355c37b", "source": "file:src/agentkit/marketplace/wealth.py", "target": "class:WealthTracker", "type": "contains", "label": "定义类 WealthTracker" }, { - "id": "edge:5878c95a", + "id": "edge:941cc8c7", "source": "class:WealthTracker", "target": "func:WealthTracker.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:beceb35e", + "id": "edge:b68377e4", "source": "class:WealthTracker", "target": "func:WealthTracker.get_wealth", "type": "contains", "label": "方法 get_wealth" }, { - "id": "edge:cc6cff87", + "id": "edge:5d2d1bc8", "source": "class:WealthTracker", "target": "func:WealthTracker.reward", "type": "contains", "label": "方法 reward" }, { - "id": "edge:f69d0609", + "id": "edge:0a9487a1", "source": "class:WealthTracker", "target": "func:WealthTracker.penalize", "type": "contains", "label": "方法 penalize" }, { - "id": "edge:d8975687", + "id": "edge:41629123", "source": "class:WealthTracker", "target": "func:WealthTracker.is_bankrupt", "type": "contains", "label": "方法 is_bankrupt" }, { - "id": "edge:d6f5cce2", + "id": "edge:b58561f8", "source": "class:WealthTracker", "target": "func:WealthTracker.reset", "type": "contains", "label": "方法 reset" }, { - "id": "edge:947e0a55", + "id": "edge:f85a6262", "source": "class:WealthTracker", "target": "func:WealthTracker.get_rankings", "type": "contains", "label": "方法 get_rankings" }, { - "id": "edge:1c6e2420", + "id": "edge:2546cfe4", "source": "class:WealthTracker", "target": "func:WealthTracker.get_wealth_factor", "type": "contains", "label": "方法 get_wealth_factor" }, { - "id": "edge:2521297b", + "id": "edge:aa33691a", "source": "file:src/agentkit/mcp/client.py", "target": "class:MCPClient", "type": "contains", "label": "定义类 MCPClient" }, { - "id": "edge:be654826", + "id": "edge:8d3bd9f4", "source": "class:MCPClient", "target": "func:MCPClient.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:4d1c62c1", + "id": "edge:51bc9763", "source": "class:MCPClient", "target": "func:MCPClient.from_transport", "type": "contains", "label": "方法 from_transport" }, { - "id": "edge:d48f2657", + "id": "edge:2be49345", "source": "class:MCPClient", "target": "func:MCPClient.list_tools", "type": "contains", "label": "方法 list_tools" }, { - "id": "edge:61b7d74e", + "id": "edge:30648371", "source": "class:MCPClient", "target": "func:MCPClient.call_tool", "type": "contains", "label": "方法 call_tool" }, { - "id": "edge:165e6223", + "id": "edge:dc3cbd64", "source": "class:MCPClient", "target": "func:MCPClient.as_tool", "type": "contains", "label": "方法 as_tool" }, { - "id": "edge:b07880b6", + "id": "edge:b4ebefb4", "source": "file:src/agentkit/mcp/client.py", "target": "class:MCPTool", "type": "contains", "label": "定义类 MCPTool" }, { - "id": "edge:207080a3", + "id": "edge:a50bf2e3", "source": "class:MCPTool", "target": "func:MCPTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:bdcce24f", + "id": "edge:c6ffb26b", "source": "class:MCPTool", "target": "func:MCPTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:ae58f19a", + "id": "edge:86a864d6", "source": "file:src/agentkit/mcp/manager.py", "target": "class:MCPManager", "type": "contains", "label": "定义类 MCPManager" }, { - "id": "edge:87400af8", + "id": "edge:0f71774d", "source": "class:MCPManager", "target": "func:MCPManager.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:3aa00729", + "id": "edge:50f7a535", "source": "class:MCPManager", "target": "func:MCPManager.start_all", "type": "contains", "label": "方法 start_all" }, { - "id": "edge:9d2dce77", + "id": "edge:d4e11e5e", "source": "class:MCPManager", "target": "func:MCPManager._start_server_safe", "type": "contains", "label": "方法 _start_server_safe" }, { - "id": "edge:e38d55ca", + "id": "edge:8b85fb47", "source": "class:MCPManager", "target": "func:MCPManager._start_server", "type": "contains", "label": "方法 _start_server" }, { - "id": "edge:ad0078f5", + "id": "edge:cbb92f2c", "source": "class:MCPManager", "target": "func:MCPManager.stop_all", "type": "contains", "label": "方法 stop_all" }, { - "id": "edge:471c7739", + "id": "edge:5d89e8a5", "source": "class:MCPManager", "target": "func:MCPManager.is_available", "type": "contains", "label": "方法 is_available" }, { - "id": "edge:68e2fac1", + "id": "edge:79c4db49", "source": "class:MCPManager", "target": "func:MCPManager.get_server_tools", "type": "contains", "label": "方法 get_server_tools" }, { - "id": "edge:4c35cb52", + "id": "edge:d6639034", "source": "class:MCPManager", "target": "func:MCPManager.list_all_tools", "type": "contains", "label": "方法 list_all_tools" }, { - "id": "edge:a3be679a", + "id": "edge:cdb0c99e", "source": "class:MCPManager", "target": "func:MCPManager.get_tool_registry", "type": "contains", "label": "方法 get_tool_registry" }, { - "id": "edge:1daf0195", + "id": "edge:0e4a56d6", "source": "file:src/agentkit/mcp/server.py", "target": "class:MCPServer", "type": "contains", "label": "定义类 MCPServer" }, { - "id": "edge:92164d10", + "id": "edge:b35275f5", "source": "class:MCPServer", "target": "func:MCPServer.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:7df6b103", + "id": "edge:20471de5", "source": "class:MCPServer", "target": "func:MCPServer._create_app", "type": "contains", "label": "方法 _create_app" }, { - "id": "edge:e6326e75", + "id": "edge:6a61c447", "source": "class:MCPServer", "target": "func:MCPServer.start", "type": "contains", "label": "方法 start" }, { - "id": "edge:b9891e45", + "id": "edge:6bbe3188", "source": "class:MCPServer", "target": "func:MCPServer.get_app", "type": "contains", "label": "方法 get_app" }, { - "id": "edge:1aef7ceb", + "id": "edge:719818e7", "source": "file:src/agentkit/mcp/transport.py", "target": "class:TransportError", "type": "contains", "label": "定义类 TransportError" }, { - "id": "edge:e11b94f6", + "id": "edge:2face597", "source": "class:TransportError", "target": "func:TransportError.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:3e544ae6", + "id": "edge:e799999d", "source": "file:src/agentkit/mcp/transport.py", "target": "class:Transport", "type": "contains", "label": "定义类 Transport" }, { - "id": "edge:810cb578", + "id": "edge:d4933053", "source": "class:Transport", "target": "func:Transport.connect", "type": "contains", "label": "方法 connect" }, { - "id": "edge:88c24d6c", + "id": "edge:8498f3ce", "source": "class:Transport", "target": "func:Transport.disconnect", "type": "contains", "label": "方法 disconnect" }, { - "id": "edge:e2ed467f", + "id": "edge:9322bc8f", "source": "class:Transport", "target": "func:Transport.send_request", "type": "contains", "label": "方法 send_request" }, { - "id": "edge:9d44df08", + "id": "edge:d4a0982a", "source": "class:Transport", "target": "func:Transport.receive_response", "type": "contains", "label": "方法 receive_response" }, { - "id": "edge:a66b8bd4", + "id": "edge:fc46d58b", "source": "file:src/agentkit/mcp/transport.py", "target": "class:HTTPTransport", "type": "contains", "label": "定义类 HTTPTransport" }, { - "id": "edge:651ab572", + "id": "edge:99287e2c", "source": "class:HTTPTransport", "target": "class:Transport", "type": "extends", "label": "继承 Transport" }, { - "id": "edge:f344e3b4", + "id": "edge:4bcbf7eb", "source": "class:HTTPTransport", "target": "func:HTTPTransport.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:31cf970a", + "id": "edge:ddef3fb5", "source": "class:HTTPTransport", "target": "func:HTTPTransport.is_connected", "type": "contains", "label": "方法 is_connected" }, { - "id": "edge:43825ae2", + "id": "edge:f96a6960", "source": "class:HTTPTransport", "target": "func:HTTPTransport.connect", "type": "contains", "label": "方法 connect" }, { - "id": "edge:1256e295", + "id": "edge:3cbec513", "source": "class:HTTPTransport", "target": "func:HTTPTransport.disconnect", "type": "contains", "label": "方法 disconnect" }, { - "id": "edge:5c1ea026", + "id": "edge:ff8e595c", "source": "class:HTTPTransport", "target": "func:HTTPTransport._next_request_id", "type": "contains", "label": "方法 _next_request_id" }, { - "id": "edge:dafcbfca", + "id": "edge:efb76951", "source": "class:HTTPTransport", "target": "func:HTTPTransport.send_request", "type": "contains", "label": "方法 send_request" }, { - "id": "edge:a783d7b5", + "id": "edge:6cc27e45", "source": "class:HTTPTransport", "target": "func:HTTPTransport.receive_response", "type": "contains", "label": "方法 receive_response" }, { - "id": "edge:9afcb7ee", + "id": "edge:210df89c", "source": "file:src/agentkit/mcp/transport.py", "target": "class:SSETransport", "type": "contains", "label": "定义类 SSETransport" }, { - "id": "edge:d2b76f0c", + "id": "edge:07236a3f", "source": "class:SSETransport", "target": "class:Transport", "type": "extends", "label": "继承 Transport" }, { - "id": "edge:8e3e3c94", + "id": "edge:dbe6c4e9", "source": "class:SSETransport", "target": "func:SSETransport.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b6953698", + "id": "edge:cf7a8aa6", "source": "class:SSETransport", "target": "func:SSETransport.is_connected", "type": "contains", "label": "方法 is_connected" }, { - "id": "edge:3ab7b921", + "id": "edge:8c0f7715", "source": "class:SSETransport", "target": "func:SSETransport.connect", "type": "contains", "label": "方法 connect" }, { - "id": "edge:4093ef6c", + "id": "edge:07361e46", "source": "class:SSETransport", "target": "func:SSETransport.disconnect", "type": "contains", "label": "方法 disconnect" }, { - "id": "edge:4cbfa86b", + "id": "edge:a3455a7a", "source": "class:SSETransport", "target": "func:SSETransport._listen_sse", "type": "contains", "label": "方法 _listen_sse" }, { - "id": "edge:06def263", + "id": "edge:93923b17", "source": "class:SSETransport", "target": "func:SSETransport._next_request_id", "type": "contains", "label": "方法 _next_request_id" }, { - "id": "edge:8a54aabd", + "id": "edge:6d357828", "source": "class:SSETransport", "target": "func:SSETransport.send_request", "type": "contains", "label": "方法 send_request" }, { - "id": "edge:5e06db71", + "id": "edge:164c37e9", "source": "class:SSETransport", "target": "func:SSETransport.receive_response", "type": "contains", "label": "方法 receive_response" }, { - "id": "edge:acaa6119", + "id": "edge:71d9075b", "source": "file:src/agentkit/mcp/transport.py", "target": "class:StdioTransport", "type": "contains", "label": "定义类 StdioTransport" }, { - "id": "edge:631ee8ef", + "id": "edge:1916569b", "source": "class:StdioTransport", "target": "class:Transport", "type": "extends", "label": "继承 Transport" }, { - "id": "edge:91f09643", + "id": "edge:aa39ca6b", "source": "class:StdioTransport", "target": "func:StdioTransport.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:4e614b65", + "id": "edge:ee66347f", "source": "class:StdioTransport", "target": "func:StdioTransport.is_connected", "type": "contains", "label": "方法 is_connected" }, { - "id": "edge:351c22c6", + "id": "edge:5eca648f", "source": "class:StdioTransport", "target": "func:StdioTransport._next_request_id", "type": "contains", "label": "方法 _next_request_id" }, { - "id": "edge:337f8965", + "id": "edge:2e2857f8", "source": "class:StdioTransport", "target": "func:StdioTransport.connect", "type": "contains", "label": "方法 connect" }, { - "id": "edge:643f7596", + "id": "edge:5d6e2e64", "source": "class:StdioTransport", "target": "func:StdioTransport.disconnect", "type": "contains", "label": "方法 disconnect" }, { - "id": "edge:9e051597", + "id": "edge:363a5a8d", "source": "class:StdioTransport", "target": "func:StdioTransport._cleanup", "type": "contains", "label": "方法 _cleanup" }, { - "id": "edge:10155075", + "id": "edge:3621378c", "source": "class:StdioTransport", "target": "func:StdioTransport.send_request", "type": "contains", "label": "方法 send_request" }, { - "id": "edge:aa4107bd", + "id": "edge:21900dbc", "source": "class:StdioTransport", "target": "func:StdioTransport._send_request_internal", "type": "contains", "label": "方法 _send_request_internal" }, { - "id": "edge:b7594869", + "id": "edge:19cd8cff", "source": "class:StdioTransport", "target": "func:StdioTransport._send_notification", "type": "contains", "label": "方法 _send_notification" }, { - "id": "edge:d847e055", + "id": "edge:b31f24a2", "source": "class:StdioTransport", "target": "func:StdioTransport._write_message", "type": "contains", "label": "方法 _write_message" }, { - "id": "edge:7206022c", + "id": "edge:b7a450f8", "source": "class:StdioTransport", "target": "func:StdioTransport.receive_response", "type": "contains", "label": "方法 receive_response" }, { - "id": "edge:26745afe", + "id": "edge:6f5d6a4b", "source": "class:StdioTransport", "target": "func:StdioTransport._read_stdout", "type": "contains", "label": "方法 _read_stdout" }, { - "id": "edge:bcc95c24", + "id": "edge:ebeecdeb", "source": "class:StdioTransport", "target": "func:StdioTransport._read_stderr", "type": "contains", "label": "方法 _read_stderr" }, { - "id": "edge:53f4fbd6", + "id": "edge:4bca0174", "source": "file:src/agentkit/memory/adapters/base.py", "target": "class:KBAdapter", "type": "contains", "label": "定义类 KBAdapter" }, { - "id": "edge:9f8460e8", + "id": "edge:aa5142a4", "source": "class:KBAdapter", "target": "func:KBAdapter.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:d088ab11", + "id": "edge:eda70294", "source": "class:KBAdapter", "target": "func:KBAdapter.source_id", "type": "contains", "label": "方法 source_id" }, { - "id": "edge:be83c264", + "id": "edge:01a0f07a", "source": "class:KBAdapter", "target": "func:KBAdapter.source_name", "type": "contains", "label": "方法 source_name" }, { - "id": "edge:cb6ba848", + "id": "edge:8eab35fc", "source": "class:KBAdapter", "target": "func:KBAdapter.source_type", "type": "contains", "label": "方法 source_type" }, { - "id": "edge:9b7032ff", + "id": "edge:0166bafe", "source": "class:KBAdapter", "target": "func:KBAdapter._get_client", "type": "contains", "label": "方法 _get_client" }, { - "id": "edge:7e4b678d", + "id": "edge:a35ba713", "source": "class:KBAdapter", "target": "func:KBAdapter._make_client", "type": "contains", "label": "方法 _make_client" }, { - "id": "edge:b326dda7", + "id": "edge:d1529d14", "source": "class:KBAdapter", "target": "func:KBAdapter.ingest", "type": "contains", "label": "方法 ingest" }, { - "id": "edge:91b3b653", + "id": "edge:7a4675fe", "source": "class:KBAdapter", "target": "func:KBAdapter._ingest_one", "type": "contains", "label": "方法 _ingest_one" }, { - "id": "edge:898b53c7", + "id": "edge:509258fb", "source": "class:KBAdapter", "target": "func:KBAdapter.query", "type": "contains", "label": "方法 query" }, { - "id": "edge:1ea570f2", + "id": "edge:16b2548b", "source": "class:KBAdapter", "target": "func:KBAdapter.delete_by_id", "type": "contains", "label": "方法 delete_by_id" }, { - "id": "edge:f4a5248a", + "id": "edge:78755d20", "source": "class:KBAdapter", "target": "func:KBAdapter.list_sources", "type": "contains", "label": "方法 list_sources" }, { - "id": "edge:110a2e96", + "id": "edge:4bdc7293", "source": "class:KBAdapter", "target": "func:KBAdapter.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:8eee4770", + "id": "edge:49b5071b", "source": "class:KBAdapter", "target": "func:KBAdapter.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:350a0cf4", + "id": "edge:85a0e4d2", "source": "class:KBAdapter", "target": "func:KBAdapter.get_document", "type": "contains", "label": "方法 get_document" }, { - "id": "edge:ff929722", + "id": "edge:0e1aafe1", "source": "class:KBAdapter", "target": "func:KBAdapter.authenticate", "type": "contains", "label": "方法 authenticate" }, { - "id": "edge:dcd0a249", + "id": "edge:991df898", "source": "class:KBAdapter", "target": "func:KBAdapter.close", "type": "contains", "label": "方法 close" }, { - "id": "edge:81d294c5", + "id": "edge:6e230beb", "source": "class:KBAdapter", "target": "func:KBAdapter.__aenter__", "type": "contains", "label": "方法 __aenter__" }, { - "id": "edge:0f0d5355", + "id": "edge:c3a06dc8", "source": "class:KBAdapter", "target": "func:KBAdapter.__aexit__", "type": "contains", "label": "方法 __aexit__" }, { - "id": "edge:f3d70586", + "id": "edge:7335bae3", "source": "file:src/agentkit/memory/adapters/confluence.py", "target": "class:ConfluenceAdapter", "type": "contains", "label": "定义类 ConfluenceAdapter" }, { - "id": "edge:1af82923", + "id": "edge:ed752828", "source": "class:ConfluenceAdapter", "target": "class:KBAdapter", "type": "extends", "label": "继承 KBAdapter" }, { - "id": "edge:659e9e78", + "id": "edge:2bc34791", "source": "class:ConfluenceAdapter", "target": "func:ConfluenceAdapter.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:06d92341", + "id": "edge:4d514b1a", "source": "class:ConfluenceAdapter", "target": "func:ConfluenceAdapter._make_client", "type": "contains", "label": "方法 _make_client" }, { - "id": "edge:13565ffb", + "id": "edge:ea7336cc", "source": "class:ConfluenceAdapter", "target": "func:ConfluenceAdapter.authenticate", "type": "contains", "label": "方法 authenticate" }, { - "id": "edge:10ee0cef", + "id": "edge:609bdb02", "source": "class:ConfluenceAdapter", "target": "func:ConfluenceAdapter.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:1b9c6ddf", + "id": "edge:614a1d94", "source": "class:ConfluenceAdapter", "target": "func:ConfluenceAdapter.get_document", "type": "contains", "label": "方法 get_document" }, { - "id": "edge:19ec62bd", + "id": "edge:6bb6d242", "source": "class:ConfluenceAdapter", "target": "func:ConfluenceAdapter.list_sources", "type": "contains", "label": "方法 list_sources" }, { - "id": "edge:f610c524", + "id": "edge:3d4ea839", "source": "class:ConfluenceAdapter", "target": "func:ConfluenceAdapter.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:7db496ae", + "id": "edge:7c25ce2a", "source": "file:src/agentkit/memory/adapters/feishu.py", "target": "class:FeishuKBAdapter", "type": "contains", "label": "定义类 FeishuKBAdapter" }, { - "id": "edge:76f2575a", + "id": "edge:6191c579", "source": "class:FeishuKBAdapter", "target": "class:KBAdapter", "type": "extends", "label": "继承 KBAdapter" }, { - "id": "edge:0bf7c3d4", + "id": "edge:2d48caa5", "source": "class:FeishuKBAdapter", "target": "func:FeishuKBAdapter.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:6fc49386", + "id": "edge:5fdaa05e", "source": "class:FeishuKBAdapter", "target": "func:FeishuKBAdapter._make_client", "type": "contains", "label": "方法 _make_client" }, { - "id": "edge:52d7a708", + "id": "edge:92cdb67a", "source": "class:FeishuKBAdapter", "target": "func:FeishuKBAdapter._get_access_token", "type": "contains", "label": "方法 _get_access_token" }, { - "id": "edge:dd38ff36", + "id": "edge:dfc6a630", "source": "class:FeishuKBAdapter", "target": "func:FeishuKBAdapter.authenticate", "type": "contains", "label": "方法 authenticate" }, { - "id": "edge:f220232b", + "id": "edge:7d7472fc", "source": "class:FeishuKBAdapter", "target": "func:FeishuKBAdapter.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:99bcf09b", + "id": "edge:65f8f80b", "source": "class:FeishuKBAdapter", "target": "func:FeishuKBAdapter.get_document", "type": "contains", "label": "方法 get_document" }, { - "id": "edge:955316d5", + "id": "edge:e4199f24", "source": "class:FeishuKBAdapter", "target": "func:FeishuKBAdapter.list_sources", "type": "contains", "label": "方法 list_sources" }, { - "id": "edge:359061c7", + "id": "edge:a15f4df5", "source": "class:FeishuKBAdapter", "target": "func:FeishuKBAdapter.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:fec434de", + "id": "edge:451c3176", "source": "file:src/agentkit/memory/adapters/generic_http.py", "target": "class:GenericHTTPAdapter", "type": "contains", "label": "定义类 GenericHTTPAdapter" }, { - "id": "edge:ff4c6ff0", + "id": "edge:01310f18", "source": "class:GenericHTTPAdapter", "target": "class:KBAdapter", "type": "extends", "label": "继承 KBAdapter" }, { - "id": "edge:b13ca4ab", + "id": "edge:13e2d586", "source": "class:GenericHTTPAdapter", "target": "func:GenericHTTPAdapter.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:62fb7385", + "id": "edge:1fc8b9a4", "source": "class:GenericHTTPAdapter", "target": "func:GenericHTTPAdapter._make_client", "type": "contains", "label": "方法 _make_client" }, { - "id": "edge:f86ff150", + "id": "edge:ae56c317", "source": "class:GenericHTTPAdapter", "target": "func:GenericHTTPAdapter.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:0caad63d", + "id": "edge:49b61445", "source": "class:GenericHTTPAdapter", "target": "func:GenericHTTPAdapter.ingest", "type": "contains", "label": "方法 ingest" }, { - "id": "edge:6072f1c7", + "id": "edge:8c99f74e", "source": "class:GenericHTTPAdapter", "target": "func:GenericHTTPAdapter.delete_by_id", "type": "contains", "label": "方法 delete_by_id" }, { - "id": "edge:96f25f83", + "id": "edge:319d7b63", "source": "class:GenericHTTPAdapter", "target": "func:GenericHTTPAdapter.get_document", "type": "contains", "label": "方法 get_document" }, { - "id": "edge:8639eb00", + "id": "edge:e5117714", "source": "class:GenericHTTPAdapter", "target": "func:GenericHTTPAdapter.list_sources", "type": "contains", "label": "方法 list_sources" }, { - "id": "edge:06b72bd1", + "id": "edge:7d014459", "source": "class:GenericHTTPAdapter", "target": "func:GenericHTTPAdapter.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:7a67931d", + "id": "edge:89075387", "source": "class:GenericHTTPAdapter", "target": "func:GenericHTTPAdapter.authenticate", "type": "contains", "label": "方法 authenticate" }, { - "id": "edge:52997774", + "id": "edge:4e662085", "source": "file:src/agentkit/memory/base.py", "target": "class:MemoryItem", "type": "contains", "label": "定义类 MemoryItem" }, { - "id": "edge:4f7d6cc1", + "id": "edge:eb72f882", "source": "class:MemoryItem", "target": "func:MemoryItem.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:76e627de", + "id": "edge:4265e9e0", "source": "file:src/agentkit/memory/base.py", "target": "class:Memory", "type": "contains", "label": "定义类 Memory" }, { - "id": "edge:fcc30dfc", + "id": "edge:f70d36bc", "source": "class:Memory", "target": "func:Memory.store", "type": "contains", "label": "方法 store" }, { - "id": "edge:c8391eba", + "id": "edge:34c7bf0b", "source": "class:Memory", "target": "func:Memory.retrieve", "type": "contains", "label": "方法 retrieve" }, { - "id": "edge:6c3eaad1", + "id": "edge:476e94fd", "source": "class:Memory", "target": "func:Memory.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:4812a128", + "id": "edge:b2352b20", "source": "class:Memory", "target": "func:Memory.delete", "type": "contains", "label": "方法 delete" }, { - "id": "edge:37f15af6", + "id": "edge:df218bf5", "source": "class:Memory", "target": "func:Memory.store_batch", "type": "contains", "label": "方法 store_batch" }, { - "id": "edge:d4ac790b", + "id": "edge:00767fde", "source": "class:Memory", "target": "func:Memory.get_context", "type": "contains", "label": "方法 get_context" }, { - "id": "edge:cef8074e", + "id": "edge:72d838fa", "source": "file:src/agentkit/memory/chunking.py", "target": "class:Chunk", "type": "contains", "label": "定义类 Chunk" }, { - "id": "edge:cf161e7c", + "id": "edge:ce7d606d", "source": "class:Chunk", "target": "func:Chunk.__post_init__", "type": "contains", "label": "方法 __post_init__" }, { - "id": "edge:56dae6db", + "id": "edge:4372754e", "source": "class:Chunk", "target": "func:Chunk.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:f2639c98", + "id": "edge:71d4d631", "source": "file:src/agentkit/memory/chunking.py", "target": "class:TextChunker", "type": "contains", "label": "定义类 TextChunker" }, { - "id": "edge:8e8b0b75", + "id": "edge:9ae94882", "source": "class:TextChunker", "target": "func:TextChunker.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:dde41067", + "id": "edge:79b83c42", "source": "class:TextChunker", "target": "func:TextChunker.chunk", "type": "contains", "label": "方法 chunk" }, { - "id": "edge:f6dc9328", + "id": "edge:b63ecb62", "source": "class:TextChunker", "target": "func:TextChunker._split_by_separator", "type": "contains", "label": "方法 _split_by_separator" }, { - "id": "edge:86df4281", + "id": "edge:88bbbbcc", "source": "class:TextChunker", "target": "func:TextChunker._merge_and_split", "type": "contains", "label": "方法 _merge_and_split" }, { - "id": "edge:8f257d21", + "id": "edge:725ecb6c", "source": "class:TextChunker", "target": "func:TextChunker._split_large_segment", "type": "contains", "label": "方法 _split_large_segment" }, { - "id": "edge:6f47a710", + "id": "edge:d59cddef", "source": "class:TextChunker", "target": "func:TextChunker._get_overlap_segments", "type": "contains", "label": "方法 _get_overlap_segments" }, { - "id": "edge:36ddcc1e", + "id": "edge:5ca52cf2", "source": "file:src/agentkit/memory/chunking.py", "target": "class:StructuralChunker", "type": "contains", "label": "定义类 StructuralChunker" }, { - "id": "edge:2b47f863", + "id": "edge:a957eb43", "source": "class:StructuralChunker", "target": "func:StructuralChunker.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:16cdd050", + "id": "edge:04a17b5a", "source": "class:StructuralChunker", "target": "func:StructuralChunker.chunk", "type": "contains", "label": "方法 chunk" }, { - "id": "edge:975aa925", + "id": "edge:ad10484c", "source": "class:StructuralChunker", "target": "func:StructuralChunker._split_by_headings", "type": "contains", "label": "方法 _split_by_headings" }, { - "id": "edge:6b882873", + "id": "edge:9feeb838", "source": "file:src/agentkit/memory/contextual_retrieval.py", "target": "class:ContextualChunk", "type": "contains", "label": "定义类 ContextualChunk" }, { - "id": "edge:f456df6a", + "id": "edge:f80cf84b", "source": "class:ContextualChunk", "target": "func:ContextualChunk.content", "type": "contains", "label": "方法 content" }, { - "id": "edge:a8375d1d", + "id": "edge:3a6e63ef", "source": "file:src/agentkit/memory/contextual_retrieval.py", "target": "class:ContextualChunker", "type": "contains", "label": "定义类 ContextualChunker" }, { - "id": "edge:74dcdfe3", + "id": "edge:5b7b24dc", "source": "class:ContextualChunker", "target": "func:ContextualChunker.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:4bd994ed", + "id": "edge:8fc2f66a", "source": "class:ContextualChunker", "target": "func:ContextualChunker.enhance_chunks", "type": "contains", "label": "方法 enhance_chunks" }, { - "id": "edge:a0687567", + "id": "edge:76aba7e7", "source": "class:ContextualChunker", "target": "func:ContextualChunker._process_batch", "type": "contains", "label": "方法 _process_batch" }, { - "id": "edge:e20086b2", + "id": "edge:5b41b589", "source": "class:ContextualChunker", "target": "func:ContextualChunker._generate_context", "type": "contains", "label": "方法 _generate_context" }, { - "id": "edge:33e94046", + "id": "edge:97d65827", "source": "class:ContextualChunker", "target": "func:ContextualChunker._make_cache_key", "type": "contains", "label": "方法 _make_cache_key" }, { - "id": "edge:d0842b5a", + "id": "edge:331e3127", "source": "class:ContextualChunker", "target": "func:ContextualChunker.clear_cache", "type": "contains", "label": "方法 clear_cache" }, { - "id": "edge:513466a8", + "id": "edge:c9a0e957", "source": "file:src/agentkit/memory/document_loader.py", "target": "class:Document", "type": "contains", "label": "定义类 Document" }, { - "id": "edge:8b828e4b", + "id": "edge:c67fcf28", "source": "class:Document", "target": "func:Document.__post_init__", "type": "contains", "label": "方法 __post_init__" }, { - "id": "edge:4071cb54", + "id": "edge:c587cff9", "source": "class:Document", "target": "func:Document.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:454b0ae1", + "id": "edge:bd524424", "source": "file:src/agentkit/memory/document_loader.py", "target": "class:DocumentLoader", "type": "contains", "label": "定义类 DocumentLoader" }, { - "id": "edge:bd80b872", + "id": "edge:6d82a777", "source": "class:DocumentLoader", "target": "func:DocumentLoader.load", "type": "contains", "label": "方法 load" }, { - "id": "edge:c5dac3d8", + "id": "edge:980f15cd", "source": "class:DocumentLoader", "target": "func:DocumentLoader.load_bytes", "type": "contains", "label": "方法 load_bytes" }, { - "id": "edge:736f6247", + "id": "edge:559347ee", "source": "class:DocumentLoader", "target": "func:DocumentLoader._parse_pdf", "type": "contains", "label": "方法 _parse_pdf" }, { - "id": "edge:49001631", + "id": "edge:56130b41", "source": "class:DocumentLoader", "target": "func:DocumentLoader._parse_docx", "type": "contains", "label": "方法 _parse_docx" }, { - "id": "edge:78e510b0", + "id": "edge:accf8869", "source": "class:DocumentLoader", "target": "func:DocumentLoader._parse_markdown", "type": "contains", "label": "方法 _parse_markdown" }, { - "id": "edge:8bfc5661", + "id": "edge:3adb4799", "source": "class:DocumentLoader", "target": "func:DocumentLoader._parse_html", "type": "contains", "label": "方法 _parse_html" }, { - "id": "edge:83e10f31", + "id": "edge:5890c112", "source": "class:DocumentLoader", "target": "func:DocumentLoader._parse_text", "type": "contains", "label": "方法 _parse_text" }, { - "id": "edge:a4e75b5e", + "id": "edge:581e43c8", "source": "file:src/agentkit/memory/embedder.py", "target": "class:EmbeddingCache", "type": "contains", "label": "定义类 EmbeddingCache" }, { - "id": "edge:5eb6e850", + "id": "edge:4eb033c0", "source": "class:EmbeddingCache", "target": "func:EmbeddingCache.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b3462dd5", + "id": "edge:6c4ff6e7", "source": "class:EmbeddingCache", "target": "func:EmbeddingCache._make_key", "type": "contains", "label": "方法 _make_key" }, { - "id": "edge:1d24e935", + "id": "edge:541c9363", "source": "class:EmbeddingCache", "target": "func:EmbeddingCache.get", "type": "contains", "label": "方法 get" }, { - "id": "edge:7fbcaa15", + "id": "edge:3b938da9", "source": "class:EmbeddingCache", "target": "func:EmbeddingCache.put", "type": "contains", "label": "方法 put" }, { - "id": "edge:ed094b2b", + "id": "edge:9971cc2e", "source": "class:EmbeddingCache", "target": "func:EmbeddingCache.clear", "type": "contains", "label": "方法 clear" }, { - "id": "edge:c805584f", + "id": "edge:db121b32", "source": "file:src/agentkit/memory/embedder.py", "target": "class:Embedder", "type": "contains", "label": "定义类 Embedder" }, { - "id": "edge:4e9729e6", + "id": "edge:6a3056b1", "source": "class:Embedder", "target": "func:Embedder.embed", "type": "contains", "label": "方法 embed" }, { - "id": "edge:62898f0b", + "id": "edge:5eebb195", "source": "class:Embedder", "target": "func:Embedder.get_dimension", "type": "contains", "label": "方法 get_dimension" }, { - "id": "edge:a5000dc5", + "id": "edge:60963ece", "source": "file:src/agentkit/memory/embedder.py", "target": "class:OpenAIEmbedder", "type": "contains", "label": "定义类 OpenAIEmbedder" }, { - "id": "edge:00e9d6e1", + "id": "edge:0cca3bed", "source": "class:OpenAIEmbedder", "target": "class:Embedder", "type": "extends", "label": "继承 Embedder" }, { - "id": "edge:1a31b0de", + "id": "edge:3d034912", "source": "class:OpenAIEmbedder", "target": "func:OpenAIEmbedder.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:6c23c04a", + "id": "edge:c684de8c", "source": "class:OpenAIEmbedder", "target": "func:OpenAIEmbedder._get_client", "type": "contains", "label": "方法 _get_client" }, { - "id": "edge:4beebac8", + "id": "edge:49c6624c", "source": "class:OpenAIEmbedder", "target": "func:OpenAIEmbedder.aclose", "type": "contains", "label": "方法 aclose" }, { - "id": "edge:fc373615", + "id": "edge:5a0e533a", "source": "class:OpenAIEmbedder", "target": "func:OpenAIEmbedder.__aenter__", "type": "contains", "label": "方法 __aenter__" }, { - "id": "edge:b3104444", + "id": "edge:ff7099ae", "source": "class:OpenAIEmbedder", "target": "func:OpenAIEmbedder.__aexit__", "type": "contains", "label": "方法 __aexit__" }, { - "id": "edge:aa9b408a", + "id": "edge:35222a46", "source": "class:OpenAIEmbedder", "target": "func:OpenAIEmbedder.embed", "type": "contains", "label": "方法 embed" }, { - "id": "edge:13fb67cd", + "id": "edge:b9afd67a", "source": "class:OpenAIEmbedder", "target": "func:OpenAIEmbedder.get_dimension", "type": "contains", "label": "方法 get_dimension" }, { - "id": "edge:5ede1f78", + "id": "edge:7334db68", "source": "file:src/agentkit/memory/embedder.py", "target": "class:MockEmbedder", "type": "contains", "label": "定义类 MockEmbedder" }, { - "id": "edge:db6f076d", + "id": "edge:d8116f8b", "source": "class:MockEmbedder", "target": "class:Embedder", "type": "extends", "label": "继承 Embedder" }, { - "id": "edge:5be82ce7", + "id": "edge:4247f5e8", "source": "class:MockEmbedder", "target": "func:MockEmbedder.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:ae862106", + "id": "edge:293b50f7", "source": "class:MockEmbedder", "target": "func:MockEmbedder.embed", "type": "contains", "label": "方法 embed" }, { - "id": "edge:330413c3", + "id": "edge:61da9c37", "source": "class:MockEmbedder", "target": "func:MockEmbedder.get_dimension", "type": "contains", "label": "方法 get_dimension" }, { - "id": "edge:f21fb6b6", + "id": "edge:0f4667ab", "source": "file:src/agentkit/memory/episodic.py", "target": "class:EpisodicMemory", "type": "contains", "label": "定义类 EpisodicMemory" }, { - "id": "edge:d35155bb", + "id": "edge:54df694b", "source": "class:EpisodicMemory", "target": "class:Memory", "type": "extends", "label": "继承 Memory" }, { - "id": "edge:9ca0305b", + "id": "edge:f2d7b403", "source": "class:EpisodicMemory", "target": "func:EpisodicMemory.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:bdce9583", + "id": "edge:f4323d7e", "source": "class:EpisodicMemory", "target": "func:EpisodicMemory.store", "type": "contains", "label": "方法 store" }, { - "id": "edge:b9190990", + "id": "edge:99c5dc84", "source": "class:EpisodicMemory", "target": "func:EpisodicMemory.retrieve", "type": "contains", "label": "方法 retrieve" }, { - "id": "edge:e1d8871e", + "id": "edge:36b9fa1a", "source": "class:EpisodicMemory", "target": "func:EpisodicMemory._retrieve_pgvector", "type": "contains", "label": "方法 _retrieve_pgvector" }, { - "id": "edge:65c8973b", + "id": "edge:54af0d2b", "source": "class:EpisodicMemory", "target": "func:EpisodicMemory._retrieve_client_side", "type": "contains", "label": "方法 _retrieve_client_side" }, { - "id": "edge:ce1b6dbd", + "id": "edge:dac091fb", "source": "class:EpisodicMemory", "target": "func:EpisodicMemory.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:26694e1c", + "id": "edge:28973b67", "source": "class:EpisodicMemory", "target": "func:EpisodicMemory._search_pgvector", "type": "contains", "label": "方法 _search_pgvector" }, { - "id": "edge:ead5ded7", + "id": "edge:0689602a", "source": "class:EpisodicMemory", "target": "func:EpisodicMemory._search_client_side", "type": "contains", "label": "方法 _search_client_side" }, { - "id": "edge:93a7c99f", + "id": "edge:543559f5", "source": "class:EpisodicMemory", "target": "func:EpisodicMemory.delete", "type": "contains", "label": "方法 delete" }, { - "id": "edge:1995cafe", + "id": "edge:a288b86e", "source": "file:src/agentkit/memory/http_rag.py", "target": "class:HttpRAGService", "type": "contains", "label": "定义类 HttpRAGService" }, { - "id": "edge:d713474d", + "id": "edge:378a5704", "source": "class:HttpRAGService", "target": "func:HttpRAGService.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:ecd2db9a", + "id": "edge:5f65d3db", "source": "class:HttpRAGService", "target": "func:HttpRAGService._get_client", "type": "contains", "label": "方法 _get_client" }, { - "id": "edge:05a5e150", + "id": "edge:9094d84c", "source": "class:HttpRAGService", "target": "func:HttpRAGService.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:d4bf0c1e", + "id": "edge:0a939f9a", "source": "class:HttpRAGService", "target": "func:HttpRAGService.enhanced_search", "type": "contains", "label": "方法 enhanced_search" }, { - "id": "edge:e7602d9a", + "id": "edge:8f74a791", "source": "class:HttpRAGService", "target": "func:HttpRAGService.ingest", "type": "contains", "label": "方法 ingest" }, { - "id": "edge:5a6aeb7d", + "id": "edge:a87a450b", "source": "class:HttpRAGService", "target": "func:HttpRAGService.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:854a3820", + "id": "edge:bedc9184", "source": "class:HttpRAGService", "target": "func:HttpRAGService.close", "type": "contains", "label": "方法 close" }, { - "id": "edge:a7200340", + "id": "edge:cd8e57d8", "source": "class:HttpRAGService", "target": "func:HttpRAGService.__aenter__", "type": "contains", "label": "方法 __aenter__" }, { - "id": "edge:2afcce69", + "id": "edge:747c5de1", "source": "class:HttpRAGService", "target": "func:HttpRAGService.__aexit__", "type": "contains", "label": "方法 __aexit__" }, { - "id": "edge:55a9aa5e", + "id": "edge:9ac82688", "source": "file:src/agentkit/memory/knowledge_base.py", "target": "class:Document", "type": "contains", "label": "定义类 Document" }, { - "id": "edge:8637de1f", + "id": "edge:8b69d5ac", "source": "file:src/agentkit/memory/knowledge_base.py", "target": "class:QueryResult", "type": "contains", "label": "定义类 QueryResult" }, { - "id": "edge:cb0a548f", + "id": "edge:9a5e8271", "source": "file:src/agentkit/memory/knowledge_base.py", "target": "class:SourceInfo", "type": "contains", "label": "定义类 SourceInfo" }, { - "id": "edge:584c165e", + "id": "edge:cb7530ff", "source": "file:src/agentkit/memory/knowledge_base.py", "target": "class:KnowledgeBase", "type": "contains", "label": "定义类 KnowledgeBase" }, { - "id": "edge:d45f0963", + "id": "edge:6d314cec", "source": "class:KnowledgeBase", "target": "func:KnowledgeBase.ingest", "type": "contains", "label": "方法 ingest" }, { - "id": "edge:c7c3939f", + "id": "edge:9705cb73", "source": "class:KnowledgeBase", "target": "func:KnowledgeBase.query", "type": "contains", "label": "方法 query" }, { - "id": "edge:8c63aaf3", + "id": "edge:14d61b19", "source": "class:KnowledgeBase", "target": "func:KnowledgeBase.delete_by_id", "type": "contains", "label": "方法 delete_by_id" }, { - "id": "edge:12f12047", + "id": "edge:8e788b4a", "source": "class:KnowledgeBase", "target": "func:KnowledgeBase.list_sources", "type": "contains", "label": "方法 list_sources" }, { - "id": "edge:a65be9d9", + "id": "edge:250f3255", "source": "class:KnowledgeBase", "target": "func:KnowledgeBase.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:74b38818", + "id": "edge:9f458392", "source": "file:src/agentkit/memory/local_rag.py", "target": "class:LocalRAGService", "type": "contains", "label": "定义类 LocalRAGService" }, { - "id": "edge:69b85c71", + "id": "edge:8c3287f8", "source": "class:LocalRAGService", "target": "func:LocalRAGService.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:24b75421", + "id": "edge:1aa2bd5b", "source": "class:LocalRAGService", "target": "func:LocalRAGService.ingest", "type": "contains", "label": "方法 ingest" }, { - "id": "edge:7b2bb0ed", + "id": "edge:29fce419", "source": "class:LocalRAGService", "target": "func:LocalRAGService.query", "type": "contains", "label": "方法 query" }, { - "id": "edge:8d00797c", + "id": "edge:c22b00e2", "source": "class:LocalRAGService", "target": "func:LocalRAGService.delete_by_id", "type": "contains", "label": "方法 delete_by_id" }, { - "id": "edge:9b91a6c6", + "id": "edge:9908e447", "source": "class:LocalRAGService", "target": "func:LocalRAGService.list_sources", "type": "contains", "label": "方法 list_sources" }, { - "id": "edge:eb125ef2", + "id": "edge:8927cda5", "source": "class:LocalRAGService", "target": "func:LocalRAGService.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:fd20abcc", + "id": "edge:31bfbc36", "source": "class:LocalRAGService", "target": "func:LocalRAGService._chunk_document", "type": "contains", "label": "方法 _chunk_document" }, { - "id": "edge:bc7aaa18", + "id": "edge:b352ac4e", "source": "class:LocalRAGService", "target": "func:LocalRAGService._store_chunks", "type": "contains", "label": "方法 _store_chunks" }, { - "id": "edge:9836a4dc", + "id": "edge:0d6c5387", "source": "class:LocalRAGService", "target": "func:LocalRAGService._query_pgvector", "type": "contains", "label": "方法 _query_pgvector" }, { - "id": "edge:850e2f68", + "id": "edge:61ae1523", "source": "class:LocalRAGService", "target": "func:LocalRAGService._query_client_side", "type": "contains", "label": "方法 _query_client_side" }, { - "id": "edge:fb349d0e", + "id": "edge:1b88c026", "source": "file:src/agentkit/memory/local_rag.py", "target": "class:InMemoryLocalRAGService", "type": "contains", "label": "定义类 InMemoryLocalRAGService" }, { - "id": "edge:954cc20e", + "id": "edge:55423356", "source": "class:InMemoryLocalRAGService", "target": "func:InMemoryLocalRAGService.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:1cdb26be", + "id": "edge:b4197ae5", "source": "class:InMemoryLocalRAGService", "target": "func:InMemoryLocalRAGService.ingest", "type": "contains", "label": "方法 ingest" }, { - "id": "edge:b9c964ac", + "id": "edge:a6a0ce92", "source": "class:InMemoryLocalRAGService", "target": "func:InMemoryLocalRAGService.query", "type": "contains", "label": "方法 query" }, { - "id": "edge:fb897c00", + "id": "edge:f7bffbc9", "source": "class:InMemoryLocalRAGService", "target": "func:InMemoryLocalRAGService.delete_by_id", "type": "contains", "label": "方法 delete_by_id" }, { - "id": "edge:348b5bd2", + "id": "edge:2a26aca0", "source": "class:InMemoryLocalRAGService", "target": "func:InMemoryLocalRAGService.list_sources", "type": "contains", "label": "方法 list_sources" }, { - "id": "edge:8b70e6da", + "id": "edge:672f980e", "source": "class:InMemoryLocalRAGService", "target": "func:InMemoryLocalRAGService.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:fb519e11", + "id": "edge:2f8c1111", "source": "class:InMemoryLocalRAGService", "target": "func:InMemoryLocalRAGService._chunk_document", "type": "contains", "label": "方法 _chunk_document" }, { - "id": "edge:ed3990e5", + "id": "edge:eba90f60", "source": "file:src/agentkit/memory/models.py", "target": "class:EpisodeModel", "type": "contains", "label": "定义类 EpisodeModel" }, { - "id": "edge:a9d0929b", + "id": "edge:d1d75f81", "source": "file:src/agentkit/memory/multi_source_retriever.py", "target": "class:MultiSourceRetriever", "type": "contains", "label": "定义类 MultiSourceRetriever" }, { - "id": "edge:39250dd3", + "id": "edge:65c126d7", "source": "class:MultiSourceRetriever", "target": "func:MultiSourceRetriever.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:af7d97f6", + "id": "edge:193de005", "source": "class:MultiSourceRetriever", "target": "func:MultiSourceRetriever.register_source", "type": "contains", "label": "方法 register_source" }, { - "id": "edge:57f9b9d2", + "id": "edge:92363ba7", "source": "class:MultiSourceRetriever", "target": "func:MultiSourceRetriever.unregister_source", "type": "contains", "label": "方法 unregister_source" }, { - "id": "edge:734ff6b3", + "id": "edge:56b0f165", "source": "class:MultiSourceRetriever", "target": "func:MultiSourceRetriever.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:d6781205", + "id": "edge:0773fd21", "source": "class:MultiSourceRetriever", "target": "func:MultiSourceRetriever.list_all_sources", "type": "contains", "label": "方法 list_all_sources" }, { - "id": "edge:ebef8417", + "id": "edge:14b40130", "source": "class:MultiSourceRetriever", "target": "func:MultiSourceRetriever.get_source_names", "type": "contains", "label": "方法 get_source_names" }, { - "id": "edge:e630713d", + "id": "edge:f8d39c0c", "source": "class:MultiSourceRetriever", "target": "func:MultiSourceRetriever._resolve_sources", "type": "contains", "label": "方法 _resolve_sources" }, { - "id": "edge:c3e0ab9d", + "id": "edge:d7e36606", "source": "class:MultiSourceRetriever", "target": "func:MultiSourceRetriever._query_sources", "type": "contains", "label": "方法 _query_sources" }, { - "id": "edge:60b3676f", + "id": "edge:020aad3e", "source": "class:MultiSourceRetriever", "target": "func:MultiSourceRetriever._deduplicate", "type": "contains", "label": "方法 _deduplicate" }, { - "id": "edge:351cbad5", + "id": "edge:9b09744c", "source": "file:src/agentkit/memory/profile.py", "target": "class:MemoryFile", "type": "contains", "label": "定义类 MemoryFile" }, { - "id": "edge:6dd998b1", + "id": "edge:1323f262", "source": "class:MemoryFile", "target": "func:MemoryFile.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:cde09280", + "id": "edge:0ad235e7", "source": "class:MemoryFile", "target": "func:MemoryFile.read", "type": "contains", "label": "方法 read" }, { - "id": "edge:64b31aa9", + "id": "edge:7f3e3d48", "source": "class:MemoryFile", "target": "func:MemoryFile.write", "type": "contains", "label": "方法 write" }, { - "id": "edge:26e47abc", + "id": "edge:b7e7cc3e", "source": "class:MemoryFile", "target": "func:MemoryFile.read_section", "type": "contains", "label": "方法 read_section" }, { - "id": "edge:ea1284fd", + "id": "edge:5a06cb95", "source": "class:MemoryFile", "target": "func:MemoryFile.add_section", "type": "contains", "label": "方法 add_section" }, { - "id": "edge:5f80d222", + "id": "edge:ee03867c", "source": "class:MemoryFile", "target": "func:MemoryFile.replace_section", "type": "contains", "label": "方法 replace_section" }, { - "id": "edge:3e799364", + "id": "edge:b2895db7", "source": "class:MemoryFile", "target": "func:MemoryFile.remove_section", "type": "contains", "label": "方法 remove_section" }, { - "id": "edge:1c142603", + "id": "edge:1967cd67", "source": "class:MemoryFile", "target": "func:MemoryFile.list_sections", "type": "contains", "label": "方法 list_sections" }, { - "id": "edge:1ced053e", + "id": "edge:a1c62930", "source": "class:MemoryFile", "target": "func:MemoryFile.trim_to_budget", "type": "contains", "label": "方法 trim_to_budget" }, { - "id": "edge:a202d735", + "id": "edge:f11a0680", "source": "class:MemoryFile", "target": "func:MemoryFile._trim_content", "type": "contains", "label": "方法 _trim_content" }, { - "id": "edge:24a80257", + "id": "edge:8548432e", "source": "file:src/agentkit/memory/profile.py", "target": "class:MemorySnapshot", "type": "contains", "label": "定义类 MemorySnapshot" }, { - "id": "edge:95fd5ede", + "id": "edge:8a99ef25", "source": "class:MemorySnapshot", "target": "func:MemorySnapshot.is_empty", "type": "contains", "label": "方法 is_empty" }, { - "id": "edge:46114772", + "id": "edge:3af271d6", "source": "file:src/agentkit/memory/profile.py", "target": "class:MemoryStore", "type": "contains", "label": "定义类 MemoryStore" }, { - "id": "edge:321ad2c1", + "id": "edge:67dbcea0", "source": "class:MemoryStore", "target": "func:MemoryStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:01e255f3", + "id": "edge:66896b6d", "source": "class:MemoryStore", "target": "func:MemoryStore.get_file", "type": "contains", "label": "方法 get_file" }, { - "id": "edge:7eb2aee5", + "id": "edge:47456235", "source": "class:MemoryStore", "target": "func:MemoryStore.ensure_defaults", "type": "contains", "label": "方法 ensure_defaults" }, { - "id": "edge:16953460", + "id": "edge:0671339c", "source": "class:MemoryStore", "target": "func:MemoryStore.load_all", "type": "contains", "label": "方法 load_all" }, { - "id": "edge:964b2d7d", + "id": "edge:53bee6ad", "source": "class:MemoryStore", "target": "func:MemoryStore.load_daily_logs", "type": "contains", "label": "方法 load_daily_logs" }, { - "id": "edge:c31b17ab", + "id": "edge:657b5736", "source": "class:MemoryStore", "target": "func:MemoryStore.archive_old_dailies", "type": "contains", "label": "方法 archive_old_dailies" }, { - "id": "edge:abd8c11c", + "id": "edge:e3e383a4", "source": "class:MemoryStore", "target": "func:MemoryStore.build_system_prompt", "type": "contains", "label": "方法 build_system_prompt" }, { - "id": "edge:4a6cf7a7", + "id": "edge:639d48a2", "source": "class:MemoryStore", "target": "func:MemoryStore.refresh_system_prompt", "type": "contains", "label": "方法 refresh_system_prompt" }, { - "id": "edge:be6ffd5e", + "id": "edge:07bee160", "source": "class:MemoryStore", "target": "func:MemoryStore.notify_change", "type": "contains", "label": "方法 notify_change" }, { - "id": "edge:8c02f35d", + "id": "edge:175eef4b", "source": "file:src/agentkit/memory/query_transformer.py", "target": "class:TransformedQuery", "type": "contains", "label": "定义类 TransformedQuery" }, { - "id": "edge:8cec7651", + "id": "edge:72d7bce3", "source": "file:src/agentkit/memory/query_transformer.py", "target": "class:QueryTransformerBase", "type": "contains", "label": "定义类 QueryTransformerBase" }, { - "id": "edge:e4a30fc8", + "id": "edge:ff1ef985", "source": "class:QueryTransformerBase", "target": "func:QueryTransformerBase.transform", "type": "contains", "label": "方法 transform" }, { - "id": "edge:5ee03433", + "id": "edge:bcd47686", "source": "file:src/agentkit/memory/query_transformer.py", "target": "class:LLMQueryTransformer", "type": "contains", "label": "定义类 LLMQueryTransformer" }, { - "id": "edge:88c52bd9", + "id": "edge:eadec6ca", "source": "class:LLMQueryTransformer", "target": "class:QueryTransformerBase", "type": "extends", "label": "继承 QueryTransformerBase" }, { - "id": "edge:f70f88ce", + "id": "edge:90a8ba0e", "source": "class:LLMQueryTransformer", "target": "func:LLMQueryTransformer.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b9116935", + "id": "edge:b13e9efb", "source": "class:LLMQueryTransformer", "target": "func:LLMQueryTransformer.transform", "type": "contains", "label": "方法 transform" }, { - "id": "edge:a53115a4", + "id": "edge:287ec7d8", "source": "file:src/agentkit/memory/query_transformer.py", "target": "class:RuleQueryTransformer", "type": "contains", "label": "定义类 RuleQueryTransformer" }, { - "id": "edge:5753d12b", + "id": "edge:9906b99f", "source": "class:RuleQueryTransformer", "target": "class:QueryTransformerBase", "type": "extends", "label": "继承 QueryTransformerBase" }, { - "id": "edge:477d4493", + "id": "edge:ed6af7da", "source": "class:RuleQueryTransformer", "target": "func:RuleQueryTransformer.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:696355e1", + "id": "edge:f0c58cdb", "source": "class:RuleQueryTransformer", "target": "func:RuleQueryTransformer.transform", "type": "contains", "label": "方法 transform" }, { - "id": "edge:d9f19332", + "id": "edge:357038a0", "source": "file:src/agentkit/memory/query_transformer.py", "target": "class:NoOpQueryTransformer", "type": "contains", "label": "定义类 NoOpQueryTransformer" }, { - "id": "edge:6900144d", + "id": "edge:e6fe4ce3", "source": "class:NoOpQueryTransformer", "target": "class:QueryTransformerBase", "type": "extends", "label": "继承 QueryTransformerBase" }, { - "id": "edge:5857a0e5", + "id": "edge:ebe7521e", "source": "class:NoOpQueryTransformer", "target": "func:NoOpQueryTransformer.transform", "type": "contains", "label": "方法 transform" }, { - "id": "edge:ff4f402a", + "id": "edge:2713a3cd", "source": "file:src/agentkit/memory/rag_loop.py", "target": "class:LoopState", "type": "contains", "label": "定义类 LoopState" }, { - "id": "edge:446bc7a6", + "id": "edge:fc110f9f", "source": "file:src/agentkit/memory/rag_loop.py", "target": "class:CorrectionAttempt", "type": "contains", "label": "定义类 CorrectionAttempt" }, { - "id": "edge:c96fafe6", + "id": "edge:cfe74cec", "source": "file:src/agentkit/memory/rag_loop.py", "target": "class:RAGLoopResult", "type": "contains", "label": "定义类 RAGLoopResult" }, { - "id": "edge:c08d2de7", + "id": "edge:3fe8a102", "source": "file:src/agentkit/memory/rag_loop.py", "target": "class:RAGSelfCorrectionLoop", "type": "contains", "label": "定义类 RAGSelfCorrectionLoop" }, { - "id": "edge:16172f63", + "id": "edge:5da10339", "source": "class:RAGSelfCorrectionLoop", "target": "func:RAGSelfCorrectionLoop.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:6dff2584", + "id": "edge:f774498b", "source": "class:RAGSelfCorrectionLoop", "target": "func:RAGSelfCorrectionLoop.retrieve_with_correction", "type": "contains", "label": "方法 retrieve_with_correction" }, { - "id": "edge:4a8e95a9", + "id": "edge:4f4c5d39", "source": "class:RAGSelfCorrectionLoop", "target": "func:RAGSelfCorrectionLoop._determine_next_state", "type": "contains", "label": "方法 _determine_next_state" }, { - "id": "edge:5b0a5224", + "id": "edge:fddb7a80", "source": "class:RAGSelfCorrectionLoop", "target": "func:RAGSelfCorrectionLoop._rewrite_query", "type": "contains", "label": "方法 _rewrite_query" }, { - "id": "edge:fa14cb08", + "id": "edge:6f849ade", "source": "file:src/agentkit/memory/relevance_scorer.py", "target": "class:RelevanceVerdict", "type": "contains", "label": "定义类 RelevanceVerdict" }, { - "id": "edge:33fe1e9d", + "id": "edge:a2fbad63", "source": "file:src/agentkit/memory/relevance_scorer.py", "target": "class:RelevanceScore", "type": "contains", "label": "定义类 RelevanceScore" }, { - "id": "edge:c13816d7", + "id": "edge:e3dc7868", "source": "file:src/agentkit/memory/relevance_scorer.py", "target": "class:RetrievalEvaluation", "type": "contains", "label": "定义类 RetrievalEvaluation" }, { - "id": "edge:9198e4b9", + "id": "edge:dabbd750", "source": "file:src/agentkit/memory/relevance_scorer.py", "target": "class:RelevanceScorer", "type": "contains", "label": "定义类 RelevanceScorer" }, { - "id": "edge:de964795", + "id": "edge:adb21c65", "source": "class:RelevanceScorer", "target": "func:RelevanceScorer.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b84a83ca", + "id": "edge:f35f685e", "source": "class:RelevanceScorer", "target": "func:RelevanceScorer.score_item", "type": "contains", "label": "方法 score_item" }, { - "id": "edge:542b6a68", + "id": "edge:05822bc5", "source": "class:RelevanceScorer", "target": "func:RelevanceScorer.evaluate", "type": "contains", "label": "方法 evaluate" }, { - "id": "edge:5977ea1c", + "id": "edge:5131cfad", "source": "class:RelevanceScorer", "target": "func:RelevanceScorer._determine_verdict", "type": "contains", "label": "方法 _determine_verdict" }, { - "id": "edge:9496d441", + "id": "edge:89081bf5", "source": "class:RelevanceScorer", "target": "func:RelevanceScorer._tokenize", "type": "contains", "label": "方法 _tokenize" }, { - "id": "edge:051194d5", + "id": "edge:a471a31e", "source": "class:RelevanceScorer", "target": "func:RelevanceScorer._jaccard_similarity", "type": "contains", "label": "方法 _jaccard_similarity" }, { - "id": "edge:713b7a1d", + "id": "edge:5a47326b", "source": "class:RelevanceScorer", "target": "func:RelevanceScorer._query_coverage", "type": "contains", "label": "方法 _query_coverage" }, { - "id": "edge:91c50d1c", + "id": "edge:c90727d8", "source": "class:RelevanceScorer", "target": "func:RelevanceScorer._length_score", "type": "contains", "label": "方法 _length_score" }, { - "id": "edge:9d67b989", + "id": "edge:3e1bb20a", "source": "file:src/agentkit/memory/retriever.py", "target": "class:MemoryRetriever", "type": "contains", "label": "定义类 MemoryRetriever" }, { - "id": "edge:b77697c7", + "id": "edge:221068b4", "source": "class:MemoryRetriever", "target": "func:MemoryRetriever.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:e3efed1c", + "id": "edge:e0fce00b", "source": "class:MemoryRetriever", "target": "func:MemoryRetriever.retrieve", "type": "contains", "label": "方法 retrieve" }, { - "id": "edge:1150a939", + "id": "edge:9908d096", "source": "class:MemoryRetriever", "target": "func:MemoryRetriever._search_layers", "type": "contains", "label": "方法 _search_layers" }, { - "id": "edge:184f4608", + "id": "edge:dc9990b5", "source": "class:MemoryRetriever", "target": "func:MemoryRetriever._retrieve_from_sources", "type": "contains", "label": "方法 _retrieve_from_sources" }, { - "id": "edge:3d315e64", + "id": "edge:bda6a7a7", "source": "class:MemoryRetriever", "target": "func:MemoryRetriever.multi_source_retriever", "type": "contains", "label": "方法 multi_source_retriever" }, { - "id": "edge:2906e839", + "id": "edge:e71d93a0", "source": "class:MemoryRetriever", "target": "func:MemoryRetriever.get_context_string", "type": "contains", "label": "方法 get_context_string" }, { - "id": "edge:06524b7c", + "id": "edge:1e183ee6", "source": "class:MemoryRetriever", "target": "func:MemoryRetriever._format_structured_header", "type": "contains", "label": "方法 _format_structured_header" }, { - "id": "edge:8a651ad7", + "id": "edge:396e1a30", "source": "class:MemoryRetriever", "target": "func:MemoryRetriever.store_episode", "type": "contains", "label": "方法 store_episode" }, { - "id": "edge:73d82e15", + "id": "edge:9c3b0ea5", "source": "class:MemoryRetriever", "target": "func:MemoryRetriever.create_retrieve_tool", "type": "contains", "label": "方法 create_retrieve_tool" }, { - "id": "edge:00518a38", + "id": "edge:18a62102", "source": "file:src/agentkit/memory/retriever.py", "target": "class:RetrieveKnowledgeTool", "type": "contains", "label": "定义类 RetrieveKnowledgeTool" }, { - "id": "edge:a93ae7a7", + "id": "edge:6bb5756a", "source": "class:RetrieveKnowledgeTool", "target": "func:RetrieveKnowledgeTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:2fd266cd", + "id": "edge:7303d75f", "source": "class:RetrieveKnowledgeTool", "target": "func:RetrieveKnowledgeTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:a41cd9c8", + "id": "edge:37797114", "source": "file:src/agentkit/memory/semantic.py", "target": "class:SemanticMemory", "type": "contains", "label": "定义类 SemanticMemory" }, { - "id": "edge:e644ac07", + "id": "edge:ba503177", "source": "class:SemanticMemory", "target": "class:Memory", "type": "extends", "label": "继承 Memory" }, { - "id": "edge:8e7557b6", + "id": "edge:974cd492", "source": "class:SemanticMemory", "target": "func:SemanticMemory.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8bf5ab44", + "id": "edge:c3b61eff", "source": "class:SemanticMemory", "target": "func:SemanticMemory.store", "type": "contains", "label": "方法 store" }, { - "id": "edge:48c317aa", + "id": "edge:ba72ca9f", "source": "class:SemanticMemory", "target": "func:SemanticMemory.retrieve", "type": "contains", "label": "方法 retrieve" }, { - "id": "edge:5e4b1a2d", + "id": "edge:5853d3a1", "source": "class:SemanticMemory", "target": "func:SemanticMemory.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:4fc4820a", + "id": "edge:61054fa6", "source": "class:SemanticMemory", "target": "func:SemanticMemory.delete", "type": "contains", "label": "方法 delete" }, { - "id": "edge:cbfeb12c", + "id": "edge:ef60006f", "source": "file:src/agentkit/memory/working.py", "target": "class:WorkingMemory", "type": "contains", "label": "定义类 WorkingMemory" }, { - "id": "edge:5619096b", + "id": "edge:55696a17", "source": "class:WorkingMemory", "target": "class:Memory", "type": "extends", "label": "继承 Memory" }, { - "id": "edge:b2522133", + "id": "edge:3d8fceb2", "source": "class:WorkingMemory", "target": "func:WorkingMemory.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:6eba849f", + "id": "edge:5aa18736", "source": "class:WorkingMemory", "target": "func:WorkingMemory._make_key", "type": "contains", "label": "方法 _make_key" }, { - "id": "edge:06eb5997", + "id": "edge:96309aab", "source": "class:WorkingMemory", "target": "func:WorkingMemory.store", "type": "contains", "label": "方法 store" }, { - "id": "edge:88c1dad9", + "id": "edge:e51adc8c", "source": "class:WorkingMemory", "target": "func:WorkingMemory.retrieve", "type": "contains", "label": "方法 retrieve" }, { - "id": "edge:f35d7dd9", + "id": "edge:c76c1f73", "source": "class:WorkingMemory", "target": "func:WorkingMemory.search", "type": "contains", "label": "方法 search" }, { - "id": "edge:e4ca24bc", + "id": "edge:3ddc7086", "source": "class:WorkingMemory", "target": "func:WorkingMemory.delete", "type": "contains", "label": "方法 delete" }, { - "id": "edge:058914c5", + "id": "edge:0b12abd2", "source": "class:WorkingMemory", "target": "func:WorkingMemory.clear", "type": "contains", "label": "方法 clear" }, { - "id": "edge:6cdf342c", + "id": "edge:6c6dc052", "source": "file:src/agentkit/orchestrator/compensation.py", "target": "class:CompletedStep", "type": "contains", "label": "定义类 CompletedStep" }, { - "id": "edge:62aac460", + "id": "edge:b4a5c5db", "source": "file:src/agentkit/orchestrator/compensation.py", "target": "class:CompensationResult", "type": "contains", "label": "定义类 CompensationResult" }, { - "id": "edge:82caacc5", + "id": "edge:9ac98c43", "source": "file:src/agentkit/orchestrator/compensation.py", "target": "class:SagaOrchestrator", "type": "contains", "label": "定义类 SagaOrchestrator" }, { - "id": "edge:dd4885f0", + "id": "edge:b20072c1", "source": "class:SagaOrchestrator", "target": "func:SagaOrchestrator.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:f2f1f754", + "id": "edge:f27eb1b6", "source": "class:SagaOrchestrator", "target": "func:SagaOrchestrator.record_completed", "type": "contains", "label": "方法 record_completed" }, { - "id": "edge:776fd192", + "id": "edge:9e84beaf", "source": "class:SagaOrchestrator", "target": "func:SagaOrchestrator.compensate", "type": "contains", "label": "方法 compensate" }, { - "id": "edge:00b0f76d", + "id": "edge:3d16af15", "source": "class:SagaOrchestrator", "target": "func:SagaOrchestrator.clear", "type": "contains", "label": "方法 clear" }, { - "id": "edge:ac1cee61", + "id": "edge:dab39b8f", "source": "class:SagaOrchestrator", "target": "func:SagaOrchestrator.completed_steps", "type": "contains", "label": "方法 completed_steps" }, { - "id": "edge:81e8e9d1", + "id": "edge:56edb0d9", "source": "file:src/agentkit/orchestrator/dynamic_pipeline.py", "target": "class:DynamicPipeline", "type": "contains", "label": "定义类 DynamicPipeline" }, { - "id": "edge:c8cb5919", + "id": "edge:8a596f6d", "source": "class:DynamicPipeline", "target": "func:DynamicPipeline.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:738978b4", + "id": "edge:538871f2", "source": "class:DynamicPipeline", "target": "func:DynamicPipeline.execute_conditional", "type": "contains", "label": "方法 execute_conditional" }, { - "id": "edge:ae1af877", + "id": "edge:bc295cfc", "source": "class:DynamicPipeline", "target": "func:DynamicPipeline.execute_nested", "type": "contains", "label": "方法 execute_nested" }, { - "id": "edge:062f3feb", + "id": "edge:0c785551", "source": "class:DynamicPipeline", "target": "func:DynamicPipeline.execute_loop", "type": "contains", "label": "方法 execute_loop" }, { - "id": "edge:29278136", + "id": "edge:2b48f7d3", "source": "file:src/agentkit/orchestrator/handoff.py", "target": "class:HandoffManager", "type": "contains", "label": "定义类 HandoffManager" }, { - "id": "edge:9de3bd0f", + "id": "edge:e33e0c17", "source": "class:HandoffManager", "target": "func:HandoffManager.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:a1e924c6", + "id": "edge:7ae92848", "source": "class:HandoffManager", "target": "func:HandoffManager.register_handler", "type": "contains", "label": "方法 register_handler" }, { - "id": "edge:314edda3", + "id": "edge:82d1e0b4", "source": "class:HandoffManager", "target": "func:HandoffManager.send_handoff", "type": "contains", "label": "方法 send_handoff" }, { - "id": "edge:4526a951", + "id": "edge:32c4cb5b", "source": "class:HandoffManager", "target": "func:HandoffManager.listen_for_handoffs", "type": "contains", "label": "方法 listen_for_handoffs" }, { - "id": "edge:94a7793e", + "id": "edge:5e1f6f0c", "source": "class:HandoffManager", "target": "func:HandoffManager._handle_handoff", "type": "contains", "label": "方法 _handle_handoff" }, { - "id": "edge:26e26d6e", + "id": "edge:6f592e31", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "class:PipelineEngine", "type": "contains", "label": "定义类 PipelineEngine" }, { - "id": "edge:c7f1b41b", + "id": "edge:be1d9f76", "source": "class:PipelineEngine", "target": "func:PipelineEngine.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:253b98e1", + "id": "edge:8dbdf1be", "source": "class:PipelineEngine", "target": "func:PipelineEngine.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:59c934d6", + "id": "edge:f4fe1354", "source": "class:PipelineEngine", "target": "func:PipelineEngine._adaptive_loop", "type": "contains", "label": "方法 _adaptive_loop" }, { - "id": "edge:da9d5097", + "id": "edge:ed5588e6", "source": "class:PipelineEngine", "target": "func:PipelineEngine._execute_pipeline", "type": "contains", "label": "方法 _execute_pipeline" }, { - "id": "edge:5ad63fcc", + "id": "edge:3082a2f4", "source": "class:PipelineEngine", "target": "func:PipelineEngine._execute_stage", "type": "contains", "label": "方法 _execute_stage" }, { - "id": "edge:71d14f2c", + "id": "edge:76546252", "source": "class:PipelineEngine", "target": "func:PipelineEngine._topological_group", "type": "contains", "label": "方法 _topological_group" }, { - "id": "edge:4338a9b0", + "id": "edge:2ba67446", "source": "class:PipelineEngine", "target": "func:PipelineEngine._resolve_variables", "type": "contains", "label": "方法 _resolve_variables" }, { - "id": "edge:12650885", + "id": "edge:cba821a6", "source": "class:PipelineEngine", "target": "func:PipelineEngine._get_nested", "type": "contains", "label": "方法 _get_nested" }, { - "id": "edge:25c70a30", + "id": "edge:a79af456", "source": "class:PipelineEngine", "target": "func:PipelineEngine._evaluate_condition", "type": "contains", "label": "方法 _evaluate_condition" }, { - "id": "edge:3526d413", + "id": "edge:06585c6b", "source": "class:PipelineEngine", "target": "func:PipelineEngine._execute_stage_with_adversarial", "type": "contains", "label": "方法 _execute_stage_with_adversarial" }, { - "id": "edge:1f71e809", + "id": "edge:9c8a6b7b", "source": "class:PipelineEngine", "target": "func:PipelineEngine._execute_agent_stage", "type": "contains", "label": "方法 _execute_agent_stage" }, { - "id": "edge:7272f537", + "id": "edge:3db707f6", "source": "class:PipelineEngine", "target": "func:PipelineEngine._execute_verifier", "type": "contains", "label": "方法 _execute_verifier" }, { - "id": "edge:b5416660", + "id": "edge:d300fd17", "source": "class:PipelineEngine", "target": "func:PipelineEngine._build_feedback_context", "type": "contains", "label": "方法 _build_feedback_context" }, { - "id": "edge:815290e7", + "id": "edge:d9fd2293", "source": "class:PipelineEngine", "target": "func:PipelineEngine._escalate", "type": "contains", "label": "方法 _escalate" }, { - "id": "edge:993bbf04", + "id": "edge:f48fa045", "source": "file:src/agentkit/orchestrator/pipeline_loader.py", "target": "class:PipelineLoader", "type": "contains", "label": "定义类 PipelineLoader" }, { - "id": "edge:de553a96", + "id": "edge:f23dedcb", "source": "class:PipelineLoader", "target": "func:PipelineLoader.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:42dd9e51", + "id": "edge:86d6272b", "source": "class:PipelineLoader", "target": "func:PipelineLoader.load", "type": "contains", "label": "方法 load" }, { - "id": "edge:3e80c798", + "id": "edge:e603c9f8", "source": "class:PipelineLoader", "target": "func:PipelineLoader.load_from_yaml", "type": "contains", "label": "方法 load_from_yaml" }, { - "id": "edge:d1f2f653", + "id": "edge:cea3d283", "source": "class:PipelineLoader", "target": "func:PipelineLoader.validate_dag", "type": "contains", "label": "方法 validate_dag" }, { - "id": "edge:34762e65", + "id": "edge:49b16446", "source": "file:src/agentkit/orchestrator/pipeline_models.py", "target": "class:Base", "type": "contains", "label": "定义类 Base" }, { - "id": "edge:fcf6bfe0", + "id": "edge:457ae900", "source": "file:src/agentkit/orchestrator/pipeline_models.py", "target": "class:PipelineExecutionModel", "type": "contains", "label": "定义类 PipelineExecutionModel" }, { - "id": "edge:14f47a1f", + "id": "edge:b2d16141", "source": "class:PipelineExecutionModel", "target": "class:Base", "type": "extends", "label": "继承 Base" }, { - "id": "edge:e03a9009", + "id": "edge:76084f6a", "source": "file:src/agentkit/orchestrator/pipeline_models.py", "target": "class:PipelineStepHistoryModel", "type": "contains", "label": "定义类 PipelineStepHistoryModel" }, { - "id": "edge:390be886", + "id": "edge:2678b1c9", "source": "class:PipelineStepHistoryModel", "target": "class:Base", "type": "extends", "label": "继承 Base" }, { - "id": "edge:4c424270", + "id": "edge:6892bdf8", "source": "file:src/agentkit/orchestrator/pipeline_schema.py", "target": "class:StageStatus", "type": "contains", "label": "定义类 StageStatus" }, { - "id": "edge:ec223fd5", + "id": "edge:cbe4c0f2", "source": "file:src/agentkit/orchestrator/pipeline_schema.py", "target": "class:ReviewIssue", "type": "contains", "label": "定义类 ReviewIssue" }, { - "id": "edge:c23430bf", + "id": "edge:557935f6", "source": "file:src/agentkit/orchestrator/pipeline_schema.py", "target": "class:ReviewFeedback", "type": "contains", "label": "定义类 ReviewFeedback" }, { - "id": "edge:cd2f94c9", + "id": "edge:96e5254c", "source": "file:src/agentkit/orchestrator/pipeline_schema.py", "target": "class:AdversarialState", "type": "contains", "label": "定义类 AdversarialState" }, { - "id": "edge:f2c99ad8", + "id": "edge:5508ba22", "source": "file:src/agentkit/orchestrator/pipeline_schema.py", "target": "class:PipelineStage", "type": "contains", "label": "定义类 PipelineStage" }, { - "id": "edge:90b7c10b", + "id": "edge:7f2ecd5b", "source": "file:src/agentkit/orchestrator/pipeline_schema.py", "target": "class:Pipeline", "type": "contains", "label": "定义类 Pipeline" }, { - "id": "edge:95c7b07a", + "id": "edge:0594ad84", "source": "file:src/agentkit/orchestrator/pipeline_schema.py", "target": "class:StageResult", "type": "contains", "label": "定义类 StageResult" }, { - "id": "edge:c15a8e17", + "id": "edge:d910550d", "source": "file:src/agentkit/orchestrator/pipeline_schema.py", "target": "class:PipelineResult", "type": "contains", "label": "定义类 PipelineResult" }, { - "id": "edge:8ceeba4e", + "id": "edge:8801d0ec", "source": "file:src/agentkit/orchestrator/pipeline_schema.py", "target": "class:AdaptiveConfig", "type": "contains", "label": "定义类 AdaptiveConfig" }, { - "id": "edge:d0caf93d", + "id": "edge:3437d7e3", "source": "file:src/agentkit/orchestrator/pipeline_schema.py", "target": "class:ReflectionReport", "type": "contains", "label": "定义类 ReflectionReport" }, { - "id": "edge:3d34ce9a", + "id": "edge:ce5e407a", "source": "file:src/agentkit/orchestrator/pipeline_state.py", "target": "class:PipelineStateMemory", "type": "contains", "label": "定义类 PipelineStateMemory" }, { - "id": "edge:be5e3a02", + "id": "edge:c82c2520", "source": "class:PipelineStateMemory", "target": "func:PipelineStateMemory.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:74d527d3", + "id": "edge:ebe48116", "source": "class:PipelineStateMemory", "target": "func:PipelineStateMemory.create_execution", "type": "contains", "label": "方法 create_execution" }, { - "id": "edge:ae69d049", + "id": "edge:deff85fa", "source": "class:PipelineStateMemory", "target": "func:PipelineStateMemory.update_step", "type": "contains", "label": "方法 update_step" }, { - "id": "edge:5483dbec", + "id": "edge:c707d88f", "source": "class:PipelineStateMemory", "target": "func:PipelineStateMemory.complete_execution", "type": "contains", "label": "方法 complete_execution" }, { - "id": "edge:4d77b38b", + "id": "edge:3403eefb", "source": "class:PipelineStateMemory", "target": "func:PipelineStateMemory.fail_execution", "type": "contains", "label": "方法 fail_execution" }, { - "id": "edge:63cf824c", + "id": "edge:403f76b2", "source": "class:PipelineStateMemory", "target": "func:PipelineStateMemory.get_execution", "type": "contains", "label": "方法 get_execution" }, { - "id": "edge:4c2e9b4f", + "id": "edge:5fd5ef74", "source": "class:PipelineStateMemory", "target": "func:PipelineStateMemory.list_executions", "type": "contains", "label": "方法 list_executions" }, { - "id": "edge:6c410c47", + "id": "edge:b635ce8f", "source": "class:PipelineStateMemory", "target": "func:PipelineStateMemory.get_step_history", "type": "contains", "label": "方法 get_step_history" }, { - "id": "edge:66ff8334", + "id": "edge:48e557f1", "source": "class:PipelineStateMemory", "target": "func:PipelineStateMemory.get_execution_sync", "type": "contains", "label": "方法 get_execution_sync" }, { - "id": "edge:62a1e316", + "id": "edge:2b0e2b75", "source": "file:src/agentkit/orchestrator/pipeline_state.py", "target": "class:PipelineStateRedis", "type": "contains", "label": "定义类 PipelineStateRedis" }, { - "id": "edge:1ccda42c", + "id": "edge:65cb6409", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:81a89f5c", + "id": "edge:718bdd12", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis._get_redis", "type": "contains", "label": "方法 _get_redis" }, { - "id": "edge:68595282", + "id": "edge:5958edf8", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis._safe_redis_call", "type": "contains", "label": "方法 _safe_redis_call" }, { - "id": "edge:096d05d0", + "id": "edge:8c2d81f2", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis._key", "type": "contains", "label": "方法 _key" }, { - "id": "edge:bc00640c", + "id": "edge:65d41281", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis.create_execution", "type": "contains", "label": "方法 create_execution" }, { - "id": "edge:ff82215f", + "id": "edge:4d992c61", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis.update_step", "type": "contains", "label": "方法 update_step" }, { - "id": "edge:1ae97100", + "id": "edge:5fd54ef5", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis.complete_execution", "type": "contains", "label": "方法 complete_execution" }, { - "id": "edge:cdca0bd7", + "id": "edge:f606d157", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis.fail_execution", "type": "contains", "label": "方法 fail_execution" }, { - "id": "edge:8ee07e93", + "id": "edge:a2224111", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis.get_execution", "type": "contains", "label": "方法 get_execution" }, { - "id": "edge:bb207d1c", + "id": "edge:b67c836f", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis.list_executions", "type": "contains", "label": "方法 list_executions" }, { - "id": "edge:a46515fb", + "id": "edge:f910768a", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis.get_step_history", "type": "contains", "label": "方法 get_step_history" }, { - "id": "edge:58c824f5", + "id": "edge:2f2705e1", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:15d93eb9", + "id": "edge:2c0c8b44", "source": "class:PipelineStateRedis", "target": "func:PipelineStateRedis.using_fallback", "type": "contains", "label": "方法 using_fallback" }, { - "id": "edge:922e9b97", + "id": "edge:9fae93c2", "source": "file:src/agentkit/orchestrator/pipeline_state.py", "target": "class:PipelineStatePG", "type": "contains", "label": "定义类 PipelineStatePG" }, { - "id": "edge:127c9127", + "id": "edge:f68ca4a8", "source": "class:PipelineStatePG", "target": "func:PipelineStatePG.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:f488306e", + "id": "edge:2415b33c", "source": "class:PipelineStatePG", "target": "func:PipelineStatePG.enabled", "type": "contains", "label": "方法 enabled" }, { - "id": "edge:c846aaf3", + "id": "edge:65df40a1", "source": "class:PipelineStatePG", "target": "func:PipelineStatePG.persist_execution", "type": "contains", "label": "方法 persist_execution" }, { - "id": "edge:fecf268c", + "id": "edge:b5b00ed7", "source": "class:PipelineStatePG", "target": "func:PipelineStatePG.persist_step_history", "type": "contains", "label": "方法 persist_step_history" }, { - "id": "edge:5973cf6e", + "id": "edge:0178b117", "source": "class:PipelineStatePG", "target": "func:PipelineStatePG.query_executions", "type": "contains", "label": "方法 query_executions" }, { - "id": "edge:69252c20", + "id": "edge:9667b021", "source": "class:PipelineStatePG", "target": "func:PipelineStatePG.get_execution", "type": "contains", "label": "方法 get_execution" }, { - "id": "edge:abb89924", + "id": "edge:a5761187", "source": "class:PipelineStatePG", "target": "func:PipelineStatePG._model_to_dict", "type": "contains", "label": "方法 _model_to_dict" }, { - "id": "edge:4f7645fb", + "id": "edge:0a853635", "source": "file:src/agentkit/orchestrator/pipeline_state.py", "target": "class:PipelineStateManager", "type": "contains", "label": "定义类 PipelineStateManager" }, { - "id": "edge:a4173369", + "id": "edge:f6a10111", "source": "class:PipelineStateManager", "target": "func:PipelineStateManager.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:75038b39", + "id": "edge:a2dfea38", "source": "class:PipelineStateManager", "target": "func:PipelineStateManager.hot_store", "type": "contains", "label": "方法 hot_store" }, { - "id": "edge:42569756", + "id": "edge:426a1edf", "source": "class:PipelineStateManager", "target": "func:PipelineStateManager.cold_store", "type": "contains", "label": "方法 cold_store" }, { - "id": "edge:7468d383", + "id": "edge:3e1b4be1", "source": "class:PipelineStateManager", "target": "func:PipelineStateManager.create_execution", "type": "contains", "label": "方法 create_execution" }, { - "id": "edge:b5b0b3e6", + "id": "edge:a580dc1c", "source": "class:PipelineStateManager", "target": "func:PipelineStateManager.update_step", "type": "contains", "label": "方法 update_step" }, { - "id": "edge:2bb60236", + "id": "edge:3f0009c7", "source": "class:PipelineStateManager", "target": "func:PipelineStateManager.complete_execution", "type": "contains", "label": "方法 complete_execution" }, { - "id": "edge:9bb04988", + "id": "edge:faea30e5", "source": "class:PipelineStateManager", "target": "func:PipelineStateManager.fail_execution", "type": "contains", "label": "方法 fail_execution" }, { - "id": "edge:bc5566f8", + "id": "edge:6bd191d6", "source": "class:PipelineStateManager", "target": "func:PipelineStateManager.get_execution", "type": "contains", "label": "方法 get_execution" }, { - "id": "edge:5eec36c7", + "id": "edge:6a6e7c54", "source": "class:PipelineStateManager", "target": "func:PipelineStateManager.list_executions", "type": "contains", "label": "方法 list_executions" }, { - "id": "edge:6ffa9bb7", + "id": "edge:cbd1bdc7", "source": "class:PipelineStateManager", "target": "func:PipelineStateManager.get_step_history", "type": "contains", "label": "方法 get_step_history" }, { - "id": "edge:7408e8b1", + "id": "edge:9aa3c113", "source": "class:PipelineStateManager", "target": "func:PipelineStateManager.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:b49c2a47", + "id": "edge:d524ca75", "source": "file:src/agentkit/orchestrator/reflection.py", "target": "class:PipelineReflector", "type": "contains", "label": "定义类 PipelineReflector" }, { - "id": "edge:41458872", + "id": "edge:b33b3868", "source": "class:PipelineReflector", "target": "func:PipelineReflector.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:06bf9a1a", + "id": "edge:dbda41c2", "source": "class:PipelineReflector", "target": "func:PipelineReflector.reflect", "type": "contains", "label": "方法 reflect" }, { - "id": "edge:673e9ff4", + "id": "edge:575fa619", "source": "class:PipelineReflector", "target": "func:PipelineReflector._find_failure", "type": "contains", "label": "方法 _find_failure" }, { - "id": "edge:182df1e0", + "id": "edge:3288c3c4", "source": "class:PipelineReflector", "target": "func:PipelineReflector._collect_completed_outputs", "type": "contains", "label": "方法 _collect_completed_outputs" }, { - "id": "edge:2c90fcb8", + "id": "edge:77b1650c", "source": "class:PipelineReflector", "target": "func:PipelineReflector._llm_reflect", "type": "contains", "label": "方法 _llm_reflect" }, { - "id": "edge:27aabac1", + "id": "edge:265e5cf3", "source": "class:PipelineReflector", "target": "func:PipelineReflector._build_reflection_prompt", "type": "contains", "label": "方法 _build_reflection_prompt" }, { - "id": "edge:5b7f0922", + "id": "edge:0da1dbfe", "source": "class:PipelineReflector", "target": "func:PipelineReflector._parse_reflection_response", "type": "contains", "label": "方法 _parse_reflection_response" }, { - "id": "edge:2300e8c4", + "id": "edge:e5c33275", "source": "class:PipelineReflector", "target": "func:PipelineReflector._rule_based_reflect", "type": "contains", "label": "方法 _rule_based_reflect" }, { - "id": "edge:bcd2f58e", + "id": "edge:c8f5575b", "source": "file:src/agentkit/orchestrator/reflection.py", "target": "class:PipelineReplanner", "type": "contains", "label": "定义类 PipelineReplanner" }, { - "id": "edge:4c34d405", + "id": "edge:56691b7e", "source": "class:PipelineReplanner", "target": "func:PipelineReplanner.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:2db00c0c", + "id": "edge:97a7c7f0", "source": "class:PipelineReplanner", "target": "func:PipelineReplanner.replan", "type": "contains", "label": "方法 replan" }, { - "id": "edge:eff01f6f", + "id": "edge:8e83f0d3", "source": "class:PipelineReplanner", "target": "func:PipelineReplanner._llm_replan", "type": "contains", "label": "方法 _llm_replan" }, { - "id": "edge:fc300334", + "id": "edge:4a1fe702", "source": "class:PipelineReplanner", "target": "func:PipelineReplanner._parse_pipeline_response", "type": "contains", "label": "方法 _parse_pipeline_response" }, { - "id": "edge:82adb65b", + "id": "edge:41048fa6", "source": "class:PipelineReplanner", "target": "func:PipelineReplanner._rule_based_replan", "type": "contains", "label": "方法 _rule_based_replan" }, { - "id": "edge:1e9aef9c", + "id": "edge:ec173d0d", "source": "class:PipelineReplanner", "target": "func:PipelineReplanner._adjust_failed_stage", "type": "contains", "label": "方法 _adjust_failed_stage" }, { - "id": "edge:5399fe4e", + "id": "edge:8f16344c", "source": "file:src/agentkit/orchestrator/retry.py", "target": "class:StepRetryPolicy", "type": "contains", "label": "定义类 StepRetryPolicy" }, { - "id": "edge:73b70ec5", + "id": "edge:e30dfe01", "source": "class:StepRetryPolicy", "target": "func:StepRetryPolicy.calculate_delay", "type": "contains", "label": "方法 calculate_delay" }, { - "id": "edge:32b376c7", + "id": "edge:de13be3a", "source": "file:src/agentkit/orchestrator/workflow_schema.py", "target": "class:WorkflowStage", "type": "contains", "label": "定义类 WorkflowStage" }, { - "id": "edge:7d7d5059", + "id": "edge:86b39f0e", "source": "class:WorkflowStage", "target": "class:PipelineStage", "type": "extends", "label": "继承 PipelineStage" }, { - "id": "edge:9f92a9da", + "id": "edge:6d1ff9b0", "source": "file:src/agentkit/orchestrator/workflow_schema.py", "target": "class:WorkflowDefinition", "type": "contains", "label": "定义类 WorkflowDefinition" }, { - "id": "edge:6abf9096", + "id": "edge:2d334048", "source": "file:src/agentkit/orchestrator/workflow_schema.py", "target": "class:WorkflowExecution", "type": "contains", "label": "定义类 WorkflowExecution" }, { - "id": "edge:ccdfd7f6", + "id": "edge:4de302c1", "source": "file:src/agentkit/orchestrator/workflow_schema.py", "target": "class:WorkflowSummary", "type": "contains", "label": "定义类 WorkflowSummary" }, { - "id": "edge:aadb313a", + "id": "edge:1b5dd8c8", "source": "file:src/agentkit/orchestrator/workflow_schema.py", "target": "class:CreateWorkflowRequest", "type": "contains", "label": "定义类 CreateWorkflowRequest" }, { - "id": "edge:cc36bdc6", + "id": "edge:8181b8e9", "source": "file:src/agentkit/orchestrator/workflow_schema.py", "target": "class:ExecuteWorkflowRequest", "type": "contains", "label": "定义类 ExecuteWorkflowRequest" }, { - "id": "edge:9e9d0cc2", + "id": "edge:c798afa2", "source": "file:src/agentkit/orchestrator/workflow_schema.py", "target": "class:ApproveRequest", "type": "contains", "label": "定义类 ApproveRequest" }, { - "id": "edge:110948c9", + "id": "edge:22bcb40b", "source": "file:src/agentkit/org/context.py", "target": "class:AgentProfile", "type": "contains", "label": "定义类 AgentProfile" }, { - "id": "edge:4a21dd3f", + "id": "edge:e85dec86", "source": "file:src/agentkit/org/context.py", "target": "class:OrganizationContext", "type": "contains", "label": "定义类 OrganizationContext" }, { - "id": "edge:f9d2aad5", + "id": "edge:f7c0a1c1", "source": "class:OrganizationContext", "target": "func:OrganizationContext.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:9d2c751a", + "id": "edge:6d4921a8", "source": "class:OrganizationContext", "target": "func:OrganizationContext.register_agent", "type": "contains", "label": "方法 register_agent" }, { - "id": "edge:8b9c32af", + "id": "edge:a79e5f40", "source": "class:OrganizationContext", "target": "func:OrganizationContext.unregister_agent", "type": "contains", "label": "方法 unregister_agent" }, { - "id": "edge:2ed95e2e", + "id": "edge:f97979ca", "source": "class:OrganizationContext", "target": "func:OrganizationContext.get_agent_profile", "type": "contains", "label": "方法 get_agent_profile" }, { - "id": "edge:5d61725f", + "id": "edge:7702ee10", "source": "class:OrganizationContext", "target": "func:OrganizationContext.list_agents", "type": "contains", "label": "方法 list_agents" }, { - "id": "edge:6158ddef", + "id": "edge:bc26d520", "source": "class:OrganizationContext", "target": "func:OrganizationContext.find_best_agent", "type": "contains", "label": "方法 find_best_agent" }, { - "id": "edge:f8591c0a", + "id": "edge:03af6177", "source": "class:OrganizationContext", "target": "func:OrganizationContext.update_load", "type": "contains", "label": "方法 update_load" }, { - "id": "edge:748639fc", + "id": "edge:e4b22c91", "source": "class:OrganizationContext", "target": "func:OrganizationContext.set_availability", "type": "contains", "label": "方法 set_availability" }, { - "id": "edge:f5d551e8", + "id": "edge:8cb5964f", "source": "class:OrganizationContext", "target": "func:OrganizationContext.from_agent_pool", "type": "contains", "label": "方法 from_agent_pool" }, { - "id": "edge:3d6b41b7", + "id": "edge:63439b4e", "source": "file:src/agentkit/org/discovery.py", "target": "class:AgentDiscovery", "type": "contains", "label": "定义类 AgentDiscovery" }, { - "id": "edge:8049cd2c", + "id": "edge:89d3cef2", "source": "class:AgentDiscovery", "target": "func:AgentDiscovery.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8b3ea6c3", + "id": "edge:7a185ad1", "source": "class:AgentDiscovery", "target": "func:AgentDiscovery.discover_by_capability", "type": "contains", "label": "方法 discover_by_capability" }, { - "id": "edge:4866c574", + "id": "edge:ad790eaf", "source": "class:AgentDiscovery", "target": "func:AgentDiscovery.discover_by_execution_mode", "type": "contains", "label": "方法 discover_by_execution_mode" }, { - "id": "edge:db5a0e52", + "id": "edge:68d8c963", "source": "class:AgentDiscovery", "target": "func:AgentDiscovery.discover_available", "type": "contains", "label": "方法 discover_available" }, { - "id": "edge:e81deaa9", + "id": "edge:c9d15f11", "source": "class:AgentDiscovery", "target": "func:AgentDiscovery.recommend_agent", "type": "contains", "label": "方法 recommend_agent" }, { - "id": "edge:6cf6c42a", + "id": "edge:58d0a52d", "source": "file:src/agentkit/prompts/section.py", "target": "class:PromptSection", "type": "contains", "label": "定义类 PromptSection" }, { - "id": "edge:61d82caf", + "id": "edge:54017eec", "source": "class:PromptSection", "target": "func:PromptSection.render", "type": "contains", "label": "方法 render" }, { - "id": "edge:bf81e67f", + "id": "edge:1bd08d13", "source": "file:src/agentkit/prompts/template.py", "target": "class:PromptTemplate", "type": "contains", "label": "定义类 PromptTemplate" }, { - "id": "edge:3a68daaa", + "id": "edge:a98e0415", "source": "class:PromptTemplate", "target": "func:PromptTemplate.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:bfbf2701", + "id": "edge:c239e90a", "source": "class:PromptTemplate", "target": "func:PromptTemplate.render", "type": "contains", "label": "方法 render" }, { - "id": "edge:da597d1f", + "id": "edge:0441e007", "source": "class:PromptTemplate", "target": "func:PromptTemplate.sections", "type": "contains", "label": "方法 sections" }, { - "id": "edge:4254e4bf", + "id": "edge:0be8657d", "source": "class:PromptTemplate", "target": "func:PromptTemplate.render_cached", "type": "contains", "label": "方法 render_cached" }, { - "id": "edge:4501bdc9", + "id": "edge:df800795", "source": "class:PromptTemplate", "target": "func:PromptTemplate.clear_cache", "type": "contains", "label": "方法 clear_cache" }, { - "id": "edge:78ac4800", + "id": "edge:3d80b4eb", "source": "file:src/agentkit/quality/alignment.py", "target": "class:AlignmentConfig", "type": "contains", "label": "定义类 AlignmentConfig" }, { - "id": "edge:5ce8def3", + "id": "edge:65915c1b", "source": "class:AlignmentConfig", "target": "func:AlignmentConfig.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:65fafd2c", + "id": "edge:5b7a9eeb", "source": "file:src/agentkit/quality/alignment.py", "target": "class:AlignmentCheckResult", "type": "contains", "label": "定义类 AlignmentCheckResult" }, { - "id": "edge:68483c49", + "id": "edge:c897caeb", "source": "file:src/agentkit/quality/alignment.py", "target": "class:CascadeAlert", "type": "contains", "label": "定义类 CascadeAlert" }, { - "id": "edge:e74d8fc2", + "id": "edge:06bc600f", "source": "file:src/agentkit/quality/alignment.py", "target": "class:ConstraintInjector", "type": "contains", "label": "定义类 ConstraintInjector" }, { - "id": "edge:92417085", + "id": "edge:41981a2f", "source": "class:ConstraintInjector", "target": "func:ConstraintInjector.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:60a43a2c", + "id": "edge:e32442f0", "source": "class:ConstraintInjector", "target": "func:ConstraintInjector.inject", "type": "contains", "label": "方法 inject" }, { - "id": "edge:acf4a4af", + "id": "edge:7320c4c0", "source": "file:src/agentkit/quality/alignment.py", "target": "class:AlignmentGuard", "type": "contains", "label": "定义类 AlignmentGuard" }, { - "id": "edge:d07ccc3d", + "id": "edge:a92ffccd", "source": "class:AlignmentGuard", "target": "func:AlignmentGuard.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:6b4ed2c6", + "id": "edge:e24b1b4b", "source": "class:AlignmentGuard", "target": "func:AlignmentGuard.inject_constraints", "type": "contains", "label": "方法 inject_constraints" }, { - "id": "edge:df022183", + "id": "edge:7f088743", "source": "class:AlignmentGuard", "target": "func:AlignmentGuard.check_output", "type": "contains", "label": "方法 check_output" }, { - "id": "edge:85e13f07", + "id": "edge:f1ca48c3", "source": "class:AlignmentGuard", "target": "func:AlignmentGuard._rule_check", "type": "contains", "label": "方法 _rule_check" }, { - "id": "edge:6d0b0f00", + "id": "edge:f88e1bae", "source": "class:AlignmentGuard", "target": "func:AlignmentGuard._is_positive_mention", "type": "contains", "label": "方法 _is_positive_mention" }, { - "id": "edge:8cf09b13", + "id": "edge:ce4314ea", "source": "class:AlignmentGuard", "target": "func:AlignmentGuard._extract_text", "type": "contains", "label": "方法 _extract_text" }, { - "id": "edge:21948d6b", + "id": "edge:47db0a44", "source": "class:AlignmentGuard", "target": "func:AlignmentGuard._llm_check", "type": "contains", "label": "方法 _llm_check" }, { - "id": "edge:c84fc198", + "id": "edge:3d646947", "source": "class:AlignmentGuard", "target": "func:AlignmentGuard.record_interaction", "type": "contains", "label": "方法 record_interaction" }, { - "id": "edge:0b142684", + "id": "edge:9221d8e3", "source": "class:AlignmentGuard", "target": "func:AlignmentGuard.record_loop_depth", "type": "contains", "label": "方法 record_loop_depth" }, { - "id": "edge:f2e39643", + "id": "edge:ef930225", "source": "class:AlignmentGuard", "target": "func:AlignmentGuard.reset_session", "type": "contains", "label": "方法 reset_session" }, { - "id": "edge:7ff1d9d3", + "id": "edge:364a7dfb", "source": "class:AlignmentGuard", "target": "func:AlignmentGuard.get_interaction_count", "type": "contains", "label": "方法 get_interaction_count" }, { - "id": "edge:c7486a43", + "id": "edge:36be2e40", "source": "file:src/agentkit/quality/cascade_detector.py", "target": "class:CascadeAlert", "type": "contains", "label": "定义类 CascadeAlert" }, { - "id": "edge:addbe591", + "id": "edge:82c08338", "source": "file:src/agentkit/quality/cascade_detector.py", "target": "class:CascadeDetector", "type": "contains", "label": "定义类 CascadeDetector" }, { - "id": "edge:8c4267c4", + "id": "edge:ab0e155f", "source": "class:CascadeDetector", "target": "func:CascadeDetector.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:c8f9a3ee", + "id": "edge:41990d6f", "source": "class:CascadeDetector", "target": "func:CascadeDetector.check_interaction", "type": "contains", "label": "方法 check_interaction" }, { - "id": "edge:39331045", + "id": "edge:5c67bc5b", "source": "class:CascadeDetector", "target": "func:CascadeDetector.check_depth", "type": "contains", "label": "方法 check_depth" }, { - "id": "edge:c2ef1111", + "id": "edge:e2715e86", "source": "class:CascadeDetector", "target": "func:CascadeDetector.reset", "type": "contains", "label": "方法 reset" }, { - "id": "edge:e7a315cb", + "id": "edge:881d9e6d", "source": "class:CascadeDetector", "target": "func:CascadeDetector.get_stats", "type": "contains", "label": "方法 get_stats" }, { - "id": "edge:0f6b16af", + "id": "edge:055fa948", + "source": "file:src/agentkit/quality/cascade_state_store.py", + "target": "class:CascadeStateStore", + "type": "contains", + "label": "定义类 CascadeStateStore" + }, + { + "id": "edge:685c4e8a", + "source": "class:CascadeStateStore", + "target": "func:CascadeStateStore.increment_interaction", + "type": "contains", + "label": "方法 increment_interaction" + }, + { + "id": "edge:ef1d8a7c", + "source": "class:CascadeStateStore", + "target": "func:CascadeStateStore.get_interaction", + "type": "contains", + "label": "方法 get_interaction" + }, + { + "id": "edge:0bd05dcf", + "source": "class:CascadeStateStore", + "target": "func:CascadeStateStore.set_depth", + "type": "contains", + "label": "方法 set_depth" + }, + { + "id": "edge:d0d5e0ae", + "source": "class:CascadeStateStore", + "target": "func:CascadeStateStore.get_depth", + "type": "contains", + "label": "方法 get_depth" + }, + { + "id": "edge:733aac5c", + "source": "class:CascadeStateStore", + "target": "func:CascadeStateStore.reset", + "type": "contains", + "label": "方法 reset" + }, + { + "id": "edge:48b6672a", + "source": "file:src/agentkit/quality/cascade_state_store.py", + "target": "class:InMemoryCascadeStateStore", + "type": "contains", + "label": "定义类 InMemoryCascadeStateStore" + }, + { + "id": "edge:dc83c31a", + "source": "class:InMemoryCascadeStateStore", + "target": "func:InMemoryCascadeStateStore.__init__", + "type": "contains", + "label": "方法 __init__" + }, + { + "id": "edge:c065dd54", + "source": "class:InMemoryCascadeStateStore", + "target": "func:InMemoryCascadeStateStore._is_expired", + "type": "contains", + "label": "方法 _is_expired" + }, + { + "id": "edge:2a9fd9f8", + "source": "class:InMemoryCascadeStateStore", + "target": "func:InMemoryCascadeStateStore._cleanup_expired", + "type": "contains", + "label": "方法 _cleanup_expired" + }, + { + "id": "edge:8ab0bffb", + "source": "class:InMemoryCascadeStateStore", + "target": "func:InMemoryCascadeStateStore._touch", + "type": "contains", + "label": "方法 _touch" + }, + { + "id": "edge:a82f9e4b", + "source": "class:InMemoryCascadeStateStore", + "target": "func:InMemoryCascadeStateStore.increment_interaction", + "type": "contains", + "label": "方法 increment_interaction" + }, + { + "id": "edge:52df2d2b", + "source": "class:InMemoryCascadeStateStore", + "target": "func:InMemoryCascadeStateStore.get_interaction", + "type": "contains", + "label": "方法 get_interaction" + }, + { + "id": "edge:c495164e", + "source": "class:InMemoryCascadeStateStore", + "target": "func:InMemoryCascadeStateStore.set_depth", + "type": "contains", + "label": "方法 set_depth" + }, + { + "id": "edge:6537a121", + "source": "class:InMemoryCascadeStateStore", + "target": "func:InMemoryCascadeStateStore.get_depth", + "type": "contains", + "label": "方法 get_depth" + }, + { + "id": "edge:d43247de", + "source": "class:InMemoryCascadeStateStore", + "target": "func:InMemoryCascadeStateStore.reset", + "type": "contains", + "label": "方法 reset" + }, + { + "id": "edge:2061e55b", + "source": "file:src/agentkit/quality/cascade_state_store.py", + "target": "class:RedisCascadeStateStore", + "type": "contains", + "label": "定义类 RedisCascadeStateStore" + }, + { + "id": "edge:f630c2df", + "source": "class:RedisCascadeStateStore", + "target": "func:RedisCascadeStateStore.__init__", + "type": "contains", + "label": "方法 __init__" + }, + { + "id": "edge:d21d631d", + "source": "class:RedisCascadeStateStore", + "target": "func:RedisCascadeStateStore._get_sync_redis", + "type": "contains", + "label": "方法 _get_sync_redis" + }, + { + "id": "edge:f90735ba", + "source": "class:RedisCascadeStateStore", + "target": "func:RedisCascadeStateStore._degrade_to_fallback", + "type": "contains", + "label": "方法 _degrade_to_fallback" + }, + { + "id": "edge:24af9801", + "source": "class:RedisCascadeStateStore", + "target": "func:RedisCascadeStateStore.increment_interaction", + "type": "contains", + "label": "方法 increment_interaction" + }, + { + "id": "edge:77e122ba", + "source": "class:RedisCascadeStateStore", + "target": "func:RedisCascadeStateStore.get_interaction", + "type": "contains", + "label": "方法 get_interaction" + }, + { + "id": "edge:22e83d66", + "source": "class:RedisCascadeStateStore", + "target": "func:RedisCascadeStateStore.set_depth", + "type": "contains", + "label": "方法 set_depth" + }, + { + "id": "edge:ef6b550e", + "source": "class:RedisCascadeStateStore", + "target": "func:RedisCascadeStateStore.get_depth", + "type": "contains", + "label": "方法 get_depth" + }, + { + "id": "edge:ae0efa80", + "source": "class:RedisCascadeStateStore", + "target": "func:RedisCascadeStateStore.reset", + "type": "contains", + "label": "方法 reset" + }, + { + "id": "edge:e5c2fdf9", + "source": "class:RedisCascadeStateStore", + "target": "func:RedisCascadeStateStore.close", + "type": "contains", + "label": "方法 close" + }, + { + "id": "edge:d668d863", "source": "file:src/agentkit/quality/gate.py", "target": "class:QualityCheck", "type": "contains", "label": "定义类 QualityCheck" }, { - "id": "edge:0d502814", + "id": "edge:5535d5d8", "source": "file:src/agentkit/quality/gate.py", "target": "class:QualityResult", "type": "contains", "label": "定义类 QualityResult" }, { - "id": "edge:51c13be3", + "id": "edge:8c765be8", "source": "file:src/agentkit/quality/gate.py", "target": "class:QualityGate", "type": "contains", "label": "定义类 QualityGate" }, { - "id": "edge:b488ff6c", + "id": "edge:6d308dfa", "source": "class:QualityGate", "target": "func:QualityGate.validate", "type": "contains", "label": "方法 validate" }, { - "id": "edge:b5c6fa4b", + "id": "edge:2b784a1c", "source": "class:QualityGate", "target": "func:QualityGate._import_validator", "type": "contains", "label": "方法 _import_validator" }, { - "id": "edge:581026c6", + "id": "edge:e37e3505", "source": "file:src/agentkit/quality/output.py", "target": "class:OutputMetadata", "type": "contains", "label": "定义类 OutputMetadata" }, { - "id": "edge:8b665123", + "id": "edge:bc188d4c", "source": "file:src/agentkit/quality/output.py", "target": "class:StandardOutput", "type": "contains", "label": "定义类 StandardOutput" }, { - "id": "edge:61888c68", + "id": "edge:6b3e3174", "source": "file:src/agentkit/quality/output.py", "target": "class:OutputStandardizer", "type": "contains", "label": "定义类 OutputStandardizer" }, { - "id": "edge:8d2122c8", + "id": "edge:d296101e", "source": "class:OutputStandardizer", "target": "func:OutputStandardizer.standardize", "type": "contains", "label": "方法 standardize" }, { - "id": "edge:765017b0", + "id": "edge:c804a9df", "source": "class:OutputStandardizer", "target": "func:OutputStandardizer._validate_schema", "type": "contains", "label": "方法 _validate_schema" }, { - "id": "edge:0253a1de", + "id": "edge:26fea82b", "source": "class:OutputStandardizer", "target": "func:OutputStandardizer._normalize_types", "type": "contains", "label": "方法 _normalize_types" }, { - "id": "edge:f9dca58e", + "id": "edge:c2a4c129", "source": "class:OutputStandardizer", "target": "func:OutputStandardizer._calculate_quality_score", "type": "contains", "label": "方法 _calculate_quality_score" }, { - "id": "edge:87c26660", + "id": "edge:90e7a257", "source": "file:src/agentkit/router/intent.py", "target": "class:RoutingResult", "type": "contains", "label": "定义类 RoutingResult" }, { - "id": "edge:ca1f5683", + "id": "edge:8018aab5", "source": "file:src/agentkit/router/intent.py", "target": "class:IntentRouter", "type": "contains", "label": "定义类 IntentRouter" }, { - "id": "edge:363ae440", + "id": "edge:97b22355", "source": "class:IntentRouter", "target": "func:IntentRouter.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:e56b7029", + "id": "edge:15b7d832", "source": "class:IntentRouter", "target": "func:IntentRouter.route", "type": "contains", "label": "方法 route" }, { - "id": "edge:adc35ee7", + "id": "edge:2f079a06", "source": "class:IntentRouter", "target": "func:IntentRouter._match_keywords", "type": "contains", "label": "方法 _match_keywords" }, { - "id": "edge:1b6a7f16", + "id": "edge:4b33257e", "source": "class:IntentRouter", "target": "func:IntentRouter._classify_with_llm", "type": "contains", "label": "方法 _classify_with_llm" }, { - "id": "edge:c75349a1", + "id": "edge:0a7b2c8a", "source": "class:IntentRouter", "target": "func:IntentRouter._build_classification_prompt", "type": "contains", "label": "方法 _build_classification_prompt" }, { - "id": "edge:a06f13af", + "id": "edge:170ead26", "source": "class:IntentRouter", "target": "func:IntentRouter._parse_llm_response", "type": "contains", "label": "方法 _parse_llm_response" }, { - "id": "edge:88684a65", + "id": "edge:25279d86", "source": "class:IntentRouter", "target": "func:IntentRouter._extract_skill_name_from_text", "type": "contains", "label": "方法 _extract_skill_name_from_text" }, { - "id": "edge:972120d4", + "id": "edge:0dbb51ab", "source": "class:IntentRouter", "target": "func:IntentRouter._extract_string_values", "type": "contains", "label": "方法 _extract_string_values" }, { - "id": "edge:8a8b4550", + "id": "edge:ec7b39a6", "source": "file:src/agentkit/server/client.py", "target": "class:AgentKitClient", "type": "contains", "label": "定义类 AgentKitClient" }, { - "id": "edge:f36d5c3f", + "id": "edge:47286016", "source": "class:AgentKitClient", "target": "func:AgentKitClient.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:a35f5b69", + "id": "edge:332d0bf9", "source": "class:AgentKitClient", "target": "func:AgentKitClient.create_agent", "type": "contains", "label": "方法 create_agent" }, { - "id": "edge:9ebb969b", + "id": "edge:821db207", "source": "class:AgentKitClient", "target": "func:AgentKitClient.list_agents", "type": "contains", "label": "方法 list_agents" }, { - "id": "edge:7a5b70e0", + "id": "edge:35b2e7da", "source": "class:AgentKitClient", "target": "func:AgentKitClient.get_agent", "type": "contains", "label": "方法 get_agent" }, { - "id": "edge:435bb525", + "id": "edge:d468fd2d", "source": "class:AgentKitClient", "target": "func:AgentKitClient.delete_agent", "type": "contains", "label": "方法 delete_agent" }, { - "id": "edge:56263f86", + "id": "edge:717e9ca4", "source": "class:AgentKitClient", "target": "func:AgentKitClient.submit_task", "type": "contains", "label": "方法 submit_task" }, { - "id": "edge:1660723b", + "id": "edge:39cbdffb", "source": "class:AgentKitClient", "target": "func:AgentKitClient.register_skill", "type": "contains", "label": "方法 register_skill" }, { - "id": "edge:59ca0b67", + "id": "edge:b9382703", "source": "class:AgentKitClient", "target": "func:AgentKitClient.list_skills", "type": "contains", "label": "方法 list_skills" }, { - "id": "edge:f3d911b9", + "id": "edge:53269af5", "source": "class:AgentKitClient", "target": "func:AgentKitClient.get_usage", "type": "contains", "label": "方法 get_usage" }, { - "id": "edge:31c978bd", + "id": "edge:7bf9339a", "source": "class:AgentKitClient", "target": "func:AgentKitClient.health", "type": "contains", "label": "方法 health" }, { - "id": "edge:697494c0", + "id": "edge:2baeee3f", "source": "class:AgentKitClient", "target": "func:AgentKitClient.submit_task_async", "type": "contains", "label": "方法 submit_task_async" }, { - "id": "edge:f96d0cb2", + "id": "edge:27acfe75", "source": "class:AgentKitClient", "target": "func:AgentKitClient.get_task_status", "type": "contains", "label": "方法 get_task_status" }, { - "id": "edge:7091e59f", + "id": "edge:eaf6d98f", "source": "class:AgentKitClient", "target": "func:AgentKitClient.cancel_task", "type": "contains", "label": "方法 cancel_task" }, { - "id": "edge:4ab1dd44", + "id": "edge:9f649d66", "source": "class:AgentKitClient", "target": "func:AgentKitClient.list_tasks", "type": "contains", "label": "方法 list_tasks" }, { - "id": "edge:f2a90298", + "id": "edge:454bee9f", "source": "class:AgentKitClient", "target": "func:AgentKitClient.stream_task", "type": "contains", "label": "方法 stream_task" }, { - "id": "edge:c0b60f5c", + "id": "edge:4acfca91", "source": "class:AgentKitClient", "target": "func:AgentKitClient.close", "type": "contains", "label": "方法 close" }, { - "id": "edge:629bc096", + "id": "edge:679001b4", "source": "class:AgentKitClient", "target": "func:AgentKitClient.__aenter__", "type": "contains", "label": "方法 __aenter__" }, { - "id": "edge:fc238b5c", + "id": "edge:f38c0c68", "source": "class:AgentKitClient", "target": "func:AgentKitClient.__aexit__", "type": "contains", "label": "方法 __aexit__" }, { - "id": "edge:7d479769", + "id": "edge:f3b18b6d", "source": "file:src/agentkit/server/client_config.py", "target": "class:ClientConfig", "type": "contains", "label": "定义类 ClientConfig" }, { - "id": "edge:65ec0bbd", + "id": "edge:a64033df", "source": "class:ClientConfig", "target": "func:ClientConfig.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:e655143b", + "id": "edge:9d43abcb", "source": "class:ClientConfig", "target": "func:ClientConfig.clients", "type": "contains", "label": "方法 clients" }, { - "id": "edge:3a4930cf", + "id": "edge:5d8a7ff2", "source": "class:ClientConfig", "target": "func:ClientConfig._load_clients", "type": "contains", "label": "方法 _load_clients" }, { - "id": "edge:f2db2033", + "id": "edge:a2be3513", "source": "class:ClientConfig", "target": "func:ClientConfig.reload", "type": "contains", "label": "方法 reload" }, { - "id": "edge:70f254fa", + "id": "edge:16619143", "source": "class:ClientConfig", "target": "func:ClientConfig.identify_client", "type": "contains", "label": "方法 identify_client" }, { - "id": "edge:1f28f0e7", + "id": "edge:bda121d1", "source": "class:ClientConfig", "target": "func:ClientConfig.get_client_config", "type": "contains", "label": "方法 get_client_config" }, { - "id": "edge:95f04e18", + "id": "edge:8ef74121", "source": "class:ClientConfig", "target": "func:ClientConfig.get_skills_dir", "type": "contains", "label": "方法 get_skills_dir" }, { - "id": "edge:44baf47e", + "id": "edge:90466a04", "source": "class:ClientConfig", "target": "func:ClientConfig._load_default_config", "type": "contains", "label": "方法 _load_default_config" }, { - "id": "edge:53ebb445", + "id": "edge:673678ed", "source": "class:ClientConfig", "target": "func:ClientConfig.validate_api_key", "type": "contains", "label": "方法 validate_api_key" }, { - "id": "edge:012e4a3e", + "id": "edge:9a2959e6", "source": "file:src/agentkit/server/config.py", "target": "class:MCPServerConfig", "type": "contains", "label": "定义类 MCPServerConfig" }, { - "id": "edge:f32304fa", + "id": "edge:507a0fe3", "source": "class:MCPServerConfig", "target": "func:MCPServerConfig.validate", "type": "contains", "label": "方法 validate" }, { - "id": "edge:536f5d4a", + "id": "edge:8176c1e2", "source": "class:MCPServerConfig", "target": "func:MCPServerConfig.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:88156a63", + "id": "edge:81257924", "source": "file:src/agentkit/server/config.py", "target": "class:ServerConfig", "type": "contains", "label": "定义类 ServerConfig" }, { - "id": "edge:2efcc425", + "id": "edge:9162001f", "source": "class:ServerConfig", "target": "func:ServerConfig.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b72c3cea", + "id": "edge:24c22e30", "source": "class:ServerConfig", "target": "func:ServerConfig.has_llm_provider", "type": "contains", "label": "方法 has_llm_provider" }, { - "id": "edge:0c48d819", + "id": "edge:f0269c63", "source": "class:ServerConfig", "target": "func:ServerConfig.from_yaml", "type": "contains", "label": "方法 from_yaml" }, { - "id": "edge:8c739293", + "id": "edge:05cf258f", "source": "class:ServerConfig", "target": "func:ServerConfig.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:1e6c16b2", + "id": "edge:153af43f", "source": "class:ServerConfig", "target": "func:ServerConfig._build_llm_config", "type": "contains", "label": "方法 _build_llm_config" }, { - "id": "edge:814c9485", + "id": "edge:549e6c90", "source": "class:ServerConfig", "target": "func:ServerConfig._build_mcp_configs", "type": "contains", "label": "方法 _build_mcp_configs" }, { - "id": "edge:9426c2ba", + "id": "edge:be90b3ca", "source": "class:ServerConfig", "target": "func:ServerConfig.load_skill_configs", "type": "contains", "label": "方法 load_skill_configs" }, { - "id": "edge:9a5f64c7", + "id": "edge:dd92403a", "source": "class:ServerConfig", "target": "func:ServerConfig.load_dotenv", "type": "contains", "label": "方法 load_dotenv" }, { - "id": "edge:88fa2ebe", + "id": "edge:a77873d5", "source": "class:ServerConfig", "target": "func:ServerConfig.watch_config", "type": "contains", "label": "方法 watch_config" }, { - "id": "edge:14e3927a", + "id": "edge:db2ba37b", "source": "class:ServerConfig", "target": "func:ServerConfig.stop_watching", "type": "contains", "label": "方法 stop_watching" }, { - "id": "edge:3075693a", + "id": "edge:eac44a78", "source": "class:ServerConfig", "target": "func:ServerConfig._watch_with_watchfiles", "type": "contains", "label": "方法 _watch_with_watchfiles" }, { - "id": "edge:56770401", + "id": "edge:62491759", "source": "class:ServerConfig", "target": "func:ServerConfig._poll_config_loop", "type": "contains", "label": "方法 _poll_config_loop" }, { - "id": "edge:c1467c71", + "id": "edge:35baaed9", "source": "class:ServerConfig", "target": "func:ServerConfig._try_reload_config", "type": "contains", "label": "方法 _try_reload_config" }, { - "id": "edge:0b12de4e", + "id": "edge:2bff015d", "source": "file:src/agentkit/server/middleware.py", "target": "class:APIKeyAuthMiddleware", "type": "contains", "label": "定义类 APIKeyAuthMiddleware" }, { - "id": "edge:1cf04152", + "id": "edge:65ff9263", "source": "class:APIKeyAuthMiddleware", "target": "func:APIKeyAuthMiddleware.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:e256f73d", + "id": "edge:9a0de58c", "source": "class:APIKeyAuthMiddleware", "target": "func:APIKeyAuthMiddleware.dispatch", "type": "contains", "label": "方法 dispatch" }, { - "id": "edge:3266ab85", + "id": "edge:49edecfe", "source": "file:src/agentkit/server/middleware.py", "target": "class:RateLimiter", "type": "contains", "label": "定义类 RateLimiter" }, { - "id": "edge:fbf3df20", + "id": "edge:0802a848", "source": "class:RateLimiter", "target": "func:RateLimiter.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:2c05c189", + "id": "edge:cbdf2fae", "source": "class:RateLimiter", "target": "func:RateLimiter.is_allowed", "type": "contains", "label": "方法 is_allowed" }, { - "id": "edge:120448b9", + "id": "edge:10a15d1f", "source": "class:RateLimiter", "target": "func:RateLimiter.max_requests", "type": "contains", "label": "方法 max_requests" }, { - "id": "edge:2defa46a", + "id": "edge:82d28f3c", "source": "file:src/agentkit/server/middleware.py", "target": "class:RateLimitMiddleware", "type": "contains", "label": "定义类 RateLimitMiddleware" }, { - "id": "edge:8c152a59", + "id": "edge:7d6554a5", "source": "class:RateLimitMiddleware", "target": "func:RateLimitMiddleware.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:80f7fb53", + "id": "edge:58608c40", "source": "class:RateLimitMiddleware", "target": "func:RateLimitMiddleware.dispatch", "type": "contains", "label": "方法 dispatch" }, { - "id": "edge:48b48296", + "id": "edge:d5ef810d", "source": "file:src/agentkit/server/routes/agents.py", "target": "class:CreateAgentRequest", "type": "contains", "label": "定义类 CreateAgentRequest" }, { - "id": "edge:2e39f0c4", + "id": "edge:f125fe73", "source": "file:src/agentkit/server/routes/chat.py", "target": "class:CreateSessionRequest", "type": "contains", "label": "定义类 CreateSessionRequest" }, { - "id": "edge:99e21bc2", + "id": "edge:e9535fd6", "source": "file:src/agentkit/server/routes/chat.py", "target": "class:SendMessageRequest", "type": "contains", "label": "定义类 SendMessageRequest" }, { - "id": "edge:bbf60dec", + "id": "edge:55c4e7a4", "source": "file:src/agentkit/server/routes/chat.py", "target": "class:SessionResponse", "type": "contains", "label": "定义类 SessionResponse" }, { - "id": "edge:88151b95", + "id": "edge:8299a103", "source": "file:src/agentkit/server/routes/chat.py", "target": "class:MessageResponse", "type": "contains", "label": "定义类 MessageResponse" }, { - "id": "edge:cdce1872", + "id": "edge:4bf8e255", "source": "file:src/agentkit/server/routes/chat.py", "target": "class:ChatConnectionManager", "type": "contains", "label": "定义类 ChatConnectionManager" }, { - "id": "edge:1644f428", + "id": "edge:348d5875", "source": "class:ChatConnectionManager", "target": "func:ChatConnectionManager.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8316d6e1", + "id": "edge:25c49351", "source": "class:ChatConnectionManager", "target": "func:ChatConnectionManager.add", "type": "contains", "label": "方法 add" }, { - "id": "edge:5e498c99", + "id": "edge:dd20d530", "source": "class:ChatConnectionManager", "target": "func:ChatConnectionManager.remove", "type": "contains", "label": "方法 remove" }, { - "id": "edge:1fb67a28", + "id": "edge:b80f88f7", "source": "class:ChatConnectionManager", "target": "func:ChatConnectionManager.get_connections", "type": "contains", "label": "方法 get_connections" }, { - "id": "edge:ff566f3b", + "id": "edge:c764983e", "source": "class:ChatConnectionManager", "target": "func:ChatConnectionManager.send_json", "type": "contains", "label": "方法 send_json" }, { - "id": "edge:3ab02b0d", + "id": "edge:188a8a9b", "source": "file:src/agentkit/server/routes/evolution.py", "target": "class:TriggerEvolutionRequest", "type": "contains", "label": "定义类 TriggerEvolutionRequest" }, { - "id": "edge:49349ad0", + "id": "edge:2eed2d4f", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "class:DashboardExperience", "type": "contains", "label": "定义类 DashboardExperience" }, { - "id": "edge:27da566c", + "id": "edge:972a1a0e", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "class:DashboardOptimization", "type": "contains", "label": "定义类 DashboardOptimization" }, { - "id": "edge:6f9784a1", + "id": "edge:92840bcf", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "class:RecordExperienceRequest", "type": "contains", "label": "定义类 RecordExperienceRequest" }, { - "id": "edge:978ab195", + "id": "edge:eed3662a", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "class:RecordOptimizationRequest", "type": "contains", "label": "定义类 RecordOptimizationRequest" }, { - "id": "edge:a47d0167", + "id": "edge:421342d7", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "class:UsageRecordResponse", "type": "contains", "label": "定义类 UsageRecordResponse" }, { - "id": "edge:4fb952ce", + "id": "edge:2a2ea336", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "class:UsageSummaryResponse", "type": "contains", "label": "定义类 UsageSummaryResponse" }, { - "id": "edge:9d8953fe", + "id": "edge:99b6e04e", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "class:KnowledgeSource", "type": "contains", "label": "定义类 KnowledgeSource" }, { - "id": "edge:ac8d237c", + "id": "edge:e484f3d5", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "class:UploadedDocument", "type": "contains", "label": "定义类 UploadedDocument" }, { - "id": "edge:8ad3cea6", + "id": "edge:f76a9e77", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "class:KnowledgeSourceStore", "type": "contains", "label": "定义类 KnowledgeSourceStore" }, { - "id": "edge:3f237b7c", + "id": "edge:531b0892", "source": "class:KnowledgeSourceStore", "target": "func:KnowledgeSourceStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:6c5c1fba", + "id": "edge:0409668a", "source": "class:KnowledgeSourceStore", "target": "func:KnowledgeSourceStore.add_source", "type": "contains", "label": "方法 add_source" }, { - "id": "edge:7ed8ec8a", + "id": "edge:be3fc3b5", "source": "class:KnowledgeSourceStore", "target": "func:KnowledgeSourceStore.get_source", "type": "contains", "label": "方法 get_source" }, { - "id": "edge:d74a6b64", + "id": "edge:07cc1c66", "source": "class:KnowledgeSourceStore", "target": "func:KnowledgeSourceStore.remove_source", "type": "contains", "label": "方法 remove_source" }, { - "id": "edge:cc1d4355", + "id": "edge:a3ed3e49", "source": "class:KnowledgeSourceStore", "target": "func:KnowledgeSourceStore.list_sources", "type": "contains", "label": "方法 list_sources" }, { - "id": "edge:dbbed723", + "id": "edge:3e914c39", "source": "class:KnowledgeSourceStore", "target": "func:KnowledgeSourceStore.add_document", "type": "contains", "label": "方法 add_document" }, { - "id": "edge:61a4e7d6", + "id": "edge:432f36e7", "source": "class:KnowledgeSourceStore", "target": "func:KnowledgeSourceStore.list_documents", "type": "contains", "label": "方法 list_documents" }, { - "id": "edge:74ac7dc8", + "id": "edge:036c56aa", "source": "class:KnowledgeSourceStore", "target": "func:KnowledgeSourceStore.delete_document", "type": "contains", "label": "方法 delete_document" }, { - "id": "edge:16e6d9c4", + "id": "edge:43034e26", "source": "class:KnowledgeSourceStore", "target": "func:KnowledgeSourceStore.update_source", "type": "contains", "label": "方法 update_source" }, { - "id": "edge:24dc8e27", + "id": "edge:b4475c27", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "class:AddSourceRequest", "type": "contains", "label": "定义类 AddSourceRequest" }, { - "id": "edge:953c90a5", + "id": "edge:a626f8c0", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "class:SearchRequest", "type": "contains", "label": "定义类 SearchRequest" }, { - "id": "edge:9b19e36f", + "id": "edge:6df8d487", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "class:SearchResult", "type": "contains", "label": "定义类 SearchResult" }, { - "id": "edge:5df354f2", + "id": "edge:7ac7dcff", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "class:UpdateSourceRequest", "type": "contains", "label": "定义类 UpdateSourceRequest" }, { - "id": "edge:8de9fc89", + "id": "edge:e141af06", "source": "file:src/agentkit/server/routes/portal.py", "target": "class:ChatMessage", "type": "contains", "label": "定义类 ChatMessage" }, { - "id": "edge:536d8955", + "id": "edge:17b44d9c", "source": "file:src/agentkit/server/routes/portal.py", "target": "class:Conversation", "type": "contains", "label": "定义类 Conversation" }, { - "id": "edge:e05949ba", + "id": "edge:c7ead0f7", "source": "file:src/agentkit/server/routes/portal.py", "target": "class:ConversationStore", "type": "contains", "label": "定义类 ConversationStore" }, { - "id": "edge:ce4e6484", + "id": "edge:bb8141f0", "source": "class:ConversationStore", "target": "func:ConversationStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8fc1396c", + "id": "edge:a7df5c34", "source": "class:ConversationStore", "target": "func:ConversationStore.get_or_create", "type": "contains", "label": "方法 get_or_create" }, { - "id": "edge:d20ee314", + "id": "edge:e154906b", "source": "class:ConversationStore", "target": "func:ConversationStore.add_message", "type": "contains", "label": "方法 add_message" }, { - "id": "edge:c7415001", + "id": "edge:0179be41", "source": "class:ConversationStore", "target": "func:ConversationStore.get_history", "type": "contains", "label": "方法 get_history" }, { - "id": "edge:df84a1fb", + "id": "edge:a15a731f", "source": "class:ConversationStore", "target": "func:ConversationStore.list_conversations", "type": "contains", "label": "方法 list_conversations" }, { - "id": "edge:ef03cc76", + "id": "edge:c33fb038", "source": "file:src/agentkit/server/routes/portal.py", "target": "class:ChatRequest", "type": "contains", "label": "定义类 ChatRequest" }, { - "id": "edge:b80fb9ea", + "id": "edge:39da012c", "source": "file:src/agentkit/server/routes/portal.py", "target": "class:ChatResponse", "type": "contains", "label": "定义类 ChatResponse" }, { - "id": "edge:d4c88d78", + "id": "edge:9565ada2", "source": "file:src/agentkit/server/routes/portal.py", "target": "class:CapabilityInfo", "type": "contains", "label": "定义类 CapabilityInfo" }, { - "id": "edge:16551793", + "id": "edge:8570a3ea", "source": "file:src/agentkit/server/routes/portal.py", "target": "class:CapabilitiesResponse", "type": "contains", "label": "定义类 CapabilitiesResponse" }, { - "id": "edge:8a6e5ce4", + "id": "edge:38fe95e8", "source": "file:src/agentkit/server/routes/settings.py", "target": "class:LlmProviderResponse", "type": "contains", "label": "定义类 LlmProviderResponse" }, { - "id": "edge:d34ec8a3", + "id": "edge:b3239b16", "source": "file:src/agentkit/server/routes/settings.py", "target": "class:LlmConfigResponse", "type": "contains", "label": "定义类 LlmConfigResponse" }, { - "id": "edge:98ab3883", + "id": "edge:fa69efb6", "source": "file:src/agentkit/server/routes/settings.py", "target": "class:LlmProviderUpdate", "type": "contains", "label": "定义类 LlmProviderUpdate" }, { - "id": "edge:78bf2a2d", + "id": "edge:f925d4b0", "source": "file:src/agentkit/server/routes/settings.py", "target": "class:LlmConfigUpdate", "type": "contains", "label": "定义类 LlmConfigUpdate" }, { - "id": "edge:bc75ba18", + "id": "edge:220e43f9", "source": "file:src/agentkit/server/routes/settings.py", "target": "class:SkillsConfigResponse", "type": "contains", "label": "定义类 SkillsConfigResponse" }, { - "id": "edge:ce6bbca4", + "id": "edge:97f0f72f", "source": "file:src/agentkit/server/routes/settings.py", "target": "class:SkillsConfigUpdate", "type": "contains", "label": "定义类 SkillsConfigUpdate" }, { - "id": "edge:8680834f", + "id": "edge:da47169c", "source": "file:src/agentkit/server/routes/settings.py", "target": "class:KbConfigResponse", "type": "contains", "label": "定义类 KbConfigResponse" }, { - "id": "edge:3a125fbf", + "id": "edge:68038eb3", "source": "file:src/agentkit/server/routes/settings.py", "target": "class:KbConfigUpdate", "type": "contains", "label": "定义类 KbConfigUpdate" }, { - "id": "edge:9b6836d5", + "id": "edge:dffd3b3e", "source": "file:src/agentkit/server/routes/settings.py", "target": "class:GeneralConfigResponse", "type": "contains", "label": "定义类 GeneralConfigResponse" }, { - "id": "edge:e7c5d1d2", + "id": "edge:96b2169d", "source": "file:src/agentkit/server/routes/settings.py", "target": "class:GeneralConfigUpdate", "type": "contains", "label": "定义类 GeneralConfigUpdate" }, { - "id": "edge:caf0cd35", + "id": "edge:cd2778eb", "source": "file:src/agentkit/server/routes/skill_management.py", "target": "class:SkillInfo", "type": "contains", "label": "定义类 SkillInfo" }, { - "id": "edge:14431f7e", + "id": "edge:0cf3ffb9", "source": "file:src/agentkit/server/routes/skill_management.py", "target": "class:SkillDetail", "type": "contains", "label": "定义类 SkillDetail" }, { - "id": "edge:cb9f18b3", + "id": "edge:9d223cb1", "source": "file:src/agentkit/server/routes/skill_management.py", "target": "class:CapabilityInfo", "type": "contains", "label": "定义类 CapabilityInfo" }, { - "id": "edge:8d0e8810", + "id": "edge:8de2a295", "source": "file:src/agentkit/server/routes/skills.py", "target": "class:RegisterSkillRequest", "type": "contains", "label": "定义类 RegisterSkillRequest" }, { - "id": "edge:0e8b8736", + "id": "edge:4ca71048", "source": "file:src/agentkit/server/routes/skills.py", "target": "class:CreatePipelineRequest", "type": "contains", "label": "定义类 CreatePipelineRequest" }, { - "id": "edge:844a8983", + "id": "edge:6702dd9a", "source": "file:src/agentkit/server/routes/skills.py", "target": "class:ExecutePipelineRequest", "type": "contains", "label": "定义类 ExecutePipelineRequest" }, { - "id": "edge:020becc3", + "id": "edge:1518c887", "source": "file:src/agentkit/server/routes/skills.py", "target": "class:InstallSkillRequest", "type": "contains", "label": "定义类 InstallSkillRequest" }, { - "id": "edge:10ff8d73", + "id": "edge:4e9d66c2", "source": "file:src/agentkit/server/routes/tasks.py", "target": "class:SubmitTaskRequest", "type": "contains", "label": "定义类 SubmitTaskRequest" }, { - "id": "edge:c7a070df", + "id": "edge:188396af", "source": "file:src/agentkit/server/routes/terminal.py", "target": "class:TerminalSessionState", "type": "contains", "label": "定义类 TerminalSessionState" }, { - "id": "edge:fcb3e890", + "id": "edge:255479c6", "source": "file:src/agentkit/server/routes/terminal.py", "target": "class:ExecuteRequest", "type": "contains", "label": "定义类 ExecuteRequest" }, { - "id": "edge:670f589b", + "id": "edge:8b8b3026", "source": "file:src/agentkit/server/routes/terminal.py", "target": "class:ExecuteResponse", "type": "contains", "label": "定义类 ExecuteResponse" }, { - "id": "edge:49978d32", + "id": "edge:0e602414", "source": "file:src/agentkit/server/routes/terminal.py", "target": "class:SessionInfo", "type": "contains", "label": "定义类 SessionInfo" }, { - "id": "edge:5d73e711", + "id": "edge:afc1fea0", "source": "file:src/agentkit/server/routes/terminal.py", "target": "class:HistoryResponse", "type": "contains", "label": "定义类 HistoryResponse" }, { - "id": "edge:2d3c26bc", + "id": "edge:20351b59", "source": "file:src/agentkit/server/routes/workflows.py", "target": "class:WorkflowStore", "type": "contains", "label": "定义类 WorkflowStore" }, { - "id": "edge:d3d92bbd", + "id": "edge:9f79a28a", "source": "class:WorkflowStore", "target": "func:WorkflowStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:0241a476", + "id": "edge:c057d778", "source": "class:WorkflowStore", "target": "func:WorkflowStore._evict_execution", "type": "contains", "label": "方法 _evict_execution" }, { - "id": "edge:611605ee", + "id": "edge:b9d28979", "source": "class:WorkflowStore", "target": "func:WorkflowStore.save", "type": "contains", "label": "方法 save" }, { - "id": "edge:0451cd40", + "id": "edge:c113aade", "source": "class:WorkflowStore", "target": "func:WorkflowStore.get", "type": "contains", "label": "方法 get" }, { - "id": "edge:01e33536", + "id": "edge:2d41839d", "source": "class:WorkflowStore", "target": "func:WorkflowStore.list", "type": "contains", "label": "方法 list" }, { - "id": "edge:0c396a7e", + "id": "edge:9d059727", "source": "class:WorkflowStore", "target": "func:WorkflowStore.delete", "type": "contains", "label": "方法 delete" }, { - "id": "edge:fa9da044", + "id": "edge:69c7636c", "source": "class:WorkflowStore", "target": "func:WorkflowStore.create_execution", "type": "contains", "label": "方法 create_execution" }, { - "id": "edge:dd065f74", + "id": "edge:53d9390c", "source": "class:WorkflowStore", "target": "func:WorkflowStore.get_execution", "type": "contains", "label": "方法 get_execution" }, { - "id": "edge:85bf6e3d", + "id": "edge:c7ec7e22", "source": "class:WorkflowStore", "target": "func:WorkflowStore.update_execution", "type": "contains", "label": "方法 update_execution" }, { - "id": "edge:0b201656", + "id": "edge:588afe65", "source": "class:WorkflowStore", "target": "func:WorkflowStore.get_execution_lock", "type": "contains", "label": "方法 get_execution_lock" }, { - "id": "edge:df98b469", + "id": "edge:50910196", "source": "class:WorkflowStore", "target": "func:WorkflowStore.list_executions", "type": "contains", "label": "方法 list_executions" }, { - "id": "edge:7c58002f", + "id": "edge:05183380", "source": "file:src/agentkit/server/routes/ws.py", "target": "class:ConnectionManager", "type": "contains", "label": "定义类 ConnectionManager" }, { - "id": "edge:5b37689d", + "id": "edge:3f533ce1", "source": "class:ConnectionManager", "target": "func:ConnectionManager.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b4cffb46", + "id": "edge:3b35aa0b", "source": "class:ConnectionManager", "target": "func:ConnectionManager.add", "type": "contains", "label": "方法 add" }, { - "id": "edge:1f8ac0c0", + "id": "edge:892ccda5", "source": "class:ConnectionManager", "target": "func:ConnectionManager.remove", "type": "contains", "label": "方法 remove" }, { - "id": "edge:b12967ce", + "id": "edge:05adcaf6", "source": "class:ConnectionManager", "target": "func:ConnectionManager.get_tokens", "type": "contains", "label": "方法 get_tokens" }, { - "id": "edge:e482df37", + "id": "edge:fa082ad0", "source": "class:ConnectionManager", "target": "func:ConnectionManager.broadcast", "type": "contains", "label": "方法 broadcast" }, { - "id": "edge:86584fb4", + "id": "edge:97416d6c", "source": "class:ConnectionManager", "target": "func:ConnectionManager.has_connections", "type": "contains", "label": "方法 has_connections" }, { - "id": "edge:389ba40c", + "id": "edge:81031bba", "source": "file:src/agentkit/server/runner.py", "target": "class:BackgroundRunner", "type": "contains", "label": "定义类 BackgroundRunner" }, { - "id": "edge:5bf44677", + "id": "edge:59f77a24", "source": "class:BackgroundRunner", "target": "func:BackgroundRunner.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:93e1a37b", + "id": "edge:b2d5741c", "source": "class:BackgroundRunner", "target": "func:BackgroundRunner.active_count", "type": "contains", "label": "方法 active_count" }, { - "id": "edge:a290b4b7", + "id": "edge:dd859e1e", "source": "class:BackgroundRunner", "target": "func:BackgroundRunner.submit", "type": "contains", "label": "方法 submit" }, { - "id": "edge:9695cf44", + "id": "edge:4f7837f4", "source": "class:BackgroundRunner", "target": "func:BackgroundRunner._run_task", "type": "contains", "label": "方法 _run_task" }, { - "id": "edge:26b954b6", + "id": "edge:3a5a5bb4", "source": "class:BackgroundRunner", "target": "func:BackgroundRunner.cancel", "type": "contains", "label": "方法 cancel" }, { - "id": "edge:eb1bb391", + "id": "edge:8b5cde71", "source": "file:src/agentkit/server/task_store.py", "target": "class:TaskRecord", "type": "contains", "label": "定义类 TaskRecord" }, { - "id": "edge:889b30aa", + "id": "edge:eea85b92", "source": "class:TaskRecord", "target": "func:TaskRecord.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:10722562", + "id": "edge:7fc32d57", "source": "class:TaskRecord", "target": "func:TaskRecord.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:5ffc51f7", + "id": "edge:47dcf12c", "source": "file:src/agentkit/server/task_store.py", "target": "class:InMemoryTaskStore", "type": "contains", "label": "定义类 InMemoryTaskStore" }, { - "id": "edge:b607f7d3", + "id": "edge:46014e29", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:3e36f811", + "id": "edge:322ab182", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore.backend_type", "type": "contains", "label": "方法 backend_type" }, { - "id": "edge:02f0f2da", + "id": "edge:7c80cd33", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore.start_cleanup", "type": "contains", "label": "方法 start_cleanup" }, { - "id": "edge:3b62261a", + "id": "edge:af636470", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore.stop_cleanup", "type": "contains", "label": "方法 stop_cleanup" }, { - "id": "edge:72335dc5", + "id": "edge:760faf2a", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore._cleanup_loop", "type": "contains", "label": "方法 _cleanup_loop" }, { - "id": "edge:da7cd441", + "id": "edge:8c88ceb6", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore._cleanup_expired", "type": "contains", "label": "方法 _cleanup_expired" }, { - "id": "edge:557aa93d", + "id": "edge:559dd29c", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore.create", "type": "contains", "label": "方法 create" }, { - "id": "edge:b7200acc", + "id": "edge:40d7edaa", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore.get", "type": "contains", "label": "方法 get" }, { - "id": "edge:b4459c96", + "id": "edge:a81ce355", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore.update_status", "type": "contains", "label": "方法 update_status" }, { - "id": "edge:48a3068c", + "id": "edge:1000029d", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore.list_tasks", "type": "contains", "label": "方法 list_tasks" }, { - "id": "edge:5d5ae183", + "id": "edge:62402d48", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore.count_by_status", "type": "contains", "label": "方法 count_by_status" }, { - "id": "edge:6f9365ef", + "id": "edge:e4b48936", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore.size", "type": "contains", "label": "方法 size" }, { - "id": "edge:1705458f", + "id": "edge:6f713d13", "source": "class:InMemoryTaskStore", "target": "func:InMemoryTaskStore.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:8248529c", + "id": "edge:f68b4edc", "source": "file:src/agentkit/server/task_store.py", "target": "class:RedisTaskStore", "type": "contains", "label": "定义类 RedisTaskStore" }, { - "id": "edge:6e188446", + "id": "edge:da172bb2", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:d38a201f", + "id": "edge:68222002", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore.backend_type", "type": "contains", "label": "方法 backend_type" }, { - "id": "edge:332e2860", + "id": "edge:0cf91e21", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore._get_redis", "type": "contains", "label": "方法 _get_redis" }, { - "id": "edge:4e366f9f", + "id": "edge:7b610cb4", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore._key", "type": "contains", "label": "方法 _key" }, { - "id": "edge:97e1f403", + "id": "edge:f3cfa452", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore.start_cleanup", "type": "contains", "label": "方法 start_cleanup" }, { - "id": "edge:352d52d6", + "id": "edge:7bfe87f0", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore.stop_cleanup", "type": "contains", "label": "方法 stop_cleanup" }, { - "id": "edge:497a3f91", + "id": "edge:aeafa262", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore.create", "type": "contains", "label": "方法 create" }, { - "id": "edge:2bded90b", + "id": "edge:7d482683", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore.get", "type": "contains", "label": "方法 get" }, { - "id": "edge:65708ee0", + "id": "edge:65791072", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore.update_status", "type": "contains", "label": "方法 update_status" }, { - "id": "edge:dbe2de42", + "id": "edge:29809c38", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore.list_tasks", "type": "contains", "label": "方法 list_tasks" }, { - "id": "edge:dd38f83a", + "id": "edge:7aa8e9d4", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore.count_by_status", "type": "contains", "label": "方法 count_by_status" }, { - "id": "edge:6ffdef58", + "id": "edge:76f668d5", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore.size", "type": "contains", "label": "方法 size" }, { - "id": "edge:b83e8a7e", + "id": "edge:001d6d79", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:7a5628df", + "id": "edge:30137f8a", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore._count_keys", "type": "contains", "label": "方法 _count_keys" }, { - "id": "edge:e9286722", + "id": "edge:58fdaaf4", "source": "class:RedisTaskStore", "target": "func:RedisTaskStore._evict_oldest_completed", "type": "contains", "label": "方法 _evict_oldest_completed" }, { - "id": "edge:08010878", + "id": "edge:7d2dc287", "source": "file:src/agentkit/session/manager.py", "target": "class:AsyncWriteQueue", "type": "contains", "label": "定义类 AsyncWriteQueue" }, { - "id": "edge:22e43b2c", + "id": "edge:cb4f846e", "source": "class:AsyncWriteQueue", "target": "func:AsyncWriteQueue.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:ebbd89e4", + "id": "edge:d476023e", "source": "class:AsyncWriteQueue", "target": "func:AsyncWriteQueue._ensure_started", "type": "contains", "label": "方法 _ensure_started" }, { - "id": "edge:d1cb2144", + "id": "edge:014111f3", "source": "class:AsyncWriteQueue", "target": "func:AsyncWriteQueue._writer_loop", "type": "contains", "label": "方法 _writer_loop" }, { - "id": "edge:21c799aa", + "id": "edge:b00f333e", "source": "class:AsyncWriteQueue", "target": "func:AsyncWriteQueue.enqueue", "type": "contains", "label": "方法 enqueue" }, { - "id": "edge:f30696f9", + "id": "edge:fc4d243a", "source": "class:AsyncWriteQueue", "target": "func:AsyncWriteQueue.buffered_messages", "type": "contains", "label": "方法 buffered_messages" }, { - "id": "edge:73318e2f", + "id": "edge:fb65f131", "source": "class:AsyncWriteQueue", "target": "func:AsyncWriteQueue.pending_count", "type": "contains", "label": "方法 pending_count" }, { - "id": "edge:b458a0d7", + "id": "edge:db05b514", "source": "class:AsyncWriteQueue", "target": "func:AsyncWriteQueue.flush", "type": "contains", "label": "方法 flush" }, { - "id": "edge:7826e75b", + "id": "edge:cdd82165", "source": "class:AsyncWriteQueue", "target": "func:AsyncWriteQueue.stop", "type": "contains", "label": "方法 stop" }, { - "id": "edge:1cc259b6", + "id": "edge:812f2aa7", "source": "file:src/agentkit/session/manager.py", "target": "class:SessionManager", "type": "contains", "label": "定义类 SessionManager" }, { - "id": "edge:691be1dc", + "id": "edge:cc3e8239", "source": "class:SessionManager", "target": "func:SessionManager.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b18215aa", + "id": "edge:975b472b", "source": "class:SessionManager", "target": "func:SessionManager.store", "type": "contains", "label": "方法 store" }, { - "id": "edge:8d8ce21e", + "id": "edge:bd3ef451", "source": "class:SessionManager", "target": "func:SessionManager.create_session", "type": "contains", "label": "方法 create_session" }, { - "id": "edge:37254890", + "id": "edge:bbb64e45", "source": "class:SessionManager", "target": "func:SessionManager.get_session", "type": "contains", "label": "方法 get_session" }, { - "id": "edge:cb7e3a8f", + "id": "edge:afae6d0f", "source": "class:SessionManager", "target": "func:SessionManager.pause_session", "type": "contains", "label": "方法 pause_session" }, { - "id": "edge:a14aba4b", + "id": "edge:043efee0", "source": "class:SessionManager", "target": "func:SessionManager.resume_session", "type": "contains", "label": "方法 resume_session" }, { - "id": "edge:27a1134c", + "id": "edge:c05a7f2e", "source": "class:SessionManager", "target": "func:SessionManager.close_session", "type": "contains", "label": "方法 close_session" }, { - "id": "edge:d162e6c2", + "id": "edge:b71696eb", "source": "class:SessionManager", "target": "func:SessionManager.delete_session", "type": "contains", "label": "方法 delete_session" }, { - "id": "edge:a9f83b0e", + "id": "edge:02ea6098", "source": "class:SessionManager", "target": "func:SessionManager.list_sessions", "type": "contains", "label": "方法 list_sessions" }, { - "id": "edge:084817fe", + "id": "edge:3e039971", "source": "class:SessionManager", "target": "func:SessionManager.append_message", "type": "contains", "label": "方法 append_message" }, { - "id": "edge:c42a0991", + "id": "edge:9b3cb203", "source": "class:SessionManager", "target": "func:SessionManager.get_messages", "type": "contains", "label": "方法 get_messages" }, { - "id": "edge:1b6cdea1", + "id": "edge:849ac081", "source": "class:SessionManager", "target": "func:SessionManager.get_chat_messages", "type": "contains", "label": "方法 get_chat_messages" }, { - "id": "edge:d4af2300", + "id": "edge:ea69e688", "source": "class:SessionManager", "target": "func:SessionManager.count_messages", "type": "contains", "label": "方法 count_messages" }, { - "id": "edge:7c8050f6", + "id": "edge:f873fb83", "source": "class:SessionManager", "target": "func:SessionManager.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:dc57df06", + "id": "edge:1ef990c0", "source": "class:SessionManager", "target": "func:SessionManager.flush", "type": "contains", "label": "方法 flush" }, { - "id": "edge:099b9519", + "id": "edge:7ea32657", "source": "class:SessionManager", "target": "func:SessionManager.close", "type": "contains", "label": "方法 close" }, { - "id": "edge:5f8a7333", + "id": "edge:39241d84", "source": "file:src/agentkit/session/models.py", "target": "class:SessionStatus", "type": "contains", "label": "定义类 SessionStatus" }, { - "id": "edge:6bb6605d", + "id": "edge:2b8ac030", "source": "file:src/agentkit/session/models.py", "target": "class:MessageRole", "type": "contains", "label": "定义类 MessageRole" }, { - "id": "edge:643d1e2b", + "id": "edge:806e8f2c", "source": "file:src/agentkit/session/models.py", "target": "class:Message", "type": "contains", "label": "定义类 Message" }, { - "id": "edge:cb75db02", + "id": "edge:6956a84a", "source": "class:Message", "target": "func:Message.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:29546fe6", + "id": "edge:8ce9de6a", "source": "class:Message", "target": "func:Message.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:4be31792", + "id": "edge:4ce9047d", "source": "class:Message", "target": "func:Message.to_chat_message", "type": "contains", "label": "方法 to_chat_message" }, { - "id": "edge:1c6a9a41", + "id": "edge:6dc56582", "source": "file:src/agentkit/session/models.py", "target": "class:Session", "type": "contains", "label": "定义类 Session" }, { - "id": "edge:0f4aaef2", + "id": "edge:ce904f6a", "source": "class:Session", "target": "func:Session.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:c59cde12", + "id": "edge:bcade8fe", "source": "class:Session", "target": "func:Session.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:35f2055e", + "id": "edge:5dd33cd5", "source": "class:Session", "target": "func:Session.new_session_id", "type": "contains", "label": "方法 new_session_id" }, { - "id": "edge:b67560fa", + "id": "edge:ee849052", "source": "class:Session", "target": "func:Session.new_message_id", "type": "contains", "label": "方法 new_message_id" }, { - "id": "edge:1b606b5b", + "id": "edge:6b875149", "source": "file:src/agentkit/session/store.py", "target": "class:SessionStore", "type": "contains", "label": "定义类 SessionStore" }, { - "id": "edge:672ed841", + "id": "edge:51236e8d", "source": "class:SessionStore", "target": "func:SessionStore.save_session", "type": "contains", "label": "方法 save_session" }, { - "id": "edge:ec44d5e6", + "id": "edge:e6e77785", "source": "class:SessionStore", "target": "func:SessionStore.get_session", "type": "contains", "label": "方法 get_session" }, { - "id": "edge:62ff48d5", + "id": "edge:6d0d91f5", "source": "class:SessionStore", "target": "func:SessionStore.update_session_status", "type": "contains", "label": "方法 update_session_status" }, { - "id": "edge:1cf8b0c0", + "id": "edge:53e0f0a0", "source": "class:SessionStore", "target": "func:SessionStore.delete_session", "type": "contains", "label": "方法 delete_session" }, { - "id": "edge:000a0427", + "id": "edge:84f3b874", "source": "class:SessionStore", "target": "func:SessionStore.list_sessions", "type": "contains", "label": "方法 list_sessions" }, { - "id": "edge:fea8b12f", + "id": "edge:58a64daf", "source": "class:SessionStore", "target": "func:SessionStore.append_message", "type": "contains", "label": "方法 append_message" }, { - "id": "edge:403d2dc4", + "id": "edge:155208de", "source": "class:SessionStore", "target": "func:SessionStore.get_messages", "type": "contains", "label": "方法 get_messages" }, { - "id": "edge:4ba0c104", + "id": "edge:84a39fae", "source": "class:SessionStore", "target": "func:SessionStore.count_messages", "type": "contains", "label": "方法 count_messages" }, { - "id": "edge:f07c30d4", + "id": "edge:cdfb429a", "source": "class:SessionStore", "target": "func:SessionStore.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:1e9fe782", + "id": "edge:d89a459c", "source": "file:src/agentkit/session/store.py", "target": "class:InMemorySessionStore", "type": "contains", "label": "定义类 InMemorySessionStore" }, { - "id": "edge:97436206", + "id": "edge:3374ff5a", "source": "class:InMemorySessionStore", "target": "func:InMemorySessionStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:ab84829b", + "id": "edge:8a421446", "source": "class:InMemorySessionStore", "target": "func:InMemorySessionStore.save_session", "type": "contains", "label": "方法 save_session" }, { - "id": "edge:a07e20fb", + "id": "edge:343abcb3", "source": "class:InMemorySessionStore", "target": "func:InMemorySessionStore.get_session", "type": "contains", "label": "方法 get_session" }, { - "id": "edge:278e568b", + "id": "edge:f97fa7c0", "source": "class:InMemorySessionStore", "target": "func:InMemorySessionStore.update_session_status", "type": "contains", "label": "方法 update_session_status" }, { - "id": "edge:e19c45d8", + "id": "edge:65181e9e", "source": "class:InMemorySessionStore", "target": "func:InMemorySessionStore.delete_session", "type": "contains", "label": "方法 delete_session" }, { - "id": "edge:b2022dd4", + "id": "edge:ab160b3b", "source": "class:InMemorySessionStore", "target": "func:InMemorySessionStore.list_sessions", "type": "contains", "label": "方法 list_sessions" }, { - "id": "edge:12f9dac3", + "id": "edge:266e20c1", "source": "class:InMemorySessionStore", "target": "func:InMemorySessionStore.append_message", "type": "contains", "label": "方法 append_message" }, { - "id": "edge:75386505", + "id": "edge:446a3a2b", "source": "class:InMemorySessionStore", "target": "func:InMemorySessionStore.get_messages", "type": "contains", "label": "方法 get_messages" }, { - "id": "edge:91c57909", + "id": "edge:c6dcaa49", "source": "class:InMemorySessionStore", "target": "func:InMemorySessionStore.count_messages", "type": "contains", "label": "方法 count_messages" }, { - "id": "edge:1341704b", + "id": "edge:2e50a62a", "source": "class:InMemorySessionStore", "target": "func:InMemorySessionStore.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:ab60096e", + "id": "edge:3d731cbe", "source": "file:src/agentkit/session/store.py", "target": "class:RedisSessionStore", "type": "contains", "label": "定义类 RedisSessionStore" }, { - "id": "edge:ed591064", + "id": "edge:997af24f", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:9943ac65", + "id": "edge:61e2537f", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore._get_redis", "type": "contains", "label": "方法 _get_redis" }, { - "id": "edge:92034900", + "id": "edge:04ddaed6", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore._session_key", "type": "contains", "label": "方法 _session_key" }, { - "id": "edge:f1ba07a3", + "id": "edge:2c4e5bf2", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore._messages_key", "type": "contains", "label": "方法 _messages_key" }, { - "id": "edge:09461641", + "id": "edge:f10e6071", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore.save_session", "type": "contains", "label": "方法 save_session" }, { - "id": "edge:965b43da", + "id": "edge:484e6d66", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore.get_session", "type": "contains", "label": "方法 get_session" }, { - "id": "edge:200f88b4", + "id": "edge:9dd731a0", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore.update_session_status", "type": "contains", "label": "方法 update_session_status" }, { - "id": "edge:d659f6b0", + "id": "edge:f2e6b753", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore.delete_session", "type": "contains", "label": "方法 delete_session" }, { - "id": "edge:5cd541b7", + "id": "edge:22d8ef1f", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore.list_sessions", "type": "contains", "label": "方法 list_sessions" }, { - "id": "edge:a4a49b1d", + "id": "edge:0e8aac7c", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore.append_message", "type": "contains", "label": "方法 append_message" }, { - "id": "edge:cbfed68a", + "id": "edge:8e415466", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore.get_messages", "type": "contains", "label": "方法 get_messages" }, { - "id": "edge:42a0c90f", + "id": "edge:716a5906", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore.count_messages", "type": "contains", "label": "方法 count_messages" }, { - "id": "edge:e880041f", + "id": "edge:6cf0a7ff", "source": "class:RedisSessionStore", "target": "func:RedisSessionStore.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:b22d6d4b", + "id": "edge:02743d11", "source": "file:src/agentkit/session/store.py", "target": "class:FileSessionStore", "type": "contains", "label": "定义类 FileSessionStore" }, { - "id": "edge:a4d7ab59", + "id": "edge:43d4d495", "source": "class:FileSessionStore", "target": "func:FileSessionStore.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:9653d62f", + "id": "edge:95501eb4", "source": "class:FileSessionStore", "target": "func:FileSessionStore._session_path", "type": "contains", "label": "方法 _session_path" }, { - "id": "edge:629ca4fa", + "id": "edge:66ebe4db", "source": "class:FileSessionStore", "target": "func:FileSessionStore._read_session_file", "type": "contains", "label": "方法 _read_session_file" }, { - "id": "edge:174ace13", + "id": "edge:918bcfb7", "source": "class:FileSessionStore", "target": "func:FileSessionStore._write_session_file", "type": "contains", "label": "方法 _write_session_file" }, { - "id": "edge:bd63e5d7", + "id": "edge:f8deece5", "source": "class:FileSessionStore", "target": "func:FileSessionStore.save_session", "type": "contains", "label": "方法 save_session" }, { - "id": "edge:03c936d6", + "id": "edge:de3020e3", "source": "class:FileSessionStore", "target": "func:FileSessionStore.get_session", "type": "contains", "label": "方法 get_session" }, { - "id": "edge:197c8340", + "id": "edge:2794224d", "source": "class:FileSessionStore", "target": "func:FileSessionStore.update_session_status", "type": "contains", "label": "方法 update_session_status" }, { - "id": "edge:f04191a1", + "id": "edge:fddbd99f", "source": "class:FileSessionStore", "target": "func:FileSessionStore.delete_session", "type": "contains", "label": "方法 delete_session" }, { - "id": "edge:5552f5d1", + "id": "edge:ade57284", "source": "class:FileSessionStore", "target": "func:FileSessionStore.list_sessions", "type": "contains", "label": "方法 list_sessions" }, { - "id": "edge:46182a4a", + "id": "edge:5748792d", "source": "class:FileSessionStore", "target": "func:FileSessionStore.append_message", "type": "contains", "label": "方法 append_message" }, { - "id": "edge:459683f7", + "id": "edge:6da2d07d", "source": "class:FileSessionStore", "target": "func:FileSessionStore.get_messages", "type": "contains", "label": "方法 get_messages" }, { - "id": "edge:5fcd4466", + "id": "edge:c7e9cee5", "source": "class:FileSessionStore", "target": "func:FileSessionStore.count_messages", "type": "contains", "label": "方法 count_messages" }, { - "id": "edge:89699054", + "id": "edge:f5e9274a", "source": "class:FileSessionStore", "target": "func:FileSessionStore.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:68b46a3c", + "id": "edge:83aaaa44", "source": "file:src/agentkit/skills/base.py", "target": "class:EvolutionConfig", "type": "contains", "label": "定义类 EvolutionConfig" }, { - "id": "edge:8eab3e75", + "id": "edge:7a0dab6e", "source": "file:src/agentkit/skills/base.py", "target": "class:IntentConfig", "type": "contains", "label": "定义类 IntentConfig" }, { - "id": "edge:f52b8ffb", + "id": "edge:60346dda", "source": "file:src/agentkit/skills/base.py", "target": "class:QualityGateConfig", "type": "contains", "label": "定义类 QualityGateConfig" }, { - "id": "edge:66339d7d", + "id": "edge:e7a39cd9", "source": "file:src/agentkit/skills/base.py", "target": "class:SkillConfig", "type": "contains", "label": "定义类 SkillConfig" }, { - "id": "edge:8da8bdda", + "id": "edge:da3fc744", "source": "class:SkillConfig", "target": "class:AgentConfig", "type": "extends", "label": "继承 AgentConfig" }, { - "id": "edge:c23131af", + "id": "edge:0cac9943", "source": "class:SkillConfig", "target": "func:SkillConfig.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:db5383a9", + "id": "edge:a154f20c", "source": "class:SkillConfig", "target": "func:SkillConfig._validate_v2", "type": "contains", "label": "方法 _validate_v2" }, { - "id": "edge:7c70fcbb", + "id": "edge:817cab91", "source": "class:SkillConfig", "target": "func:SkillConfig._parse_dependencies", "type": "contains", "label": "方法 _parse_dependencies" }, { - "id": "edge:f0b8123f", + "id": "edge:5a37ca2b", "source": "class:SkillConfig", "target": "func:SkillConfig._parse_capabilities", "type": "contains", "label": "方法 _parse_capabilities" }, { - "id": "edge:5ab35968", + "id": "edge:96ada4b7", "source": "class:SkillConfig", "target": "func:SkillConfig.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:1f458391", + "id": "edge:84e08d11", "source": "class:SkillConfig", "target": "func:SkillConfig.from_yaml", "type": "contains", "label": "方法 from_yaml" }, { - "id": "edge:a3bd77d7", + "id": "edge:7f64bfa2", "source": "class:SkillConfig", "target": "func:SkillConfig.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:51c4ca5f", + "id": "edge:a5e61a55", "source": "file:src/agentkit/skills/base.py", "target": "class:Skill", "type": "contains", "label": "定义类 Skill" }, { - "id": "edge:37bfcfdf", + "id": "edge:555ce23f", "source": "class:Skill", "target": "func:Skill.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:1f84fc11", + "id": "edge:bd743d23", "source": "class:Skill", "target": "func:Skill.name", "type": "contains", "label": "方法 name" }, { - "id": "edge:976819ec", + "id": "edge:ad46b2e8", "source": "class:Skill", "target": "func:Skill.version", "type": "contains", "label": "方法 version" }, { - "id": "edge:cfb0f3a1", + "id": "edge:9e7f1a23", "source": "class:Skill", "target": "func:Skill.config", "type": "contains", "label": "方法 config" }, { - "id": "edge:0014fc74", + "id": "edge:06790c41", "source": "class:Skill", "target": "func:Skill.tools", "type": "contains", "label": "方法 tools" }, { - "id": "edge:e0d413c6", + "id": "edge:8971435b", "source": "class:Skill", "target": "func:Skill.capabilities", "type": "contains", "label": "方法 capabilities" }, { - "id": "edge:e0bffcd0", + "id": "edge:cf19ba9a", "source": "class:Skill", "target": "func:Skill.dependencies", "type": "contains", "label": "方法 dependencies" }, { - "id": "edge:9373fd29", + "id": "edge:c3b65735", "source": "class:Skill", "target": "func:Skill.bind_tool", "type": "contains", "label": "方法 bind_tool" }, { - "id": "edge:51bb8a68", + "id": "edge:42fdba34", "source": "class:Skill", "target": "func:Skill.unbind_tool", "type": "contains", "label": "方法 unbind_tool" }, { - "id": "edge:a12f038f", + "id": "edge:d37fd013", "source": "class:Skill", "target": "func:Skill.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:a6f22ebd", + "id": "edge:bd61d7f8", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "class:PipelineStep", "type": "contains", "label": "定义类 PipelineStep" }, { - "id": "edge:5407bf2d", + "id": "edge:bdcafd46", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "class:PipelineStepResult", "type": "contains", "label": "定义类 PipelineStepResult" }, { - "id": "edge:94dd84e1", + "id": "edge:f834b303", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "class:PipelineResult", "type": "contains", "label": "定义类 PipelineResult" }, { - "id": "edge:23750aaf", + "id": "edge:c9ddd44d", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "class:GEOPipeline", "type": "contains", "label": "定义类 GEOPipeline" }, { - "id": "edge:29183fb8", + "id": "edge:436c4a9e", "source": "class:GEOPipeline", "target": "func:GEOPipeline.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:83cb9e46", + "id": "edge:d7f95822", "source": "class:GEOPipeline", "target": "func:GEOPipeline.from_config", "type": "contains", "label": "方法 from_config" }, { - "id": "edge:8759bd89", + "id": "edge:175123cb", "source": "class:GEOPipeline", "target": "func:GEOPipeline.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:339487d8", + "id": "edge:1b51ae27", "source": "class:GEOPipeline", "target": "func:GEOPipeline._execute_step", "type": "contains", "label": "方法 _execute_step" }, { - "id": "edge:57d694e3", + "id": "edge:4ce4105a", "source": "class:GEOPipeline", "target": "func:GEOPipeline._execute_skill", "type": "contains", "label": "方法 _execute_skill" }, { - "id": "edge:e7af5e96", + "id": "edge:aecdde82", "source": "class:GEOPipeline", "target": "func:GEOPipeline._build_execution_groups", "type": "contains", "label": "方法 _build_execution_groups" }, { - "id": "edge:408a552a", + "id": "edge:80fe655a", "source": "class:GEOPipeline", "target": "func:GEOPipeline._map_input", "type": "contains", "label": "方法 _map_input" }, { - "id": "edge:59f1f74c", + "id": "edge:2bd72650", "source": "class:GEOPipeline", "target": "func:GEOPipeline._resolve_mapping_path", "type": "contains", "label": "方法 _resolve_mapping_path" }, { - "id": "edge:a52df077", + "id": "edge:1cac681a", "source": "class:GEOPipeline", "target": "func:GEOPipeline._evaluate_condition", "type": "contains", "label": "方法 _evaluate_condition" }, { - "id": "edge:24e7c173", + "id": "edge:61d5a2f7", "source": "class:GEOPipeline", "target": "func:GEOPipeline._build_final_output", "type": "contains", "label": "方法 _build_final_output" }, { - "id": "edge:6259cdaa", + "id": "edge:8a1dc2e8", "source": "file:src/agentkit/skills/loader.py", "target": "class:SkillLoader", "type": "contains", "label": "定义类 SkillLoader" }, { - "id": "edge:4ca2207b", + "id": "edge:f8fef3c8", "source": "class:SkillLoader", "target": "func:SkillLoader.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:35efbc70", + "id": "edge:59fd45a6", "source": "class:SkillLoader", "target": "func:SkillLoader.load_from_directory", "type": "contains", "label": "方法 load_from_directory" }, { - "id": "edge:5e7e549c", + "id": "edge:ee829725", "source": "class:SkillLoader", "target": "func:SkillLoader.load_from_file", "type": "contains", "label": "方法 load_from_file" }, { - "id": "edge:5be9bbd7", + "id": "edge:9cfe0534", "source": "class:SkillLoader", "target": "func:SkillLoader._load_skill_from_file", "type": "contains", "label": "方法 _load_skill_from_file" }, { - "id": "edge:3d4ad507", + "id": "edge:b899dfbb", "source": "class:SkillLoader", "target": "func:SkillLoader.load_from_skill_md", "type": "contains", "label": "方法 load_from_skill_md" }, { - "id": "edge:01c45281", + "id": "edge:a3972ad2", "source": "class:SkillLoader", "target": "func:SkillLoader.load_from_entry_points", "type": "contains", "label": "方法 load_from_entry_points" }, { - "id": "edge:a9bc7e1d", + "id": "edge:059d393a", "source": "class:SkillLoader", "target": "func:SkillLoader._bind_tools", "type": "contains", "label": "方法 _bind_tools" }, { - "id": "edge:69ba5b9a", + "id": "edge:df063942", "source": "file:src/agentkit/skills/pipeline.py", "target": "class:SkillPipeline", "type": "contains", "label": "定义类 SkillPipeline" }, { - "id": "edge:8edea2c7", + "id": "edge:bdfd1a67", "source": "class:SkillPipeline", "target": "func:SkillPipeline.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:f87568b6", + "id": "edge:767600a0", "source": "class:SkillPipeline", "target": "func:SkillPipeline.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:3e7e21d0", + "id": "edge:cfdac7a5", "source": "class:SkillPipeline", "target": "func:SkillPipeline._execute_skill", "type": "contains", "label": "方法 _execute_skill" }, { - "id": "edge:d5fdd226", + "id": "edge:85eea26f", "source": "class:SkillPipeline", "target": "func:SkillPipeline._evaluate_condition", "type": "contains", "label": "方法 _evaluate_condition" }, { - "id": "edge:25f0c7c0", + "id": "edge:b56aba34", "source": "class:SkillPipeline", "target": "func:SkillPipeline._resolve_path", "type": "contains", "label": "方法 _resolve_path" }, { - "id": "edge:aff0488a", + "id": "edge:3d29ae09", "source": "class:SkillPipeline", "target": "func:SkillPipeline._map_input", "type": "contains", "label": "方法 _map_input" }, { - "id": "edge:b4b05f8f", + "id": "edge:1a50c5e3", "source": "file:src/agentkit/skills/registry.py", "target": "class:SkillRegistry", "type": "contains", "label": "定义类 SkillRegistry" }, { - "id": "edge:2fcd1d28", + "id": "edge:97df71f9", "source": "class:SkillRegistry", "target": "func:SkillRegistry.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:48ef988c", + "id": "edge:4ee33161", "source": "class:SkillRegistry", "target": "func:SkillRegistry.register", "type": "contains", "label": "方法 register" }, { - "id": "edge:ec226090", + "id": "edge:1b431e5b", "source": "class:SkillRegistry", "target": "func:SkillRegistry.unregister", "type": "contains", "label": "方法 unregister" }, { - "id": "edge:b37b4c10", + "id": "edge:f0b5a83a", "source": "class:SkillRegistry", "target": "func:SkillRegistry.get", "type": "contains", "label": "方法 get" }, { - "id": "edge:4b49453c", + "id": "edge:513f47b9", "source": "class:SkillRegistry", "target": "func:SkillRegistry.list_skills", "type": "contains", "label": "方法 list_skills" }, { - "id": "edge:a6a2e0c2", + "id": "edge:128eca1a", "source": "class:SkillRegistry", "target": "func:SkillRegistry.update_skill", "type": "contains", "label": "方法 update_skill" }, { - "id": "edge:755d2436", + "id": "edge:8f00db48", "source": "class:SkillRegistry", "target": "func:SkillRegistry.has_skill", "type": "contains", "label": "方法 has_skill" }, { - "id": "edge:9cab50fc", + "id": "edge:4117c1c3", "source": "class:SkillRegistry", "target": "func:SkillRegistry.get_versions", "type": "contains", "label": "方法 get_versions" }, { - "id": "edge:85fcf072", + "id": "edge:8c87257c", "source": "class:SkillRegistry", "target": "func:SkillRegistry.query_by_capability", "type": "contains", "label": "方法 query_by_capability" }, { - "id": "edge:77c416bb", + "id": "edge:33678e41", "source": "class:SkillRegistry", "target": "func:SkillRegistry.health_check", "type": "contains", "label": "方法 health_check" }, { - "id": "edge:88917b43", + "id": "edge:9854ee1e", "source": "class:SkillRegistry", "target": "func:SkillRegistry._check_skill_dependencies", "type": "contains", "label": "方法 _check_skill_dependencies" }, { - "id": "edge:6d602fc4", + "id": "edge:9b2eb665", "source": "class:SkillRegistry", "target": "func:SkillRegistry._check_version_constraint", "type": "contains", "label": "方法 _check_version_constraint" }, { - "id": "edge:792b0706", + "id": "edge:520647a5", "source": "class:SkillRegistry", "target": "func:SkillRegistry.register_pipeline", "type": "contains", "label": "方法 register_pipeline" }, { - "id": "edge:daa9c2dc", + "id": "edge:995bca91", "source": "class:SkillRegistry", "target": "func:SkillRegistry.get_pipeline", "type": "contains", "label": "方法 get_pipeline" }, { - "id": "edge:56393f81", + "id": "edge:a715a5f4", "source": "class:SkillRegistry", "target": "func:SkillRegistry.list_pipelines", "type": "contains", "label": "方法 list_pipelines" }, { - "id": "edge:382dbdba", + "id": "edge:8b762f5f", "source": "class:SkillRegistry", "target": "func:SkillRegistry.unregister_pipeline", "type": "contains", "label": "方法 unregister_pipeline" }, { - "id": "edge:fbc97f98", + "id": "edge:c0c8b9f1", "source": "file:src/agentkit/skills/schema.py", "target": "class:DependencyDecl", "type": "contains", "label": "定义类 DependencyDecl" }, { - "id": "edge:d1e2ad1d", + "id": "edge:b6b9c5ee", "source": "file:src/agentkit/skills/schema.py", "target": "class:CapabilityTag", "type": "contains", "label": "定义类 CapabilityTag" }, { - "id": "edge:615b1838", + "id": "edge:8e833ebc", "source": "file:src/agentkit/skills/schema.py", "target": "class:SkillSpec", "type": "contains", "label": "定义类 SkillSpec" }, { - "id": "edge:0397b781", + "id": "edge:641bc1c8", "source": "class:SkillSpec", "target": "func:SkillSpec.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:a9c0e8e0", + "id": "edge:b998c72a", "source": "class:SkillSpec", "target": "func:SkillSpec.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:dc994e2e", + "id": "edge:63957b58", "source": "class:SkillSpec", "target": "func:SkillSpec.capability_tags", "type": "contains", "label": "方法 capability_tags" }, { - "id": "edge:2c3211c3", + "id": "edge:178b8c53", "source": "class:SkillSpec", "target": "func:SkillSpec.required_dependencies", "type": "contains", "label": "方法 required_dependencies" }, { - "id": "edge:936f1d57", + "id": "edge:ef7484cf", "source": "class:SkillSpec", "target": "func:SkillSpec.skill_dependencies", "type": "contains", "label": "方法 skill_dependencies" }, { - "id": "edge:df518772", + "id": "edge:c636b834", "source": "class:SkillSpec", "target": "func:SkillSpec.tool_dependencies", "type": "contains", "label": "方法 tool_dependencies" }, { - "id": "edge:862237e8", + "id": "edge:f23e6b43", "source": "file:src/agentkit/skills/schema.py", "target": "class:HealthCheckResult", "type": "contains", "label": "定义类 HealthCheckResult" }, { - "id": "edge:ab33715e", + "id": "edge:48797af2", "source": "class:HealthCheckResult", "target": "func:HealthCheckResult.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:c656fa17", + "id": "edge:ca6c3c9f", "source": "file:src/agentkit/skills/skill_md.py", "target": "class:SkillMdParser", "type": "contains", "label": "定义类 SkillMdParser" }, { - "id": "edge:3254010a", + "id": "edge:36203262", "source": "class:SkillMdParser", "target": "func:SkillMdParser.parse", "type": "contains", "label": "方法 parse" }, { - "id": "edge:2183a5cc", + "id": "edge:d10ad120", "source": "class:SkillMdParser", "target": "func:SkillMdParser.to_skill_config", "type": "contains", "label": "方法 to_skill_config" }, { - "id": "edge:74026389", + "id": "edge:1f810681", "source": "file:src/agentkit/telemetry/metrics.py", "target": "class:_NoOpCounter", "type": "contains", "label": "定义类 _NoOpCounter" }, { - "id": "edge:022284e5", + "id": "edge:e182911d", "source": "class:_NoOpCounter", "target": "func:_NoOpCounter.add", "type": "contains", "label": "方法 add" }, { - "id": "edge:7805da65", + "id": "edge:d03aa497", "source": "file:src/agentkit/telemetry/metrics.py", "target": "class:_NoOpHistogram", "type": "contains", "label": "定义类 _NoOpHistogram" }, { - "id": "edge:8a80f75d", + "id": "edge:adca8fc6", "source": "class:_NoOpHistogram", "target": "func:_NoOpHistogram.record", "type": "contains", "label": "方法 record" }, { - "id": "edge:e1c2307f", + "id": "edge:46ddd42f", "source": "file:src/agentkit/telemetry/metrics.py", "target": "class:_NoOpUpDownCounter", "type": "contains", "label": "定义类 _NoOpUpDownCounter" }, { - "id": "edge:9d8739f9", + "id": "edge:bb20df4c", "source": "class:_NoOpUpDownCounter", "target": "func:_NoOpUpDownCounter.add", "type": "contains", "label": "方法 add" }, { - "id": "edge:92291278", + "id": "edge:fe1c1923", "source": "file:src/agentkit/telemetry/tracer.py", "target": "class:TelemetryConfig", "type": "contains", "label": "定义类 TelemetryConfig" }, { - "id": "edge:89b15cc4", + "id": "edge:0965b5e3", "source": "file:src/agentkit/telemetry/tracer.py", "target": "class:NoOpSpan", "type": "contains", "label": "定义类 NoOpSpan" }, { - "id": "edge:a9087b81", + "id": "edge:e8fe9dfb", "source": "class:NoOpSpan", "target": "func:NoOpSpan.__enter__", "type": "contains", "label": "方法 __enter__" }, { - "id": "edge:5fde9112", + "id": "edge:df801ff2", "source": "class:NoOpSpan", "target": "func:NoOpSpan.__exit__", "type": "contains", "label": "方法 __exit__" }, { - "id": "edge:7f668d51", + "id": "edge:19452ec9", "source": "class:NoOpSpan", "target": "func:NoOpSpan.set_attribute", "type": "contains", "label": "方法 set_attribute" }, { - "id": "edge:fd8443f7", + "id": "edge:41fd0459", "source": "class:NoOpSpan", "target": "func:NoOpSpan.add_event", "type": "contains", "label": "方法 add_event" }, { - "id": "edge:8905f91b", + "id": "edge:f8f66eac", "source": "class:NoOpSpan", "target": "func:NoOpSpan.record_exception", "type": "contains", "label": "方法 record_exception" }, { - "id": "edge:26f85d00", + "id": "edge:650e303c", "source": "class:NoOpSpan", "target": "func:NoOpSpan.is_recording", "type": "contains", "label": "方法 is_recording" }, { - "id": "edge:7cf9f4cf", + "id": "edge:6dd3b9b7", "source": "file:src/agentkit/telemetry/tracer.py", "target": "class:NoOpTracer", "type": "contains", "label": "定义类 NoOpTracer" }, { - "id": "edge:8d32238f", + "id": "edge:8b54fe2f", "source": "class:NoOpTracer", "target": "func:NoOpTracer.start_span", "type": "contains", "label": "方法 start_span" }, { - "id": "edge:a7d67081", + "id": "edge:e68b35f9", "source": "class:NoOpTracer", "target": "func:NoOpTracer.start_as_current_span", "type": "contains", "label": "方法 start_as_current_span" }, { - "id": "edge:03ef70d9", + "id": "edge:97fa5634", "source": "file:src/agentkit/telemetry/tracer.py", "target": "class:OTelSpan", "type": "contains", "label": "定义类 OTelSpan" }, { - "id": "edge:0a64a1ae", + "id": "edge:2157fc4b", "source": "class:OTelSpan", "target": "func:OTelSpan.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:ff3db179", + "id": "edge:17f3e6f2", "source": "class:OTelSpan", "target": "func:OTelSpan.__enter__", "type": "contains", "label": "方法 __enter__" }, { - "id": "edge:603d1f5f", + "id": "edge:f94b943b", "source": "class:OTelSpan", "target": "func:OTelSpan.__exit__", "type": "contains", "label": "方法 __exit__" }, { - "id": "edge:517d3584", + "id": "edge:b7ff2a0a", "source": "class:OTelSpan", "target": "func:OTelSpan.set_attribute", "type": "contains", "label": "方法 set_attribute" }, { - "id": "edge:e2988038", + "id": "edge:989ecbec", "source": "class:OTelSpan", "target": "func:OTelSpan.add_event", "type": "contains", "label": "方法 add_event" }, { - "id": "edge:6e34ed3b", + "id": "edge:806384c5", "source": "class:OTelSpan", "target": "func:OTelSpan.record_exception", "type": "contains", "label": "方法 record_exception" }, { - "id": "edge:c74caaa5", + "id": "edge:c2b8fc32", "source": "class:OTelSpan", "target": "func:OTelSpan.is_recording", "type": "contains", "label": "方法 is_recording" }, { - "id": "edge:9b967a9a", + "id": "edge:2bdceebd", "source": "file:src/agentkit/telemetry/tracer.py", "target": "class:OTelTracer", "type": "contains", "label": "定义类 OTelTracer" }, { - "id": "edge:55d7a1f7", + "id": "edge:538df865", "source": "class:OTelTracer", "target": "func:OTelTracer.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:7a520bfc", + "id": "edge:7f9a8738", "source": "class:OTelTracer", "target": "func:OTelTracer.start_span", "type": "contains", "label": "方法 start_span" }, { - "id": "edge:aaa3e41f", + "id": "edge:4151a1eb", "source": "class:OTelTracer", "target": "func:OTelTracer.start_as_current_span", "type": "contains", "label": "方法 start_as_current_span" }, { - "id": "edge:f4398845", + "id": "edge:2d13a8bf", "source": "file:src/agentkit/telemetry/tracing.py", "target": "class:_NoOpSpan", "type": "contains", "label": "定义类 _NoOpSpan" }, { - "id": "edge:eab36bfd", + "id": "edge:d30b86d2", "source": "class:_NoOpSpan", "target": "func:_NoOpSpan.__enter__", "type": "contains", "label": "方法 __enter__" }, { - "id": "edge:b6a52402", + "id": "edge:acec9691", "source": "class:_NoOpSpan", "target": "func:_NoOpSpan.__exit__", "type": "contains", "label": "方法 __exit__" }, { - "id": "edge:1f25ad84", + "id": "edge:d59d19b6", "source": "class:_NoOpSpan", "target": "func:_NoOpSpan.set_attribute", "type": "contains", "label": "方法 set_attribute" }, { - "id": "edge:d9cd031d", + "id": "edge:00a6c4ec", "source": "class:_NoOpSpan", "target": "func:_NoOpSpan.add_event", "type": "contains", "label": "方法 add_event" }, { - "id": "edge:d5650aa1", + "id": "edge:56b6f651", "source": "class:_NoOpSpan", "target": "func:_NoOpSpan.set_status", "type": "contains", "label": "方法 set_status" }, { - "id": "edge:a57d3563", + "id": "edge:c0c995fb", "source": "class:_NoOpSpan", "target": "func:_NoOpSpan.record_exception", "type": "contains", "label": "方法 record_exception" }, { - "id": "edge:73d2b0ec", + "id": "edge:b663128c", "source": "file:src/agentkit/tools/agent_tool.py", "target": "class:AgentTool", "type": "contains", "label": "定义类 AgentTool" }, { - "id": "edge:5f4e0e38", + "id": "edge:108aa37d", "source": "class:AgentTool", "target": "func:AgentTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:13127164", + "id": "edge:05b88230", "source": "class:AgentTool", "target": "func:AgentTool.set_dispatcher", "type": "contains", "label": "方法 set_dispatcher" }, { - "id": "edge:f8165686", + "id": "edge:cf6a0cff", "source": "class:AgentTool", "target": "func:AgentTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:89ccec3d", + "id": "edge:0030210c", "source": "file:src/agentkit/tools/ask_human.py", "target": "class:AskHumanTool", "type": "contains", "label": "定义类 AskHumanTool" }, { - "id": "edge:d2aeac12", + "id": "edge:e1b38919", "source": "class:AskHumanTool", "target": "func:AskHumanTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:46d6438b", + "id": "edge:77d22222", "source": "class:AskHumanTool", "target": "func:AskHumanTool.configure", "type": "contains", "label": "方法 configure" }, { - "id": "edge:95063708", + "id": "edge:1d34c69c", "source": "class:AskHumanTool", "target": "func:AskHumanTool.parameters", "type": "contains", "label": "方法 parameters" }, { - "id": "edge:019f9df8", + "id": "edge:7b2d97de", "source": "class:AskHumanTool", "target": "func:AskHumanTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:88d53cfd", + "id": "edge:0b28f318", "source": "file:src/agentkit/tools/baidu_search.py", "target": "class:BaiduSearchTool", "type": "contains", "label": "定义类 BaiduSearchTool" }, { - "id": "edge:88fa57ef", + "id": "edge:097ea717", "source": "class:BaiduSearchTool", "target": "func:BaiduSearchTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:e4756a17", + "id": "edge:547e850f", "source": "class:BaiduSearchTool", "target": "func:BaiduSearchTool._default_input_schema", "type": "contains", "label": "方法 _default_input_schema" }, { - "id": "edge:abc8bd5f", + "id": "edge:d457f225", "source": "class:BaiduSearchTool", "target": "func:BaiduSearchTool._default_output_schema", "type": "contains", "label": "方法 _default_output_schema" }, { - "id": "edge:e4e90608", + "id": "edge:92895e95", "source": "class:BaiduSearchTool", "target": "func:BaiduSearchTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:02763cfd", + "id": "edge:df8a81c6", "source": "class:BaiduSearchTool", "target": "func:BaiduSearchTool._search_via_api", "type": "contains", "label": "方法 _search_via_api" }, { - "id": "edge:9fd90781", + "id": "edge:3fdb6200", "source": "class:BaiduSearchTool", "target": "func:BaiduSearchTool._search_via_scrape", "type": "contains", "label": "方法 _search_via_scrape" }, { - "id": "edge:c1b438b8", + "id": "edge:620e1db4", "source": "class:BaiduSearchTool", "target": "func:BaiduSearchTool._parse_baidu_html", "type": "contains", "label": "方法 _parse_baidu_html" }, { - "id": "edge:cae6e240", + "id": "edge:6ac78e50", "source": "class:BaiduSearchTool", "target": "func:BaiduSearchTool._parse_baidu_html_alt", "type": "contains", "label": "方法 _parse_baidu_html_alt" }, { - "id": "edge:29564125", + "id": "edge:ff847ef5", "source": "file:src/agentkit/tools/base.py", "target": "class:Tool", "type": "contains", "label": "定义类 Tool" }, { - "id": "edge:18220bf8", + "id": "edge:0a42a948", "source": "class:Tool", "target": "func:Tool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:db3ed220", + "id": "edge:1331e1fb", "source": "class:Tool", "target": "func:Tool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:fcd74bed", + "id": "edge:9afcc12b", "source": "class:Tool", "target": "func:Tool.before_execute", "type": "contains", "label": "方法 before_execute" }, { - "id": "edge:b3dbe916", + "id": "edge:ae3d9da1", "source": "class:Tool", "target": "func:Tool.after_execute", "type": "contains", "label": "方法 after_execute" }, { - "id": "edge:f0542452", + "id": "edge:b676e737", "source": "class:Tool", "target": "func:Tool.on_error", "type": "contains", "label": "方法 on_error" }, { - "id": "edge:1db3334b", + "id": "edge:5464aa2e", "source": "class:Tool", "target": "func:Tool.safe_execute", "type": "contains", "label": "方法 safe_execute" }, { - "id": "edge:c7069195", + "id": "edge:b4c4e41a", "source": "class:Tool", "target": "func:Tool.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:04ba24c7", + "id": "edge:74eb78f8", "source": "class:Tool", "target": "func:Tool.__repr__", "type": "contains", "label": "方法 __repr__" }, { - "id": "edge:2c75d9fc", + "id": "edge:cb4d5810", "source": "file:src/agentkit/tools/composition.py", "target": "class:SequentialChain", "type": "contains", "label": "定义类 SequentialChain" }, { - "id": "edge:6884a14b", + "id": "edge:18dadf04", "source": "class:SequentialChain", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:11692e13", + "id": "edge:fa78b35b", "source": "class:SequentialChain", "target": "func:SequentialChain.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:d36f074a", + "id": "edge:60532b43", "source": "class:SequentialChain", "target": "func:SequentialChain.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:4ca5cdda", + "id": "edge:3309e723", "source": "file:src/agentkit/tools/composition.py", "target": "class:ParallelFanOut", "type": "contains", "label": "定义类 ParallelFanOut" }, { - "id": "edge:482be5b5", + "id": "edge:5ea7d0a9", "source": "class:ParallelFanOut", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:e5156930", + "id": "edge:14a54475", "source": "class:ParallelFanOut", "target": "func:ParallelFanOut.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:7b102d9b", + "id": "edge:e65c76d4", "source": "class:ParallelFanOut", "target": "func:ParallelFanOut.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:14713582", + "id": "edge:ce921a9d", "source": "file:src/agentkit/tools/composition.py", "target": "class:DynamicSelector", "type": "contains", "label": "定义类 DynamicSelector" }, { - "id": "edge:cf43046a", + "id": "edge:c721472a", "source": "class:DynamicSelector", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:9019719f", + "id": "edge:9a1d2826", "source": "class:DynamicSelector", "target": "func:DynamicSelector.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:bd64ee61", + "id": "edge:ebbb05c7", "source": "class:DynamicSelector", "target": "func:DynamicSelector.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:a6eeedcd", + "id": "edge:d642c146", "source": "class:DynamicSelector", "target": "func:DynamicSelector._select_by_keyword", "type": "contains", "label": "方法 _select_by_keyword" }, { - "id": "edge:80939f9c", + "id": "edge:e6a20e8b", "source": "class:DynamicSelector", "target": "func:DynamicSelector._select_by_llm", "type": "contains", "label": "方法 _select_by_llm" }, { - "id": "edge:3e97fbfb", + "id": "edge:e4bc7e68", "source": "file:src/agentkit/tools/computer_use.py", "target": "class:ComputerUseTool", "type": "contains", "label": "定义类 ComputerUseTool" }, { - "id": "edge:a1218f7c", + "id": "edge:557d0b3a", "source": "class:ComputerUseTool", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:4fcac89d", + "id": "edge:6f089ff2", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:069d627d", + "id": "edge:c68d4dbc", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool._get_http_client", "type": "contains", "label": "方法 _get_http_client" }, { - "id": "edge:9dc81322", + "id": "edge:14811766", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool.close", "type": "contains", "label": "方法 close" }, { - "id": "edge:586b5f28", + "id": "edge:db96f1ee", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool._default_input_schema", "type": "contains", "label": "方法 _default_input_schema" }, { - "id": "edge:3c728f6b", + "id": "edge:8874f32f", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool._default_output_schema", "type": "contains", "label": "方法 _default_output_schema" }, { - "id": "edge:20edceae", + "id": "edge:2fcb33da", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:c7b0b329", + "id": "edge:113e74c1", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool._execute_with_fallback", "type": "contains", "label": "方法 _execute_with_fallback" }, { - "id": "edge:f28d7fb1", + "id": "edge:5a714955", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool._call_anthropic_api", "type": "contains", "label": "方法 _call_anthropic_api" }, { - "id": "edge:e5d29e2e", + "id": "edge:d9e743df", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool._validate_params", "type": "contains", "label": "方法 _validate_params" }, { - "id": "edge:67de4bfa", + "id": "edge:dabf79a7", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool._format_result", "type": "contains", "label": "方法 _format_result" }, { - "id": "edge:ce35b977", + "id": "edge:c879032f", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool._error_result", "type": "contains", "label": "方法 _error_result" }, { - "id": "edge:2a1b1d78", + "id": "edge:63bccf3d", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool.session_manager", "type": "contains", "label": "方法 session_manager" }, { - "id": "edge:8a2bdec8", + "id": "edge:2fef535d", "source": "class:ComputerUseTool", "target": "func:ComputerUseTool.recorder", "type": "contains", "label": "方法 recorder" }, { - "id": "edge:761efe1c", + "id": "edge:35ee7e4a", "source": "file:src/agentkit/tools/computer_use_recorder.py", "target": "class:ActionRecord", "type": "contains", "label": "定义类 ActionRecord" }, { - "id": "edge:e45a7904", + "id": "edge:283cec02", "source": "class:ActionRecord", "target": "func:ActionRecord.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:2389453e", + "id": "edge:aac2eeeb", "source": "class:ActionRecord", "target": "func:ActionRecord.from_dict", "type": "contains", "label": "方法 from_dict" }, { - "id": "edge:b7c8059c", + "id": "edge:310f91d2", "source": "file:src/agentkit/tools/computer_use_recorder.py", "target": "class:ComputerUseRecorder", "type": "contains", "label": "定义类 ComputerUseRecorder" }, { - "id": "edge:6890099d", + "id": "edge:60a9c1cd", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:b6e30e24", + "id": "edge:95e10e31", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.record", "type": "contains", "label": "方法 record" }, { - "id": "edge:5f950ac2", + "id": "edge:92b9e088", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.get_records", "type": "contains", "label": "方法 get_records" }, { - "id": "edge:5af02ee4", + "id": "edge:ad191683", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.get_records_by_action", "type": "contains", "label": "方法 get_records_by_action" }, { - "id": "edge:150080a4", + "id": "edge:603ff876", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.get_failed_records", "type": "contains", "label": "方法 get_failed_records" }, { - "id": "edge:ed00b19e", + "id": "edge:f866c180", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.replay", "type": "contains", "label": "方法 replay" }, { - "id": "edge:87f9a40e", + "id": "edge:83425cc5", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.save_recording", "type": "contains", "label": "方法 save_recording" }, { - "id": "edge:e38758b7", + "id": "edge:f4361483", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.load_recording", "type": "contains", "label": "方法 load_recording" }, { - "id": "edge:8b09471a", + "id": "edge:c849e0ca", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.clear", "type": "contains", "label": "方法 clear" }, { - "id": "edge:055d8b86", + "id": "edge:9164f347", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.total_actions", "type": "contains", "label": "方法 total_actions" }, { - "id": "edge:6f7fc703", + "id": "edge:1b0898dc", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.success_count", "type": "contains", "label": "方法 success_count" }, { - "id": "edge:3a672e7a", + "id": "edge:92e1541e", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.failure_count", "type": "contains", "label": "方法 failure_count" }, { - "id": "edge:cb682941", + "id": "edge:275c33a8", "source": "class:ComputerUseRecorder", "target": "func:ComputerUseRecorder.summary", "type": "contains", "label": "方法 summary" }, { - "id": "edge:e2627472", + "id": "edge:d7e8b5dd", "source": "file:src/agentkit/tools/computer_use_session.py", "target": "class:ScreenInfo", "type": "contains", "label": "定义类 ScreenInfo" }, { - "id": "edge:a50bda28", + "id": "edge:f49916be", "source": "file:src/agentkit/tools/computer_use_session.py", "target": "class:ActionResult", "type": "contains", "label": "定义类 ActionResult" }, { - "id": "edge:62d57f55", + "id": "edge:5246f8b9", "source": "file:src/agentkit/tools/computer_use_session.py", "target": "class:ComputerUseSession", "type": "contains", "label": "定义类 ComputerUseSession" }, { - "id": "edge:d8ef9e30", + "id": "edge:a559d09c", "source": "class:ComputerUseSession", "target": "func:ComputerUseSession.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:ea8b50a6", + "id": "edge:424135fb", "source": "class:ComputerUseSession", "target": "func:ComputerUseSession.is_started", "type": "contains", "label": "方法 is_started" }, { - "id": "edge:fb5128e8", + "id": "edge:84e9614c", "source": "class:ComputerUseSession", "target": "func:ComputerUseSession.start", "type": "contains", "label": "方法 start" }, { - "id": "edge:bb3e0977", + "id": "edge:178b83cc", "source": "class:ComputerUseSession", "target": "func:ComputerUseSession.stop", "type": "contains", "label": "方法 stop" }, { - "id": "edge:3ca7c4a8", + "id": "edge:e3c10012", "source": "class:ComputerUseSession", "target": "func:ComputerUseSession.screenshot", "type": "contains", "label": "方法 screenshot" }, { - "id": "edge:3f1b5a11", + "id": "edge:f1a69a6d", "source": "class:ComputerUseSession", "target": "func:ComputerUseSession.execute_action", "type": "contains", "label": "方法 execute_action" }, { - "id": "edge:f67ed0f1", + "id": "edge:00eda178", "source": "class:ComputerUseSession", "target": "func:ComputerUseSession.record_action", "type": "contains", "label": "方法 record_action" }, { - "id": "edge:e2c3a328", + "id": "edge:adb2c3f2", "source": "class:ComputerUseSession", "target": "func:ComputerUseSession.action_history", "type": "contains", "label": "方法 action_history" }, { - "id": "edge:eecca645", + "id": "edge:b75b599c", "source": "class:ComputerUseSession", "target": "func:ComputerUseSession.__repr__", "type": "contains", "label": "方法 __repr__" }, { - "id": "edge:5343f0f7", + "id": "edge:16936e37", "source": "file:src/agentkit/tools/computer_use_session.py", "target": "class:InMemoryComputerUseSession", "type": "contains", "label": "定义类 InMemoryComputerUseSession" }, { - "id": "edge:d34c11eb", + "id": "edge:c1c454dc", "source": "class:InMemoryComputerUseSession", "target": "class:ComputerUseSession", "type": "extends", "label": "继承 ComputerUseSession" }, { - "id": "edge:4f337c96", + "id": "edge:03af886f", "source": "class:InMemoryComputerUseSession", "target": "func:InMemoryComputerUseSession.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:3241dc5c", + "id": "edge:56e275b2", "source": "class:InMemoryComputerUseSession", "target": "func:InMemoryComputerUseSession.start", "type": "contains", "label": "方法 start" }, { - "id": "edge:e3b9b045", + "id": "edge:da93c588", "source": "class:InMemoryComputerUseSession", "target": "func:InMemoryComputerUseSession.stop", "type": "contains", "label": "方法 stop" }, { - "id": "edge:eb6125a3", + "id": "edge:158937f8", "source": "class:InMemoryComputerUseSession", "target": "func:InMemoryComputerUseSession.screenshot", "type": "contains", "label": "方法 screenshot" }, { - "id": "edge:81f0cdd4", + "id": "edge:4e634528", "source": "class:InMemoryComputerUseSession", "target": "func:InMemoryComputerUseSession.execute_action", "type": "contains", "label": "方法 execute_action" }, { - "id": "edge:50e0eb69", + "id": "edge:18f9a5e1", "source": "class:InMemoryComputerUseSession", "target": "func:InMemoryComputerUseSession._simulate_action", "type": "contains", "label": "方法 _simulate_action" }, { - "id": "edge:7b22bffa", + "id": "edge:d8a060b5", + "source": "file:src/agentkit/tools/computer_use_session.py", + "target": "class:LocalComputerUseSession", + "type": "contains", + "label": "定义类 LocalComputerUseSession" + }, + { + "id": "edge:474785b5", + "source": "class:LocalComputerUseSession", + "target": "class:ComputerUseSession", + "type": "extends", + "label": "继承 ComputerUseSession" + }, + { + "id": "edge:8eabd346", + "source": "class:LocalComputerUseSession", + "target": "func:LocalComputerUseSession.__init__", + "type": "contains", + "label": "方法 __init__" + }, + { + "id": "edge:e2ee466a", + "source": "class:LocalComputerUseSession", + "target": "func:LocalComputerUseSession.start", + "type": "contains", + "label": "方法 start" + }, + { + "id": "edge:ff25704f", + "source": "class:LocalComputerUseSession", + "target": "func:LocalComputerUseSession.stop", + "type": "contains", + "label": "方法 stop" + }, + { + "id": "edge:154d5102", + "source": "class:LocalComputerUseSession", + "target": "func:LocalComputerUseSession.screenshot", + "type": "contains", + "label": "方法 screenshot" + }, + { + "id": "edge:ce12f700", + "source": "class:LocalComputerUseSession", + "target": "func:LocalComputerUseSession.execute_action", + "type": "contains", + "label": "方法 execute_action" + }, + { + "id": "edge:9e1b3e76", + "source": "class:LocalComputerUseSession", + "target": "func:LocalComputerUseSession._validate_coordinates", + "type": "contains", + "label": "方法 _validate_coordinates" + }, + { + "id": "edge:394bccfc", + "source": "class:LocalComputerUseSession", + "target": "func:LocalComputerUseSession._execute_local_action", + "type": "contains", + "label": "方法 _execute_local_action" + }, + { + "id": "edge:277790ba", "source": "file:src/agentkit/tools/computer_use_session.py", "target": "class:DockerComputerUseSession", "type": "contains", "label": "定义类 DockerComputerUseSession" }, { - "id": "edge:cda8e572", + "id": "edge:ca3aefd1", "source": "class:DockerComputerUseSession", "target": "class:ComputerUseSession", "type": "extends", "label": "继承 ComputerUseSession" }, { - "id": "edge:ec834df5", + "id": "edge:2540735e", "source": "class:DockerComputerUseSession", "target": "func:DockerComputerUseSession.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:029ce394", + "id": "edge:94a0a1f8", "source": "class:DockerComputerUseSession", "target": "func:DockerComputerUseSession.container_id", "type": "contains", "label": "方法 container_id" }, { - "id": "edge:604c0c20", + "id": "edge:157ade95", "source": "class:DockerComputerUseSession", "target": "func:DockerComputerUseSession.start", "type": "contains", "label": "方法 start" }, { - "id": "edge:fcb68515", + "id": "edge:ba53a1bd", "source": "class:DockerComputerUseSession", "target": "func:DockerComputerUseSession.stop", "type": "contains", "label": "方法 stop" }, { - "id": "edge:55ffae1e", + "id": "edge:0f8cb1ef", "source": "class:DockerComputerUseSession", "target": "func:DockerComputerUseSession.screenshot", "type": "contains", "label": "方法 screenshot" }, { - "id": "edge:a8bf5f8a", + "id": "edge:6174447c", "source": "class:DockerComputerUseSession", "target": "func:DockerComputerUseSession.execute_action", "type": "contains", "label": "方法 execute_action" }, { - "id": "edge:e03192d5", + "id": "edge:b4a591bd", "source": "file:src/agentkit/tools/computer_use_session.py", "target": "class:ComputerUseSessionManager", "type": "contains", "label": "定义类 ComputerUseSessionManager" }, { - "id": "edge:387fb91b", + "id": "edge:d963706b", "source": "class:ComputerUseSessionManager", "target": "func:ComputerUseSessionManager.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:de5523f9", + "id": "edge:a52b6106", "source": "class:ComputerUseSessionManager", "target": "func:ComputerUseSessionManager.get_or_create", "type": "contains", "label": "方法 get_or_create" }, { - "id": "edge:6b39f8af", + "id": "edge:2347946e", "source": "class:ComputerUseSessionManager", "target": "func:ComputerUseSessionManager.get", "type": "contains", "label": "方法 get" }, { - "id": "edge:78bbe81f", + "id": "edge:5f3c2958", "source": "class:ComputerUseSessionManager", "target": "func:ComputerUseSessionManager.remove", "type": "contains", "label": "方法 remove" }, { - "id": "edge:080802bf", + "id": "edge:4a7a006c", "source": "class:ComputerUseSessionManager", "target": "func:ComputerUseSessionManager.list_sessions", "type": "contains", "label": "方法 list_sessions" }, { - "id": "edge:a2142c60", + "id": "edge:d3c03429", "source": "class:ComputerUseSessionManager", "target": "func:ComputerUseSessionManager.has_session", "type": "contains", "label": "方法 has_session" }, { - "id": "edge:5225e968", + "id": "edge:f395d911", "source": "class:ComputerUseSessionManager", "target": "func:ComputerUseSessionManager.close_all", "type": "contains", "label": "方法 close_all" }, { - "id": "edge:4524a2c7", + "id": "edge:065db0e0", "source": "file:src/agentkit/tools/function_tool.py", "target": "class:FunctionTool", "type": "contains", "label": "定义类 FunctionTool" }, { - "id": "edge:601d7fad", + "id": "edge:211fb6b9", "source": "class:FunctionTool", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:b47318cf", + "id": "edge:73210e58", "source": "class:FunctionTool", "target": "func:FunctionTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:66ad9c08", + "id": "edge:3f300834", "source": "class:FunctionTool", "target": "func:FunctionTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:96463dfe", + "id": "edge:93b19dd6", "source": "class:FunctionTool", "target": "func:FunctionTool._infer_schema", "type": "contains", "label": "方法 _infer_schema" }, { - "id": "edge:ebac7ab3", + "id": "edge:7abf572a", "source": "file:src/agentkit/tools/headroom_retrieve.py", "target": "class:HeadroomRetrieveTool", "type": "contains", "label": "定义类 HeadroomRetrieveTool" }, { - "id": "edge:5b5dff3d", + "id": "edge:8e1a3860", "source": "class:HeadroomRetrieveTool", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:ca8b18a4", + "id": "edge:6bd0a4d3", "source": "class:HeadroomRetrieveTool", "target": "func:HeadroomRetrieveTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:328de0c0", + "id": "edge:e3948459", "source": "class:HeadroomRetrieveTool", "target": "func:HeadroomRetrieveTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:3c05f944", + "id": "edge:ce5a5d75", "source": "file:src/agentkit/tools/mcp_tool.py", "target": "class:MCPTool", "type": "contains", "label": "定义类 MCPTool" }, { - "id": "edge:40de800e", + "id": "edge:cf4cef72", "source": "class:MCPTool", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:ad130121", + "id": "edge:dcdbb640", "source": "class:MCPTool", "target": "func:MCPTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:a1937ad7", + "id": "edge:c81571b2", "source": "class:MCPTool", "target": "func:MCPTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:093a3226", + "id": "edge:47091d04", "source": "file:src/agentkit/tools/memory_tool.py", "target": "class:MemoryTool", "type": "contains", "label": "定义类 MemoryTool" }, { - "id": "edge:d59508bf", + "id": "edge:f86f8228", "source": "class:MemoryTool", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:d659e4d7", + "id": "edge:8087846d", "source": "class:MemoryTool", "target": "func:MemoryTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:2d3dc229", + "id": "edge:a82cf706", "source": "class:MemoryTool", "target": "func:MemoryTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:1ba24847", + "id": "edge:1c12e912", "source": "class:MemoryTool", "target": "func:MemoryTool._update_soul", "type": "contains", "label": "方法 _update_soul" }, { - "id": "edge:65f5f9e1", + "id": "edge:40391655", "source": "file:src/agentkit/tools/output_parser.py", "target": "class:ErrorType", "type": "contains", "label": "定义类 ErrorType" }, { - "id": "edge:f320f3a2", + "id": "edge:8891cf8a", "source": "file:src/agentkit/tools/output_parser.py", "target": "class:ParsedOutput", "type": "contains", "label": "定义类 ParsedOutput" }, { - "id": "edge:2b22e4cf", + "id": "edge:73c87177", "source": "class:ParsedOutput", "target": "func:ParsedOutput.to_dict", "type": "contains", "label": "方法 to_dict" }, { - "id": "edge:8f60e11d", + "id": "edge:6aec6095", "source": "file:src/agentkit/tools/output_parser.py", "target": "class:OutputParser", "type": "contains", "label": "定义类 OutputParser" }, { - "id": "edge:5c771560", + "id": "edge:c03b6416", "source": "class:OutputParser", "target": "func:OutputParser.parse", "type": "contains", "label": "方法 parse" }, { - "id": "edge:071a9619", + "id": "edge:6c569bbf", "source": "class:OutputParser", "target": "func:OutputParser._extract_message", "type": "contains", "label": "方法 _extract_message" }, { - "id": "edge:544c68df", + "id": "edge:22d68eb6", "source": "class:OutputParser", "target": "func:OutputParser._classify_error", "type": "contains", "label": "方法 _classify_error" }, { - "id": "edge:0d646ada", + "id": "edge:1583e579", "source": "file:src/agentkit/tools/pty_session.py", "target": "class:PTYOutput", "type": "contains", "label": "定义类 PTYOutput" }, { - "id": "edge:896341b5", + "id": "edge:7822d86a", "source": "file:src/agentkit/tools/pty_session.py", "target": "class:PTYSession", "type": "contains", "label": "定义类 PTYSession" }, { - "id": "edge:cb0d0956", + "id": "edge:2681690a", "source": "class:PTYSession", "target": "func:PTYSession.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:dfc1c51c", + "id": "edge:5e4484d7", "source": "class:PTYSession", "target": "func:PTYSession.is_running", "type": "contains", "label": "方法 is_running" }, { - "id": "edge:774bcc44", + "id": "edge:7835b8e9", "source": "class:PTYSession", "target": "func:PTYSession.start", "type": "contains", "label": "方法 start" }, { - "id": "edge:3844b93b", + "id": "edge:25ba533e", "source": "class:PTYSession", "target": "func:PTYSession.run_command", "type": "contains", "label": "方法 run_command" }, { - "id": "edge:643d25fc", + "id": "edge:e27428c4", "source": "class:PTYSession", "target": "func:PTYSession.send", "type": "contains", "label": "方法 send" }, { - "id": "edge:71e0fb74", + "id": "edge:1e8ace23", "source": "class:PTYSession", "target": "func:PTYSession.read_output", "type": "contains", "label": "方法 read_output" }, { - "id": "edge:87b9bd8f", + "id": "edge:0d398dab", "source": "class:PTYSession", "target": "func:PTYSession.close", "type": "contains", "label": "方法 close" }, { - "id": "edge:e289ae10", + "id": "edge:d409d019", "source": "class:PTYSession", "target": "func:PTYSession._read_until_exit", "type": "contains", "label": "方法 _read_until_exit" }, { - "id": "edge:bdc7328e", + "id": "edge:19a7de61", "source": "class:PTYSession", "target": "func:PTYSession._drain_remaining_output", "type": "contains", "label": "方法 _drain_remaining_output" }, { - "id": "edge:df1a2e77", + "id": "edge:72c1bddd", "source": "class:PTYSession", "target": "func:PTYSession._try_auto_respond", "type": "contains", "label": "方法 _try_auto_respond" }, { - "id": "edge:aa6d9f10", + "id": "edge:fc85de58", "source": "file:src/agentkit/tools/registry.py", "target": "class:ToolRegistry", "type": "contains", "label": "定义类 ToolRegistry" }, { - "id": "edge:39553864", + "id": "edge:8b0f00f2", "source": "class:ToolRegistry", "target": "func:ToolRegistry.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8c324077", + "id": "edge:ba4dc77e", "source": "class:ToolRegistry", "target": "func:ToolRegistry.register", "type": "contains", "label": "方法 register" }, { - "id": "edge:3b7d3833", + "id": "edge:efff6cd5", "source": "class:ToolRegistry", "target": "func:ToolRegistry.unregister", "type": "contains", "label": "方法 unregister" }, { - "id": "edge:5d0236f8", + "id": "edge:d46232a7", "source": "class:ToolRegistry", "target": "func:ToolRegistry.get", "type": "contains", "label": "方法 get" }, { - "id": "edge:8bb1b360", + "id": "edge:e6d8162f", "source": "class:ToolRegistry", "target": "func:ToolRegistry.list_tools", "type": "contains", "label": "方法 list_tools" }, { - "id": "edge:987e5c3b", + "id": "edge:c9bd4afe", "source": "class:ToolRegistry", "target": "func:ToolRegistry.list_all_versions", "type": "contains", "label": "方法 list_all_versions" }, { - "id": "edge:40ec4433", + "id": "edge:220f41ce", "source": "class:ToolRegistry", "target": "func:ToolRegistry.has_tool", "type": "contains", "label": "方法 has_tool" }, { - "id": "edge:8c5be34b", + "id": "edge:59b822a1", "source": "class:ToolRegistry", "target": "func:ToolRegistry.clear", "type": "contains", "label": "方法 clear" }, { - "id": "edge:967ac024", + "id": "edge:b95a6550", "source": "file:src/agentkit/tools/schema_tools.py", "target": "class:SchemaExtractTool", "type": "contains", "label": "定义类 SchemaExtractTool" }, { - "id": "edge:7f3e349f", + "id": "edge:859f7bc9", "source": "class:SchemaExtractTool", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:7cc22ccf", + "id": "edge:e3301817", "source": "class:SchemaExtractTool", "target": "func:SchemaExtractTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:3345cbdf", + "id": "edge:e1a6ffd5", "source": "class:SchemaExtractTool", "target": "func:SchemaExtractTool._default_input_schema", "type": "contains", "label": "方法 _default_input_schema" }, { - "id": "edge:fc9bfed0", + "id": "edge:caf88a12", "source": "class:SchemaExtractTool", "target": "func:SchemaExtractTool._default_output_schema", "type": "contains", "label": "方法 _default_output_schema" }, { - "id": "edge:1a99ddb9", + "id": "edge:6e29b4e7", "source": "class:SchemaExtractTool", "target": "func:SchemaExtractTool._is_url", "type": "contains", "label": "方法 _is_url" }, { - "id": "edge:cefd7782", + "id": "edge:3857b842", "source": "class:SchemaExtractTool", "target": "func:SchemaExtractTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:100fb303", + "id": "edge:bbc1a5a6", "source": "file:src/agentkit/tools/schema_tools.py", "target": "class:SchemaGenerateTool", "type": "contains", "label": "定义类 SchemaGenerateTool" }, { - "id": "edge:a558773a", + "id": "edge:f3c52e61", "source": "class:SchemaGenerateTool", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:f7bd31af", + "id": "edge:b56808a6", "source": "class:SchemaGenerateTool", "target": "func:SchemaGenerateTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8dd9fdf9", + "id": "edge:210bbf40", "source": "class:SchemaGenerateTool", "target": "func:SchemaGenerateTool._default_input_schema", "type": "contains", "label": "方法 _default_input_schema" }, { - "id": "edge:96b9cdef", + "id": "edge:f9fb05f7", "source": "class:SchemaGenerateTool", "target": "func:SchemaGenerateTool._default_output_schema", "type": "contains", "label": "方法 _default_output_schema" }, { - "id": "edge:70d22e21", + "id": "edge:4db2e1f6", "source": "class:SchemaGenerateTool", "target": "func:SchemaGenerateTool._generate_manual", "type": "contains", "label": "方法 _generate_manual" }, { - "id": "edge:29cd6675", + "id": "edge:bccb72a6", "source": "class:SchemaGenerateTool", "target": "func:SchemaGenerateTool._generate_with_schemaorg", "type": "contains", "label": "方法 _generate_with_schemaorg" }, { - "id": "edge:984476f2", + "id": "edge:f0a8c6d0", "source": "class:SchemaGenerateTool", "target": "func:SchemaGenerateTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:73ad39c0", + "id": "edge:322a8924", "source": "file:src/agentkit/tools/shell.py", "target": "class:ShellTool", "type": "contains", "label": "定义类 ShellTool" }, { - "id": "edge:8fe84fb5", + "id": "edge:0e2253c2", "source": "class:ShellTool", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:a362268b", + "id": "edge:ead6d248", "source": "class:ShellTool", "target": "func:ShellTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:06936dab", + "id": "edge:ddc6cee1", "source": "class:ShellTool", "target": "func:ShellTool._default_input_schema", "type": "contains", "label": "方法 _default_input_schema" }, { - "id": "edge:726c0e3d", + "id": "edge:443c5501", "source": "class:ShellTool", "target": "func:ShellTool._default_output_schema", "type": "contains", "label": "方法 _default_output_schema" }, { - "id": "edge:e8d23c45", + "id": "edge:29721a3d", "source": "class:ShellTool", "target": "func:ShellTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:8e6a6586", + "id": "edge:c8d1fcac", "source": "class:ShellTool", "target": "func:ShellTool._execute_standalone", "type": "contains", "label": "方法 _execute_standalone" }, { - "id": "edge:0ec0b04d", + "id": "edge:66c002ac", "source": "class:ShellTool", "target": "func:ShellTool._execute_in_session", "type": "contains", "label": "方法 _execute_in_session" }, { - "id": "edge:d00dce01", + "id": "edge:e1915bc1", "source": "class:ShellTool", "target": "func:ShellTool._execute_with_pty", "type": "contains", "label": "方法 _execute_with_pty" }, { - "id": "edge:f48d722a", + "id": "edge:5999426b", "source": "class:ShellTool", "target": "func:ShellTool._is_dangerous", "type": "contains", "label": "方法 _is_dangerous" }, { - "id": "edge:40f97213", + "id": "edge:dc6ffa0d", "source": "class:ShellTool", "target": "func:ShellTool._is_single_command_dangerous", "type": "contains", "label": "方法 _is_single_command_dangerous" }, { - "id": "edge:e84b0b4c", + "id": "edge:fdafc997", "source": "class:ShellTool", "target": "func:ShellTool._request_confirmation", "type": "contains", "label": "方法 _request_confirmation" }, { - "id": "edge:49e1b48c", + "id": "edge:6431f56c", "source": "class:ShellTool", "target": "func:ShellTool._log_audit", "type": "contains", "label": "方法 _log_audit" }, { - "id": "edge:36c25aab", + "id": "edge:6540d888", "source": "class:ShellTool", "target": "func:ShellTool.session_manager", "type": "contains", "label": "方法 session_manager" }, { - "id": "edge:3110856d", + "id": "edge:4f700662", "source": "class:ShellTool", "target": "func:ShellTool.audit_log", "type": "contains", "label": "方法 audit_log" }, { - "id": "edge:8d34b3e5", + "id": "edge:e055472c", "source": "file:src/agentkit/tools/skill_install.py", "target": "class:SkillInstallTool", "type": "contains", "label": "定义类 SkillInstallTool" }, { - "id": "edge:34c89006", + "id": "edge:1808bee6", "source": "class:SkillInstallTool", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:00cdd3aa", + "id": "edge:d313ed12", "source": "class:SkillInstallTool", "target": "func:SkillInstallTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:3f6fff81", + "id": "edge:8e9d1a29", "source": "class:SkillInstallTool", "target": "func:SkillInstallTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:ac415f5e", + "id": "edge:f8be4d76", "source": "class:SkillInstallTool", "target": "func:SkillInstallTool._try_register_skill", "type": "contains", "label": "方法 _try_register_skill" }, { - "id": "edge:e7c59979", + "id": "edge:19d1f2f9", "source": "file:src/agentkit/tools/terminal_session.py", "target": "class:CommandRecord", "type": "contains", "label": "定义类 CommandRecord" }, { - "id": "edge:4d7b1d56", + "id": "edge:26f44b4b", "source": "file:src/agentkit/tools/terminal_session.py", "target": "class:TerminalSession", "type": "contains", "label": "定义类 TerminalSession" }, { - "id": "edge:65651d7f", + "id": "edge:96c6c4f0", "source": "class:TerminalSession", "target": "func:TerminalSession.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:f4ba33b8", + "id": "edge:9ab35014", "source": "class:TerminalSession", "target": "func:TerminalSession.cwd", "type": "contains", "label": "方法 cwd" }, { - "id": "edge:915231f9", + "id": "edge:c355b632", "source": "class:TerminalSession", "target": "func:TerminalSession.env", "type": "contains", "label": "方法 env" }, { - "id": "edge:5bc38d61", + "id": "edge:487d8df0", "source": "class:TerminalSession", "target": "func:TerminalSession.history", "type": "contains", "label": "方法 history" }, { - "id": "edge:0dee2d37", + "id": "edge:127cad24", "source": "class:TerminalSession", "target": "func:TerminalSession.created_at", "type": "contains", "label": "方法 created_at" }, { - "id": "edge:483a32a8", + "id": "edge:441dd4f8", "source": "class:TerminalSession", "target": "func:TerminalSession.get_cwd", "type": "contains", "label": "方法 get_cwd" }, { - "id": "edge:91dd467e", + "id": "edge:b85c369b", "source": "class:TerminalSession", "target": "func:TerminalSession.set_cwd", "type": "contains", "label": "方法 set_cwd" }, { - "id": "edge:2b7a653e", + "id": "edge:24050662", "source": "class:TerminalSession", "target": "func:TerminalSession.get_env", "type": "contains", "label": "方法 get_env" }, { - "id": "edge:7253a357", + "id": "edge:519a61b4", "source": "class:TerminalSession", "target": "func:TerminalSession.set_env", "type": "contains", "label": "方法 set_env" }, { - "id": "edge:b50f634a", + "id": "edge:d88acbf8", "source": "class:TerminalSession", "target": "func:TerminalSession.update_env", "type": "contains", "label": "方法 update_env" }, { - "id": "edge:25f22232", + "id": "edge:88bccf3c", "source": "class:TerminalSession", "target": "func:TerminalSession.get_history", "type": "contains", "label": "方法 get_history" }, { - "id": "edge:0eb410a6", + "id": "edge:1bed0d6f", "source": "class:TerminalSession", "target": "func:TerminalSession.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:e5f86022", + "id": "edge:b97829b9", "source": "class:TerminalSession", "target": "func:TerminalSession._build_command", "type": "contains", "label": "方法 _build_command" }, { - "id": "edge:d6ba01ab", + "id": "edge:36c8b89c", "source": "class:TerminalSession", "target": "func:TerminalSession._update_state_after_execution", "type": "contains", "label": "方法 _update_state_after_execution" }, { - "id": "edge:96917e07", + "id": "edge:4fae8d77", "source": "class:TerminalSession", "target": "func:TerminalSession._parse_cd_commands", "type": "contains", "label": "方法 _parse_cd_commands" }, { - "id": "edge:7565d581", + "id": "edge:e70c49a6", "source": "class:TerminalSession", "target": "func:TerminalSession._parse_export_commands", "type": "contains", "label": "方法 _parse_export_commands" }, { - "id": "edge:ed7e9b60", + "id": "edge:c1136535", "source": "class:TerminalSession", "target": "func:TerminalSession._add_history", "type": "contains", "label": "方法 _add_history" }, { - "id": "edge:b8b5d8a4", + "id": "edge:d622fc27", "source": "class:TerminalSession", "target": "func:TerminalSession.close", "type": "contains", "label": "方法 close" }, { - "id": "edge:e2effc8b", + "id": "edge:db00ce56", "source": "file:src/agentkit/tools/terminal_session.py", "target": "class:TerminalSessionManager", "type": "contains", "label": "定义类 TerminalSessionManager" }, { - "id": "edge:b359adf9", + "id": "edge:d07fa191", "source": "class:TerminalSessionManager", "target": "func:TerminalSessionManager.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:aca75a75", + "id": "edge:3e2d47b0", "source": "class:TerminalSessionManager", "target": "func:TerminalSessionManager.get_or_create", "type": "contains", "label": "方法 get_or_create" }, { - "id": "edge:e9bbde4a", + "id": "edge:ed83ced9", "source": "class:TerminalSessionManager", "target": "func:TerminalSessionManager.get", "type": "contains", "label": "方法 get" }, { - "id": "edge:481a6432", + "id": "edge:128e3e73", "source": "class:TerminalSessionManager", "target": "func:TerminalSessionManager.remove", "type": "contains", "label": "方法 remove" }, { - "id": "edge:3601877b", + "id": "edge:7d630241", "source": "class:TerminalSessionManager", "target": "func:TerminalSessionManager.list_sessions", "type": "contains", "label": "方法 list_sessions" }, { - "id": "edge:61e559a6", + "id": "edge:46cc02c6", "source": "class:TerminalSessionManager", "target": "func:TerminalSessionManager.has_session", "type": "contains", "label": "方法 has_session" }, { - "id": "edge:d218bbf7", + "id": "edge:34866eb0", "source": "class:TerminalSessionManager", "target": "func:TerminalSessionManager.close_all", "type": "contains", "label": "方法 close_all" }, { - "id": "edge:afd78926", + "id": "edge:21f0dc3d", "source": "file:src/agentkit/tools/web_crawl.py", "target": "class:WebCrawlTool", "type": "contains", "label": "定义类 WebCrawlTool" }, { - "id": "edge:bf886771", + "id": "edge:6955c168", "source": "class:WebCrawlTool", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:cc810bf9", + "id": "edge:2442816f", "source": "class:WebCrawlTool", "target": "func:WebCrawlTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:8615914e", + "id": "edge:0a19cc06", "source": "class:WebCrawlTool", "target": "func:WebCrawlTool._default_input_schema", "type": "contains", "label": "方法 _default_input_schema" }, { - "id": "edge:0340d445", + "id": "edge:d334aada", "source": "class:WebCrawlTool", "target": "func:WebCrawlTool._default_output_schema", "type": "contains", "label": "方法 _default_output_schema" }, { - "id": "edge:79331b1f", + "id": "edge:e740909d", "source": "class:WebCrawlTool", "target": "func:WebCrawlTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:4185b858", + "id": "edge:64987c14", "source": "file:src/agentkit/tools/web_search.py", "target": "class:WebSearchTool", "type": "contains", "label": "定义类 WebSearchTool" }, { - "id": "edge:40d33f60", + "id": "edge:89024f58", "source": "class:WebSearchTool", "target": "class:Tool", "type": "extends", "label": "继承 Tool" }, { - "id": "edge:5359bf0f", + "id": "edge:1f170d63", "source": "class:WebSearchTool", "target": "func:WebSearchTool.__init__", "type": "contains", "label": "方法 __init__" }, { - "id": "edge:d2e99b5e", + "id": "edge:bce65ad2", "source": "class:WebSearchTool", "target": "func:WebSearchTool._default_input_schema", "type": "contains", "label": "方法 _default_input_schema" }, { - "id": "edge:e82082a5", + "id": "edge:a389c9c1", "source": "class:WebSearchTool", "target": "func:WebSearchTool._default_output_schema", "type": "contains", "label": "方法 _default_output_schema" }, { - "id": "edge:898ed4b2", + "id": "edge:6ed9a1b4", "source": "class:WebSearchTool", "target": "func:WebSearchTool.execute", "type": "contains", "label": "方法 execute" }, { - "id": "edge:54f1380c", + "id": "edge:d4cd0534", "source": "class:WebSearchTool", "target": "func:WebSearchTool._search_tavily", "type": "contains", "label": "方法 _search_tavily" }, { - "id": "edge:ca87c37d", + "id": "edge:c42b0dc9", "source": "class:WebSearchTool", "target": "func:WebSearchTool._search_serper", "type": "contains", "label": "方法 _search_serper" }, { - "id": "edge:aefb8982", + "id": "edge:52bd7900", "source": "class:WebSearchTool", "target": "func:WebSearchTool._search_duckduckgo", "type": "contains", "label": "方法 _search_duckduckgo" }, { - "id": "edge:728f9727", + "id": "edge:7e9e214e", "source": "class:WebSearchTool", "target": "func:WebSearchTool._contains_cjk", "type": "contains", "label": "方法 _contains_cjk" }, { - "id": "edge:dda8912f", + "id": "edge:3003239e", "source": "class:WebSearchTool", "target": "func:WebSearchTool._cjk_to_english_hint", "type": "contains", "label": "方法 _cjk_to_english_hint" }, { - "id": "edge:72d4f49d", + "id": "edge:b0bc8c66", "source": "class:WebSearchTool", "target": "func:WebSearchTool._search_duckduckgo_html", "type": "contains", "label": "方法 _search_duckduckgo_html" }, { - "id": "edge:90a0e27e", + "id": "edge:78bfb581", "source": "class:WebSearchTool", "target": "func:WebSearchTool._search_duckduckgo_instant", "type": "contains", "label": "方法 _search_duckduckgo_instant" }, { - "id": "edge:1637f15e", + "id": "edge:cc400901", "source": "class:WebSearchTool", "target": "func:WebSearchTool._search_bing", "type": "contains", "label": "方法 _search_bing" }, { - "id": "edge:81e46d5f", + "id": "edge:a69c6b13", "source": "class:WebSearchTool", "target": "func:WebSearchTool._parse_bing_html", "type": "contains", "label": "方法 _parse_bing_html" }, { - "id": "edge:c9f48848", + "id": "edge:e2e3bd8b", "source": "class:WebSearchTool", "target": "func:WebSearchTool._parse_duckduckgo_html", "type": "contains", "label": "方法 _parse_duckduckgo_html" }, { - "id": "edge:38295222", + "id": "edge:297efca1", "source": "class:WebSearchTool", "target": "func:WebSearchTool._parse_duckduckgo_html_alt", "type": "contains", "label": "方法 _parse_duckduckgo_html_alt" }, { - "id": "edge:848cb46e", + "id": "edge:5103e908", "source": "file:configs/geo_handlers.py", "target": "func:_internal_headers", "type": "contains", "label": "定义函数 _internal_headers" }, { - "id": "edge:67b47e02", + "id": "edge:1117664a", "source": "file:configs/geo_handlers.py", "target": "func:handle_citation_task", "type": "contains", "label": "定义函数 handle_citation_task" }, { - "id": "edge:1104d283", + "id": "edge:e5d29609", "source": "file:configs/geo_handlers.py", "target": "func:handle_monitor_task", "type": "contains", "label": "定义函数 handle_monitor_task" }, { - "id": "edge:d43f3a0c", + "id": "edge:043f9c68", "source": "file:configs/geo_handlers.py", "target": "func:handle_schema_task", "type": "contains", "label": "定义函数 handle_schema_task" }, { - "id": "edge:6f8f8930", + "id": "edge:dafb2b86", "source": "file:configs/geo_handlers.py", "target": "func:_call_internal", "type": "contains", "label": "定义函数 _call_internal" }, { - "id": "edge:a3ac3fc5", + "id": "edge:e1dd22a9", "source": "file:configs/geo_server.py", "target": "func:_substitute_env_vars", "type": "contains", "label": "定义函数 _substitute_env_vars" }, { - "id": "edge:ae754f0f", + "id": "edge:fd383db0", "source": "file:configs/geo_server.py", "target": "func:_init_llm_gateway", "type": "contains", "label": "定义函数 _init_llm_gateway" }, { - "id": "edge:862689ea", + "id": "edge:9e7b1abf", "source": "file:configs/geo_server.py", "target": "func:_init_tool_registry", "type": "contains", "label": "定义函数 _init_tool_registry" }, { - "id": "edge:27205d95", + "id": "edge:d7fa0859", "source": "file:configs/geo_server.py", "target": "func:_init_skill_registry", "type": "contains", "label": "定义函数 _init_skill_registry" }, { - "id": "edge:b41f498f", + "id": "edge:103416c2", "source": "file:configs/geo_server.py", "target": "func:create_geo_app", "type": "contains", "label": "定义函数 create_geo_app" }, { - "id": "edge:bb884b89", + "id": "edge:1bb22484", "source": "file:configs/geo_tools.py", "target": "func:_internal_headers", "type": "contains", "label": "定义函数 _internal_headers" }, { - "id": "edge:05b4be9d", + "id": "edge:9defcf9f", "source": "file:configs/geo_tools.py", "target": "func:execute_single_platform", "type": "contains", "label": "定义函数 execute_single_platform" }, { - "id": "edge:f699ceed", + "id": "edge:ccc2b2d3", "source": "file:configs/geo_tools.py", "target": "func:get_or_create_task", "type": "contains", "label": "定义函数 get_or_create_task" }, { - "id": "edge:bbf88241", + "id": "edge:9b4f27f4", "source": "file:configs/geo_tools.py", "target": "func:retrieve_knowledge", "type": "contains", "label": "定义函数 retrieve_knowledge" }, { - "id": "edge:85b60cfe", + "id": "edge:f5ff0c90", "source": "file:configs/geo_tools.py", "target": "func:monitor_check_and_compare", "type": "contains", "label": "定义函数 monitor_check_and_compare" }, { - "id": "edge:9f817138", + "id": "edge:3a3ae804", "source": "file:configs/geo_tools.py", "target": "func:monitor_generate_report", "type": "contains", "label": "定义函数 monitor_generate_report" }, { - "id": "edge:4adf721b", + "id": "edge:b320962c", "source": "file:configs/geo_tools.py", "target": "func:monitor_create_record", "type": "contains", "label": "定义函数 monitor_create_record" }, { - "id": "edge:79722fa8", + "id": "edge:73402433", "source": "file:configs/geo_tools.py", "target": "func:fill_schema_with_llm", "type": "contains", "label": "定义函数 fill_schema_with_llm" }, { - "id": "edge:af87a0fb", + "id": "edge:373f1f17", "source": "file:configs/geo_tools.py", "target": "func:identify_missing_dimensions", "type": "contains", "label": "定义函数 identify_missing_dimensions" }, { - "id": "edge:a0c0acef", + "id": "edge:52af2d8e", "source": "file:configs/geo_tools.py", "target": "func:competitor_analyze", "type": "contains", "label": "定义函数 competitor_analyze" }, { - "id": "edge:749aa29c", + "id": "edge:314cb201", "source": "file:configs/geo_tools.py", "target": "func:competitor_gap_analysis", "type": "contains", "label": "定义函数 competitor_gap_analysis" }, { - "id": "edge:04e8200c", + "id": "edge:e0f195bc", "source": "file:configs/geo_tools.py", "target": "func:trend_insight", "type": "contains", "label": "定义函数 trend_insight" }, { - "id": "edge:c19eeeac", + "id": "edge:394541f2", "source": "file:configs/geo_tools.py", "target": "func:trend_hotspot", "type": "contains", "label": "定义函数 trend_hotspot" }, { - "id": "edge:1ba9a1a3", + "id": "edge:7d0c0f9c", "source": "file:configs/geo_tools.py", "target": "func:search_knowledge", "type": "contains", "label": "定义函数 search_knowledge" }, { - "id": "edge:9e953190", + "id": "edge:ff44aa98", "source": "file:configs/geo_tools.py", "target": "func:detect_ai_patterns", "type": "contains", "label": "定义函数 detect_ai_patterns" }, { - "id": "edge:7faef3ff", + "id": "edge:ae202e0b", "source": "file:configs/geo_tools.py", "target": "func:register_geo_tools", "type": "contains", "label": "定义函数 register_geo_tools" }, { - "id": "edge:fe5c6ef2", + "id": "edge:a39370be", "source": "file:src/agentkit/bus/redis_bus.py", "target": "func:create_message_bus", "type": "contains", "label": "定义函数 create_message_bus" }, { - "id": "edge:28c3bb7c", + "id": "edge:52a16449", "source": "file:src/agentkit/chat/skill_routing.py", "target": "func:validate_skill_name", "type": "contains", "label": "定义函数 validate_skill_name" }, { - "id": "edge:4e679258", + "id": "edge:e6ef0239", "source": "file:src/agentkit/chat/skill_routing.py", "target": "func:parse_skill_prefix", "type": "contains", "label": "定义函数 parse_skill_prefix" }, { - "id": "edge:02158f3c", + "id": "edge:613db7e4", "source": "file:src/agentkit/chat/skill_routing.py", "target": "func:build_skill_system_prompt", "type": "contains", "label": "定义函数 build_skill_system_prompt" }, { - "id": "edge:6d52d105", + "id": "edge:501ec945", "source": "file:src/agentkit/chat/skill_routing.py", "target": "func:resolve_skill_routing", "type": "contains", "label": "定义函数 resolve_skill_routing" }, { - "id": "edge:fecfd471", + "id": "edge:7559d5b0", "source": "file:src/agentkit/chat/skill_routing.py", "target": "func:_build_tools_description", "type": "contains", "label": "定义函数 _build_tools_description" }, { - "id": "edge:c7f91fa0", + "id": "edge:af6b95c3", "source": "file:src/agentkit/chat/skill_routing.py", "target": "func:_tokenize_content", "type": "contains", "label": "定义函数 _tokenize_content" }, { - "id": "edge:664023af", + "id": "edge:cf3ce3f3", "source": "file:src/agentkit/cli/chat.py", "target": "func:chat", "type": "contains", "label": "定义函数 chat" }, { - "id": "edge:ba08640c", + "id": "edge:e6f515e2", "source": "file:src/agentkit/cli/chat.py", "target": "func:_chat_async", "type": "contains", "label": "定义函数 _chat_async" }, { - "id": "edge:3b3d2742", + "id": "edge:a208ba84", "source": "file:src/agentkit/cli/chat.py", "target": "func:_extract_search_keys", "type": "contains", "label": "定义函数 _extract_search_keys" }, { - "id": "edge:b138479e", + "id": "edge:af9bbc5b", "source": "file:src/agentkit/cli/chat.py", "target": "func:_build_gateway", "type": "contains", "label": "定义函数 _build_gateway" }, { - "id": "edge:f2c6ef71", + "id": "edge:5ff782bd", "source": "file:src/agentkit/cli/chat.py", "target": "func:_resolve_default_model", "type": "contains", "label": "定义函数 _resolve_default_model" }, { - "id": "edge:d4244ae1", + "id": "edge:a1b49a61", "source": "file:src/agentkit/cli/chat.py", "target": "func:_load_dotenv", "type": "contains", "label": "定义函数 _load_dotenv" }, { - "id": "edge:c7820ca0", + "id": "edge:6d9737a9", "source": "file:src/agentkit/cli/chat.py", "target": "func:_print_help", "type": "contains", "label": "定义函数 _print_help" }, { - "id": "edge:d28bf4fd", + "id": "edge:7b47efe1", "source": "file:src/agentkit/cli/init.py", "target": "func:_write_file", "type": "contains", "label": "定义函数 _write_file" }, { - "id": "edge:7c7be7d9", + "id": "edge:cf06f1d4", "source": "file:src/agentkit/cli/init.py", "target": "func:init", "type": "contains", "label": "定义函数 init" }, { - "id": "edge:d1004a5e", + "id": "edge:36bb46e6", "source": "file:src/agentkit/cli/main.py", "target": "func:gui", "type": "contains", "label": "定义函数 gui" }, { - "id": "edge:320e5a6b", + "id": "edge:35d148b5", "source": "file:src/agentkit/cli/main.py", "target": "func:serve", "type": "contains", "label": "定义函数 serve" }, { - "id": "edge:8442c852", + "id": "edge:cb72f0c7", "source": "file:src/agentkit/cli/main.py", "target": "func:version", "type": "contains", "label": "定义函数 version" }, { - "id": "edge:4701c50a", + "id": "edge:af2fa813", "source": "file:src/agentkit/cli/main.py", "target": "func:doctor", "type": "contains", "label": "定义函数 doctor" }, { - "id": "edge:28815083", + "id": "edge:14c915c4", "source": "file:src/agentkit/cli/onboarding.py", "target": "func:needs_onboarding", "type": "contains", "label": "定义函数 needs_onboarding" }, { - "id": "edge:84ad74ee", + "id": "edge:779fccde", "source": "file:src/agentkit/cli/onboarding.py", "target": "func:run_onboarding", "type": "contains", "label": "定义函数 run_onboarding" }, { - "id": "edge:33a79787", + "id": "edge:b648c960", "source": "file:src/agentkit/cli/pair.py", "target": "func:_generate_api_key", "type": "contains", "label": "定义函数 _generate_api_key" }, { - "id": "edge:ddd18246", + "id": "edge:5142b1de", "source": "file:src/agentkit/cli/pair.py", "target": "func:_load_clients", "type": "contains", "label": "定义函数 _load_clients" }, { - "id": "edge:1d75928e", + "id": "edge:d7dd4885", "source": "file:src/agentkit/cli/pair.py", "target": "func:_save_clients", "type": "contains", "label": "定义函数 _save_clients" }, { - "id": "edge:3723861a", + "id": "edge:46260326", "source": "file:src/agentkit/cli/pair.py", "target": "func:pair", "type": "contains", "label": "定义函数 pair" }, { - "id": "edge:ef1ea432", + "id": "edge:43e681c9", "source": "file:src/agentkit/cli/skill.py", "target": "func:list_skills", "type": "contains", "label": "定义函数 list_skills" }, { - "id": "edge:d0723fd7", + "id": "edge:30943068", "source": "file:src/agentkit/cli/skill.py", "target": "func:load_skill", "type": "contains", "label": "定义函数 load_skill" }, { - "id": "edge:2adb192f", + "id": "edge:23c10d89", "source": "file:src/agentkit/cli/skill.py", "target": "func:skill_create", "type": "contains", "label": "定义函数 skill_create" }, { - "id": "edge:ffaeee74", + "id": "edge:a5c561cc", "source": "file:src/agentkit/cli/skill.py", "target": "func:skill_info", "type": "contains", "label": "定义函数 skill_info" }, { - "id": "edge:7903ad3d", + "id": "edge:004a1640", "source": "file:src/agentkit/cli/task.py", "target": "func:submit", "type": "contains", "label": "定义函数 submit" }, { - "id": "edge:8ddae403", + "id": "edge:6d3da0d1", "source": "file:src/agentkit/cli/task.py", "target": "func:_submit_remote", "type": "contains", "label": "定义函数 _submit_remote" }, { - "id": "edge:5e1a6163", + "id": "edge:16c256bb", "source": "file:src/agentkit/cli/task.py", "target": "func:_submit_local", "type": "contains", "label": "定义函数 _submit_local" }, { - "id": "edge:af164bcf", + "id": "edge:f0b164f8", "source": "file:src/agentkit/cli/task.py", "target": "func:status", "type": "contains", "label": "定义函数 status" }, { - "id": "edge:2851349d", + "id": "edge:cd2951b8", "source": "file:src/agentkit/cli/task.py", "target": "func:list_tasks", "type": "contains", "label": "定义函数 list_tasks" }, { - "id": "edge:7858180a", + "id": "edge:76a06924", "source": "file:src/agentkit/cli/task.py", "target": "func:cancel", "type": "contains", "label": "定义函数 cancel" }, { - "id": "edge:8efc3180", + "id": "edge:50ea14aa", "source": "file:src/agentkit/cli/usage.py", "target": "func:usage", "type": "contains", "label": "定义函数 usage" }, { - "id": "edge:f81834b8", + "id": "edge:54b3f1e5", "source": "file:src/agentkit/core/compressor.py", "target": "func:create_compressor", "type": "contains", "label": "定义函数 create_compressor" }, { - "id": "edge:0a73674b", + "id": "edge:bd8ca06d", "source": "file:src/agentkit/core/compressor.py", "target": "func:render_cached", "type": "contains", "label": "定义函数 render_cached" }, { - "id": "edge:b3487b0b", + "id": "edge:70b6241c", "source": "file:src/agentkit/core/compressor.py", "target": "func:clear_cache", "type": "contains", "label": "定义函数 clear_cache" }, { - "id": "edge:98d01d95", + "id": "edge:6f111c15", "source": "file:src/agentkit/core/dispatcher.py", "target": "func:_validate_callback_url", "type": "contains", "label": "定义函数 _validate_callback_url" }, { - "id": "edge:380da046", + "id": "edge:20ba29fd", "source": "file:src/agentkit/core/headroom_compressor.py", "target": "func:_is_json_content", "type": "contains", "label": "定义函数 _is_json_content" }, { - "id": "edge:a1167675", + "id": "edge:17e7f28b", "source": "file:src/agentkit/core/headroom_compressor.py", "target": "func:_is_code_content", "type": "contains", "label": "定义函数 _is_code_content" }, { - "id": "edge:300d9958", + "id": "edge:dc43e70e", "source": "file:src/agentkit/core/logging.py", "target": "func:setup_structured_logging", "type": "contains", "label": "定义函数 setup_structured_logging" }, { - "id": "edge:c1a35f35", + "id": "edge:356e3581", "source": "file:src/agentkit/core/logging.py", "target": "func:get_logger", "type": "contains", "label": "定义函数 get_logger" }, { - "id": "edge:4d29d670", + "id": "edge:faf0c7e8", "source": "file:src/agentkit/core/standalone.py", "target": "func:main", "type": "contains", "label": "定义函数 main" }, { - "id": "edge:4832f3c7", + "id": "edge:f860d57d", "source": "file:src/agentkit/evolution/evolution_store.py", "target": "func:create_evolution_store", "type": "contains", "label": "定义函数 create_evolution_store" }, { - "id": "edge:09bef76a", + "id": "edge:4d45adda", "source": "file:src/agentkit/evolution/experience_store.py", "target": "func:_parse_time_window", "type": "contains", "label": "定义函数 _parse_time_window" }, { - "id": "edge:b1c608ad", + "id": "edge:cdd620e5", + "source": "file:src/agentkit/evolution/pg_store.py", + "target": "func:_utcnow", + "type": "contains", + "label": "定义函数 _utcnow" + }, + { + "id": "edge:5d15f992", "source": "file:src/agentkit/evolution/pitfall_detector.py", "target": "func:_compute_name_similarity", "type": "contains", "label": "定义函数 _compute_name_similarity" }, { - "id": "edge:4f5b5151", + "id": "edge:638a44ab", "source": "file:src/agentkit/evolution/pitfall_detector.py", "target": "func:_extract_keywords", "type": "contains", "label": "定义函数 _extract_keywords" }, { - "id": "edge:272c1d97", + "id": "edge:2d79b183", "source": "file:src/agentkit/evolution/pitfall_detector.py", "target": "func:_determine_warning_level", "type": "contains", "label": "定义函数 _determine_warning_level" }, { - "id": "edge:29a4a839", + "id": "edge:0c62a8a7", "source": "file:src/agentkit/evolution/pitfall_detector.py", "target": "func:_warning_level_order", "type": "contains", "label": "定义函数 _warning_level_order" }, { - "id": "edge:7ba700bf", + "id": "edge:1918592c", "source": "file:src/agentkit/evolution/pitfall_detector.py", "target": "func:_build_suggestion", "type": "contains", "label": "定义函数 _build_suggestion" }, { - "id": "edge:f21ad735", + "id": "edge:397411ad", "source": "file:src/agentkit/evolution/prompt_optimizer.py", "target": "func:create_prompt_optimizer", "type": "contains", "label": "定义函数 create_prompt_optimizer" }, { - "id": "edge:6d785875", + "id": "edge:8691ba24", + "source": "file:src/agentkit/llm/cache.py", + "target": "func:_serialize_response", + "type": "contains", + "label": "定义函数 _serialize_response" + }, + { + "id": "edge:605318b7", + "source": "file:src/agentkit/llm/cache.py", + "target": "func:_deserialize_response", + "type": "contains", + "label": "定义函数 _deserialize_response" + }, + { + "id": "edge:1bce0345", + "source": "file:src/agentkit/llm/cache.py", + "target": "func:_serialize_entry", + "type": "contains", + "label": "定义函数 _serialize_entry" + }, + { + "id": "edge:7a547fee", + "source": "file:src/agentkit/llm/cache.py", + "target": "func:_deserialize_entry", + "type": "contains", + "label": "定义函数 _deserialize_entry" + }, + { + "id": "edge:cf901f67", + "source": "file:src/agentkit/llm/cache.py", + "target": "func:create_llm_cache", + "type": "contains", + "label": "定义函数 create_llm_cache" + }, + { + "id": "edge:3666faa3", + "source": "file:src/agentkit/llm/cache_key.py", + "target": "func:generate_cache_key", + "type": "contains", + "label": "定义函数 generate_cache_key" + }, + { + "id": "edge:467fe6a0", + "source": "file:src/agentkit/llm/cache_key.py", + "target": "func:_extract_system_prompt", + "type": "contains", + "label": "定义函数 _extract_system_prompt" + }, + { + "id": "edge:8272b825", + "source": "file:src/agentkit/llm/cache_key.py", + "target": "func:_hash_str", + "type": "contains", + "label": "定义函数 _hash_str" + }, + { + "id": "edge:69ecc2ef", + "source": "file:src/agentkit/llm/cache_key.py", + "target": "func:_hash_json", + "type": "contains", + "label": "定义函数 _hash_json" + }, + { + "id": "edge:8fa15e64", + "source": "file:src/agentkit/llm/providers/usage_store.py", + "target": "func:create_usage_store", + "type": "contains", + "label": "定义函数 create_usage_store" + }, + { + "id": "edge:90b9a543", "source": "file:src/agentkit/llm/retry.py", "target": "func:_is_retryable_error", "type": "contains", "label": "定义函数 _is_retryable_error" }, { - "id": "edge:016260d4", + "id": "edge:2fd99a2e", "source": "file:src/agentkit/memory/adapters/confluence.py", "target": "func:_escape_cql", "type": "contains", "label": "定义函数 _escape_cql" }, { - "id": "edge:e365db72", + "id": "edge:8cffbf9a", "source": "file:src/agentkit/memory/document_loader.py", "target": "func:_detect_format", "type": "contains", "label": "定义函数 _detect_format" }, { - "id": "edge:457b936b", + "id": "edge:e63b18cf", "source": "file:src/agentkit/memory/local_rag.py", "target": "func:_loader_doc_to_kb_doc", "type": "contains", "label": "定义函数 _loader_doc_to_kb_doc" }, { - "id": "edge:8841fa0c", + "id": "edge:c7b2294b", "source": "file:src/agentkit/memory/models.py", "target": "func:create_episodic_session_factory", "type": "contains", "label": "定义函数 create_episodic_session_factory" }, { - "id": "edge:25e7ad5f", + "id": "edge:7f53a88f", "source": "file:src/agentkit/memory/models.py", "target": "func:ensure_episodic_table", "type": "contains", "label": "定义函数 ensure_episodic_table" }, { - "id": "edge:e1548e26", + "id": "edge:34a292f4", "source": "file:src/agentkit/memory/multi_source_retriever.py", "target": "func:_content_hash", "type": "contains", "label": "定义函数 _content_hash" }, { - "id": "edge:e8cdc699", + "id": "edge:389b5d7e", "source": "file:src/agentkit/memory/query_transformer.py", "target": "func:create_query_transformer", "type": "contains", "label": "定义函数 create_query_transformer" }, { - "id": "edge:c5f0b341", + "id": "edge:cb4b93d2", "source": "file:src/agentkit/memory/retriever.py", "target": "func:_estimate_tokens", "type": "contains", "label": "定义函数 _estimate_tokens" }, { - "id": "edge:aa69d628", + "id": "edge:83fc63e7", "source": "file:src/agentkit/orchestrator/retry.py", "target": "func:execute_with_retry", "type": "contains", "label": "定义函数 execute_with_retry" }, { - "id": "edge:dcea38d5", + "id": "edge:310220bc", + "source": "file:src/agentkit/quality/cascade_state_store.py", + "target": "func:create_cascade_state_store", + "type": "contains", + "label": "定义函数 create_cascade_state_store" + }, + { + "id": "edge:221ecd78", "source": "file:src/agentkit/server/app.py", "target": "func:_build_llm_gateway", "type": "contains", "label": "定义函数 _build_llm_gateway" }, { - "id": "edge:96b47c86", + "id": "edge:19063754", "source": "file:src/agentkit/server/app.py", "target": "func:_build_skill_registry", "type": "contains", "label": "定义函数 _build_skill_registry" }, { - "id": "edge:378be43a", + "id": "edge:dcc93a12", "source": "file:src/agentkit/server/app.py", "target": "func:lifespan", "type": "contains", "label": "定义函数 lifespan" }, { - "id": "edge:28674149", + "id": "edge:7e3a30bc", "source": "file:src/agentkit/server/app.py", "target": "func:_on_config_change", "type": "contains", "label": "定义函数 _on_config_change" }, { - "id": "edge:64718367", + "id": "edge:7a1d96af", "source": "file:src/agentkit/server/app.py", "target": "func:create_app", "type": "contains", "label": "定义函数 create_app" }, { - "id": "edge:2d5e645c", + "id": "edge:0b4e48c3", "source": "file:src/agentkit/server/config.py", "target": "func:_resolve_env_vars", "type": "contains", "label": "定义函数 _resolve_env_vars" }, { - "id": "edge:2b38c86d", + "id": "edge:2e3b09df", "source": "file:src/agentkit/server/config.py", "target": "func:_deep_resolve", "type": "contains", "label": "定义函数 _deep_resolve" }, { - "id": "edge:c907c106", + "id": "edge:fa64dcbe", "source": "file:src/agentkit/server/config.py", "target": "func:find_config_path", "type": "contains", "label": "定义函数 find_config_path" }, { - "id": "edge:2e97e84d", + "id": "edge:75112588", "source": "file:src/agentkit/server/middleware.py", "target": "func:_load_client_keys", "type": "contains", "label": "定义函数 _load_client_keys" }, { - "id": "edge:13be585e", + "id": "edge:db535d7d", "source": "file:src/agentkit/server/routes/agents.py", "target": "func:_get_pool", "type": "contains", "label": "定义函数 _get_pool" }, { - "id": "edge:2fa61c71", + "id": "edge:fd2da126", "source": "file:src/agentkit/server/routes/agents.py", "target": "func:_get_skill_registry", "type": "contains", "label": "定义函数 _get_skill_registry" }, { - "id": "edge:a2bce01c", + "id": "edge:899be584", "source": "file:src/agentkit/server/routes/agents.py", "target": "func:create_agent", "type": "contains", "label": "定义函数 create_agent" }, { - "id": "edge:6e55fc45", + "id": "edge:3b40fe61", "source": "file:src/agentkit/server/routes/agents.py", "target": "func:list_agents", "type": "contains", "label": "定义函数 list_agents" }, { - "id": "edge:04dce750", + "id": "edge:6c0c1d62", "source": "file:src/agentkit/server/routes/agents.py", "target": "func:get_agent", "type": "contains", "label": "定义函数 get_agent" }, { - "id": "edge:ae51251a", + "id": "edge:abd0c0c5", "source": "file:src/agentkit/server/routes/agents.py", "target": "func:delete_agent", "type": "contains", "label": "定义函数 delete_agent" }, { - "id": "edge:2565cf20", + "id": "edge:ef808d20", "source": "file:src/agentkit/server/routes/chat.py", "target": "func:_get_session_manager", "type": "contains", "label": "定义函数 _get_session_manager" }, { - "id": "edge:fbd1cd5c", + "id": "edge:503fce57", "source": "file:src/agentkit/server/routes/chat.py", "target": "func:_session_to_response", "type": "contains", "label": "定义函数 _session_to_response" }, { - "id": "edge:99ba4405", + "id": "edge:9852a7ea", "source": "file:src/agentkit/server/routes/chat.py", "target": "func:_message_to_response", "type": "contains", "label": "定义函数 _message_to_response" }, { - "id": "edge:9cce8a44", + "id": "edge:09821956", "source": "file:src/agentkit/server/routes/chat.py", "target": "func:list_sessions", "type": "contains", "label": "定义函数 list_sessions" }, { - "id": "edge:e88bf2a6", + "id": "edge:5f27cef6", "source": "file:src/agentkit/server/routes/chat.py", "target": "func:create_session", "type": "contains", "label": "定义函数 create_session" }, { - "id": "edge:d2e59fba", + "id": "edge:48e60255", "source": "file:src/agentkit/server/routes/chat.py", "target": "func:get_session", "type": "contains", "label": "定义函数 get_session" }, { - "id": "edge:7020f135", + "id": "edge:6050e885", "source": "file:src/agentkit/server/routes/chat.py", "target": "func:get_messages", "type": "contains", "label": "定义函数 get_messages" }, { - "id": "edge:2237a7d9", + "id": "edge:62f6b597", "source": "file:src/agentkit/server/routes/chat.py", "target": "func:send_message", "type": "contains", "label": "定义函数 send_message" }, { - "id": "edge:4c933796", + "id": "edge:b659ab9d", "source": "file:src/agentkit/server/routes/chat.py", "target": "func:close_session", "type": "contains", "label": "定义函数 close_session" }, { - "id": "edge:0ac71efd", + "id": "edge:13c4be75", "source": "file:src/agentkit/server/routes/chat.py", "target": "func:chat_websocket", "type": "contains", "label": "定义函数 chat_websocket" }, { - "id": "edge:b93ed359", + "id": "edge:d5cf8477", "source": "file:src/agentkit/server/routes/chat.py", "target": "func:_handle_chat_message", "type": "contains", "label": "定义函数 _handle_chat_message" }, { - "id": "edge:a2489a2e", + "id": "edge:0902a064", "source": "file:src/agentkit/server/routes/evolution.py", "target": "func:_get_evolution_store", "type": "contains", "label": "定义函数 _get_evolution_store" }, { - "id": "edge:b6d0a31e", + "id": "edge:dcce880c", "source": "file:src/agentkit/server/routes/evolution.py", "target": "func:list_evolution_events", "type": "contains", "label": "定义函数 list_evolution_events" }, { - "id": "edge:70e3078a", + "id": "edge:fdb3ed51", "source": "file:src/agentkit/server/routes/evolution.py", "target": "func:get_skill_versions", "type": "contains", "label": "定义函数 get_skill_versions" }, { - "id": "edge:1ddcbc0a", + "id": "edge:fec9b2de", "source": "file:src/agentkit/server/routes/evolution.py", "target": "func:trigger_evolution", "type": "contains", "label": "定义函数 trigger_evolution" }, { - "id": "edge:4a088390", + "id": "edge:d9435a36", "source": "file:src/agentkit/server/routes/evolution.py", "target": "func:list_ab_tests", "type": "contains", "label": "定义函数 list_ab_tests" }, { - "id": "edge:11198ded", + "id": "edge:817ea75f", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:_verify_api_key", "type": "contains", "label": "定义函数 _verify_api_key" }, { - "id": "edge:0e4acb39", + "id": "edge:48a97aa4", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:_get_experience_store", "type": "contains", "label": "定义函数 _get_experience_store" }, { - "id": "edge:99ebe42e", + "id": "edge:6d7bf5a4", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:_get_pitfall_detector", "type": "contains", "label": "定义函数 _get_pitfall_detector" }, { - "id": "edge:f0fa3c1c", + "id": "edge:0e2c6d36", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:_get_path_optimizer", "type": "contains", "label": "定义函数 _get_path_optimizer" }, { - "id": "edge:4881d90f", + "id": "edge:2715e3bf", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:list_experiences", "type": "contains", "label": "定义函数 list_experiences" }, { - "id": "edge:efb33982", + "id": "edge:0c5b1615", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:record_experience", "type": "contains", "label": "定义函数 record_experience" }, { - "id": "edge:eef414d8", + "id": "edge:cc035440", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:get_metrics", "type": "contains", "label": "定义函数 get_metrics" }, { - "id": "edge:df59ffee", + "id": "edge:b9020acb", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:_generate_trends", "type": "contains", "label": "定义函数 _generate_trends" }, { - "id": "edge:413b50dc", + "id": "edge:02da28b0", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:_compute_metrics_from_memory", "type": "contains", "label": "定义函数 _compute_metrics_from_memory" }, { - "id": "edge:3ec608a6", + "id": "edge:d6578000", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:get_usage", "type": "contains", "label": "定义函数 get_usage" }, { - "id": "edge:4e5a36b2", + "id": "edge:019a628e", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:check_pitfalls", "type": "contains", "label": "定义函数 check_pitfalls" }, { - "id": "edge:f6d4437b", + "id": "edge:c082e9fc", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:list_path_optimizations", "type": "contains", "label": "定义函数 list_path_optimizations" }, { - "id": "edge:ad10b567", + "id": "edge:52e680ba", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:record_path_optimization", "type": "contains", "label": "定义函数 record_path_optimization" }, { - "id": "edge:4bd62d91", + "id": "edge:4d5794d4", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:evolution_dashboard_ws", "type": "contains", "label": "定义函数 evolution_dashboard_ws" }, { - "id": "edge:0feb7ae1", + "id": "edge:f6d0c82f", "source": "file:src/agentkit/server/routes/evolution_dashboard.py", "target": "func:_broadcast_event", "type": "contains", "label": "定义函数 _broadcast_event" }, { - "id": "edge:1f82cafe", + "id": "edge:30d52eb8", "source": "file:src/agentkit/server/routes/health.py", "target": "func:health_check", "type": "contains", "label": "定义函数 health_check" }, { - "id": "edge:5e08b3e7", + "id": "edge:a5b0fb07", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "func:_verify_api_key", "type": "contains", "label": "定义函数 _verify_api_key" }, { - "id": "edge:89580d1f", + "id": "edge:efb20955", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "func:list_sources", "type": "contains", "label": "定义函数 list_sources" }, { - "id": "edge:89ee5e0d", + "id": "edge:a55d31ec", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "func:add_source", "type": "contains", "label": "定义函数 add_source" }, { - "id": "edge:aa2f5827", + "id": "edge:51d5f6c4", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "func:remove_source", "type": "contains", "label": "定义函数 remove_source" }, { - "id": "edge:1d56efdd", + "id": "edge:3dd2a1b5", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "func:sync_source", "type": "contains", "label": "定义函数 sync_source" }, { - "id": "edge:8527ce27", + "id": "edge:4c3a43e5", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "func:update_source", "type": "contains", "label": "定义函数 update_source" }, { - "id": "edge:b38755fa", + "id": "edge:f90f8dd4", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "func:list_documents", "type": "contains", "label": "定义函数 list_documents" }, { - "id": "edge:7565f937", + "id": "edge:23294b93", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "func:delete_document", "type": "contains", "label": "定义函数 delete_document" }, { - "id": "edge:326fc607", + "id": "edge:5bc51ddc", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "func:upload_document", "type": "contains", "label": "定义函数 upload_document" }, { - "id": "edge:7bcc9e0b", + "id": "edge:7216ab0b", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "func:search_knowledge", "type": "contains", "label": "定义函数 search_knowledge" }, { - "id": "edge:9e024698", + "id": "edge:e0b874c9", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "func:check_source_health", "type": "contains", "label": "定义函数 check_source_health" }, { - "id": "edge:d8b76ab7", + "id": "edge:f99a173c", "source": "file:src/agentkit/server/routes/llm.py", "target": "func:get_usage", "type": "contains", "label": "定义函数 get_usage" }, { - "id": "edge:eaed78be", + "id": "edge:98d76eae", "source": "file:src/agentkit/server/routes/memory.py", "target": "func:_get_memory_retriever", "type": "contains", "label": "定义函数 _get_memory_retriever" }, { - "id": "edge:1f9ca114", + "id": "edge:d24cc57e", "source": "file:src/agentkit/server/routes/memory.py", "target": "func:search_episodic_memory", "type": "contains", "label": "定义函数 search_episodic_memory" }, { - "id": "edge:f0616af9", + "id": "edge:e058b9e2", "source": "file:src/agentkit/server/routes/memory.py", "target": "func:search_semantic_memory", "type": "contains", "label": "定义函数 search_semantic_memory" }, { - "id": "edge:03e8e02b", + "id": "edge:cece465c", "source": "file:src/agentkit/server/routes/memory.py", "target": "func:delete_episodic_memory", "type": "contains", "label": "定义函数 delete_episodic_memory" }, { - "id": "edge:d8597e15", + "id": "edge:7b2e076c", "source": "file:src/agentkit/server/routes/metrics.py", "target": "func:get_metrics", "type": "contains", "label": "定义函数 get_metrics" }, { - "id": "edge:6585d091", + "id": "edge:f46c540a", "source": "file:src/agentkit/server/routes/portal.py", "target": "func:_verify_api_key", "type": "contains", "label": "定义函数 _verify_api_key" }, { - "id": "edge:10d69557", + "id": "edge:83b13e64", "source": "file:src/agentkit/server/routes/portal.py", "target": "func:_resolve_for_chat", "type": "contains", "label": "定义函数 _resolve_for_chat" }, { - "id": "edge:c99d4084", + "id": "edge:ddb1124b", "source": "file:src/agentkit/server/routes/portal.py", "target": "func:chat", "type": "contains", "label": "定义函数 chat" }, { - "id": "edge:744bbe75", + "id": "edge:26b16423", "source": "file:src/agentkit/server/routes/portal.py", "target": "func:chat_stream", "type": "contains", "label": "定义函数 chat_stream" }, { - "id": "edge:66d9af21", + "id": "edge:f0ece387", "source": "file:src/agentkit/server/routes/portal.py", "target": "func:get_capabilities", "type": "contains", "label": "定义函数 get_capabilities" }, { - "id": "edge:d00ce103", + "id": "edge:b2ecb73e", "source": "file:src/agentkit/server/routes/portal.py", "target": "func:list_conversations", "type": "contains", "label": "定义函数 list_conversations" }, { - "id": "edge:c5f75d80", + "id": "edge:fee85906", "source": "file:src/agentkit/server/routes/portal.py", "target": "func:_derive_conversation_title", "type": "contains", "label": "定义函数 _derive_conversation_title" }, { - "id": "edge:f23a88f8", + "id": "edge:bd14e0cd", "source": "file:src/agentkit/server/routes/portal.py", "target": "func:get_conversation", "type": "contains", "label": "定义函数 get_conversation" }, { - "id": "edge:c6801601", + "id": "edge:512e5f1d", "source": "file:src/agentkit/server/routes/portal.py", "target": "func:portal_websocket", "type": "contains", "label": "定义函数 portal_websocket" }, { - "id": "edge:99b2a845", + "id": "edge:7dce23db", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:_mask_api_key", "type": "contains", "label": "定义函数 _mask_api_key" }, { - "id": "edge:8d8d5f6e", + "id": "edge:28f68de6", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:_read_yaml_config", "type": "contains", "label": "定义函数 _read_yaml_config" }, { - "id": "edge:512f4d18", + "id": "edge:d136d9ad", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:_write_yaml_config", "type": "contains", "label": "定义函数 _write_yaml_config" }, { - "id": "edge:6f3a61ab", + "id": "edge:ab71f977", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:_get_config_path", "type": "contains", "label": "定义函数 _get_config_path" }, { - "id": "edge:bc7bd9a1", + "id": "edge:b6c137ba", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:get_llm_settings", "type": "contains", "label": "定义函数 get_llm_settings" }, { - "id": "edge:f45409b9", + "id": "edge:b96de3b7", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:update_llm_settings", "type": "contains", "label": "定义函数 update_llm_settings" }, { - "id": "edge:f8e34fab", + "id": "edge:fbbc7e39", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:get_skills_settings", "type": "contains", "label": "定义函数 get_skills_settings" }, { - "id": "edge:6f63c0d6", + "id": "edge:76f9a71a", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:update_skills_settings", "type": "contains", "label": "定义函数 update_skills_settings" }, { - "id": "edge:9e074726", + "id": "edge:2a4ce43d", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:get_kb_settings", "type": "contains", "label": "定义函数 get_kb_settings" }, { - "id": "edge:03145c55", + "id": "edge:1100c554", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:update_kb_settings", "type": "contains", "label": "定义函数 update_kb_settings" }, { - "id": "edge:fd3090c2", + "id": "edge:40e1767d", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:get_general_settings", "type": "contains", "label": "定义函数 get_general_settings" }, { - "id": "edge:094a8973", + "id": "edge:76d0c20d", "source": "file:src/agentkit/server/routes/settings.py", "target": "func:update_general_settings", "type": "contains", "label": "定义函数 update_general_settings" }, { - "id": "edge:df15d627", + "id": "edge:3c823488", "source": "file:src/agentkit/server/routes/skill_management.py", "target": "func:_skill_to_info", "type": "contains", "label": "定义函数 _skill_to_info" }, { - "id": "edge:1e74cbcf", + "id": "edge:fa04ae80", "source": "file:src/agentkit/server/routes/skill_management.py", "target": "func:_skill_to_detail", "type": "contains", "label": "定义函数 _skill_to_detail" }, { - "id": "edge:eb4a3fa7", + "id": "edge:048b0a0d", "source": "file:src/agentkit/server/routes/skill_management.py", "target": "func:list_skills", "type": "contains", "label": "定义函数 list_skills" }, { - "id": "edge:0b89bf66", + "id": "edge:cd7d6158", "source": "file:src/agentkit/server/routes/skill_management.py", "target": "func:get_skill_detail", "type": "contains", "label": "定义函数 get_skill_detail" }, { - "id": "edge:bc843f9c", + "id": "edge:b6aeb9bc", "source": "file:src/agentkit/server/routes/skill_management.py", "target": "func:check_skill_health", "type": "contains", "label": "定义函数 check_skill_health" }, { - "id": "edge:c4866957", + "id": "edge:8935f4ec", "source": "file:src/agentkit/server/routes/skill_management.py", "target": "func:list_capabilities", "type": "contains", "label": "定义函数 list_capabilities" }, { - "id": "edge:caa0960c", + "id": "edge:bce75c41", "source": "file:src/agentkit/server/routes/skill_management.py", "target": "func:reload_skill", "type": "contains", "label": "定义函数 reload_skill" }, { - "id": "edge:49ad0fcb", + "id": "edge:ffe20f1c", "source": "file:src/agentkit/server/routes/skills.py", "target": "func:_validate_skill_name", "type": "contains", "label": "定义函数 _validate_skill_name" }, { - "id": "edge:c46cede6", + "id": "edge:8ba8bbdd", "source": "file:src/agentkit/server/routes/skills.py", "target": "func:_get_skills_dir", "type": "contains", "label": "定义函数 _get_skills_dir" }, { - "id": "edge:bd22ce98", + "id": "edge:c97c90c8", "source": "file:src/agentkit/server/routes/skills.py", "target": "func:_validate_source_url", "type": "contains", "label": "定义函数 _validate_source_url" }, { - "id": "edge:423c7ad0", + "id": "edge:273aed2e", "source": "file:src/agentkit/server/routes/skills.py", "target": "func:_validate_yaml_content", "type": "contains", "label": "定义函数 _validate_yaml_content" }, { - "id": "edge:c479c53b", + "id": "edge:a0c0820c", "source": "file:src/agentkit/server/routes/skills.py", "target": "func:register_skill", "type": "contains", "label": "定义函数 register_skill" }, { - "id": "edge:e4df51a3", + "id": "edge:555bdd65", "source": "file:src/agentkit/server/routes/skills.py", "target": "func:list_skills", "type": "contains", "label": "定义函数 list_skills" }, { - "id": "edge:9aa5f9eb", + "id": "edge:7b280ff1", + "source": "file:src/agentkit/server/routes/skills.py", + "target": "func:mention_suggest", + "type": "contains", + "label": "定义函数 mention_suggest" + }, + { + "id": "edge:45f60531", "source": "file:src/agentkit/server/routes/skills.py", "target": "func:install_skill", "type": "contains", "label": "定义函数 install_skill" }, { - "id": "edge:09b5e4da", + "id": "edge:f957f390", "source": "file:src/agentkit/server/routes/skills.py", "target": "func:uninstall_skill", "type": "contains", "label": "定义函数 uninstall_skill" }, { - "id": "edge:3209be7a", + "id": "edge:ec0e12c4", "source": "file:src/agentkit/server/routes/skills.py", "target": "func:create_pipeline", "type": "contains", "label": "定义函数 create_pipeline" }, { - "id": "edge:4212078b", + "id": "edge:dfee1216", "source": "file:src/agentkit/server/routes/skills.py", "target": "func:list_pipelines", "type": "contains", "label": "定义函数 list_pipelines" }, { - "id": "edge:b6de8b93", + "id": "edge:4f298f95", "source": "file:src/agentkit/server/routes/skills.py", "target": "func:execute_pipeline", "type": "contains", "label": "定义函数 execute_pipeline" }, { - "id": "edge:4910a42e", + "id": "edge:785f15d4", "source": "file:src/agentkit/server/routes/tasks.py", "target": "func:_validate_input_size", "type": "contains", "label": "定义函数 _validate_input_size" }, { - "id": "edge:2a675282", + "id": "edge:92cbde97", "source": "file:src/agentkit/server/routes/tasks.py", "target": "func:list_tasks", "type": "contains", "label": "定义函数 list_tasks" }, { - "id": "edge:5e8b5f5f", + "id": "edge:023b3bd5", "source": "file:src/agentkit/server/routes/tasks.py", "target": "func:submit_task", "type": "contains", "label": "定义函数 submit_task" }, { - "id": "edge:5fae5d42", + "id": "edge:43c86db6", "source": "file:src/agentkit/server/routes/tasks.py", "target": "func:get_task_status", "type": "contains", "label": "定义函数 get_task_status" }, { - "id": "edge:62752bd7", + "id": "edge:279e8e91", "source": "file:src/agentkit/server/routes/tasks.py", "target": "func:cancel_task", "type": "contains", "label": "定义函数 cancel_task" }, { - "id": "edge:ec33c6e6", + "id": "edge:d21bbc3b", "source": "file:src/agentkit/server/routes/tasks.py", "target": "func:stream_task", "type": "contains", "label": "定义函数 stream_task" }, { - "id": "edge:95f9157d", + "id": "edge:5b152b75", "source": "file:src/agentkit/server/routes/terminal.py", "target": "func:_get_or_create_session", "type": "contains", "label": "定义函数 _get_or_create_session" }, { - "id": "edge:50a6404f", + "id": "edge:32c7447a", "source": "file:src/agentkit/server/routes/terminal.py", "target": "func:_cleanup_session", "type": "contains", "label": "定义函数 _cleanup_session" }, { - "id": "edge:359f4460", + "id": "edge:0eb52f59", "source": "file:src/agentkit/server/routes/terminal.py", "target": "func:_is_single_command_dangerous", "type": "contains", "label": "定义函数 _is_single_command_dangerous" }, { - "id": "edge:bf653383", + "id": "edge:97185303", "source": "file:src/agentkit/server/routes/terminal.py", "target": "func:_is_dangerous", "type": "contains", "label": "定义函数 _is_dangerous" }, { - "id": "edge:868ad543", + "id": "edge:885d0d31", "source": "file:src/agentkit/server/routes/terminal.py", "target": "func:_check_command_safety", "type": "contains", "label": "定义函数 _check_command_safety" }, { - "id": "edge:62ca3d54", + "id": "edge:aa900a10", "source": "file:src/agentkit/server/routes/terminal.py", "target": "func:execute_command", "type": "contains", "label": "定义函数 execute_command" }, { - "id": "edge:a00cf8e6", + "id": "edge:a49e88cb", "source": "file:src/agentkit/server/routes/terminal.py", "target": "func:list_sessions", "type": "contains", "label": "定义函数 list_sessions" }, { - "id": "edge:ac7f6b17", + "id": "edge:13706074", "source": "file:src/agentkit/server/routes/terminal.py", "target": "func:get_session_history", "type": "contains", "label": "定义函数 get_session_history" }, { - "id": "edge:4bbf1693", + "id": "edge:23300d24", "source": "file:src/agentkit/server/routes/terminal.py", "target": "func:close_session", "type": "contains", "label": "定义函数 close_session" }, { - "id": "edge:0c2ad79f", + "id": "edge:8a826a0c", "source": "file:src/agentkit/server/routes/terminal.py", "target": "func:terminal_websocket", "type": "contains", "label": "定义函数 terminal_websocket" }, { - "id": "edge:32e6d736", + "id": "edge:69887839", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:_verify_api_key", "type": "contains", "label": "定义函数 _verify_api_key" }, { - "id": "edge:d1627850", + "id": "edge:f049f07c", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:_ws_subscribe", "type": "contains", "label": "定义函数 _ws_subscribe" }, { - "id": "edge:5793965d", + "id": "edge:b9d8d501", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:_ws_unsubscribe", "type": "contains", "label": "定义函数 _ws_unsubscribe" }, { - "id": "edge:cb4118c1", + "id": "edge:fdc9e57f", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:_get_store", "type": "contains", "label": "定义函数 _get_store" }, { - "id": "edge:c7413070", + "id": "edge:15b7dbc7", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:_validate_workflow_stages", "type": "contains", "label": "定义函数 _validate_workflow_stages" }, { - "id": "edge:43263764", + "id": "edge:73cf11c8", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:_execute_workflow", "type": "contains", "label": "定义函数 _execute_workflow" }, { - "id": "edge:bca6bbfe", + "id": "edge:a8639dc2", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:_evaluate_condition", "type": "contains", "label": "定义函数 _evaluate_condition" }, { - "id": "edge:f1e30263", + "id": "edge:362c64e9", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:_broadcast_ws", "type": "contains", "label": "定义函数 _broadcast_ws" }, { - "id": "edge:38b0a330", + "id": "edge:1c4847df", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:list_workflows", "type": "contains", "label": "定义函数 list_workflows" }, { - "id": "edge:76284b23", + "id": "edge:c81b16c0", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:create_workflow", "type": "contains", "label": "定义函数 create_workflow" }, { - "id": "edge:0fce1373", + "id": "edge:cd079fb7", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:get_workflow", "type": "contains", "label": "定义函数 get_workflow" }, { - "id": "edge:4beaa741", + "id": "edge:9ae7a9d6", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:list_workflow_executions", "type": "contains", "label": "定义函数 list_workflow_executions" }, { - "id": "edge:560b6bc4", + "id": "edge:18485a25", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:update_workflow", "type": "contains", "label": "定义函数 update_workflow" }, { - "id": "edge:0974e432", + "id": "edge:ef4dc41a", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:delete_workflow", "type": "contains", "label": "定义函数 delete_workflow" }, { - "id": "edge:b029197b", + "id": "edge:8fcc82b8", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:execute_workflow", "type": "contains", "label": "定义函数 execute_workflow" }, { - "id": "edge:46f494c0", + "id": "edge:326ddc19", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:get_execution", "type": "contains", "label": "定义函数 get_execution" }, { - "id": "edge:5d70a747", + "id": "edge:0af32eb7", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:approve_execution", "type": "contains", "label": "定义函数 approve_execution" }, { - "id": "edge:6aa262bc", + "id": "edge:02947532", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:cancel_execution", "type": "contains", "label": "定义函数 cancel_execution" }, { - "id": "edge:0b4c747e", + "id": "edge:b4567dcd", "source": "file:src/agentkit/server/routes/workflows.py", "target": "func:workflow_websocket", "type": "contains", "label": "定义函数 workflow_websocket" }, { - "id": "edge:a0d82d1f", + "id": "edge:79db027d", "source": "file:src/agentkit/server/routes/ws.py", "target": "func:_authenticate", "type": "contains", "label": "定义函数 _authenticate" }, { - "id": "edge:e931a4fa", + "id": "edge:fce5872f", "source": "file:src/agentkit/server/routes/ws.py", "target": "func:task_websocket", "type": "contains", "label": "定义函数 task_websocket" }, { - "id": "edge:8da9dc52", + "id": "edge:f815e713", "source": "file:src/agentkit/server/routes/ws.py", "target": "func:_resolve_agent", "type": "contains", "label": "定义函数 _resolve_agent" }, { - "id": "edge:a76cdaf0", + "id": "edge:c8995e9f", "source": "file:src/agentkit/server/routes/ws.py", "target": "func:_run_react_and_stream", "type": "contains", "label": "定义函数 _run_react_and_stream" }, { - "id": "edge:24d184a4", + "id": "edge:e720ad68", "source": "file:src/agentkit/server/routes/ws.py", "target": "func:_listen_client_messages", "type": "contains", "label": "定义函数 _listen_client_messages" }, { - "id": "edge:4abf5d2d", + "id": "edge:4b033255", "source": "file:src/agentkit/server/task_store.py", "target": "func:create_task_store", "type": "contains", "label": "定义函数 create_task_store" }, { - "id": "edge:5efba9d4", + "id": "edge:f46aa9fc", "source": "file:src/agentkit/server/task_store.py", "target": "func:_sanitize_redis_url", "type": "contains", "label": "定义函数 _sanitize_redis_url" }, { - "id": "edge:8dfde61f", + "id": "edge:bef554da", "source": "file:src/agentkit/session/store.py", "target": "func:create_session_store", "type": "contains", "label": "定义函数 create_session_store" }, { - "id": "edge:792ff066", + "id": "edge:8f38bbca", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "func:create_geo_pipeline_steps", "type": "contains", "label": "定义函数 create_geo_pipeline_steps" }, { - "id": "edge:4b1e3487", + "id": "edge:62a5c176", "source": "file:src/agentkit/telemetry/metrics.py", "target": "func:get_meter", "type": "contains", "label": "定义函数 get_meter" }, { - "id": "edge:b9c5b00d", + "id": "edge:56c13ee4", "source": "file:src/agentkit/telemetry/metrics.py", "target": "func:_get_counter", "type": "contains", "label": "定义函数 _get_counter" }, { - "id": "edge:46882b28", + "id": "edge:b5e16b45", "source": "file:src/agentkit/telemetry/metrics.py", "target": "func:_get_histogram", "type": "contains", "label": "定义函数 _get_histogram" }, { - "id": "edge:28315975", + "id": "edge:2e047db1", "source": "file:src/agentkit/telemetry/metrics.py", "target": "func:agent_request_counter", "type": "contains", "label": "定义函数 agent_request_counter" }, { - "id": "edge:3c27a2f2", + "id": "edge:6197db0f", "source": "file:src/agentkit/telemetry/metrics.py", "target": "func:agent_duration_histogram", "type": "contains", "label": "定义函数 agent_duration_histogram" }, { - "id": "edge:5c3b735b", + "id": "edge:e4f6842a", "source": "file:src/agentkit/telemetry/metrics.py", "target": "func:llm_token_histogram", "type": "contains", "label": "定义函数 llm_token_histogram" }, { - "id": "edge:c0ecfae2", + "id": "edge:cb60ed3a", "source": "file:src/agentkit/telemetry/metrics.py", "target": "func:tool_duration_histogram", "type": "contains", "label": "定义函数 tool_duration_histogram" }, { - "id": "edge:2b2d1232", + "id": "edge:80cbf793", "source": "file:src/agentkit/telemetry/metrics.py", "target": "func:pipeline_step_histogram", "type": "contains", "label": "定义函数 pipeline_step_histogram" }, { - "id": "edge:07c3e22a", + "id": "edge:1210aff1", "source": "file:src/agentkit/telemetry/setup.py", "target": "func:setup_telemetry", "type": "contains", "label": "定义函数 setup_telemetry" }, { - "id": "edge:1b0b1de5", + "id": "edge:c4c7b7ae", "source": "file:src/agentkit/telemetry/tracer.py", "target": "func:get_tracer", "type": "contains", "label": "定义函数 get_tracer" }, { - "id": "edge:92988f77", + "id": "edge:c2eab756", "source": "file:src/agentkit/telemetry/tracer.py", "target": "func:init_telemetry", "type": "contains", "label": "定义函数 init_telemetry" }, { - "id": "edge:48cd5101", + "id": "edge:906dd67c", "source": "file:src/agentkit/telemetry/tracing.py", "target": "func:get_tracer", "type": "contains", "label": "定义函数 get_tracer" }, { - "id": "edge:0a1cf7a6", + "id": "edge:9a064814", "source": "file:src/agentkit/telemetry/tracing.py", "target": "func:start_span", "type": "contains", "label": "定义函数 start_span" }, { - "id": "edge:3c812766", + "id": "edge:46ca4bcd", "source": "file:src/agentkit/telemetry/tracing.py", "target": "func:trace_agent", "type": "contains", "label": "定义函数 trace_agent" }, { - "id": "edge:dee4e06e", + "id": "edge:c3be5ca5", "source": "file:src/agentkit/telemetry/tracing.py", "target": "func:trace_tool", "type": "contains", "label": "定义函数 trace_tool" }, { - "id": "edge:ec45c30b", + "id": "edge:7dddab8e", "source": "file:src/agentkit/telemetry/tracing.py", "target": "func:trace_llm", "type": "contains", "label": "定义函数 trace_llm" }, { - "id": "edge:edfceddc", + "id": "edge:ef08cb06", "source": "file:src/agentkit/telemetry/tracing.py", "target": "func:trace_pipeline_step", "type": "contains", "label": "定义函数 trace_pipeline_step" }, { - "id": "edge:c7f74d0b", + "id": "edge:01db69cb", "source": "file:src/agentkit/utils/security.py", "target": "func:is_safe_url", "type": "contains", "label": "定义函数 is_safe_url" }, { - "id": "edge:59dd5ab1", + "id": "edge:b118e33e", "source": "file:src/agentkit/utils/security.py", "target": "func:_is_unsafe_ip", "type": "contains", "label": "定义函数 _is_unsafe_ip" }, { - "id": "edge:7611e31a", + "id": "edge:5906386c", "source": "file:src/agentkit/utils/security.py", "target": "func:is_safe_url_async", "type": "contains", "label": "定义函数 is_safe_url_async" }, { - "id": "edge:396fc39b", + "id": "edge:59e5972e", "source": "file:src/agentkit/utils/vector_math.py", "target": "func:compute_cosine_similarity", "type": "contains", "label": "定义函数 compute_cosine_similarity" }, { - "id": "edge:8d0954b8", + "id": "edge:e7135e79", "source": "file:configs/geo_handlers.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:8fe1373c", + "id": "edge:44258658", "source": "file:configs/geo_server.py", "target": "file:src/agentkit/core/agent_pool.py", "type": "imports", "label": "导入 AgentPool" }, { - "id": "edge:eb993e45", + "id": "edge:8ccb1c35", "source": "file:configs/geo_server.py", "target": "file:src/agentkit/llm/config.py", "type": "imports", "label": "导入 LLMConfig" }, { - "id": "edge:211a3e9b", + "id": "edge:d04e3a9e", "source": "file:configs/geo_server.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:3c9dac5e", + "id": "edge:f960fe13", "source": "file:configs/geo_server.py", "target": "file:src/agentkit/llm/providers/openai.py", "type": "imports", "label": "导入 OpenAICompatibleProvider" }, { - "id": "edge:a654afc6", + "id": "edge:922aae2d", "source": "file:configs/geo_server.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityGate" }, { - "id": "edge:c5d58516", + "id": "edge:7d892d53", "source": "file:configs/geo_server.py", "target": "file:src/agentkit/quality/output.py", "type": "imports", "label": "导入 OutputStandardizer" }, { - "id": "edge:81c6d863", + "id": "edge:89f21c49", "source": "file:configs/geo_server.py", "target": "file:src/agentkit/router/intent.py", "type": "imports", "label": "导入 IntentRouter" }, { - "id": "edge:6030c1de", + "id": "edge:6170007c", "source": "file:configs/geo_server.py", "target": "file:src/agentkit/server/app.py", "type": "imports", "label": "导入 create_app" }, { - "id": "edge:e6754e12", + "id": "edge:6612091d", "source": "file:configs/geo_server.py", "target": "file:src/agentkit/skills/loader.py", "type": "imports", "label": "导入 SkillLoader" }, { - "id": "edge:326604cd", + "id": "edge:3fd5ee18", "source": "file:configs/geo_server.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:72584436", + "id": "edge:5c41a593", "source": "file:configs/geo_server.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:1a82804e", + "id": "edge:1f5982f7", "source": "file:configs/geo_server.py", "target": "file:configs/geo_tools.py", "type": "imports", "label": "导入 register_geo_tools" }, { - "id": "edge:9389c489", + "id": "edge:bc17cee6", "source": "file:configs/geo_tools.py", "target": "file:src/agentkit/tools/function_tool.py", "type": "imports", "label": "导入 FunctionTool" }, { - "id": "edge:ea058603", + "id": "edge:f1e081c5", "source": "file:configs/geo_tools.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:8e64b77e", + "id": "edge:7afb228d", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/base.py", "type": "imports", "label": "导入 BaseAgent" }, { - "id": "edge:7e149f70", + "id": "edge:ecac19b7", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 AgentConfig" }, { - "id": "edge:be849581", + "id": "edge:3dd9c1b5", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 ConfigDrivenAgent" }, { - "id": "edge:2a69161a", + "id": "edge:4352a727", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 AgentCapability" }, { - "id": "edge:f006da46", + "id": "edge:075fad4a", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 AgentStatus" }, { - "id": "edge:d3984611", + "id": "edge:524e9361", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 HandoffMessage" }, { - "id": "edge:ebd1e482", + "id": "edge:1fee03da", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:20c486ca", + "id": "edge:9a1c5ae1", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskProgress" }, { - "id": "edge:90ad7760", + "id": "edge:9f7a39e1", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskResult" }, { - "id": "edge:d11c54a3", + "id": "edge:20bbb630", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:8885e991", + "id": "edge:f2916dcd", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEngine" }, { - "id": "edge:28242c32", + "id": "edge:c6a844ac", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActResult" }, { - "id": "edge:4a3dc053", + "id": "edge:a970d41f", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActStep" }, { - "id": "edge:c2c7b478", + "id": "edge:9aca1b58", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:cdc9cdf0", + "id": "edge:3e92a9e8", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMProvider" }, { - "id": "edge:1beca61a", + "id": "edge:dee6170b", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMRequest" }, { - "id": "edge:c24b052e", + "id": "edge:594ef329", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:52a7a716", + "id": "edge:d2944da3", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 TokenUsage" }, { - "id": "edge:da6a201a", + "id": "edge:04fd54f0", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 ToolCall" }, { - "id": "edge:10242231", + "id": "edge:0d49de28", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:8a06452c", + "id": "edge:977f1800", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 SkillConfig" }, { - "id": "edge:ee9c2e3c", + "id": "edge:dcb71927", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 IntentConfig" }, { - "id": "edge:7d1c2222", + "id": "edge:3d8674cd", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 QualityGateConfig" }, { - "id": "edge:005d50a9", + "id": "edge:89eb1b51", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:e90b0000", + "id": "edge:86cf04ff", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/router/intent.py", "type": "imports", "label": "导入 IntentRouter" }, { - "id": "edge:97f260f1", + "id": "edge:f5a59b93", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/router/intent.py", "type": "imports", "label": "导入 RoutingResult" }, { - "id": "edge:b628bc96", + "id": "edge:2946d1ef", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityGate" }, { - "id": "edge:f2645c5e", + "id": "edge:15e87383", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityResult" }, { - "id": "edge:20223ca3", + "id": "edge:7cf97cd3", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityCheck" }, { - "id": "edge:a2f50cb7", + "id": "edge:8b63ebc4", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/quality/output.py", "type": "imports", "label": "导入 OutputStandardizer" }, { - "id": "edge:09f4a238", + "id": "edge:4ac53583", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/quality/output.py", "type": "imports", "label": "导入 StandardOutput" }, { - "id": "edge:b6e3b3ce", + "id": "edge:7feb49e9", "source": "file:src/agentkit/__init__.py", "target": "file:src/agentkit/quality/output.py", "type": "imports", "label": "导入 OutputMetadata" }, { - "id": "edge:512b8130", + "id": "edge:feb5bf2f", "source": "file:src/agentkit/__main__.py", "target": "file:src/agentkit/cli/main.py", "type": "imports", "label": "导入 app" }, { - "id": "edge:959206e8", + "id": "edge:dc00611f", "source": "file:src/agentkit/bus/__init__.py", "target": "file:src/agentkit/bus/message.py", "type": "imports", "label": "导入 AgentMessage" }, { - "id": "edge:47dcb559", + "id": "edge:d4f84752", "source": "file:src/agentkit/bus/__init__.py", "target": "file:src/agentkit/bus/interface.py", "type": "imports", "label": "导入 MessageBus" }, { - "id": "edge:bc7982b1", + "id": "edge:ddc38b65", "source": "file:src/agentkit/bus/__init__.py", "target": "file:src/agentkit/bus/protocol.py", "type": "imports", "label": "导入 MessageBus" }, { - "id": "edge:95047c9a", + "id": "edge:0b021f61", "source": "file:src/agentkit/bus/__init__.py", "target": "file:src/agentkit/bus/memory_bus.py", "type": "imports", "label": "导入 InMemoryMessageBus" }, { - "id": "edge:c689db95", + "id": "edge:8f6d0848", "source": "file:src/agentkit/bus/__init__.py", "target": "file:src/agentkit/bus/redis_bus.py", "type": "imports", "label": "导入 RedisMessageBus" }, { - "id": "edge:cddb865b", + "id": "edge:a4b7cbb1", "source": "file:src/agentkit/bus/__init__.py", "target": "file:src/agentkit/bus/redis_bus.py", "type": "imports", "label": "导入 create_message_bus" }, { - "id": "edge:85c17f21", + "id": "edge:869377d7", "source": "file:src/agentkit/bus/interface.py", "target": "file:src/agentkit/bus/message.py", "type": "imports", "label": "导入 AgentMessage" }, { - "id": "edge:ec770026", + "id": "edge:c889bd4c", "source": "file:src/agentkit/bus/memory_bus.py", "target": "file:src/agentkit/bus/message.py", "type": "imports", "label": "导入 AgentMessage" }, { - "id": "edge:5a07daa1", + "id": "edge:54616906", "source": "file:src/agentkit/bus/protocol.py", "target": "file:src/agentkit/bus/message.py", "type": "imports", "label": "导入 AgentMessage" }, { - "id": "edge:795cea1c", + "id": "edge:2a846fa5", "source": "file:src/agentkit/bus/redis_bus.py", "target": "file:src/agentkit/bus/message.py", "type": "imports", "label": "导入 AgentMessage" }, { - "id": "edge:bf730b6a", + "id": "edge:1f9d57d5", "source": "file:src/agentkit/bus/redis_bus.py", "target": "file:src/agentkit/bus/memory_bus.py", "type": "imports", "label": "导入 InMemoryMessageBus" }, { - "id": "edge:c5d5723d", + "id": "edge:48bded33", + "source": "file:src/agentkit/chat/semantic_router.py", + "target": "file:src/agentkit/memory/embedder.py", + "type": "imports", + "label": "导入 Embedder" + }, + { + "id": "edge:1d1d6fcd", + "source": "file:src/agentkit/chat/semantic_router.py", + "target": "file:src/agentkit/memory/embedder.py", + "type": "imports", + "label": "导入 EmbeddingCache" + }, + { + "id": "edge:ac9c9c9f", + "source": "file:src/agentkit/chat/semantic_router.py", + "target": "file:src/agentkit/utils/vector_math.py", + "type": "imports", + "label": "导入 compute_cosine_similarity" + }, + { + "id": "edge:1e9da62e", "source": "file:src/agentkit/chat/skill_routing.py", "target": "file:src/agentkit/marketplace/auction.py", "type": "imports", "label": "导入 AuctionHouse" }, { - "id": "edge:2e963eca", + "id": "edge:b7ee0a30", "source": "file:src/agentkit/chat/skill_routing.py", "target": "file:src/agentkit/marketplace/auction.py", "type": "imports", "label": "导入 Bid" }, { - "id": "edge:32d0b8bf", + "id": "edge:674e9689", "source": "file:src/agentkit/chat/skill_routing.py", "target": "file:src/agentkit/telemetry/tracer.py", "type": "imports", "label": "导入 get_tracer" }, { - "id": "edge:ba276769", + "id": "edge:641190fa", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/cli/onboarding.py", "type": "imports", "label": "导入 run_onboarding" }, { - "id": "edge:af5e6831", + "id": "edge:5237be67", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/server/config.py", "type": "imports", "label": "导入 ServerConfig" }, { - "id": "edge:00be1e46", + "id": "edge:2c0adc8d", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/server/config.py", "type": "imports", "label": "导入 find_config_path" }, { - "id": "edge:76bde917", + "id": "edge:ab63631a", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/session/manager.py", "type": "imports", "label": "导入 SessionManager" }, { - "id": "edge:adf5fa27", + "id": "edge:6a5f4b0f", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/session/store.py", "type": "imports", "label": "导入 InMemorySessionStore" }, { - "id": "edge:71e7416f", + "id": "edge:3f55bcc8", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 MessageRole" }, { - "id": "edge:f325541d", + "id": "edge:fdb5d639", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEngine" }, { - "id": "edge:b8d5ebf8", + "id": "edge:f1dc7881", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:d36e943e", + "id": "edge:868101e8", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/memory/profile.py", "type": "imports", "label": "导入 MemoryStore" }, { - "id": "edge:a20beacc", + "id": "edge:f87bb7b8", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/tools/memory_tool.py", "type": "imports", "label": "导入 MemoryTool" }, { - "id": "edge:7991e95b", + "id": "edge:b84d09dc", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/tools/shell.py", "type": "imports", "label": "导入 ShellTool" }, { - "id": "edge:cc603724", + "id": "edge:8218daff", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/tools/web_search.py", "type": "imports", "label": "导入 WebSearchTool" }, { - "id": "edge:588a3d01", + "id": "edge:4f23cce5", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/tools/web_crawl.py", "type": "imports", "label": "导入 WebCrawlTool" }, { - "id": "edge:9ba0e5dc", + "id": "edge:f2beb4df", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:b36729aa", + "id": "edge:e19a4e79", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:392d7371", + "id": "edge:0c579745", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/skills/loader.py", "type": "imports", "label": "导入 SkillLoader" }, { - "id": "edge:1f317475", + "id": "edge:4df7cdd8", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/router/intent.py", "type": "imports", "label": "导入 IntentRouter" }, { - "id": "edge:4cf3eca7", + "id": "edge:e9a1bf2f", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:b84ecb35", + "id": "edge:1a17c4f4", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/llm/providers/anthropic.py", "type": "imports", "label": "导入 AnthropicProvider" }, { - "id": "edge:01438a14", + "id": "edge:1055b391", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/llm/providers/gemini.py", "type": "imports", "label": "导入 GeminiProvider" }, { - "id": "edge:52429f46", + "id": "edge:1c967a75", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/llm/providers/openai.py", "type": "imports", "label": "导入 OpenAICompatibleProvider" }, { - "id": "edge:456982a1", + "id": "edge:14e8e59b", "source": "file:src/agentkit/cli/chat.py", "target": "file:src/agentkit/chat/skill_routing.py", "type": "imports", "label": "导入 resolve_skill_routing" }, { - "id": "edge:f4e32933", + "id": "edge:624b806a", "source": "file:src/agentkit/cli/init.py", "target": "file:src/agentkit/cli/templates.py", "type": "imports", "label": "导入 AGENTKIT_YAML" }, { - "id": "edge:69efc675", + "id": "edge:85167e90", "source": "file:src/agentkit/cli/init.py", "target": "file:src/agentkit/cli/templates.py", "type": "imports", "label": "导入 ENV_EXAMPLE" }, { - "id": "edge:7a8f67d1", + "id": "edge:f4046614", "source": "file:src/agentkit/cli/init.py", "target": "file:src/agentkit/cli/templates.py", "type": "imports", "label": "导入 DOCKER_COMPOSE" }, { - "id": "edge:64c8f466", + "id": "edge:487de815", "source": "file:src/agentkit/cli/init.py", "target": "file:src/agentkit/cli/templates.py", "type": "imports", "label": "导入 EXAMPLE_SKILL" }, { - "id": "edge:43811b29", + "id": "edge:1b3e95ae", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/cli/task.py", "type": "imports", "label": "导入 task_app" }, { - "id": "edge:55c519f9", + "id": "edge:b68544b7", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/cli/skill.py", "type": "imports", "label": "导入 skill_app" }, { - "id": "edge:7fe6dcaf", + "id": "edge:eb2c6d5e", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/cli/init.py", "type": "imports", "label": "导入 init" }, { - "id": "edge:e7c5a6db", + "id": "edge:7f749c4c", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/cli/usage.py", "type": "imports", "label": "导入 usage" }, { - "id": "edge:14a9f0ea", + "id": "edge:e9adc83e", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/cli/pair.py", "type": "imports", "label": "导入 pair" }, { - "id": "edge:be18b5e9", + "id": "edge:996647f3", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/cli/chat.py", "type": "imports", "label": "导入 chat" }, { - "id": "edge:55995dc0", + "id": "edge:a81d6e60", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/server/config.py", "type": "imports", "label": "导入 ServerConfig" }, { - "id": "edge:611ad5e8", + "id": "edge:5b582bc5", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/server/config.py", "type": "imports", "label": "导入 find_config_path" }, { - "id": "edge:c34e9c9b", + "id": "edge:39136050", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/cli/onboarding.py", "type": "imports", "label": "导入 run_onboarding" }, { - "id": "edge:83d9803b", + "id": "edge:1f3e1227", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/server/app.py", "type": "imports", "label": "导入 create_app" }, { - "id": "edge:98a43270", + "id": "edge:f27d1398", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/server/config.py", "type": "imports", "label": "导入 ServerConfig" }, { - "id": "edge:d41ee0ec", + "id": "edge:b9437edb", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/server/config.py", "type": "imports", "label": "导入 find_config_path" }, { - "id": "edge:7d65ed30", + "id": "edge:29d713bb", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/cli/onboarding.py", "type": "imports", "label": "导入 needs_onboarding" }, { - "id": "edge:eb856d9c", + "id": "edge:cf637fa1", "source": "file:src/agentkit/cli/main.py", "target": "file:src/agentkit/cli/onboarding.py", "type": "imports", "label": "导入 run_onboarding" }, { - "id": "edge:cd8a477f", + "id": "edge:6296b7b7", "source": "file:src/agentkit/cli/onboarding.py", "target": "file:src/agentkit/server/config.py", "type": "imports", "label": "导入 find_config_path" }, { - "id": "edge:e9cdd749", + "id": "edge:c97f258e", "source": "file:src/agentkit/cli/onboarding.py", "target": "file:src/agentkit/memory/profile.py", "type": "imports", "label": "导入 MemoryStore" }, { - "id": "edge:5d34f283", + "id": "edge:b3c1979c", "source": "file:src/agentkit/cli/skill.py", "target": "file:src/agentkit/skills/loader.py", "type": "imports", "label": "导入 SkillLoader" }, { - "id": "edge:1d560e0c", + "id": "edge:66b184b8", "source": "file:src/agentkit/cli/skill.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:6db4ae97", + "id": "edge:4f1a79db", "source": "file:src/agentkit/cli/skill.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:e4985524", + "id": "edge:296971c2", "source": "file:src/agentkit/cli/skill.py", "target": "file:src/agentkit/skills/loader.py", "type": "imports", "label": "导入 SkillLoader" }, { - "id": "edge:bdd73dca", + "id": "edge:83b0a497", "source": "file:src/agentkit/cli/skill.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:32e51a89", + "id": "edge:6fde2354", "source": "file:src/agentkit/cli/skill.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:a3ac0bfd", + "id": "edge:f1d5673d", "source": "file:src/agentkit/cli/skill.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:9c0ec683", + "id": "edge:572d8f82", "source": "file:src/agentkit/cli/task.py", "target": "file:src/agentkit/server/client.py", "type": "imports", "label": "导入 AgentKitClient" }, { - "id": "edge:2623c028", + "id": "edge:855c6668", "source": "file:src/agentkit/cli/task.py", "target": "file:src/agentkit/server/config.py", "type": "imports", "label": "导入 ServerConfig" }, { - "id": "edge:d24df1f9", + "id": "edge:d8988844", "source": "file:src/agentkit/cli/task.py", "target": "file:src/agentkit/server/config.py", "type": "imports", "label": "导入 find_config_path" }, { - "id": "edge:f73bea8a", + "id": "edge:f3076b0e", "source": "file:src/agentkit/cli/task.py", "target": "file:src/agentkit/server/app.py", "type": "imports", "label": "导入 create_app" }, { - "id": "edge:82b53894", + "id": "edge:7e9d17a6", "source": "file:src/agentkit/cli/task.py", "target": "file:src/agentkit/server/client.py", "type": "imports", "label": "导入 AgentKitClient" }, { - "id": "edge:b80a716d", + "id": "edge:0993d7ef", "source": "file:src/agentkit/cli/task.py", "target": "file:src/agentkit/server/client.py", "type": "imports", "label": "导入 AgentKitClient" }, { - "id": "edge:40ce54b8", + "id": "edge:c2f47699", "source": "file:src/agentkit/cli/task.py", "target": "file:src/agentkit/server/client.py", "type": "imports", "label": "导入 AgentKitClient" }, { - "id": "edge:cfeb620b", + "id": "edge:fcb6fcf4", "source": "file:src/agentkit/cli/task.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:e939d8e9", + "id": "edge:1c735ae7", "source": "file:src/agentkit/cli/task.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:1310cfd0", + "id": "edge:ed69cb82", "source": "file:src/agentkit/cli/usage.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:00a07d87", + "id": "edge:7a9e8ea3", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/base.py", "type": "imports", "label": "导入 BaseAgent" }, { - "id": "edge:d9b05e1e", + "id": "edge:e089e07d", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 CompressionStrategy" }, { - "id": "edge:6396a367", + "id": "edge:61d6a24c", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 ContextCompressor" }, { - "id": "edge:88e80f15", + "id": "edge:c0195ee8", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 create_compressor" }, { - "id": "edge:d66024c2", + "id": "edge:f6f17d66", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 AgentConfig" }, { - "id": "edge:b860749e", + "id": "edge:bcc7fd74", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 ConfigDrivenAgent" }, { - "id": "edge:7d9fdd17", + "id": "edge:77d94896", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 AgentAlreadyRegisteredError" }, { - "id": "edge:56034bdf", + "id": "edge:956d079d", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 AgentFrameworkError" }, { - "id": "edge:f14888a2", + "id": "edge:ab06e5fa", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 AgentNotFoundError" }, { - "id": "edge:bfadda24", + "id": "edge:89603d9e", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 AgentNotReadyError" }, { - "id": "edge:b0f32b72", + "id": "edge:060e16df", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 AgentUnavailableError" }, { - "id": "edge:0dbf5ab2", + "id": "edge:3b48b2f9", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 ConfigValidationError" }, { - "id": "edge:55349842", + "id": "edge:8c0682cd", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 EvolutionError" }, { - "id": "edge:57783952", + "id": "edge:c3fedf08", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 HandoffError" }, { - "id": "edge:c4c448b1", + "id": "edge:030e57ec", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 LLMError" }, { - "id": "edge:7c01400f", + "id": "edge:97f2540b", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 LLMProviderError" }, { - "id": "edge:6b9a0667", + "id": "edge:282062c4", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 ModelNotFoundError" }, { - "id": "edge:7f03da3e", + "id": "edge:4c42c8a0", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 NoAvailableAgentError" }, { - "id": "edge:a1d87112", + "id": "edge:7d9be2cb", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 SchemaValidationError" }, { - "id": "edge:ebf8929a", + "id": "edge:253f1b66", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskCancelledError" }, { - "id": "edge:7f0ed62d", + "id": "edge:6a62a8ba", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskDispatchError" }, { - "id": "edge:58a56e8e", + "id": "edge:cf55b0d9", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskExecutionError" }, { - "id": "edge:c26e0eea", + "id": "edge:9ab76d05", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskNotFoundError" }, { - "id": "edge:b390b713", + "id": "edge:a45e5d58", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskTimeoutError" }, { - "id": "edge:6e3b8504", + "id": "edge:8f8c8ae0", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 ToolExecutionError" }, { - "id": "edge:8b0d15ab", + "id": "edge:8c496acc", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 ToolNotFoundError" }, { - "id": "edge:8caa35e5", + "id": "edge:c35e8b08", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 AgentCapability" }, { - "id": "edge:3f74d027", + "id": "edge:5acbe026", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 AgentStatus" }, { - "id": "edge:fac32171", + "id": "edge:be52e8ea", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 CancellationToken" }, { - "id": "edge:662b67df", + "id": "edge:f7840b3f", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 EvolutionEvent" }, { - "id": "edge:3d3850e0", + "id": "edge:848ee9a5", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 HandoffMessage" }, { - "id": "edge:3fb6402d", + "id": "edge:946626cb", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:ed63f904", + "id": "edge:9097b4fc", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskProgress" }, { - "id": "edge:6e464e5e", + "id": "edge:4ef2ee77", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskResult" }, { - "id": "edge:6bda0c2d", + "id": "edge:7669f53d", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:a631310c", + "id": "edge:f083f351", "source": "file:src/agentkit/core/__init__.py", "target": "file:src/agentkit/core/headroom_compressor.py", "type": "imports", "label": "导入 HeadroomCompressor" }, { - "id": "edge:5a09a8bb", + "id": "edge:1e5a1997", "source": "file:src/agentkit/core/agent_pool.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 ConfigDrivenAgent" }, { - "id": "edge:68c651f0", + "id": "edge:6b2cb2c2", "source": "file:src/agentkit/core/agent_pool.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 AgentStatus" }, { - "id": "edge:f553ec04", + "id": "edge:e8fb15c7", "source": "file:src/agentkit/core/agent_pool.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEngine" }, { - "id": "edge:23116850", + "id": "edge:c0af625a", "source": "file:src/agentkit/core/agent_pool.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:31c4b957", + "id": "edge:2b370eaf", "source": "file:src/agentkit/core/agent_pool.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:8b8b5073", + "id": "edge:3df65fb0", "source": "file:src/agentkit/core/agent_pool.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:a91900a5", + "id": "edge:48bb347c", "source": "file:src/agentkit/core/agent_pool.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 CompressionStrategy" }, { - "id": "edge:2890eb30", + "id": "edge:babbca9c", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 AgentNotReadyError" }, { - "id": "edge:c3e92dda", + "id": "edge:97cbbe42", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 SchemaValidationError" }, { - "id": "edge:c73d642f", + "id": "edge:59d8a53c", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskCancelledError" }, { - "id": "edge:d36a0f7e", + "id": "edge:b9f36648", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskTimeoutError" }, { - "id": "edge:ce72e9d9", + "id": "edge:43433f72", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 AgentCapability" }, { - "id": "edge:e67a8816", + "id": "edge:e46883df", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 AgentStatus" }, { - "id": "edge:1452f21e", + "id": "edge:55b6f952", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 CancellationToken" }, { - "id": "edge:3410d05d", + "id": "edge:1862d206", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 HandoffMessage" }, { - "id": "edge:ecc469b3", + "id": "edge:c3f09b73", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:53df998c", + "id": "edge:990a336e", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskProgress" }, { - "id": "edge:670f0bc1", + "id": "edge:9572e3e1", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskResult" }, { - "id": "edge:71bc09e3", + "id": "edge:40dabd97", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:958d2837", + "id": "edge:effb9fc8", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 Memory" }, { - "id": "edge:091d52ca", + "id": "edge:646c7d86", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:714e3a37", + "id": "edge:39abae1b", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:28caa9f2", + "id": "edge:39601d27", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:095083e7", + "id": "edge:87325fa4", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityGate" }, { - "id": "edge:65bfd6c8", + "id": "edge:aa64d527", "source": "file:src/agentkit/core/base.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityGate" }, { - "id": "edge:451b3b5e", + "id": "edge:ba033eea", "source": "file:src/agentkit/core/compressor.py", "target": "file:src/agentkit/core/headroom_compressor.py", "type": "imports", "label": "导入 HeadroomCompressor" }, { - "id": "edge:2b311ac0", + "id": "edge:71748c85", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/base.py", "type": "imports", "label": "导入 BaseAgent" }, { - "id": "edge:d7024497", + "id": "edge:bf7a825a", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 ConfigValidationError" }, { - "id": "edge:e4244e73", + "id": "edge:b572a809", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 AgentCapability" }, { - "id": "edge:742f27de", + "id": "edge:2a3fa132", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:92095ea9", + "id": "edge:3e180398", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/evolution/lifecycle.py", "type": "imports", "label": "导入 EvolutionMixin" }, { - "id": "edge:4fcec067", + "id": "edge:781245ef", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/evolution/reflector.py", "type": "imports", "label": "导入 Reflector" }, { - "id": "edge:a698d772", + "id": "edge:35b129f6", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/prompts/section.py", "type": "imports", "label": "导入 PromptSection" }, { - "id": "edge:cb6ffa9c", + "id": "edge:a3824abc", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/prompts/template.py", "type": "imports", "label": "导入 PromptTemplate" }, { - "id": "edge:568284fa", + "id": "edge:449002e9", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:16067e55", + "id": "edge:f3e26a4d", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:68d0a9ba", + "id": "edge:492e786a", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 SkillConfig" }, { - "id": "edge:b92a04a6", + "id": "edge:0fa361f5", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:94698590", + "id": "edge:8b4061f8", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityGate" }, { - "id": "edge:47b42ee6", + "id": "edge:7d302267", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/quality/output.py", "type": "imports", "label": "导入 OutputStandardizer" }, { - "id": "edge:ff7a21d2", + "id": "edge:3d59eed0", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 Module" }, { - "id": "edge:57a7602f", + "id": "edge:76f9367f", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 Signature" }, { - "id": "edge:dec8d4a5", + "id": "edge:81caf755", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/mcp/client.py", "type": "imports", "label": "导入 MCPClient" }, { - "id": "edge:d10ebcab", + "id": "edge:458299b3", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/rewoo.py", "type": "imports", "label": "导入 ReWOOEngine" }, { - "id": "edge:8c41121c", + "id": "edge:31b29e42", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/plan_exec_engine.py", "type": "imports", "label": "导入 PlanExecEngine" }, { - "id": "edge:c82f1236", + "id": "edge:a0c0e638", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/reflexion.py", "type": "imports", "label": "导入 ReflexionEngine" }, { - "id": "edge:510f0b74", + "id": "edge:10355fcd", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:518e7b07", + "id": "edge:41f77175", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMProvider" }, { - "id": "edge:d90529aa", + "id": "edge:cd92fb56", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMRequest" }, { - "id": "edge:28c3ad52", + "id": "edge:dacd673b", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:a832110f", + "id": "edge:8a64c197", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 TokenUsage" }, { - "id": "edge:c5baa3d9", + "id": "edge:c24c5a84", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEngine" }, { - "id": "edge:ab868e6a", + "id": "edge:a29f2019", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/memory/retriever.py", "type": "imports", "label": "导入 MemoryRetriever" }, { - "id": "edge:b7dad1fa", + "id": "edge:357b34bc", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/memory/working.py", "type": "imports", "label": "导入 WorkingMemory" }, { - "id": "edge:006322e9", + "id": "edge:da1c9ecc", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/memory/semantic.py", "type": "imports", "label": "导入 SemanticMemory" }, { - "id": "edge:1eefe5ba", + "id": "edge:92ec32b9", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/memory/http_rag.py", "type": "imports", "label": "导入 HttpRAGService" }, { - "id": "edge:2d22507a", + "id": "edge:d4a07385", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskResult" }, { - "id": "edge:f9c2e1dd", + "id": "edge:7faa0fa3", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:65b18897", + "id": "edge:b7ffd2dd", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskResult" }, { - "id": "edge:3fa3a2e3", + "id": "edge:ed45d4ec", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:180f9ecb", + "id": "edge:7dfc1cd5", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/memory/episodic.py", "type": "imports", "label": "导入 EpisodicMemory" }, { - "id": "edge:0644574d", + "id": "edge:05a33a35", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/memory/embedder.py", "type": "imports", "label": "导入 OpenAIEmbedder" }, { - "id": "edge:f67d3890", + "id": "edge:c8cfb518", "source": "file:src/agentkit/core/config_driven.py", "target": "file:src/agentkit/memory/embedder.py", "type": "imports", "label": "导入 EmbeddingCache" }, { - "id": "edge:10c2895f", + "id": "edge:15eb9ca5", "source": "file:src/agentkit/core/dispatcher.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 NoAvailableAgentError" }, { - "id": "edge:1439c028", + "id": "edge:b2af5a97", "source": "file:src/agentkit/core/dispatcher.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskDispatchError" }, { - "id": "edge:9d3e6e27", + "id": "edge:b4862006", "source": "file:src/agentkit/core/dispatcher.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskNotFoundError" }, { - "id": "edge:81926049", + "id": "edge:321aa350", "source": "file:src/agentkit/core/dispatcher.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 AgentStatus" }, { - "id": "edge:483a8135", + "id": "edge:f7d908cd", "source": "file:src/agentkit/core/dispatcher.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:d8a7f2f0", + "id": "edge:4e47c6e2", "source": "file:src/agentkit/core/dispatcher.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskProgress" }, { - "id": "edge:3cafca13", + "id": "edge:32388909", "source": "file:src/agentkit/core/dispatcher.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskResult" }, { - "id": "edge:b5475ea7", + "id": "edge:478cbb10", "source": "file:src/agentkit/core/dispatcher.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:fcdcaa3d", + "id": "edge:02032768", "source": "file:src/agentkit/core/goal_planner.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 ExecutionPlan" }, { - "id": "edge:64a2dfdc", + "id": "edge:07adecaf", "source": "file:src/agentkit/core/goal_planner.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 PlanStep" }, { - "id": "edge:18067e75", + "id": "edge:38e9241e", "source": "file:src/agentkit/core/goal_planner.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 PlanStepStatus" }, { - "id": "edge:ca786e24", + "id": "edge:4809031d", "source": "file:src/agentkit/core/goal_planner.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 SkillGap" }, { - "id": "edge:b6df36bb", + "id": "edge:cb2d7d96", "source": "file:src/agentkit/core/goal_planner.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 SkillGapLevel" }, { - "id": "edge:1ca22feb", + "id": "edge:45fb819d", "source": "file:src/agentkit/core/headroom_compressor.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 CompressionStrategy" }, { - "id": "edge:327dd4f8", + "id": "edge:bad937d6", "source": "file:src/agentkit/core/orchestrator.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:cbd209f7", + "id": "edge:b180e9cd", "source": "file:src/agentkit/core/orchestrator.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskResult" }, { - "id": "edge:ddeff694", + "id": "edge:e1b06522", "source": "file:src/agentkit/core/orchestrator.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:b96618aa", + "id": "edge:065f9f6c", "source": "file:src/agentkit/core/orchestrator.py", "target": "file:src/agentkit/core/shared_workspace.py", "type": "imports", "label": "导入 SharedWorkspace" }, { - "id": "edge:4a4b026c", + "id": "edge:e9cf7f5d", "source": "file:src/agentkit/core/orchestrator.py", "target": "file:src/agentkit/core/goal_planner.py", "type": "imports", "label": "导入 GoalPlanner" }, { - "id": "edge:d0ac1b17", + "id": "edge:b31dd748", "source": "file:src/agentkit/core/orchestrator.py", "target": "file:src/agentkit/core/plan_executor.py", "type": "imports", "label": "导入 PlanExecutor" }, { - "id": "edge:c94eedcb", + "id": "edge:054c0222", "source": "file:src/agentkit/core/orchestrator.py", "target": "file:src/agentkit/core/plan_checker.py", "type": "imports", "label": "导入 PlanChecker" }, { - "id": "edge:14616bd1", + "id": "edge:d1cd9776", "source": "file:src/agentkit/core/orchestrator.py", "target": "file:src/agentkit/bus/message.py", "type": "imports", "label": "导入 AgentMessage" }, { - "id": "edge:4a226018", + "id": "edge:0bd09e1c", "source": "file:src/agentkit/core/orchestrator.py", "target": "file:src/agentkit/bus/message.py", "type": "imports", "label": "导入 AgentMessage" }, { - "id": "edge:d74f2621", + "id": "edge:2cd8aebe", "source": "file:src/agentkit/core/orchestrator.py", "target": "file:src/agentkit/bus/message.py", "type": "imports", "label": "导入 AgentMessage" }, { - "id": "edge:b480c8f9", + "id": "edge:bd819f0b", "source": "file:src/agentkit/core/plan_checker.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 ExecutionPlan" }, { - "id": "edge:99a39c7b", + "id": "edge:211cb7b4", "source": "file:src/agentkit/core/plan_checker.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 PlanStep" }, { - "id": "edge:e85e5455", + "id": "edge:f86693ba", "source": "file:src/agentkit/core/plan_checker.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 PlanStepStatus" }, { - "id": "edge:06e0a84b", + "id": "edge:a221df0f", "source": "file:src/agentkit/core/plan_checker.py", "target": "file:src/agentkit/core/plan_executor.py", "type": "imports", "label": "导入 PlanExecutionResult" }, { - "id": "edge:fc72c37d", + "id": "edge:1249eaa4", "source": "file:src/agentkit/core/plan_checker.py", "target": "file:src/agentkit/core/plan_executor.py", "type": "imports", "label": "导入 StepExecutionResult" }, { - "id": "edge:308ab0df", + "id": "edge:57d97449", "source": "file:src/agentkit/core/plan_checker.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 QualityGateConfig" }, { - "id": "edge:e1c99387", + "id": "edge:3f57a3a8", "source": "file:src/agentkit/core/plan_checker.py", "target": "file:src/agentkit/evolution/experience_schema.py", "type": "imports", "label": "导入 TaskExperience" }, { - "id": "edge:4ea06538", + "id": "edge:f6cf456a", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskCancelledError" }, { - "id": "edge:e7aa6395", + "id": "edge:0e234b06", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskTimeoutError" }, { - "id": "edge:fb21607a", + "id": "edge:d5ae51fe", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/goal_planner.py", "type": "imports", "label": "导入 GoalPlanner" }, { - "id": "edge:04507533", + "id": "edge:7e86945e", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/plan_executor.py", "type": "imports", "label": "导入 PlanExecutor" }, { - "id": "edge:1d869964", + "id": "edge:60efa7a2", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/plan_executor.py", "type": "imports", "label": "导入 PlanExecutionResult" }, { - "id": "edge:09542c71", + "id": "edge:a7a9217c", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/plan_executor.py", "type": "imports", "label": "导入 StepExecutionResult" }, { - "id": "edge:6dd64eab", + "id": "edge:087158af", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 ExecutionPlan" }, { - "id": "edge:405ab925", + "id": "edge:2e534e8f", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 PlanStep" }, { - "id": "edge:e704e631", + "id": "edge:f1821d93", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 PlanStepStatus" }, { - "id": "edge:523fb594", + "id": "edge:3204a7ff", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 CancellationToken" }, { - "id": "edge:8e0d3543", + "id": "edge:ec00f7a4", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:91a671b5", + "id": "edge:d212c09e", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskResult" }, { - "id": "edge:b9d45b99", + "id": "edge:9e41e8ef", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:0debaafc", + "id": "edge:8dc5823d", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEvent" }, { - "id": "edge:2a2a8209", + "id": "edge:b2b399dc", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActResult" }, { - "id": "edge:f42e314d", + "id": "edge:d38deeaf", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActStep" }, { - "id": "edge:a172d1ba", + "id": "edge:a739ae19", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/orchestrator/reflection.py", "type": "imports", "label": "导入 PipelineReflector" }, { - "id": "edge:b3f3be3c", + "id": "edge:03bc334f", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/orchestrator/reflection.py", "type": "imports", "label": "导入 PipelineReplanner" }, { - "id": "edge:797d4bb6", + "id": "edge:aa16b7e2", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 Pipeline" }, { - "id": "edge:0174ffc2", + "id": "edge:8704674e", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 PipelineResult" }, { - "id": "edge:6f1df149", + "id": "edge:c1fadfc8", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 ReflectionReport" }, { - "id": "edge:3a6d80c5", + "id": "edge:02fa829c", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 StageResult" }, { - "id": "edge:bf723715", + "id": "edge:92f430ee", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 StageStatus" }, { - "id": "edge:de8a1b7f", + "id": "edge:3d3840cc", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 CompressionStrategy" }, { - "id": "edge:398e5f58", + "id": "edge:fce19bd6", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 ContextCompressor" }, { - "id": "edge:f9681034", + "id": "edge:67f9a6dd", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/core/trace.py", "type": "imports", "label": "导入 TraceRecorder" }, { - "id": "edge:21a9da76", + "id": "edge:36ef38e1", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/memory/retriever.py", "type": "imports", "label": "导入 MemoryRetriever" }, { - "id": "edge:5e04a109", + "id": "edge:5f854a05", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:443b2e64", + "id": "edge:664dfe15", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:954a5a57", + "id": "edge:dc44ee12", "source": "file:src/agentkit/core/plan_exec_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 PipelineStage" }, { - "id": "edge:f77e2c6e", + "id": "edge:e1fd14ac", "source": "file:src/agentkit/core/plan_executor.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 ExecutionPlan" }, { - "id": "edge:f5f6ddcf", + "id": "edge:dc88d7d0", "source": "file:src/agentkit/core/plan_executor.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 PlanStep" }, { - "id": "edge:0944a49c", + "id": "edge:0419f8e4", "source": "file:src/agentkit/core/plan_executor.py", "target": "file:src/agentkit/core/plan_schema.py", "type": "imports", "label": "导入 PlanStepStatus" }, { - "id": "edge:09691bde", + "id": "edge:721b7c69", "source": "file:src/agentkit/core/plan_executor.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:f62687e2", + "id": "edge:91743385", "source": "file:src/agentkit/core/plan_executor.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskResult" }, { - "id": "edge:dfb8b506", + "id": "edge:af917da8", "source": "file:src/agentkit/core/plan_executor.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:7ccdd7a1", + "id": "edge:440ea8aa", "source": "file:src/agentkit/core/protocol.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskCancelledError" }, { - "id": "edge:4f512880", + "id": "edge:9d6c0164", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskCancelledError" }, { - "id": "edge:c92a2808", + "id": "edge:0b6feec3", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskTimeoutError" }, { - "id": "edge:93181301", + "id": "edge:6aabd9c8", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 CancellationToken" }, { - "id": "edge:92381d77", + "id": "edge:611e1a82", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:618929b8", + "id": "edge:688a963a", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:b94873d6", + "id": "edge:2a7b190e", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:5d68c1e0", + "id": "edge:7df0980c", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 get_tracer" }, { - "id": "edge:fd459490", + "id": "edge:c1d10527", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 start_span" }, { - "id": "edge:75c47599", + "id": "edge:6795da8d", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 _OTEL_AVAILABLE" }, { - "id": "edge:fc23164a", + "id": "edge:494df02d", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 agent_request_counter" }, { - "id": "edge:d75398c7", + "id": "edge:d503e54c", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 agent_duration_histogram" }, { - "id": "edge:a0ede96d", + "id": "edge:e4c182ea", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 CompressionStrategy" }, { - "id": "edge:35f3431b", + "id": "edge:f0baaaaa", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 ContextCompressor" }, { - "id": "edge:7520f358", + "id": "edge:cf5481c5", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/core/trace.py", "type": "imports", "label": "导入 TraceRecorder" }, { - "id": "edge:d48b80ec", + "id": "edge:9e4ef4c8", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/memory/retriever.py", "type": "imports", "label": "导入 MemoryRetriever" }, { - "id": "edge:0a4838dd", + "id": "edge:26c7a561", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:6ae24529", + "id": "edge:f81c54a9", "source": "file:src/agentkit/core/react.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 TokenUsage" }, { - "id": "edge:355f0605", + "id": "edge:3546326a", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskCancelledError" }, { - "id": "edge:35c4855b", + "id": "edge:aea49904", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskTimeoutError" }, { - "id": "edge:983fb74d", + "id": "edge:0e1988de", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 CancellationToken" }, { - "id": "edge:c7332057", + "id": "edge:3d779dcb", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEngine" }, { - "id": "edge:0c7bd048", + "id": "edge:ce9c9b96", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEvent" }, { - "id": "edge:d04af720", + "id": "edge:3d0efdc9", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActResult" }, { - "id": "edge:940f7063", + "id": "edge:f0ed0096", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActStep" }, { - "id": "edge:ba8b8408", + "id": "edge:dc35fbc8", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:f4b9d537", + "id": "edge:070a3be1", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:d8ea80b8", + "id": "edge:7bb278e2", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 start_span" }, { - "id": "edge:8189acaa", + "id": "edge:0359f76e", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 _OTEL_AVAILABLE" }, { - "id": "edge:9aff857c", + "id": "edge:a5da8fa2", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 agent_request_counter" }, { - "id": "edge:62419dd5", + "id": "edge:dd46448f", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 agent_duration_histogram" }, { - "id": "edge:d9943794", + "id": "edge:a35204a6", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 CompressionStrategy" }, { - "id": "edge:2e6b5ec2", + "id": "edge:4c054602", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/core/trace.py", "type": "imports", "label": "导入 TraceRecorder" }, { - "id": "edge:3037259a", + "id": "edge:2b7251cf", "source": "file:src/agentkit/core/reflexion.py", "target": "file:src/agentkit/memory/retriever.py", "type": "imports", "label": "导入 MemoryRetriever" }, { - "id": "edge:342694c7", + "id": "edge:ba3b3db7", "source": "file:src/agentkit/core/registry.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 AgentNotFoundError" }, { - "id": "edge:307ca36d", + "id": "edge:cdda5e06", "source": "file:src/agentkit/core/registry.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 AgentUnavailableError" }, { - "id": "edge:d156588a", + "id": "edge:213e0dcf", "source": "file:src/agentkit/core/registry.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 NoAvailableAgentError" }, { - "id": "edge:9c51c882", + "id": "edge:bf5207ab", "source": "file:src/agentkit/core/registry.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 AgentCapability" }, { - "id": "edge:461da51c", + "id": "edge:ba588c45", "source": "file:src/agentkit/core/registry.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 AgentStatus" }, { - "id": "edge:ecee8ab1", + "id": "edge:6b16ee37", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskCancelledError" }, { - "id": "edge:4e51e106", + "id": "edge:44421a1c", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 TaskTimeoutError" }, { - "id": "edge:445f6afb", + "id": "edge:a815f57c", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 CancellationToken" }, { - "id": "edge:b3e0dcb2", + "id": "edge:4454fd22", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEngine" }, { - "id": "edge:46fd5b15", + "id": "edge:36d8b05d", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEvent" }, { - "id": "edge:bfe77cb6", + "id": "edge:bb8fc0eb", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActResult" }, { - "id": "edge:ebc16293", + "id": "edge:fa4b1cb9", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActStep" }, { - "id": "edge:9f6d53a7", + "id": "edge:ef7b3ce5", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:65513f48", + "id": "edge:235c6414", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:ab39ec13", + "id": "edge:17705cda", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:345a8a2f", + "id": "edge:f538c01a", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 get_tracer" }, { - "id": "edge:0e5f4d85", + "id": "edge:8b37e172", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 start_span" }, { - "id": "edge:472c965d", + "id": "edge:d576e786", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 _OTEL_AVAILABLE" }, { - "id": "edge:049b6de8", + "id": "edge:d1a5178a", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 agent_request_counter" }, { - "id": "edge:0e9cb0b6", + "id": "edge:d3ab7223", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 agent_duration_histogram" }, { - "id": "edge:db899554", + "id": "edge:9e541b36", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 CompressionStrategy" }, { - "id": "edge:7bc06af3", + "id": "edge:5c706ca9", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 ContextCompressor" }, { - "id": "edge:fe3f6935", + "id": "edge:48ef7c84", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/core/trace.py", "type": "imports", "label": "导入 TraceRecorder" }, { - "id": "edge:43a69a50", + "id": "edge:53f5a165", "source": "file:src/agentkit/core/rewoo.py", "target": "file:src/agentkit/memory/retriever.py", "type": "imports", "label": "导入 MemoryRetriever" }, { - "id": "edge:da4586ad", + "id": "edge:44fd1bd4", "source": "file:src/agentkit/core/standalone.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 AgentConfig" }, { - "id": "edge:af0099a2", + "id": "edge:7872375e", "source": "file:src/agentkit/core/standalone.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 ConfigDrivenAgent" }, { - "id": "edge:d9f0a66f", + "id": "edge:0ed1c83a", "source": "file:src/agentkit/core/standalone.py", "target": "file:src/agentkit/tools/function_tool.py", "type": "imports", "label": "导入 FunctionTool" }, { - "id": "edge:76860be7", + "id": "edge:78ff9448", "source": "file:src/agentkit/core/standalone.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:c19d41c3", + "id": "edge:80208ee3", "source": "file:src/agentkit/evaluation/__init__.py", "target": "file:src/agentkit/evaluation/ragas_evaluator.py", "type": "imports", "label": "导入 EvalDatasetBuilder" }, { - "id": "edge:18ad54fb", + "id": "edge:525fb088", "source": "file:src/agentkit/evaluation/__init__.py", "target": "file:src/agentkit/evaluation/ragas_evaluator.py", "type": "imports", "label": "导入 EvalMetrics" }, { - "id": "edge:b4e5e3f1", + "id": "edge:321931f8", "source": "file:src/agentkit/evaluation/__init__.py", "target": "file:src/agentkit/evaluation/ragas_evaluator.py", "type": "imports", "label": "导入 EvalResult" }, { - "id": "edge:61d781f1", + "id": "edge:eebff4f8", "source": "file:src/agentkit/evaluation/__init__.py", "target": "file:src/agentkit/evaluation/ragas_evaluator.py", "type": "imports", "label": "导入 EvalSample" }, { - "id": "edge:27509fc0", + "id": "edge:74f9d459", "source": "file:src/agentkit/evaluation/__init__.py", "target": "file:src/agentkit/evaluation/ragas_evaluator.py", "type": "imports", "label": "导入 RagasEvaluator" }, { - "id": "edge:f1dcae01", + "id": "edge:4ed1d778", "source": "file:src/agentkit/evaluation/ragas_evaluator.py", "target": "file:src/agentkit/memory/relevance_scorer.py", "type": "imports", "label": "导入 RelevanceScorer" }, { - "id": "edge:f1075bc8", + "id": "edge:80f1948e", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/reflector.py", "type": "imports", "label": "导入 Reflector" }, { - "id": "edge:f1784f33", + "id": "edge:55c59121", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 BootstrapPromptOptimizer" }, { - "id": "edge:678f19df", + "id": "edge:c25bb636", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 PromptOptimizer" }, { - "id": "edge:7397ecf3", + "id": "edge:3393a0e7", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 LLMPromptOptimizer" }, { - "id": "edge:8d88027c", + "id": "edge:8d9801cb", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 Signature" }, { - "id": "edge:9ed6e467", + "id": "edge:75a2faae", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 Module" }, { - "id": "edge:a8e6e897", + "id": "edge:3b80574e", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 create_prompt_optimizer" }, { - "id": "edge:c326f7c1", + "id": "edge:027090cc", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/strategy_tuner.py", "type": "imports", "label": "导入 StrategyTuner" }, { - "id": "edge:6bb0f921", + "id": "edge:0683b110", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/ab_tester.py", "type": "imports", "label": "导入 ABTester" }, { - "id": "edge:f21e4937", + "id": "edge:f1d71753", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/evolution_store.py", "type": "imports", "label": "导入 EvolutionStore" }, { - "id": "edge:42ee9843", + "id": "edge:9eb34526", + "source": "file:src/agentkit/evolution/__init__.py", + "target": "file:src/agentkit/evolution/evolution_store.py", + "type": "imports", + "label": "导入 EvolutionStoreProtocol" + }, + { + "id": "edge:740ab917", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/evolution_store.py", "type": "imports", "label": "导入 InMemoryEvolutionStore" }, { - "id": "edge:efbe57f6", + "id": "edge:c778d6c2", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/evolution_store.py", "type": "imports", "label": "导入 PersistentEvolutionStore" }, { - "id": "edge:9ec65294", + "id": "edge:d2308003", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/evolution_store.py", "type": "imports", "label": "导入 create_evolution_store" }, { - "id": "edge:f5373850", + "id": "edge:2d462159", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/lifecycle.py", "type": "imports", "label": "导入 EvolutionMixin" }, { - "id": "edge:0287ee46", + "id": "edge:30a87d85", "source": "file:src/agentkit/evolution/__init__.py", "target": "file:src/agentkit/evolution/lifecycle.py", "type": "imports", "label": "导入 EvolutionLogEntry" }, { - "id": "edge:0173ca21", + "id": "edge:4c5b937f", "source": "file:src/agentkit/evolution/ab_tester.py", "target": "file:src/agentkit/evolution/evolution_store.py", "type": "imports", "label": "导入 InMemoryEvolutionStore" }, { - "id": "edge:7b1fea39", + "id": "edge:538d7ac5", "source": "file:src/agentkit/evolution/evolution_store.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 EvolutionEvent" }, { - "id": "edge:46eef218", + "id": "edge:a1f6ed11", "source": "file:src/agentkit/evolution/evolution_store.py", "target": "file:src/agentkit/evolution/models.py", "type": "imports", "label": "导入 ABTestResultModel" }, { - "id": "edge:355819ef", + "id": "edge:edcc2a75", "source": "file:src/agentkit/evolution/evolution_store.py", "target": "file:src/agentkit/evolution/models.py", "type": "imports", "label": "导入 Base" }, { - "id": "edge:195aaebf", + "id": "edge:a26291c7", "source": "file:src/agentkit/evolution/evolution_store.py", "target": "file:src/agentkit/evolution/models.py", "type": "imports", "label": "导入 EvolutionEventModel" }, { - "id": "edge:9a9a5e57", + "id": "edge:2ab173e2", "source": "file:src/agentkit/evolution/evolution_store.py", "target": "file:src/agentkit/evolution/models.py", "type": "imports", "label": "导入 SkillVersionModel" }, { - "id": "edge:6672ac9d", + "id": "edge:c7851700", + "source": "file:src/agentkit/evolution/evolution_store.py", + "target": "file:src/agentkit/evolution/pg_store.py", + "type": "imports", + "label": "导入 PostgreSQLEvolutionStore" + }, + { + "id": "edge:7f0d8b28", "source": "file:src/agentkit/evolution/experience_store.py", "target": "file:src/agentkit/evolution/experience_schema.py", "type": "imports", "label": "导入 EvolutionMetrics" }, { - "id": "edge:c599fffc", + "id": "edge:9c1e2f69", "source": "file:src/agentkit/evolution/experience_store.py", "target": "file:src/agentkit/evolution/experience_schema.py", "type": "imports", "label": "导入 TaskExperience" }, { - "id": "edge:cb506654", + "id": "edge:a84cf64b", "source": "file:src/agentkit/evolution/experience_store.py", "target": "file:src/agentkit/memory/embedder.py", "type": "imports", "label": "导入 Embedder" }, { - "id": "edge:e13b6a90", + "id": "edge:2224fff1", "source": "file:src/agentkit/evolution/experience_store.py", "target": "file:src/agentkit/utils/vector_math.py", "type": "imports", "label": "导入 compute_cosine_similarity" }, { - "id": "edge:622d6437", + "id": "edge:bb4e4fed", "source": "file:src/agentkit/evolution/fitness.py", "target": "file:src/agentkit/evolution/genetic.py", "type": "imports", "label": "导入 FitnessScore" }, { - "id": "edge:eeeb2280", + "id": "edge:c9a55432", "source": "file:src/agentkit/evolution/genetic.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 Module" }, { - "id": "edge:fe50bf78", + "id": "edge:fb4306e4", "source": "file:src/agentkit/evolution/genetic.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 Signature" }, { - "id": "edge:776fbd81", + "id": "edge:cb437459", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 EvolutionEvent" }, { - "id": "edge:602fe432", + "id": "edge:6ae4b66e", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:52a16416", + "id": "edge:35623ec2", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskResult" }, { - "id": "edge:166c4c65", + "id": "edge:b9faeb1c", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/ab_tester.py", "type": "imports", "label": "导入 ABTestConfig" }, { - "id": "edge:7d2d0313", + "id": "edge:a10a6e2b", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/ab_tester.py", "type": "imports", "label": "导入 ABTestResult" }, { - "id": "edge:7c059772", + "id": "edge:8f9756f6", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/ab_tester.py", "type": "imports", "label": "导入 ABTester" }, { - "id": "edge:562f6a23", + "id": "edge:2a360b63", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/evolution_store.py", "type": "imports", "label": "导入 EvolutionStore" }, { - "id": "edge:2f3ecb1a", + "id": "edge:ea4b49db", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/llm_reflector.py", "type": "imports", "label": "导入 LLMReflector" }, { - "id": "edge:f17757ef", + "id": "edge:3ab92c44", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 Module" }, { - "id": "edge:9ecad871", + "id": "edge:d4bcc2ce", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 PromptOptimizer" }, { - "id": "edge:05ae0e15", + "id": "edge:25102006", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/reflector.py", "type": "imports", "label": "导入 Reflection" }, { - "id": "edge:7d3fa3af", + "id": "edge:d331d321", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/reflector.py", "type": "imports", "label": "导入 Reflector" }, { - "id": "edge:da91ad53", + "id": "edge:682ffaa6", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/reflector.py", "type": "imports", "label": "导入 RuleBasedReflector" }, { - "id": "edge:95b3b236", + "id": "edge:629fe339", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/strategy_tuner.py", "type": "imports", "label": "导入 StrategyConfig" }, { - "id": "edge:175758bb", + "id": "edge:fb137081", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/strategy_tuner.py", "type": "imports", "label": "导入 StrategyTuner" }, { - "id": "edge:700f3d30", + "id": "edge:0190d517", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/memory/profile.py", "type": "imports", "label": "导入 MemoryStore" }, { - "id": "edge:ce4a3286", + "id": "edge:c202a0ca", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/evolution/prompt_optimizer.py", "type": "imports", "label": "导入 LLMPromptOptimizer" }, { - "id": "edge:f4339f10", + "id": "edge:439a273f", "source": "file:src/agentkit/evolution/lifecycle.py", "target": "file:src/agentkit/tools/memory_tool.py", "type": "imports", "label": "导入 MemoryTool" }, { - "id": "edge:d7f67b07", + "id": "edge:69d342f4", "source": "file:src/agentkit/evolution/llm_reflector.py", "target": "file:src/agentkit/core/trace.py", "type": "imports", "label": "导入 ExecutionTrace" }, { - "id": "edge:6bfa53cf", + "id": "edge:52cbfa11", "source": "file:src/agentkit/evolution/llm_reflector.py", "target": "file:src/agentkit/evolution/reflector.py", "type": "imports", "label": "导入 Reflection" }, { - "id": "edge:0f5d200e", + "id": "edge:0f33f061", "source": "file:src/agentkit/evolution/path_optimizer.py", "target": "file:src/agentkit/evolution/experience_store.py", "type": "imports", "label": "导入 InMemoryExperienceStore" }, { - "id": "edge:c5943e6d", + "id": "edge:649670d2", + "source": "file:src/agentkit/evolution/pg_store.py", + "target": "file:src/agentkit/core/protocol.py", + "type": "imports", + "label": "导入 EvolutionEvent" + }, + { + "id": "edge:85efc64e", "source": "file:src/agentkit/evolution/reflector.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:f6e4e73d", + "id": "edge:7df33738", "source": "file:src/agentkit/evolution/reflector.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskResult" }, { - "id": "edge:bd90dd84", + "id": "edge:819eadc3", "source": "file:src/agentkit/evolution/reflector.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:809668d5", + "id": "edge:7c765a7d", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/config.py", "type": "imports", "label": "导入 LLMConfig" }, { - "id": "edge:66a8deae", + "id": "edge:0843cd34", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/config.py", "type": "imports", "label": "导入 ProviderConfig" }, { - "id": "edge:63cd5b70", + "id": "edge:8e8cc629", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:78c68d46", + "id": "edge:5424bb25", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMProvider" }, { - "id": "edge:0df92e7c", + "id": "edge:5516745e", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMRequest" }, { - "id": "edge:2fba3082", + "id": "edge:3d8143da", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:d77d8288", + "id": "edge:d9293b93", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 TokenUsage" }, { - "id": "edge:2a078504", + "id": "edge:ebacdfaf", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 ToolCall" }, { - "id": "edge:edcad41d", + "id": "edge:0bd82d60", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/providers/anthropic.py", "type": "imports", "label": "导入 AnthropicProvider" }, { - "id": "edge:8942381b", + "id": "edge:adceab8e", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/providers/openai.py", "type": "imports", "label": "导入 OpenAICompatibleProvider" }, { - "id": "edge:d7039533", - "source": "file:src/agentkit/llm/__init__.py", - "target": "file:src/agentkit/llm/providers/tracker.py", - "type": "imports", - "label": "导入 UsageRecord" - }, - { - "id": "edge:812c8d10", + "id": "edge:18f0d1e6", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/providers/tracker.py", "type": "imports", "label": "导入 UsageSummary" }, { - "id": "edge:d57363ac", + "id": "edge:37907d82", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/providers/tracker.py", "type": "imports", "label": "导入 UsageTracker" }, { - "id": "edge:38d465db", + "id": "edge:0893208e", + "source": "file:src/agentkit/llm/__init__.py", + "target": "file:src/agentkit/llm/providers/usage_store.py", + "type": "imports", + "label": "导入 UsageRecord" + }, + { + "id": "edge:b2191d74", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 CircuitBreaker" }, { - "id": "edge:8cdeafdc", + "id": "edge:e213a91d", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 CircuitBreakerConfig" }, { - "id": "edge:a3ec3c96", + "id": "edge:7bb289ef", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 CircuitOpenError" }, { - "id": "edge:a707ed12", + "id": "edge:f32483dc", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 CircuitState" }, { - "id": "edge:022f834e", + "id": "edge:aa3cef48", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 RetryConfig" }, { - "id": "edge:37c7900e", + "id": "edge:c224ab48", "source": "file:src/agentkit/llm/__init__.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 RetryPolicy" }, { - "id": "edge:0a65b5a5", + "id": "edge:a329973c", + "source": "file:src/agentkit/llm/cache.py", + "target": "file:src/agentkit/llm/protocol.py", + "type": "imports", + "label": "导入 LLMResponse" + }, + { + "id": "edge:e999de26", + "source": "file:src/agentkit/llm/cache.py", + "target": "file:src/agentkit/llm/protocol.py", + "type": "imports", + "label": "导入 TokenUsage" + }, + { + "id": "edge:611e0728", + "source": "file:src/agentkit/llm/cache.py", + "target": "file:src/agentkit/llm/protocol.py", + "type": "imports", + "label": "导入 ToolCall" + }, + { + "id": "edge:1aa02da6", + "source": "file:src/agentkit/llm/cache.py", + "target": "file:src/agentkit/utils/vector_math.py", + "type": "imports", + "label": "导入 compute_cosine_similarity" + }, + { + "id": "edge:dd98709b", "source": "file:src/agentkit/llm/config.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 CircuitBreakerConfig" }, { - "id": "edge:294312ab", + "id": "edge:f4ccb251", "source": "file:src/agentkit/llm/config.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 RetryConfig" }, { - "id": "edge:85509ea0", + "id": "edge:f006e364", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 LLMProviderError" }, { - "id": "edge:46b8a15e", + "id": "edge:422bd5cd", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 ModelNotFoundError" }, { - "id": "edge:53035c03", + "id": "edge:616731ab", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/llm/config.py", "type": "imports", "label": "导入 LLMConfig" }, { - "id": "edge:d9416235", + "id": "edge:5e17249a", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMProvider" }, { - "id": "edge:21a7cfce", + "id": "edge:4e7898d6", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMRequest" }, { - "id": "edge:410c3199", + "id": "edge:ec0f3af8", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:774e2df2", + "id": "edge:04caa119", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 StreamChunk" }, { - "id": "edge:6031c16a", + "id": "edge:7192c1db", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 TokenUsage" }, { - "id": "edge:36fc6267", + "id": "edge:d0e9efc2", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/llm/providers/tracker.py", "type": "imports", "label": "导入 UsageSummary" }, { - "id": "edge:feffabca", + "id": "edge:91e596d1", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/llm/providers/tracker.py", "type": "imports", "label": "导入 UsageTracker" }, { - "id": "edge:5a666875", + "id": "edge:d7f3cdc8", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 get_tracer" }, { - "id": "edge:490a7eac", + "id": "edge:14a82491", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 _OTEL_AVAILABLE" }, { - "id": "edge:12128472", + "id": "edge:8a067a48", "source": "file:src/agentkit/llm/gateway.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 llm_token_histogram" }, { - "id": "edge:d365a1ef", + "id": "edge:f989be18", + "source": "file:src/agentkit/llm/gateway.py", + "target": "file:src/agentkit/llm/cache.py", + "type": "imports", + "label": "导入 create_llm_cache" + }, + { + "id": "edge:74e5c37e", + "source": "file:src/agentkit/llm/gateway.py", + "target": "file:src/agentkit/memory/embedder.py", + "type": "imports", + "label": "导入 OpenAIEmbedder" + }, + { + "id": "edge:e6e46830", + "source": "file:src/agentkit/llm/gateway.py", + "target": "file:src/agentkit/llm/cache_key.py", + "type": "imports", + "label": "导入 generate_cache_key" + }, + { + "id": "edge:44141011", "source": "file:src/agentkit/llm/providers/__init__.py", "target": "file:src/agentkit/llm/providers/anthropic.py", "type": "imports", "label": "导入 AnthropicProvider" }, { - "id": "edge:93f809cb", + "id": "edge:e669f499", "source": "file:src/agentkit/llm/providers/__init__.py", "target": "file:src/agentkit/llm/providers/doubao.py", "type": "imports", "label": "导入 DoubaoProvider" }, { - "id": "edge:bdff593a", + "id": "edge:5381e00c", "source": "file:src/agentkit/llm/providers/__init__.py", "target": "file:src/agentkit/llm/providers/gemini.py", "type": "imports", "label": "导入 GeminiProvider" }, { - "id": "edge:1f95de8b", + "id": "edge:3b0f97fb", "source": "file:src/agentkit/llm/providers/__init__.py", "target": "file:src/agentkit/llm/providers/openai.py", "type": "imports", "label": "导入 OpenAICompatibleProvider" }, { - "id": "edge:3d4c2c67", - "source": "file:src/agentkit/llm/providers/__init__.py", - "target": "file:src/agentkit/llm/providers/tracker.py", - "type": "imports", - "label": "导入 UsageRecord" - }, - { - "id": "edge:46be8f9d", + "id": "edge:5d3e45b0", "source": "file:src/agentkit/llm/providers/__init__.py", "target": "file:src/agentkit/llm/providers/tracker.py", "type": "imports", "label": "导入 UsageSummary" }, { - "id": "edge:332d838f", + "id": "edge:3d510f0e", "source": "file:src/agentkit/llm/providers/__init__.py", "target": "file:src/agentkit/llm/providers/tracker.py", "type": "imports", "label": "导入 UsageTracker" }, { - "id": "edge:5c0b2d6c", + "id": "edge:3e638b03", + "source": "file:src/agentkit/llm/providers/__init__.py", + "target": "file:src/agentkit/llm/providers/usage_store.py", + "type": "imports", + "label": "导入 UsageRecord" + }, + { + "id": "edge:74fac983", "source": "file:src/agentkit/llm/providers/__init__.py", "target": "file:src/agentkit/llm/providers/wenxin.py", "type": "imports", "label": "导入 WenxinProvider" }, { - "id": "edge:ad759f78", + "id": "edge:6d01b329", "source": "file:src/agentkit/llm/providers/__init__.py", "target": "file:src/agentkit/llm/providers/yuanbao.py", "type": "imports", "label": "导入 YuanbaoProvider" }, { - "id": "edge:570bd57e", + "id": "edge:3cc107f9", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 LLMProviderError" }, { - "id": "edge:759624a4", + "id": "edge:5d1f4fa4", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMProvider" }, { - "id": "edge:2914d73d", + "id": "edge:932bab7b", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMRequest" }, { - "id": "edge:a098aaf3", + "id": "edge:2d5f0bf9", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:da1be1bd", + "id": "edge:cb987d7c", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 StreamChunk" }, { - "id": "edge:d53aa953", + "id": "edge:4a4306dc", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 TokenUsage" }, { - "id": "edge:5dd238f8", + "id": "edge:694d3297", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 ToolCall" }, { - "id": "edge:70e01f1c", + "id": "edge:c19eb563", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 CircuitBreaker" }, { - "id": "edge:c9abed94", + "id": "edge:ad3026df", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 CircuitBreakerConfig" }, { - "id": "edge:fb6a5542", + "id": "edge:8782195b", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 RetryConfig" }, { - "id": "edge:9152c013", + "id": "edge:ca629169", "source": "file:src/agentkit/llm/providers/anthropic.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 RetryPolicy" }, { - "id": "edge:ad6f0767", + "id": "edge:94ae1f82", "source": "file:src/agentkit/llm/providers/doubao.py", "target": "file:src/agentkit/llm/providers/openai.py", "type": "imports", "label": "导入 OpenAICompatibleProvider" }, { - "id": "edge:ff91e7db", + "id": "edge:616b05e2", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 LLMProviderError" }, { - "id": "edge:fa1285d4", + "id": "edge:4ee95f63", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMProvider" }, { - "id": "edge:156415f4", + "id": "edge:94e830e6", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMRequest" }, { - "id": "edge:7187db38", + "id": "edge:d4f35c3c", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:d7d25325", + "id": "edge:7189e3f5", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 StreamChunk" }, { - "id": "edge:2ebfdb79", + "id": "edge:79adebc1", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 TokenUsage" }, { - "id": "edge:18e8cd0e", + "id": "edge:d1c6fbde", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 ToolCall" }, { - "id": "edge:ea4f886d", + "id": "edge:58b57f2b", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 CircuitBreaker" }, { - "id": "edge:16029fff", + "id": "edge:f08c41cf", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 CircuitBreakerConfig" }, { - "id": "edge:5b8d694f", + "id": "edge:ab2699e5", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 RetryConfig" }, { - "id": "edge:5ee9683a", + "id": "edge:6841ea16", "source": "file:src/agentkit/llm/providers/gemini.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 RetryPolicy" }, { - "id": "edge:77797a08", + "id": "edge:807d2eb4", "source": "file:src/agentkit/llm/providers/openai.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 LLMProviderError" }, { - "id": "edge:f6a6facb", + "id": "edge:c25d18a8", "source": "file:src/agentkit/llm/providers/openai.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMProvider" }, { - "id": "edge:c5bf14fc", + "id": "edge:da82ad4d", "source": "file:src/agentkit/llm/providers/openai.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMRequest" }, { - "id": "edge:4c83d723", + "id": "edge:8ed3022d", "source": "file:src/agentkit/llm/providers/openai.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:87f29b02", + "id": "edge:416bd66a", "source": "file:src/agentkit/llm/providers/openai.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 StreamChunk" }, { - "id": "edge:bcbc35cd", + "id": "edge:509a9335", "source": "file:src/agentkit/llm/providers/openai.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 TokenUsage" }, { - "id": "edge:4112d821", + "id": "edge:f0488c0d", "source": "file:src/agentkit/llm/providers/openai.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 ToolCall" }, { - "id": "edge:d7891198", + "id": "edge:9e0183c2", "source": "file:src/agentkit/llm/providers/openai.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 CircuitBreaker" }, { - "id": "edge:1f8bd672", + "id": "edge:601ca941", "source": "file:src/agentkit/llm/providers/openai.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 CircuitBreakerConfig" }, { - "id": "edge:9b484723", + "id": "edge:2fe51dae", "source": "file:src/agentkit/llm/providers/openai.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 RetryConfig" }, { - "id": "edge:d70200e5", + "id": "edge:b5cc4d39", "source": "file:src/agentkit/llm/providers/openai.py", "target": "file:src/agentkit/llm/retry.py", "type": "imports", "label": "导入 RetryPolicy" }, { - "id": "edge:cca4a16a", + "id": "edge:53c7d5af", "source": "file:src/agentkit/llm/providers/tracker.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 TokenUsage" }, { - "id": "edge:1d8bd8c3", + "id": "edge:a869f39a", + "source": "file:src/agentkit/llm/providers/tracker.py", + "target": "file:src/agentkit/llm/providers/usage_store.py", + "type": "imports", + "label": "导入 InMemoryUsageStore" + }, + { + "id": "edge:6bbd8e18", + "source": "file:src/agentkit/llm/providers/tracker.py", + "target": "file:src/agentkit/llm/providers/usage_store.py", + "type": "imports", + "label": "导入 UsageStore" + }, + { + "id": "edge:992c0e26", + "source": "file:src/agentkit/llm/providers/tracker.py", + "target": "file:src/agentkit/llm/providers/usage_store.py", + "type": "imports", + "label": "导入 UsageSummary" + }, + { + "id": "edge:d33745e8", + "source": "file:src/agentkit/llm/providers/usage_store.py", + "target": "file:src/agentkit/llm/protocol.py", + "type": "imports", + "label": "导入 TokenUsage" + }, + { + "id": "edge:4bd4515a", "source": "file:src/agentkit/llm/providers/wenxin.py", "target": "file:src/agentkit/llm/providers/openai.py", "type": "imports", "label": "导入 OpenAICompatibleProvider" }, { - "id": "edge:845e012d", + "id": "edge:9d188570", "source": "file:src/agentkit/llm/providers/wenxin.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMRequest" }, { - "id": "edge:c8126b95", + "id": "edge:01872ba2", "source": "file:src/agentkit/llm/providers/wenxin.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:9128b725", + "id": "edge:c4a0ec7b", "source": "file:src/agentkit/llm/providers/yuanbao.py", "target": "file:src/agentkit/llm/providers/openai.py", "type": "imports", "label": "导入 OpenAICompatibleProvider" }, { - "id": "edge:69497efe", + "id": "edge:bdad0373", "source": "file:src/agentkit/llm/providers/yuanbao.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMRequest" }, { - "id": "edge:a9ee0017", + "id": "edge:0c4af2d5", "source": "file:src/agentkit/llm/providers/yuanbao.py", "target": "file:src/agentkit/llm/protocol.py", "type": "imports", "label": "导入 LLMResponse" }, { - "id": "edge:43a43977", + "id": "edge:9a466dab", "source": "file:src/agentkit/llm/retry.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 LLMProviderError" }, { - "id": "edge:bae537c2", + "id": "edge:1590d0d6", "source": "file:src/agentkit/marketplace/__init__.py", "target": "file:src/agentkit/marketplace/auction.py", "type": "imports", "label": "导入 AuctionHouse" }, { - "id": "edge:7ecda67e", + "id": "edge:4614355b", "source": "file:src/agentkit/marketplace/__init__.py", "target": "file:src/agentkit/marketplace/auction.py", "type": "imports", "label": "导入 AuctionResult" }, { - "id": "edge:101c7da4", + "id": "edge:9eecf155", "source": "file:src/agentkit/marketplace/__init__.py", "target": "file:src/agentkit/marketplace/auction.py", "type": "imports", "label": "导入 Bid" }, { - "id": "edge:ae7588ca", + "id": "edge:23403273", "source": "file:src/agentkit/marketplace/__init__.py", "target": "file:src/agentkit/marketplace/wealth.py", "type": "imports", "label": "导入 WealthTracker" }, { - "id": "edge:e58ba23d", + "id": "edge:100fa7c7", "source": "file:src/agentkit/marketplace/auction.py", "target": "file:src/agentkit/marketplace/wealth.py", "type": "imports", "label": "导入 WealthTracker" }, { - "id": "edge:5da8cfcd", + "id": "edge:b88559df", "source": "file:src/agentkit/mcp/__init__.py", "target": "file:src/agentkit/mcp/client.py", "type": "imports", "label": "导入 MCPClient" }, { - "id": "edge:5da1a471", + "id": "edge:e7697582", "source": "file:src/agentkit/mcp/__init__.py", "target": "file:src/agentkit/mcp/manager.py", "type": "imports", "label": "导入 MCPManager" }, { - "id": "edge:a39a7b02", + "id": "edge:e7fa11bd", "source": "file:src/agentkit/mcp/__init__.py", "target": "file:src/agentkit/mcp/server.py", "type": "imports", "label": "导入 MCPServer" }, { - "id": "edge:90fc6d5f", + "id": "edge:689d0d42", "source": "file:src/agentkit/mcp/__init__.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 HTTPTransport" }, { - "id": "edge:5d4514f2", + "id": "edge:28b69fbf", "source": "file:src/agentkit/mcp/__init__.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 SSETransport" }, { - "id": "edge:7f9c1eb7", + "id": "edge:dd793d43", "source": "file:src/agentkit/mcp/__init__.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 StdioTransport" }, { - "id": "edge:dda91bca", + "id": "edge:55acb0a4", "source": "file:src/agentkit/mcp/__init__.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 Transport" }, { - "id": "edge:49b9e0f8", + "id": "edge:9e9cc619", "source": "file:src/agentkit/mcp/__init__.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 TransportError" }, { - "id": "edge:97da0fea", + "id": "edge:49ff9a87", "source": "file:src/agentkit/mcp/client.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 HTTPTransport" }, { - "id": "edge:b3d4fc47", + "id": "edge:b0890d8a", "source": "file:src/agentkit/mcp/client.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 SSETransport" }, { - "id": "edge:d2dd3198", + "id": "edge:a42a7e6a", "source": "file:src/agentkit/mcp/client.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 StdioTransport" }, { - "id": "edge:0f25f91f", + "id": "edge:efacd532", "source": "file:src/agentkit/mcp/client.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 Transport" }, { - "id": "edge:55ccdece", + "id": "edge:1a4d566c", "source": "file:src/agentkit/mcp/client.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:dd45e0ef", + "id": "edge:9639977a", "source": "file:src/agentkit/mcp/manager.py", "target": "file:src/agentkit/mcp/client.py", "type": "imports", "label": "导入 MCPClient" }, { - "id": "edge:5e5ae66d", + "id": "edge:a36022f7", "source": "file:src/agentkit/mcp/manager.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 HTTPTransport" }, { - "id": "edge:1e27dee0", + "id": "edge:a1d55170", "source": "file:src/agentkit/mcp/manager.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 SSETransport" }, { - "id": "edge:3ecc77e4", + "id": "edge:a4e1fd91", "source": "file:src/agentkit/mcp/manager.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 StdioTransport" }, { - "id": "edge:a396096a", + "id": "edge:77e74cc4", "source": "file:src/agentkit/mcp/manager.py", "target": "file:src/agentkit/mcp/transport.py", "type": "imports", "label": "导入 Transport" }, { - "id": "edge:af7f1d2c", + "id": "edge:f5840674", "source": "file:src/agentkit/mcp/manager.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:8c1f95ee", + "id": "edge:6e703e96", "source": "file:src/agentkit/mcp/manager.py", "target": "file:src/agentkit/server/config.py", "type": "imports", "label": "导入 MCPServerConfig" }, { - "id": "edge:4790d0c5", + "id": "edge:760974ec", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 Memory" }, { - "id": "edge:cb25c244", + "id": "edge:5ab021d2", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 MemoryItem" }, { - "id": "edge:fc2e1b79", + "id": "edge:74ad6802", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/working.py", "type": "imports", "label": "导入 WorkingMemory" }, { - "id": "edge:85bad874", + "id": "edge:9c1fbc25", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/episodic.py", "type": "imports", "label": "导入 EpisodicMemory" }, { - "id": "edge:6b9b5fb6", + "id": "edge:9f52c3da", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/semantic.py", "type": "imports", "label": "导入 SemanticMemory" }, { - "id": "edge:6e67ea7c", + "id": "edge:91445f7f", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/http_rag.py", "type": "imports", "label": "导入 HttpRAGService" }, { - "id": "edge:8dee2a85", + "id": "edge:a7a552b0", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/retriever.py", "type": "imports", "label": "导入 MemoryRetriever" }, { - "id": "edge:02127312", + "id": "edge:50e791fd", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/multi_source_retriever.py", "type": "imports", "label": "导入 MultiSourceRetriever" }, { - "id": "edge:37a0c941", + "id": "edge:e3c698ec", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/query_transformer.py", "type": "imports", "label": "导入 QueryTransformerBase" }, { - "id": "edge:bcb672a4", + "id": "edge:96532efa", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/query_transformer.py", "type": "imports", "label": "导入 LLMQueryTransformer" }, { - "id": "edge:1c806be0", + "id": "edge:88008284", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/query_transformer.py", "type": "imports", "label": "导入 RuleQueryTransformer" }, { - "id": "edge:47c53fd0", + "id": "edge:c512ca6f", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/query_transformer.py", "type": "imports", "label": "导入 NoOpQueryTransformer" }, { - "id": "edge:315844cf", + "id": "edge:457b90a1", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/query_transformer.py", "type": "imports", "label": "导入 TransformedQuery" }, { - "id": "edge:632cc802", + "id": "edge:ed6fa4e0", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/query_transformer.py", "type": "imports", "label": "导入 create_query_transformer" }, { - "id": "edge:83f5f8cc", + "id": "edge:7870ab69", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/profile.py", "type": "imports", "label": "导入 MemoryFile" }, { - "id": "edge:bb77f4ae", + "id": "edge:f3572b00", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/profile.py", "type": "imports", "label": "导入 MemoryStore" }, { - "id": "edge:444d7669", + "id": "edge:5157b1fc", "source": "file:src/agentkit/memory/__init__.py", "target": "file:src/agentkit/memory/profile.py", "type": "imports", "label": "导入 MemorySnapshot" }, { - "id": "edge:d882600b", + "id": "edge:1a8623c8", "source": "file:src/agentkit/memory/adapters/__init__.py", "target": "file:src/agentkit/memory/adapters/base.py", "type": "imports", "label": "导入 KBAdapter" }, { - "id": "edge:6dd753eb", + "id": "edge:f9709da1", "source": "file:src/agentkit/memory/adapters/__init__.py", "target": "file:src/agentkit/memory/adapters/feishu.py", "type": "imports", "label": "导入 FeishuKBAdapter" }, { - "id": "edge:1b509cf8", + "id": "edge:08d46018", "source": "file:src/agentkit/memory/adapters/__init__.py", "target": "file:src/agentkit/memory/adapters/confluence.py", "type": "imports", "label": "导入 ConfluenceAdapter" }, { - "id": "edge:cf8b01ac", + "id": "edge:1599beb2", "source": "file:src/agentkit/memory/adapters/__init__.py", "target": "file:src/agentkit/memory/adapters/generic_http.py", "type": "imports", "label": "导入 GenericHTTPAdapter" }, { - "id": "edge:634f3422", + "id": "edge:2e8da2a5", "source": "file:src/agentkit/memory/adapters/base.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 Document" }, { - "id": "edge:63ae6b48", + "id": "edge:83383603", "source": "file:src/agentkit/memory/adapters/base.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 QueryResult" }, { - "id": "edge:8e0919a7", + "id": "edge:3e10cce6", "source": "file:src/agentkit/memory/adapters/base.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 SourceInfo" }, { - "id": "edge:faf95ecc", + "id": "edge:ea26ab6a", "source": "file:src/agentkit/memory/adapters/confluence.py", "target": "file:src/agentkit/memory/adapters/base.py", "type": "imports", "label": "导入 KBAdapter" }, { - "id": "edge:f916b1e2", + "id": "edge:d064bd01", "source": "file:src/agentkit/memory/adapters/confluence.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 Document" }, { - "id": "edge:b6b4a375", + "id": "edge:bb533b1a", "source": "file:src/agentkit/memory/adapters/confluence.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 QueryResult" }, { - "id": "edge:acf1823f", + "id": "edge:cea96b55", "source": "file:src/agentkit/memory/adapters/confluence.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 SourceInfo" }, { - "id": "edge:dbaccd71", + "id": "edge:5f809b54", "source": "file:src/agentkit/memory/adapters/confluence.py", "target": "file:src/agentkit/utils/security.py", "type": "imports", "label": "导入 is_safe_url" }, { - "id": "edge:466ed836", + "id": "edge:1c48434b", "source": "file:src/agentkit/memory/adapters/feishu.py", "target": "file:src/agentkit/memory/adapters/base.py", "type": "imports", "label": "导入 KBAdapter" }, { - "id": "edge:9f9a9f7c", + "id": "edge:7c102e29", "source": "file:src/agentkit/memory/adapters/feishu.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 Document" }, { - "id": "edge:64083b0f", + "id": "edge:d26553b3", "source": "file:src/agentkit/memory/adapters/feishu.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 QueryResult" }, { - "id": "edge:542d714f", + "id": "edge:98e8b9c7", "source": "file:src/agentkit/memory/adapters/feishu.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 SourceInfo" }, { - "id": "edge:3760f952", + "id": "edge:f21d928e", "source": "file:src/agentkit/memory/adapters/feishu.py", "target": "file:src/agentkit/utils/security.py", "type": "imports", "label": "导入 is_safe_url" }, { - "id": "edge:1239bb37", + "id": "edge:32d371bb", "source": "file:src/agentkit/memory/adapters/generic_http.py", "target": "file:src/agentkit/memory/adapters/base.py", "type": "imports", "label": "导入 KBAdapter" }, { - "id": "edge:d5e2be45", + "id": "edge:ed3fa32e", "source": "file:src/agentkit/memory/adapters/generic_http.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 Document" }, { - "id": "edge:1262f83f", + "id": "edge:45077727", "source": "file:src/agentkit/memory/adapters/generic_http.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 QueryResult" }, { - "id": "edge:119f439a", + "id": "edge:294331b2", "source": "file:src/agentkit/memory/adapters/generic_http.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 SourceInfo" }, { - "id": "edge:4195089f", + "id": "edge:4e7c7623", "source": "file:src/agentkit/memory/adapters/generic_http.py", "target": "file:src/agentkit/utils/security.py", "type": "imports", "label": "导入 is_safe_url" }, { - "id": "edge:877d427d", + "id": "edge:6f4149bb", "source": "file:src/agentkit/memory/contextual_retrieval.py", "target": "file:src/agentkit/memory/embedder.py", "type": "imports", "label": "导入 EmbeddingCache" }, { - "id": "edge:267e565a", + "id": "edge:ca7f9a92", "source": "file:src/agentkit/memory/episodic.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 Memory" }, { - "id": "edge:c72ec23c", + "id": "edge:f49d0564", "source": "file:src/agentkit/memory/episodic.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 MemoryItem" }, { - "id": "edge:79ff26aa", + "id": "edge:d801c2cf", "source": "file:src/agentkit/memory/episodic.py", "target": "file:src/agentkit/memory/embedder.py", "type": "imports", "label": "导入 Embedder" }, { - "id": "edge:0c4e492b", + "id": "edge:0fd40dcf", "source": "file:src/agentkit/memory/episodic.py", "target": "file:src/agentkit/utils/vector_math.py", "type": "imports", "label": "导入 compute_cosine_similarity" }, { - "id": "edge:d53db485", + "id": "edge:b17e81dd", "source": "file:src/agentkit/memory/http_rag.py", "target": "file:src/agentkit/memory/contextual_retrieval.py", "type": "imports", "label": "导入 ContextualChunker" }, { - "id": "edge:8a651c37", + "id": "edge:c856aa9a", "source": "file:src/agentkit/memory/local_rag.py", "target": "file:src/agentkit/memory/chunking.py", "type": "imports", "label": "导入 Chunk" }, { - "id": "edge:66a28625", + "id": "edge:3b657f6d", "source": "file:src/agentkit/memory/local_rag.py", "target": "file:src/agentkit/memory/chunking.py", "type": "imports", "label": "导入 StructuralChunker" }, { - "id": "edge:4dc4eb3b", + "id": "edge:9eededfc", "source": "file:src/agentkit/memory/local_rag.py", "target": "file:src/agentkit/memory/chunking.py", "type": "imports", "label": "导入 TextChunker" }, { - "id": "edge:817133cf", + "id": "edge:abf278a1", "source": "file:src/agentkit/memory/local_rag.py", "target": "file:src/agentkit/memory/document_loader.py", "type": "imports", "label": "导入 Document" }, { - "id": "edge:51f708c8", + "id": "edge:53e13154", "source": "file:src/agentkit/memory/local_rag.py", "target": "file:src/agentkit/memory/embedder.py", "type": "imports", "label": "导入 Embedder" }, { - "id": "edge:62018da5", + "id": "edge:e5e8a619", "source": "file:src/agentkit/memory/local_rag.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 Document" }, { - "id": "edge:1260da20", + "id": "edge:da44c502", "source": "file:src/agentkit/memory/local_rag.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 KnowledgeBase" }, { - "id": "edge:b3b2e51c", + "id": "edge:0bf3b2c2", "source": "file:src/agentkit/memory/local_rag.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 QueryResult" }, { - "id": "edge:def7ca53", + "id": "edge:cbcdd44a", "source": "file:src/agentkit/memory/local_rag.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 SourceInfo" }, { - "id": "edge:cbe68a1a", + "id": "edge:94cd2f88", "source": "file:src/agentkit/memory/local_rag.py", "target": "file:src/agentkit/utils/vector_math.py", "type": "imports", "label": "导入 compute_cosine_similarity" }, { - "id": "edge:2a468f10", + "id": "edge:5c43d171", "source": "file:src/agentkit/memory/multi_source_retriever.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 KnowledgeBase" }, { - "id": "edge:04cc2609", + "id": "edge:06897382", "source": "file:src/agentkit/memory/multi_source_retriever.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 QueryResult" }, { - "id": "edge:6d594824", + "id": "edge:6783c624", "source": "file:src/agentkit/memory/multi_source_retriever.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 SourceInfo" }, { - "id": "edge:f983d119", + "id": "edge:87117dec", "source": "file:src/agentkit/memory/rag_loop.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 MemoryItem" }, { - "id": "edge:e442c5bd", + "id": "edge:9f181172", "source": "file:src/agentkit/memory/rag_loop.py", "target": "file:src/agentkit/memory/query_transformer.py", "type": "imports", "label": "导入 QueryTransformerBase" }, { - "id": "edge:b04d5e3e", + "id": "edge:d2a5e364", "source": "file:src/agentkit/memory/rag_loop.py", "target": "file:src/agentkit/memory/query_transformer.py", "type": "imports", "label": "导入 NoOpQueryTransformer" }, { - "id": "edge:09af4cfd", + "id": "edge:1a78fb53", "source": "file:src/agentkit/memory/rag_loop.py", "target": "file:src/agentkit/memory/relevance_scorer.py", "type": "imports", "label": "导入 RelevanceScorer" }, { - "id": "edge:fc5793d9", + "id": "edge:0a4a8bb1", "source": "file:src/agentkit/memory/rag_loop.py", "target": "file:src/agentkit/memory/relevance_scorer.py", "type": "imports", "label": "导入 RelevanceVerdict" }, { - "id": "edge:651aaa4a", + "id": "edge:5afee05f", "source": "file:src/agentkit/memory/rag_loop.py", "target": "file:src/agentkit/memory/relevance_scorer.py", "type": "imports", "label": "导入 RetrievalEvaluation" }, { - "id": "edge:483449ef", + "id": "edge:21ad9495", "source": "file:src/agentkit/memory/relevance_scorer.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 MemoryItem" }, { - "id": "edge:b7a52bde", + "id": "edge:7a89cb1c", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 Memory" }, { - "id": "edge:187e4405", + "id": "edge:f5239500", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 MemoryItem" }, { - "id": "edge:9a084abc", + "id": "edge:288a5907", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/memory/working.py", "type": "imports", "label": "导入 WorkingMemory" }, { - "id": "edge:9efef676", + "id": "edge:946b38dc", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/memory/episodic.py", "type": "imports", "label": "导入 EpisodicMemory" }, { - "id": "edge:dc2f2749", + "id": "edge:5103114c", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/memory/semantic.py", "type": "imports", "label": "导入 SemanticMemory" }, { - "id": "edge:06e76169", + "id": "edge:c4a65cc2", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/memory/query_transformer.py", "type": "imports", "label": "导入 QueryTransformerBase" }, { - "id": "edge:d170877a", + "id": "edge:d401e1b1", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/memory/rag_loop.py", "type": "imports", "label": "导入 RAGSelfCorrectionLoop" }, { - "id": "edge:74c289a8", + "id": "edge:c3af740b", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/memory/relevance_scorer.py", "type": "imports", "label": "导入 RelevanceScorer" }, { - "id": "edge:2b3a12a7", + "id": "edge:626ffcd6", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 KnowledgeBase" }, { - "id": "edge:06ee3071", + "id": "edge:0e726cef", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/memory/knowledge_base.py", "type": "imports", "label": "导入 QueryResult" }, { - "id": "edge:b2e3779b", + "id": "edge:69b055aa", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/memory/multi_source_retriever.py", "type": "imports", "label": "导入 MultiSourceRetriever" }, { - "id": "edge:551b7325", + "id": "edge:5fe676b4", "source": "file:src/agentkit/memory/retriever.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:8f16a1df", + "id": "edge:89b629c2", "source": "file:src/agentkit/memory/semantic.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 Memory" }, { - "id": "edge:6e5ece1c", + "id": "edge:47352c28", "source": "file:src/agentkit/memory/semantic.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 MemoryItem" }, { - "id": "edge:a8aa7c5d", + "id": "edge:7ca638cf", "source": "file:src/agentkit/memory/working.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 Memory" }, { - "id": "edge:976b0fd0", + "id": "edge:223bb276", "source": "file:src/agentkit/memory/working.py", "target": "file:src/agentkit/memory/base.py", "type": "imports", "label": "导入 MemoryItem" }, { - "id": "edge:9a8180c6", + "id": "edge:bb4ff796", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 Pipeline" }, { - "id": "edge:13a63e91", + "id": "edge:a913d922", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 PipelineStage" }, { - "id": "edge:30d297d5", + "id": "edge:776e6106", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 StageStatus" }, { - "id": "edge:66682061", + "id": "edge:5919a000", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 AdaptiveConfig" }, { - "id": "edge:d50cf5a0", + "id": "edge:66f3a239", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 ReflectionReport" }, { - "id": "edge:c9ac1afd", + "id": "edge:c153df03", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/pipeline_engine.py", "type": "imports", "label": "导入 PipelineEngine" }, { - "id": "edge:054e0013", + "id": "edge:cb1bf686", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/pipeline_loader.py", "type": "imports", "label": "导入 PipelineLoader" }, { - "id": "edge:bcc9f54a", + "id": "edge:7be03ca2", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/handoff.py", "type": "imports", "label": "导入 HandoffManager" }, { - "id": "edge:c08cfe81", + "id": "edge:97732594", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/dynamic_pipeline.py", "type": "imports", "label": "导入 DynamicPipeline" }, { - "id": "edge:b10dd91c", + "id": "edge:d2424f52", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/pipeline_state.py", "type": "imports", "label": "导入 PipelineStateMemory" }, { - "id": "edge:b2262d6d", + "id": "edge:f23df95e", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/pipeline_state.py", "type": "imports", "label": "导入 PipelineStateRedis" }, { - "id": "edge:598b0db4", + "id": "edge:47b5b317", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/pipeline_state.py", "type": "imports", "label": "导入 PipelineStatePG" }, { - "id": "edge:5e2ad3c4", + "id": "edge:d581dde5", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/pipeline_state.py", "type": "imports", "label": "导入 PipelineStateManager" }, { - "id": "edge:c0386a56", + "id": "edge:1a995fc3", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/retry.py", "type": "imports", "label": "导入 StepRetryPolicy" }, { - "id": "edge:44d069de", + "id": "edge:646d8cf5", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/retry.py", "type": "imports", "label": "导入 execute_with_retry" }, { - "id": "edge:f842aba8", + "id": "edge:de74afab", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/compensation.py", "type": "imports", "label": "导入 CompletedStep" }, { - "id": "edge:3d53fe6a", + "id": "edge:2106f7a9", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/compensation.py", "type": "imports", "label": "导入 CompensationResult" }, { - "id": "edge:d4c19150", + "id": "edge:4ea8bbae", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/compensation.py", "type": "imports", "label": "导入 SagaOrchestrator" }, { - "id": "edge:a3358e88", + "id": "edge:9ae5feb0", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/reflection.py", "type": "imports", "label": "导入 PipelineReflector" }, { - "id": "edge:f9f619e7", + "id": "edge:db8d592e", "source": "file:src/agentkit/orchestrator/__init__.py", "target": "file:src/agentkit/orchestrator/reflection.py", "type": "imports", "label": "导入 PipelineReplanner" }, { - "id": "edge:4fd2f7da", + "id": "edge:46222879", "source": "file:src/agentkit/orchestrator/dynamic_pipeline.py", "target": "file:src/agentkit/orchestrator/pipeline_engine.py", "type": "imports", "label": "导入 PipelineEngine" }, { - "id": "edge:80e5917a", + "id": "edge:62489e32", "source": "file:src/agentkit/orchestrator/dynamic_pipeline.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 Pipeline" }, { - "id": "edge:7099858b", + "id": "edge:76566fa5", "source": "file:src/agentkit/orchestrator/dynamic_pipeline.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 PipelineResult" }, { - "id": "edge:d0eb3d91", + "id": "edge:b57c8146", "source": "file:src/agentkit/orchestrator/dynamic_pipeline.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 StageStatus" }, { - "id": "edge:9c10ed21", + "id": "edge:d8b6a9ef", "source": "file:src/agentkit/orchestrator/handoff.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 HandoffMessage" }, { - "id": "edge:96a23b23", + "id": "edge:da80991a", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/compensation.py", "type": "imports", "label": "导入 SagaOrchestrator" }, { - "id": "edge:f3f21d7a", + "id": "edge:0fef7552", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 AdversarialState" }, { - "id": "edge:e79d74f9", + "id": "edge:888d3925", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 AdaptiveConfig" }, { - "id": "edge:ee41b3c8", + "id": "edge:ee5b0d0e", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 Pipeline" }, { - "id": "edge:2d08c1da", + "id": "edge:b86e193f", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 PipelineResult" }, { - "id": "edge:a88c6dc6", + "id": "edge:0e4d2202", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 PipelineStage" }, { - "id": "edge:5f1edfef", + "id": "edge:d8f10d25", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 ReflectionReport" }, { - "id": "edge:4effbda8", + "id": "edge:d837937f", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 ReviewFeedback" }, { - "id": "edge:0e3d3f54", + "id": "edge:391e1ebb", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 ReviewIssue" }, { - "id": "edge:73e5dba1", + "id": "edge:41a76afb", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 StageResult" }, { - "id": "edge:0f0221bd", + "id": "edge:d04f45ae", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 StageStatus" }, { - "id": "edge:8567f657", + "id": "edge:741849b6", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/reflection.py", "type": "imports", "label": "导入 PipelineReflector" }, { - "id": "edge:3f2c189e", + "id": "edge:7c3b459a", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/reflection.py", "type": "imports", "label": "导入 PipelineReplanner" }, { - "id": "edge:991e02b7", + "id": "edge:5e7bf341", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/retry.py", "type": "imports", "label": "导入 StepRetryPolicy" }, { - "id": "edge:134d7f48", + "id": "edge:6078d7ce", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/orchestrator/retry.py", "type": "imports", "label": "导入 execute_with_retry" }, { - "id": "edge:79828f8a", + "id": "edge:699d80f6", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:dc24f786", + "id": "edge:d9fe8888", "source": "file:src/agentkit/orchestrator/pipeline_engine.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:988cb518", + "id": "edge:32b1d4ec", "source": "file:src/agentkit/orchestrator/pipeline_loader.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 Pipeline" }, { - "id": "edge:88dbee83", + "id": "edge:c1aed373", "source": "file:src/agentkit/orchestrator/pipeline_loader.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 PipelineStage" }, { - "id": "edge:c57428e3", + "id": "edge:22d720f3", "source": "file:src/agentkit/orchestrator/pipeline_schema.py", "target": "file:src/agentkit/orchestrator/retry.py", "type": "imports", "label": "导入 StepRetryPolicy" }, { - "id": "edge:a18a9521", + "id": "edge:ae943402", "source": "file:src/agentkit/orchestrator/pipeline_state.py", "target": "file:src/agentkit/orchestrator/pipeline_models.py", "type": "imports", "label": "导入 PipelineExecutionModel" }, { - "id": "edge:5aa2cb78", + "id": "edge:585491e2", "source": "file:src/agentkit/orchestrator/pipeline_state.py", "target": "file:src/agentkit/orchestrator/pipeline_models.py", "type": "imports", "label": "导入 PipelineStepHistoryModel" }, { - "id": "edge:8805e6bd", + "id": "edge:606c5a5d", "source": "file:src/agentkit/orchestrator/reflection.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 Pipeline" }, { - "id": "edge:0ffe4f77", + "id": "edge:fce7e208", "source": "file:src/agentkit/orchestrator/reflection.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 PipelineResult" }, { - "id": "edge:d75d50ca", + "id": "edge:38f8bdad", "source": "file:src/agentkit/orchestrator/reflection.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 PipelineStage" }, { - "id": "edge:6a8999f9", + "id": "edge:42dc6bde", "source": "file:src/agentkit/orchestrator/reflection.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 ReflectionReport" }, { - "id": "edge:a723b715", + "id": "edge:6c1f06a8", "source": "file:src/agentkit/orchestrator/reflection.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 StageResult" }, { - "id": "edge:3b46f4c4", + "id": "edge:165128f6", "source": "file:src/agentkit/orchestrator/reflection.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 StageStatus" }, { - "id": "edge:5871baae", + "id": "edge:b1118c65", "source": "file:src/agentkit/orchestrator/reflection.py", "target": "file:src/agentkit/orchestrator/retry.py", "type": "imports", "label": "导入 StepRetryPolicy" }, { - "id": "edge:529f7061", + "id": "edge:e4f6ffae", "source": "file:src/agentkit/orchestrator/reflection.py", "target": "file:src/agentkit/orchestrator/retry.py", "type": "imports", "label": "导入 StepRetryPolicy" }, { - "id": "edge:4883ca21", + "id": "edge:a99e8b40", "source": "file:src/agentkit/orchestrator/workflow_schema.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 Pipeline" }, { - "id": "edge:6efced71", + "id": "edge:abbc2a4d", "source": "file:src/agentkit/orchestrator/workflow_schema.py", "target": "file:src/agentkit/orchestrator/pipeline_schema.py", "type": "imports", "label": "导入 PipelineStage" }, { - "id": "edge:ab88e842", + "id": "edge:8569a8f5", "source": "file:src/agentkit/org/__init__.py", "target": "file:src/agentkit/org/context.py", "type": "imports", "label": "导入 AgentProfile" }, { - "id": "edge:e6532411", + "id": "edge:18db082e", "source": "file:src/agentkit/org/__init__.py", "target": "file:src/agentkit/org/context.py", "type": "imports", "label": "导入 OrganizationContext" }, { - "id": "edge:ea4feb47", + "id": "edge:54a39142", "source": "file:src/agentkit/org/__init__.py", "target": "file:src/agentkit/org/discovery.py", "type": "imports", "label": "导入 AgentDiscovery" }, { - "id": "edge:45fecc43", + "id": "edge:e0ac489e", "source": "file:src/agentkit/org/discovery.py", "target": "file:src/agentkit/org/context.py", "type": "imports", "label": "导入 AgentProfile" }, { - "id": "edge:8d9d6bc0", + "id": "edge:0d764570", "source": "file:src/agentkit/org/discovery.py", "target": "file:src/agentkit/org/context.py", "type": "imports", "label": "导入 OrganizationContext" }, { - "id": "edge:07a48178", + "id": "edge:4452057d", "source": "file:src/agentkit/prompts/__init__.py", "target": "file:src/agentkit/prompts/template.py", "type": "imports", "label": "导入 PromptTemplate" }, { - "id": "edge:48f4c73f", + "id": "edge:89b17e93", "source": "file:src/agentkit/prompts/__init__.py", "target": "file:src/agentkit/prompts/section.py", "type": "imports", "label": "导入 PromptSection" }, { - "id": "edge:460e1152", + "id": "edge:fd7f7a20", "source": "file:src/agentkit/prompts/template.py", "target": "file:src/agentkit/prompts/section.py", "type": "imports", "label": "导入 PromptSection" }, { - "id": "edge:e933e600", + "id": "edge:9d1eb8ec", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/alignment.py", "type": "imports", "label": "导入 AlignmentCheckResult" }, { - "id": "edge:9ab197d0", + "id": "edge:9fd63bcb", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/alignment.py", "type": "imports", "label": "导入 AlignmentConfig" }, { - "id": "edge:f0a1f9ce", + "id": "edge:8a39ec20", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/alignment.py", "type": "imports", "label": "导入 AlignmentGuard" }, { - "id": "edge:821b7c44", + "id": "edge:f240fa83", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/alignment.py", "type": "imports", "label": "导入 CascadeAlert" }, { - "id": "edge:08c9f7db", + "id": "edge:27d7969a", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/alignment.py", "type": "imports", "label": "导入 ConstraintInjector" }, { - "id": "edge:9e8d0cc3", + "id": "edge:8e1b69f7", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/cascade_detector.py", "type": "imports", "label": "导入 CascadeDetector" }, { - "id": "edge:3b6bdf51", + "id": "edge:1d8d0054", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityCheck" }, { - "id": "edge:8fa10bb5", + "id": "edge:8e809eb9", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityGate" }, { - "id": "edge:9f813a7a", + "id": "edge:3463e900", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityResult" }, { - "id": "edge:f5e3cffe", + "id": "edge:3276c816", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/output.py", "type": "imports", "label": "导入 OutputMetadata" }, { - "id": "edge:20daf58d", + "id": "edge:8683d888", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/output.py", "type": "imports", "label": "导入 OutputStandardizer" }, { - "id": "edge:08b865a0", + "id": "edge:816c9302", "source": "file:src/agentkit/quality/__init__.py", "target": "file:src/agentkit/quality/output.py", "type": "imports", "label": "导入 StandardOutput" }, { - "id": "edge:0076f9de", + "id": "edge:98e46c69", "source": "file:src/agentkit/quality/alignment.py", "target": "file:src/agentkit/telemetry/tracer.py", "type": "imports", "label": "导入 get_tracer" }, { - "id": "edge:e977a5c5", + "id": "edge:1402bc5b", + "source": "file:src/agentkit/quality/cascade_detector.py", + "target": "file:src/agentkit/quality/cascade_state_store.py", + "type": "imports", + "label": "导入 CascadeStateStore" + }, + { + "id": "edge:78c4ebf3", + "source": "file:src/agentkit/quality/cascade_detector.py", + "target": "file:src/agentkit/quality/cascade_state_store.py", + "type": "imports", + "label": "导入 InMemoryCascadeStateStore" + }, + { + "id": "edge:c6b1e226", "source": "file:src/agentkit/quality/gate.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:6b56aa45", + "id": "edge:3bbb2203", "source": "file:src/agentkit/quality/output.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityResult" }, { - "id": "edge:3fc4528f", + "id": "edge:a4839d84", "source": "file:src/agentkit/quality/output.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:8f7f8a8f", + "id": "edge:f210e47b", "source": "file:src/agentkit/router/__init__.py", "target": "file:src/agentkit/router/intent.py", "type": "imports", "label": "导入 IntentRouter" }, { - "id": "edge:647e7d32", + "id": "edge:82ecce7f", "source": "file:src/agentkit/router/__init__.py", "target": "file:src/agentkit/router/intent.py", "type": "imports", "label": "导入 RoutingResult" }, { - "id": "edge:f1fe2dab", + "id": "edge:680c01c5", "source": "file:src/agentkit/router/intent.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:a6a0b97f", + "id": "edge:571d9704", "source": "file:src/agentkit/router/intent.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:ad3adbf3", + "id": "edge:86d67e4d", "source": "file:src/agentkit/server/__init__.py", "target": "file:src/agentkit/server/app.py", "type": "imports", "label": "导入 create_app" }, { - "id": "edge:c79ba7d8", + "id": "edge:584b4959", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/core/agent_pool.py", "type": "imports", "label": "导入 AgentPool" }, { - "id": "edge:b249ade2", + "id": "edge:635eb8c7", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/llm/gateway.py", "type": "imports", "label": "导入 LLMGateway" }, { - "id": "edge:6647e529", + "id": "edge:9bc113ae", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/llm/providers/anthropic.py", "type": "imports", "label": "导入 AnthropicProvider" }, { - "id": "edge:7d3cc964", + "id": "edge:b729ef1d", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/llm/providers/gemini.py", "type": "imports", "label": "导入 GeminiProvider" }, { - "id": "edge:f42d73c6", + "id": "edge:37a49a5a", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/llm/providers/openai.py", "type": "imports", "label": "导入 OpenAICompatibleProvider" }, { - "id": "edge:df74aa8a", + "id": "edge:96fe08e0", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/mcp/manager.py", "type": "imports", "label": "导入 MCPManager" }, { - "id": "edge:94456290", + "id": "edge:4474e6c3", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/quality/gate.py", "type": "imports", "label": "导入 QualityGate" }, { - "id": "edge:d0b18bf2", + "id": "edge:a85c3c17", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/quality/output.py", "type": "imports", "label": "导入 OutputStandardizer" }, { - "id": "edge:c02d2b6f", + "id": "edge:272b3062", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/router/intent.py", "type": "imports", "label": "导入 IntentRouter" }, { - "id": "edge:6ae117c4", + "id": "edge:b832d1dd", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:850e7c22", + "id": "edge:4a36fa29", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 SkillConfig" }, { - "id": "edge:9e40e870", + "id": "edge:52cfa2dd", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:f955021a", + "id": "edge:4625c408", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:1c17b338", + "id": "edge:0e6a0499", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/tools/skill_install.py", "type": "imports", "label": "导入 SkillInstallTool" }, { - "id": "edge:a68e7998", + "id": "edge:d9ee5826", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/config.py", "type": "imports", "label": "导入 ServerConfig" }, { - "id": "edge:e72598c6", + "id": "edge:2b91343f", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 agents" }, { - "id": "edge:35e3a63c", + "id": "edge:3b50e476", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 tasks" }, { - "id": "edge:afced291", + "id": "edge:a462c191", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 skills" }, { - "id": "edge:1012f542", + "id": "edge:0f0f25c3", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 llm" }, { - "id": "edge:2f24bf52", + "id": "edge:20af6a89", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 health" }, { - "id": "edge:17cf68d4", + "id": "edge:3daefd28", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 metrics" }, { - "id": "edge:0a815763", + "id": "edge:46a4f7d6", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 ws" }, { - "id": "edge:8b66dbe5", + "id": "edge:f605be2a", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 evolution" }, { - "id": "edge:8d705ebb", + "id": "edge:2a55c107", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 memory" }, { - "id": "edge:e4521676", + "id": "edge:71ee87c6", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 portal" }, { - "id": "edge:a461d792", + "id": "edge:3cf8be0e", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 evolution_dashboard" }, { - "id": "edge:9f31d5ca", + "id": "edge:1470f871", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 kb_management" }, { - "id": "edge:1a657047", + "id": "edge:888c3575", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 skill_management" }, { - "id": "edge:ec085e7c", + "id": "edge:b8780854", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 workflows" }, { - "id": "edge:a2df7973", + "id": "edge:de4a2388", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 chat" }, { - "id": "edge:01f68054", + "id": "edge:ce4c282e", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 terminal" }, { - "id": "edge:83fbf580", + "id": "edge:4dd885c9", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 settings" }, { - "id": "edge:1138a8c9", + "id": "edge:3b409b80", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/middleware.py", "type": "imports", "label": "导入 APIKeyAuthMiddleware" }, { - "id": "edge:0128b5ba", + "id": "edge:fcf5a9aa", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/middleware.py", "type": "imports", "label": "导入 RateLimitMiddleware" }, { - "id": "edge:fa28ca17", + "id": "edge:2f73c726", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/task_store.py", "type": "imports", "label": "导入 create_task_store" }, { - "id": "edge:91708aed", + "id": "edge:1e55490b", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/server/runner.py", "type": "imports", "label": "导入 BackgroundRunner" }, { - "id": "edge:7ccdd111", + "id": "edge:02707eb0", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/core/logging.py", "type": "imports", "label": "导入 setup_structured_logging" }, { - "id": "edge:11ef648b", + "id": "edge:aeaf0409", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/telemetry/setup.py", "type": "imports", "label": "导入 setup_telemetry" }, { - "id": "edge:09d9f4e0", + "id": "edge:0f16e81e", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/core/compressor.py", "type": "imports", "label": "导入 create_compressor" }, { - "id": "edge:bd69574e", + "id": "edge:e8ba6d01", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/bus/redis_bus.py", "type": "imports", "label": "导入 create_message_bus" }, { - "id": "edge:b1aafe7a", + "id": "edge:e6162d7e", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/org/context.py", "type": "imports", "label": "导入 OrganizationContext" }, { - "id": "edge:559a3c1c", + "id": "edge:35a7f353", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/quality/alignment.py", "type": "imports", "label": "导入 AlignmentGuard" }, { - "id": "edge:457e46b4", + "id": "edge:0e639f42", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/quality/alignment.py", "type": "imports", "label": "导入 AlignmentConfig" }, { - "id": "edge:629262e8", + "id": "edge:355f915a", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/chat/skill_routing.py", "type": "imports", "label": "导入 CostAwareRouter" }, { - "id": "edge:d3e19721", + "id": "edge:696ba787", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/session/manager.py", "type": "imports", "label": "导入 SessionManager" }, { - "id": "edge:72163202", + "id": "edge:fc7d1a2a", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/session/store.py", "type": "imports", "label": "导入 create_session_store" }, { - "id": "edge:3faf67da", + "id": "edge:d7970f24", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 AgentConfig" }, { - "id": "edge:d44e7ed3", + "id": "edge:5b1f3143", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/memory/profile.py", "type": "imports", "label": "导入 MemoryStore" }, { - "id": "edge:9aba14dd", + "id": "edge:0d6c3510", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/tools/memory_tool.py", "type": "imports", "label": "导入 MemoryTool" }, { - "id": "edge:2d9ea182", + "id": "edge:e206f97b", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/tools/shell.py", "type": "imports", "label": "导入 ShellTool" }, { - "id": "edge:7474120e", + "id": "edge:33f76b63", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/tools/web_search.py", "type": "imports", "label": "导入 WebSearchTool" }, { - "id": "edge:ca790ff9", + "id": "edge:5191fb7f", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/tools/web_crawl.py", "type": "imports", "label": "导入 WebCrawlTool" }, { - "id": "edge:eca5c78e", + "id": "edge:b2729f09", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/tools/baidu_search.py", "type": "imports", "label": "导入 BaiduSearchTool" }, { - "id": "edge:d4d8d5f0", + "id": "edge:2d7f5ad1", + "source": "file:src/agentkit/server/app.py", + "target": "file:src/agentkit/llm/providers/usage_store.py", + "type": "imports", + "label": "导入 create_usage_store" + }, + { + "id": "edge:d79e762a", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/skills/loader.py", "type": "imports", "label": "导入 SkillLoader" }, { - "id": "edge:856f9170", + "id": "edge:09b4d41b", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/core/headroom_compressor.py", "type": "imports", "label": "导入 HeadroomCompressor" }, { - "id": "edge:df017662", + "id": "edge:50130d5e", + "source": "file:src/agentkit/server/app.py", + "target": "file:src/agentkit/chat/semantic_router.py", + "type": "imports", + "label": "导入 SemanticRouter" + }, + { + "id": "edge:2b8c9689", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/evolution/evolution_store.py", "type": "imports", "label": "导入 create_evolution_store" }, { - "id": "edge:a92062d4", + "id": "edge:5aaf0234", + "source": "file:src/agentkit/server/app.py", + "target": "file:src/agentkit/quality/cascade_state_store.py", + "type": "imports", + "label": "导入 create_cascade_state_store" + }, + { + "id": "edge:6e426a18", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/memory/retriever.py", "type": "imports", "label": "导入 MemoryRetriever" }, { - "id": "edge:5999e28b", + "id": "edge:0b7e38da", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/memory/working.py", "type": "imports", "label": "导入 WorkingMemory" }, { - "id": "edge:9eb3d1d6", + "id": "edge:61c10022", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/memory/semantic.py", "type": "imports", "label": "导入 SemanticMemory" }, { - "id": "edge:2b5390a9", + "id": "edge:dc00427a", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/memory/http_rag.py", "type": "imports", "label": "导入 HttpRAGService" }, { - "id": "edge:5c7f582d", + "id": "edge:19fac287", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/memory/profile.py", "type": "imports", "label": "导入 MemoryStore" }, { - "id": "edge:e80260db", + "id": "edge:91523015", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/tools/headroom_retrieve.py", "type": "imports", "label": "导入 HeadroomRetrieveTool" }, { - "id": "edge:0035a592", + "id": "edge:69fde1c5", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/memory/episodic.py", "type": "imports", "label": "导入 EpisodicMemory" }, { - "id": "edge:20483fde", + "id": "edge:cff4ce5d", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/memory/embedder.py", "type": "imports", "label": "导入 OpenAIEmbedder" }, { - "id": "edge:132cd516", + "id": "edge:e5caa12d", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/memory/embedder.py", "type": "imports", "label": "导入 EmbeddingCache" }, { - "id": "edge:41a123fc", + "id": "edge:15076481", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/memory/models.py", "type": "imports", "label": "导入 EpisodeModel" }, { - "id": "edge:797fbf3e", + "id": "edge:30fb9dcd", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/memory/models.py", "type": "imports", "label": "导入 create_episodic_session_factory" }, { - "id": "edge:b51cdc65", + "id": "edge:aa9f8979", "source": "file:src/agentkit/server/app.py", "target": "file:src/agentkit/skills/loader.py", "type": "imports", "label": "导入 SkillLoader" }, { - "id": "edge:941f0850", + "id": "edge:30f837f3", "source": "file:src/agentkit/server/config.py", "target": "file:src/agentkit/llm/config.py", "type": "imports", "label": "导入 LLMConfig" }, { - "id": "edge:f1ab8188", + "id": "edge:acd5627b", "source": "file:src/agentkit/server/config.py", "target": "file:src/agentkit/llm/config.py", "type": "imports", "label": "导入 ProviderConfig" }, { - "id": "edge:9bdfe035", + "id": "edge:46ee0dd3", "source": "file:src/agentkit/server/config.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 SkillConfig" }, { - "id": "edge:dd4946ce", + "id": "edge:8b328dee", + "source": "file:src/agentkit/server/config.py", + "target": "file:src/agentkit/llm/config.py", + "type": "imports", + "label": "导入 CacheConfig" + }, + { + "id": "edge:c9d5beab", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 agents" }, { - "id": "edge:0d9b0688", + "id": "edge:9166ac0f", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 tasks" }, { - "id": "edge:fb279ec2", + "id": "edge:6560157d", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 skills" }, { - "id": "edge:a7c40543", + "id": "edge:ecdc1a1d", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 llm" }, { - "id": "edge:e67e3324", + "id": "edge:9c948ac7", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 health" }, { - "id": "edge:560741f1", + "id": "edge:3b36770c", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 metrics" }, { - "id": "edge:00ac9935", + "id": "edge:6194c7a5", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 ws" }, { - "id": "edge:f3353c89", + "id": "edge:c9c4470d", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 evolution" }, { - "id": "edge:7c5e4c86", + "id": "edge:10cd0e6f", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 memory" }, { - "id": "edge:bd9fc594", + "id": "edge:203adfdf", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 portal" }, { - "id": "edge:2867996f", + "id": "edge:1eeb17ba", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 evolution_dashboard" }, { - "id": "edge:4aa49388", + "id": "edge:05a5867b", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 kb_management" }, { - "id": "edge:a909044d", + "id": "edge:2810a69b", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 skill_management" }, { - "id": "edge:dd70984f", + "id": "edge:0d306580", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 workflows" }, { - "id": "edge:5bdbe616", + "id": "edge:62607a8a", "source": "file:src/agentkit/server/routes/__init__.py", "target": "file:src/agentkit/server/routes/__init__.py", "type": "imports", "label": "导入 terminal" }, { - "id": "edge:5e58b8b3", + "id": "edge:dae8c731", "source": "file:src/agentkit/server/routes/agents.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 AgentConfig" }, { - "id": "edge:2860dcde", + "id": "edge:44d4b4c7", "source": "file:src/agentkit/server/routes/agents.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 SkillConfig" }, { - "id": "edge:b35d1677", + "id": "edge:23f3e739", "source": "file:src/agentkit/server/routes/chat.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 CancellationToken" }, { - "id": "edge:a83ff725", + "id": "edge:a6ee5a6e", "source": "file:src/agentkit/server/routes/chat.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEngine" }, { - "id": "edge:90ba1864", + "id": "edge:1e26333b", "source": "file:src/agentkit/server/routes/chat.py", "target": "file:src/agentkit/session/manager.py", "type": "imports", "label": "导入 SessionManager" }, { - "id": "edge:75e1ef82", + "id": "edge:df686b6c", "source": "file:src/agentkit/server/routes/chat.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 MessageRole" }, { - "id": "edge:e60eb897", + "id": "edge:9adb5477", "source": "file:src/agentkit/server/routes/chat.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 SessionStatus" }, { - "id": "edge:2ce7edeb", + "id": "edge:76254760", "source": "file:src/agentkit/server/routes/chat.py", "target": "file:src/agentkit/chat/skill_routing.py", "type": "imports", "label": "导入 resolve_skill_routing" }, { - "id": "edge:291c77e5", + "id": "edge:62fbad94", "source": "file:src/agentkit/server/routes/evolution.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 EvolutionEvent" }, { - "id": "edge:5db0a408", + "id": "edge:f9bcdcb3", "source": "file:src/agentkit/server/routes/evolution.py", "target": "file:src/agentkit/evolution/models.py", "type": "imports", "label": "导入 ABTestResultModel" }, { - "id": "edge:7b4082e8", + "id": "edge:79ac0dcd", "source": "file:src/agentkit/server/routes/kb_management.py", "target": "file:src/agentkit/memory/document_loader.py", "type": "imports", "label": "导入 DocumentLoader" }, { - "id": "edge:649a75b1", + "id": "edge:c15e91e2", "source": "file:src/agentkit/server/routes/portal.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:38b4f2dc", + "id": "edge:eb292f52", "source": "file:src/agentkit/server/routes/portal.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEngine" }, { - "id": "edge:a9f3e1e9", + "id": "edge:6931899e", "source": "file:src/agentkit/server/routes/portal.py", "target": "file:src/agentkit/chat/skill_routing.py", "type": "imports", "label": "导入 ExecutionMode" }, { - "id": "edge:b8737fe8", + "id": "edge:8c887346", "source": "file:src/agentkit/server/routes/portal.py", "target": "file:src/agentkit/router/intent.py", "type": "imports", "label": "导入 IntentRouter" }, { - "id": "edge:491c8531", + "id": "edge:fc27e222", "source": "file:src/agentkit/server/routes/portal.py", "target": "file:src/agentkit/server/routes/evolution_dashboard.py", "type": "imports", "label": "导入 _experiences" }, { - "id": "edge:0ec55821", + "id": "edge:1e73fa02", "source": "file:src/agentkit/server/routes/portal.py", "target": "file:src/agentkit/server/routes/evolution_dashboard.py", "type": "imports", "label": "导入 DashboardExperience" }, { - "id": "edge:973770f7", + "id": "edge:aed6ff73", "source": "file:src/agentkit/server/routes/portal.py", "target": "file:src/agentkit/server/routes/evolution_dashboard.py", "type": "imports", "label": "导入 _broadcast_event" }, { - "id": "edge:542ae9af", + "id": "edge:0a07cfcb", "source": "file:src/agentkit/server/routes/skills.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:e0e7dcc6", + "id": "edge:dc6e8532", "source": "file:src/agentkit/server/routes/skills.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 SkillConfig" }, { - "id": "edge:fa3eb83c", + "id": "edge:1d6e3757", "source": "file:src/agentkit/server/routes/skills.py", "target": "file:src/agentkit/skills/pipeline.py", "type": "imports", "label": "导入 SkillPipeline" }, { - "id": "edge:e76a181e", + "id": "edge:db20bb5c", "source": "file:src/agentkit/server/routes/skills.py", "target": "file:src/agentkit/skills/loader.py", "type": "imports", "label": "导入 SkillLoader" }, { - "id": "edge:77d222d7", + "id": "edge:058160ba", "source": "file:src/agentkit/server/routes/tasks.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:9a321558", + "id": "edge:d3c0a74c", "source": "file:src/agentkit/server/routes/tasks.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:e1cc73ca", + "id": "edge:ba7d6263", "source": "file:src/agentkit/server/routes/tasks.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 LLMProviderError" }, { - "id": "edge:8d3e55cd", + "id": "edge:6489638e", "source": "file:src/agentkit/server/routes/tasks.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEngine" }, { - "id": "edge:c152024a", + "id": "edge:a1387c22", "source": "file:src/agentkit/server/routes/terminal.py", "target": "file:src/agentkit/tools/pty_session.py", "type": "imports", "label": "导入 PTYSession" }, { - "id": "edge:a6dec17c", + "id": "edge:eb43467f", "source": "file:src/agentkit/server/routes/terminal.py", "target": "file:src/agentkit/tools/shell.py", "type": "imports", "label": "导入 _SAFE_COMMAND_PREFIXES" }, { - "id": "edge:fc877c71", + "id": "edge:272d7b7d", "source": "file:src/agentkit/server/routes/terminal.py", "target": "file:src/agentkit/tools/shell.py", "type": "imports", "label": "导入 _DANGEROUS_BINARIES" }, { - "id": "edge:21e4aa79", + "id": "edge:1286ef91", "source": "file:src/agentkit/server/routes/terminal.py", "target": "file:src/agentkit/tools/shell.py", "type": "imports", "label": "导入 _DANGEROUS_BINARY_FLAGS" }, { - "id": "edge:eeb9eaa0", + "id": "edge:468a8230", "source": "file:src/agentkit/server/routes/terminal.py", "target": "file:src/agentkit/tools/shell.py", "type": "imports", "label": "导入 _DANGEROUS_ARG_PATTERNS" }, { - "id": "edge:36de98e0", + "id": "edge:db1eec57", "source": "file:src/agentkit/server/routes/terminal.py", "target": "file:src/agentkit/tools/shell.py", "type": "imports", "label": "导入 _SHELL_PIPE_OPERATORS" }, { - "id": "edge:26154cc5", + "id": "edge:a9915ac0", "source": "file:src/agentkit/server/routes/terminal.py", "target": "file:src/agentkit/tools/shell.py", "type": "imports", "label": "导入 _SHELL_CHAIN_OPERATORS" }, { - "id": "edge:2bcde323", + "id": "edge:6c805055", "source": "file:src/agentkit/server/routes/workflows.py", "target": "file:src/agentkit/orchestrator/workflow_schema.py", "type": "imports", "label": "导入 ApproveRequest" }, { - "id": "edge:be8e24f5", + "id": "edge:4b9f3f80", "source": "file:src/agentkit/server/routes/workflows.py", "target": "file:src/agentkit/orchestrator/workflow_schema.py", "type": "imports", "label": "导入 CreateWorkflowRequest" }, { - "id": "edge:3dc42bc5", + "id": "edge:3b035d38", "source": "file:src/agentkit/server/routes/workflows.py", "target": "file:src/agentkit/orchestrator/workflow_schema.py", "type": "imports", "label": "导入 ExecuteWorkflowRequest" }, { - "id": "edge:4771edbf", + "id": "edge:f029a758", "source": "file:src/agentkit/server/routes/workflows.py", "target": "file:src/agentkit/orchestrator/workflow_schema.py", "type": "imports", "label": "导入 WorkflowDefinition" }, { - "id": "edge:78ba391c", + "id": "edge:206bad03", "source": "file:src/agentkit/server/routes/workflows.py", "target": "file:src/agentkit/orchestrator/workflow_schema.py", "type": "imports", "label": "导入 WorkflowExecution" }, { - "id": "edge:58eff70d", + "id": "edge:76223fc7", "source": "file:src/agentkit/server/routes/workflows.py", "target": "file:src/agentkit/orchestrator/workflow_schema.py", "type": "imports", "label": "导入 WorkflowStage" }, { - "id": "edge:7ce7ad6a", + "id": "edge:1015c0a9", "source": "file:src/agentkit/server/routes/workflows.py", "target": "file:src/agentkit/orchestrator/workflow_schema.py", "type": "imports", "label": "导入 WorkflowSummary" }, { - "id": "edge:157f2a1a", + "id": "edge:b9e36af0", "source": "file:src/agentkit/server/routes/workflows.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 ConfigDrivenAgent" }, { - "id": "edge:c663614a", + "id": "edge:a6f29864", "source": "file:src/agentkit/server/routes/workflows.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:5c1900ee", + "id": "edge:1d8cd1c9", "source": "file:src/agentkit/server/routes/workflows.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 ConfigDrivenAgent" }, { - "id": "edge:f4ea8ce5", + "id": "edge:2abb0848", "source": "file:src/agentkit/server/routes/workflows.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:5d5d7ad7", + "id": "edge:3526c571", "source": "file:src/agentkit/server/routes/ws.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 CancellationToken" }, { - "id": "edge:cc491138", + "id": "edge:3a79a907", "source": "file:src/agentkit/server/routes/ws.py", "target": "file:src/agentkit/core/react.py", "type": "imports", "label": "导入 ReActEngine" }, { - "id": "edge:e8952934", + "id": "edge:d2747d2e", "source": "file:src/agentkit/server/runner.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:fdfde7e0", + "id": "edge:413fc715", "source": "file:src/agentkit/server/runner.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:54a647d3", + "id": "edge:2d8f5082", "source": "file:src/agentkit/server/runner.py", "target": "file:src/agentkit/server/task_store.py", "type": "imports", "label": "导入 TaskStore" }, { - "id": "edge:3bbc7bb0", + "id": "edge:618c12d4", "source": "file:src/agentkit/server/task_store.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskStatus" }, { - "id": "edge:85e34dac", + "id": "edge:fb3eae8c", "source": "file:src/agentkit/session/__init__.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 Message" }, { - "id": "edge:e5c80114", + "id": "edge:7de745e8", "source": "file:src/agentkit/session/__init__.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 MessageRole" }, { - "id": "edge:8d6f5961", + "id": "edge:8281116c", "source": "file:src/agentkit/session/__init__.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 Session" }, { - "id": "edge:72a74b60", + "id": "edge:43232ef3", "source": "file:src/agentkit/session/__init__.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 SessionStatus" }, { - "id": "edge:de79c914", + "id": "edge:a08c1bd6", "source": "file:src/agentkit/session/__init__.py", "target": "file:src/agentkit/session/manager.py", "type": "imports", "label": "导入 SessionManager" }, { - "id": "edge:d1897bc3", + "id": "edge:db4b77e7", "source": "file:src/agentkit/session/__init__.py", "target": "file:src/agentkit/session/store.py", "type": "imports", "label": "导入 InMemorySessionStore" }, { - "id": "edge:85ffe4d0", + "id": "edge:2613a2d3", "source": "file:src/agentkit/session/__init__.py", "target": "file:src/agentkit/session/store.py", "type": "imports", "label": "导入 RedisSessionStore" }, { - "id": "edge:44a5c258", + "id": "edge:c5e5f94e", "source": "file:src/agentkit/session/__init__.py", "target": "file:src/agentkit/session/store.py", "type": "imports", "label": "导入 create_session_store" }, { - "id": "edge:eb6e6a13", + "id": "edge:269d95b2", "source": "file:src/agentkit/session/manager.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 Message" }, { - "id": "edge:ae507dd5", + "id": "edge:7beb4cf5", "source": "file:src/agentkit/session/manager.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 MessageRole" }, { - "id": "edge:b43165d3", + "id": "edge:fc1605cf", "source": "file:src/agentkit/session/manager.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 Session" }, { - "id": "edge:ad0d1d34", + "id": "edge:99301f18", "source": "file:src/agentkit/session/manager.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 SessionStatus" }, { - "id": "edge:0f6408d8", + "id": "edge:62d07db2", "source": "file:src/agentkit/session/manager.py", "target": "file:src/agentkit/session/store.py", "type": "imports", "label": "导入 InMemorySessionStore" }, { - "id": "edge:fd3356dd", + "id": "edge:625950f5", "source": "file:src/agentkit/session/manager.py", "target": "file:src/agentkit/session/store.py", "type": "imports", "label": "导入 SessionStore" }, { - "id": "edge:0b26cc60", + "id": "edge:7369fee0", "source": "file:src/agentkit/session/store.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 Message" }, { - "id": "edge:2de5d339", + "id": "edge:bdacc242", "source": "file:src/agentkit/session/store.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 Session" }, { - "id": "edge:1b21913f", + "id": "edge:ed15257c", "source": "file:src/agentkit/session/store.py", "target": "file:src/agentkit/session/models.py", "type": "imports", "label": "导入 SessionStatus" }, { - "id": "edge:d54a5162", + "id": "edge:31cac539", "source": "file:src/agentkit/skills/__init__.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 IntentConfig" }, { - "id": "edge:047a9b2a", + "id": "edge:0d6fefda", "source": "file:src/agentkit/skills/__init__.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 QualityGateConfig" }, { - "id": "edge:f3c5f931", + "id": "edge:cff2ff6c", "source": "file:src/agentkit/skills/__init__.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:2194945c", + "id": "edge:64253f4f", "source": "file:src/agentkit/skills/__init__.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 SkillConfig" }, { - "id": "edge:2f0365dd", + "id": "edge:304226b9", "source": "file:src/agentkit/skills/__init__.py", "target": "file:src/agentkit/skills/loader.py", "type": "imports", "label": "导入 SkillLoader" }, { - "id": "edge:7bc00382", + "id": "edge:e821133c", "source": "file:src/agentkit/skills/__init__.py", "target": "file:src/agentkit/skills/pipeline.py", "type": "imports", "label": "导入 SkillPipeline" }, { - "id": "edge:18515efc", + "id": "edge:2150ea70", "source": "file:src/agentkit/skills/__init__.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:c54b4baa", + "id": "edge:7227da3e", "source": "file:src/agentkit/skills/__init__.py", "target": "file:src/agentkit/skills/schema.py", "type": "imports", "label": "导入 CapabilityTag" }, { - "id": "edge:f7f55909", + "id": "edge:2e375b19", "source": "file:src/agentkit/skills/__init__.py", "target": "file:src/agentkit/skills/schema.py", "type": "imports", "label": "导入 DependencyDecl" }, { - "id": "edge:993e50a9", + "id": "edge:18286380", "source": "file:src/agentkit/skills/__init__.py", "target": "file:src/agentkit/skills/schema.py", "type": "imports", "label": "导入 HealthCheckResult" }, { - "id": "edge:8b70cdb9", + "id": "edge:cbd4f3e0", "source": "file:src/agentkit/skills/__init__.py", "target": "file:src/agentkit/skills/schema.py", "type": "imports", "label": "导入 SkillSpec" }, { - "id": "edge:3554562f", + "id": "edge:f2361437", "source": "file:src/agentkit/skills/base.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 AgentConfig" }, { - "id": "edge:caf1d8ec", + "id": "edge:553f9139", "source": "file:src/agentkit/skills/base.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 ConfigValidationError" }, { - "id": "edge:7f6c70c1", + "id": "edge:498d6abc", "source": "file:src/agentkit/skills/base.py", "target": "file:src/agentkit/skills/schema.py", "type": "imports", "label": "导入 CapabilityTag" }, { - "id": "edge:f0ab5a03", + "id": "edge:8e800fb6", "source": "file:src/agentkit/skills/base.py", "target": "file:src/agentkit/skills/schema.py", "type": "imports", "label": "导入 DependencyDecl" }, { - "id": "edge:93996ef8", + "id": "edge:bd9faed8", "source": "file:src/agentkit/skills/base.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:8cc43013", + "id": "edge:2f50ab30", "source": "file:src/agentkit/skills/base.py", "target": "file:src/agentkit/quality/alignment.py", "type": "imports", "label": "导入 AlignmentConfig" }, { - "id": "edge:5b17e9c3", + "id": "edge:a50b5f45", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:29725d05", + "id": "edge:8cbe24da", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "file:src/agentkit/core/shared_workspace.py", "type": "imports", "label": "导入 SharedWorkspace" }, { - "id": "edge:b27b540f", + "id": "edge:08c91619", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "file:src/agentkit/orchestrator/compensation.py", "type": "imports", "label": "导入 SagaOrchestrator" }, { - "id": "edge:648d2c6e", + "id": "edge:882f1d90", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "file:src/agentkit/orchestrator/retry.py", "type": "imports", "label": "导入 StepRetryPolicy" }, { - "id": "edge:d64ec189", + "id": "edge:7e6291f5", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "file:src/agentkit/orchestrator/retry.py", "type": "imports", "label": "导入 execute_with_retry" }, { - "id": "edge:8c66a4bf", + "id": "edge:d307eaf9", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:23efac9f", + "id": "edge:13807bc3", "source": "file:src/agentkit/skills/geo_pipeline.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 ConfigDrivenAgent" }, { - "id": "edge:d98ebe49", + "id": "edge:83589fab", "source": "file:src/agentkit/skills/loader.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:f0255062", + "id": "edge:862058c2", "source": "file:src/agentkit/skills/loader.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 SkillConfig" }, { - "id": "edge:6291781b", + "id": "edge:9ecea761", "source": "file:src/agentkit/skills/loader.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:ec382ab3", + "id": "edge:68387198", "source": "file:src/agentkit/skills/loader.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:58ad6bc7", + "id": "edge:ddf87635", "source": "file:src/agentkit/skills/loader.py", "target": "file:src/agentkit/skills/skill_md.py", "type": "imports", "label": "导入 SkillMdParser" }, { - "id": "edge:0717d522", + "id": "edge:bbf1016a", "source": "file:src/agentkit/skills/pipeline.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:6d79c5cb", + "id": "edge:c360eb8f", "source": "file:src/agentkit/skills/pipeline.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 SkillConfig" }, { - "id": "edge:a889eb46", + "id": "edge:2736837c", "source": "file:src/agentkit/skills/pipeline.py", "target": "file:src/agentkit/skills/registry.py", "type": "imports", "label": "导入 SkillRegistry" }, { - "id": "edge:0b141ac3", + "id": "edge:2a2139b1", "source": "file:src/agentkit/skills/pipeline.py", "target": "file:src/agentkit/core/config_driven.py", "type": "imports", "label": "导入 ConfigDrivenAgent" }, { - "id": "edge:f043a46c", + "id": "edge:bb6c4431", "source": "file:src/agentkit/skills/pipeline.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:26c14081", + "id": "edge:4004a9bb", "source": "file:src/agentkit/skills/registry.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 SkillNotFoundError" }, { - "id": "edge:a8e6c364", + "id": "edge:9a05f6e1", "source": "file:src/agentkit/skills/registry.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 Skill" }, { - "id": "edge:b580be9e", + "id": "edge:a39d4582", "source": "file:src/agentkit/skills/registry.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 SkillConfig" }, { - "id": "edge:bab68dad", + "id": "edge:27e442e2", "source": "file:src/agentkit/skills/registry.py", "target": "file:src/agentkit/skills/schema.py", "type": "imports", "label": "导入 DependencyDecl" }, { - "id": "edge:837ced01", + "id": "edge:3598de24", "source": "file:src/agentkit/skills/registry.py", "target": "file:src/agentkit/skills/schema.py", "type": "imports", "label": "导入 HealthCheckResult" }, { - "id": "edge:e36eb5d0", + "id": "edge:532d2830", "source": "file:src/agentkit/skills/registry.py", "target": "file:src/agentkit/skills/pipeline.py", "type": "imports", "label": "导入 SkillPipeline" }, { - "id": "edge:74b0daf0", + "id": "edge:a5840e6d", "source": "file:src/agentkit/skills/skill_md.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 ConfigValidationError" }, { - "id": "edge:1a00d1e2", + "id": "edge:003ce3ed", "source": "file:src/agentkit/skills/skill_md.py", "target": "file:src/agentkit/skills/base.py", "type": "imports", "label": "导入 SkillConfig" }, { - "id": "edge:0ded3d96", + "id": "edge:11ceb20a", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 get_tracer" }, { - "id": "edge:9b9af6c0", + "id": "edge:a9a94390", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 start_span" }, { - "id": "edge:b11f7658", + "id": "edge:13a67820", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 trace_agent" }, { - "id": "edge:0d17e33f", + "id": "edge:27d7cc9a", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 trace_tool" }, { - "id": "edge:b336b746", + "id": "edge:eeff0403", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 trace_llm" }, { - "id": "edge:b6a500e8", + "id": "edge:4e1d6688", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 trace_pipeline_step" }, { - "id": "edge:b3e7bb60", + "id": "edge:09816dec", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 _OTEL_AVAILABLE" }, { - "id": "edge:73d3408a", + "id": "edge:d0572617", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 agent_request_counter" }, { - "id": "edge:ff6ebecd", + "id": "edge:acf73f0f", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 agent_duration_histogram" }, { - "id": "edge:eb09c224", + "id": "edge:2df79f0e", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 llm_token_histogram" }, { - "id": "edge:e08a6ed8", + "id": "edge:614b9b74", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 tool_duration_histogram" }, { - "id": "edge:4fc00b64", + "id": "edge:8f38e065", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 pipeline_step_histogram" }, { - "id": "edge:9a27e806", + "id": "edge:1fff2b84", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/setup.py", "type": "imports", "label": "导入 setup_telemetry" }, { - "id": "edge:7e72e6c4", + "id": "edge:d6eb5a95", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/tracer.py", "type": "imports", "label": "导入 TelemetryConfig" }, { - "id": "edge:350a46db", + "id": "edge:7114ff3b", "source": "file:src/agentkit/telemetry/__init__.py", "target": "file:src/agentkit/telemetry/tracer.py", "type": "imports", "label": "导入 NoOpTracer" }, { - "id": "edge:fd96d282", + "id": "edge:18ea9c90", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:c213cf0d", + "id": "edge:759147bd", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/function_tool.py", "type": "imports", "label": "导入 FunctionTool" }, { - "id": "edge:bfe01f17", + "id": "edge:03b00987", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/agent_tool.py", "type": "imports", "label": "导入 AgentTool" }, { - "id": "edge:776454d7", + "id": "edge:46f6a863", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/mcp_tool.py", "type": "imports", "label": "导入 MCPTool" }, { - "id": "edge:2358282d", + "id": "edge:496bc87f", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/registry.py", "type": "imports", "label": "导入 ToolRegistry" }, { - "id": "edge:ca43d95a", + "id": "edge:55dc390e", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/composition.py", "type": "imports", "label": "导入 SequentialChain" }, { - "id": "edge:1a757d78", + "id": "edge:8f801a90", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/composition.py", "type": "imports", "label": "导入 ParallelFanOut" }, { - "id": "edge:ccf9d137", + "id": "edge:f59ed203", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/composition.py", "type": "imports", "label": "导入 DynamicSelector" }, { - "id": "edge:abab7e7b", + "id": "edge:2c3a40e5", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/web_crawl.py", "type": "imports", "label": "导入 WebCrawlTool" }, { - "id": "edge:25f9484f", + "id": "edge:c087d690", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/schema_tools.py", "type": "imports", "label": "导入 SchemaExtractTool" }, { - "id": "edge:4ecaf846", + "id": "edge:2c3cf914", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/schema_tools.py", "type": "imports", "label": "导入 SchemaGenerateTool" }, { - "id": "edge:5ac83c1c", + "id": "edge:bebffe71", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/baidu_search.py", "type": "imports", "label": "导入 BaiduSearchTool" }, { - "id": "edge:8798e86e", + "id": "edge:e20de2e4", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/shell.py", "type": "imports", "label": "导入 ShellTool" }, { - "id": "edge:e93250a6", + "id": "edge:88dc4244", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/terminal_session.py", "type": "imports", "label": "导入 TerminalSession" }, { - "id": "edge:507d6a9a", + "id": "edge:1d516a17", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/terminal_session.py", "type": "imports", "label": "导入 TerminalSessionManager" }, { - "id": "edge:24e7e623", + "id": "edge:17fa7f45", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/pty_session.py", "type": "imports", "label": "导入 PTYSession" }, { - "id": "edge:2390b91a", + "id": "edge:d7230454", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/output_parser.py", "type": "imports", "label": "导入 OutputParser" }, { - "id": "edge:bac21b82", + "id": "edge:429bb7c0", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/output_parser.py", "type": "imports", "label": "导入 ParsedOutput" }, { - "id": "edge:2e9fee9c", + "id": "edge:a0612001", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/output_parser.py", "type": "imports", "label": "导入 ErrorType" }, { - "id": "edge:e2c2714f", + "id": "edge:7e8262be", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/ask_human.py", "type": "imports", "label": "导入 AskHumanTool" }, { - "id": "edge:50fbf1bf", + "id": "edge:dbd9525a", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/memory_tool.py", "type": "imports", "label": "导入 MemoryTool" }, { - "id": "edge:fae059b7", + "id": "edge:ef3db212", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/web_search.py", "type": "imports", "label": "导入 WebSearchTool" }, { - "id": "edge:88f668be", + "id": "edge:eedad3c1", "source": "file:src/agentkit/tools/__init__.py", "target": "file:src/agentkit/tools/headroom_retrieve.py", "type": "imports", "label": "导入 HeadroomRetrieveTool" }, { - "id": "edge:c5ff362b", + "id": "edge:3c699022", "source": "file:src/agentkit/tools/agent_tool.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:02f1256e", + "id": "edge:d13a697e", "source": "file:src/agentkit/tools/agent_tool.py", "target": "file:src/agentkit/core/protocol.py", "type": "imports", "label": "导入 TaskMessage" }, { - "id": "edge:64e2bdfe", + "id": "edge:8be43a8f", "source": "file:src/agentkit/tools/ask_human.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:0807c78a", + "id": "edge:cd1821e6", "source": "file:src/agentkit/tools/baidu_search.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:da627cc3", + "id": "edge:39c69b0d", "source": "file:src/agentkit/tools/base.py", "target": "file:src/agentkit/telemetry/tracing.py", "type": "imports", "label": "导入 start_span" }, { - "id": "edge:8f92ed1e", + "id": "edge:5df6ba79", "source": "file:src/agentkit/tools/base.py", "target": "file:src/agentkit/telemetry/metrics.py", "type": "imports", "label": "导入 tool_duration_histogram" }, { - "id": "edge:884f60a2", + "id": "edge:c8185352", "source": "file:src/agentkit/tools/composition.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:e37cb0eb", + "id": "edge:6d0d71a3", "source": "file:src/agentkit/tools/computer_use.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:2dc884f8", + "id": "edge:52c5daf0", "source": "file:src/agentkit/tools/computer_use.py", "target": "file:src/agentkit/tools/computer_use_session.py", "type": "imports", "label": "导入 ComputerUseSession" }, { - "id": "edge:7d247ed8", + "id": "edge:48f32354", "source": "file:src/agentkit/tools/computer_use.py", "target": "file:src/agentkit/tools/computer_use_session.py", "type": "imports", "label": "导入 InMemoryComputerUseSession" }, { - "id": "edge:9ccf7c2b", + "id": "edge:545e22d7", "source": "file:src/agentkit/tools/computer_use.py", "target": "file:src/agentkit/tools/computer_use_session.py", "type": "imports", "label": "导入 ComputerUseSessionManager" }, { - "id": "edge:742b52c0", + "id": "edge:17c3287b", "source": "file:src/agentkit/tools/computer_use.py", "target": "file:src/agentkit/tools/computer_use_session.py", "type": "imports", "label": "导入 ActionResult" }, { - "id": "edge:aad5d1ca", + "id": "edge:d5530e4d", "source": "file:src/agentkit/tools/computer_use.py", "target": "file:src/agentkit/tools/computer_use_recorder.py", "type": "imports", "label": "导入 ComputerUseRecorder" }, { - "id": "edge:c93ebd9b", + "id": "edge:52a9f1d2", "source": "file:src/agentkit/tools/computer_use.py", "target": "file:src/agentkit/utils/security.py", "type": "imports", "label": "导入 is_safe_url" }, { - "id": "edge:a87aa3e4", + "id": "edge:12b0706e", "source": "file:src/agentkit/tools/computer_use_recorder.py", "target": "file:src/agentkit/tools/computer_use_session.py", "type": "imports", "label": "导入 ComputerUseSession" }, { - "id": "edge:1a413ee8", + "id": "edge:9213fe03", "source": "file:src/agentkit/tools/computer_use_recorder.py", "target": "file:src/agentkit/tools/computer_use_session.py", "type": "imports", "label": "导入 ActionResult" }, { - "id": "edge:b09afeab", + "id": "edge:5411faae", "source": "file:src/agentkit/tools/function_tool.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:6a797867", + "id": "edge:f7731bf2", "source": "file:src/agentkit/tools/headroom_retrieve.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:34eba040", + "id": "edge:45efc72e", "source": "file:src/agentkit/tools/mcp_tool.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:117f3e28", + "id": "edge:2f3c0e43", "source": "file:src/agentkit/tools/memory_tool.py", "target": "file:src/agentkit/memory/profile.py", "type": "imports", "label": "导入 MemoryFile" }, { - "id": "edge:43a1837f", + "id": "edge:8cdf8d24", "source": "file:src/agentkit/tools/memory_tool.py", "target": "file:src/agentkit/memory/profile.py", "type": "imports", "label": "导入 MemoryStore" }, { - "id": "edge:bd2a0997", + "id": "edge:2b00cc36", "source": "file:src/agentkit/tools/memory_tool.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:46cc9956", + "id": "edge:c4b237b0", "source": "file:src/agentkit/tools/registry.py", "target": "file:src/agentkit/core/exceptions.py", "type": "imports", "label": "导入 ToolNotFoundError" }, { - "id": "edge:8b4b924b", + "id": "edge:a44953a3", "source": "file:src/agentkit/tools/registry.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:3d3c9a10", + "id": "edge:2a107044", "source": "file:src/agentkit/tools/schema_tools.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:bbab8e6c", + "id": "edge:59296f94", "source": "file:src/agentkit/tools/shell.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:6746c254", + "id": "edge:c2f63c79", "source": "file:src/agentkit/tools/shell.py", "target": "file:src/agentkit/tools/output_parser.py", "type": "imports", "label": "导入 OutputParser" }, { - "id": "edge:f2042cb8", + "id": "edge:efa898eb", "source": "file:src/agentkit/tools/shell.py", "target": "file:src/agentkit/tools/output_parser.py", "type": "imports", "label": "导入 ParsedOutput" }, { - "id": "edge:2d75cf36", + "id": "edge:1de99799", "source": "file:src/agentkit/tools/shell.py", "target": "file:src/agentkit/tools/terminal_session.py", "type": "imports", "label": "导入 TerminalSession" }, { - "id": "edge:3422b8cb", + "id": "edge:bd883a95", "source": "file:src/agentkit/tools/shell.py", "target": "file:src/agentkit/tools/terminal_session.py", "type": "imports", "label": "导入 TerminalSessionManager" }, { - "id": "edge:9cdfd9ee", + "id": "edge:8ca0b959", "source": "file:src/agentkit/tools/shell.py", "target": "file:src/agentkit/tools/pty_session.py", "type": "imports", "label": "导入 PTYSession" }, { - "id": "edge:39620589", + "id": "edge:4c70c176", "source": "file:src/agentkit/tools/skill_install.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:8493e97b", + "id": "edge:770ec2cb", "source": "file:src/agentkit/tools/skill_install.py", "target": "file:src/agentkit/skills/loader.py", "type": "imports", "label": "导入 SkillLoader" }, { - "id": "edge:76a84934", + "id": "edge:c50bd929", "source": "file:src/agentkit/tools/terminal_session.py", "target": "file:src/agentkit/tools/output_parser.py", "type": "imports", "label": "导入 OutputParser" }, { - "id": "edge:be608b85", + "id": "edge:6e46d2c2", "source": "file:src/agentkit/tools/terminal_session.py", "target": "file:src/agentkit/tools/output_parser.py", "type": "imports", "label": "导入 ParsedOutput" }, { - "id": "edge:d4b61da0", + "id": "edge:510e0240", "source": "file:src/agentkit/tools/web_crawl.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", "label": "导入 Tool" }, { - "id": "edge:ee66e481", + "id": "edge:19ed072e", "source": "file:src/agentkit/tools/web_search.py", "target": "file:src/agentkit/tools/base.py", "type": "imports", diff --git a/.understand-anything/meta.json b/.understand-anything/meta.json index b810a20..7353a48 100644 --- a/.understand-anything/meta.json +++ b/.understand-anything/meta.json @@ -1,6 +1,6 @@ { - "lastAnalyzedAt": "2026-06-12T17:39:05.023556+00:00", - "gitCommitHash": "09698d7a06c8d77b411e5a34ea27343ce9e8b42c", + "lastAnalyzedAt": "2026-06-14T10:00:00.000000+00:00", + "gitCommitHash": "d9d1b16e5911ad958cd8ae38958058bea13f3fcc", "version": "1.0.0", - "analyzedFiles": 248 -} \ No newline at end of file + "analyzedFiles": 208 +} diff --git a/README.md b/README.md index c4a5711..27c6bba 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,14 @@ AgentKit 解决的核心问题:**从写 150 行 Agent 代码降为 10-20 行 Y 核心定位: - **配置驱动** -- YAML 定义 Skill,无需写 Agent 子类 -- **生产就绪** -- 内置质量门禁、模型降级、用量统计 +- **生产就绪** -- 内置质量门禁、模型降级、用量统计、级联检测、状态持久化 - **四种使用** -- Python 库引用、CLI 聊天、Web GUI、桌面客户端 - **记忆持久化** -- SOUL/USER/MEMORY/DAILY 四层记忆,写入即生效 - **自进化** -- 反思驱动 Soul 更新,经验积累与陷阱检测 -- **工具丰富** -- 内置 Shell、搜索、爬虫、记忆等工具,支持 MCP 扩展 +- **工具丰富** -- 内置 Shell、搜索、爬虫、记忆、桌面操控等工具,支持 MCP 扩展 - **Pipeline 编排** -- 多 Agent 协同、Saga 补偿、动态流水线 +- **暗色主题** -- CSS 变量 + Ant Design 暗色算法,支持系统/手动切换 +- **LLM 缓存** -- 语义相似度缓存,减少重复调用,降低成本 ## 核心特性 @@ -74,15 +76,40 @@ CostAwareRouter 三层路由,从零成本到高成本逐层升级: 路由结果携带 `ExecutionMode` 枚举(`DIRECT_CHAT` / `REACT` / `SKILL_REACT`),作为路由层与执行层的架构契约,杜绝硬编码。 -### 8. 产出质量管理 +### 8. 语义路由 + +基于向量相似度的意图路由,作为关键词匹配的补充: + +- **SemanticRouter** -- 将用户输入和 Skill 描述向量化,通过余弦相似度匹配 +- **缓存友好** -- 向量缓存避免重复计算 +- **平滑降级** -- 语义路由失败时自动回退到启发式/LLM 分类 + +### 9. LLM 响应缓存 + +语义相似度缓存,减少重复 LLM 调用: + +- **CacheKey** -- 基于 prompt + model + temperature 生成缓存键 +- **语义匹配** -- 相似 prompt 命中缓存,避免重复调用 +- **TTL 管理** -- 缓存条目自动过期,支持手动失效 + +### 10. 级联检测与状态持久化 + +生产级故障防护: + +- **CascadeDetector** -- 检测 Agent 输出中的级联失败模式,及时熔断 +- **CascadeStateStore** -- 级联状态持久化,支持 InMemory 和 Redis 后端 +- **session_ttl** -- 可配置的会话 TTL,自动清理过期状态 +- **优雅降级** -- Redis 不可用时自动降级到 InMemory,保持服务可用 + +### 11. 产出质量管理 四维质量检查:必填字段、最低字数、JSON Schema 校验、自定义验证器。检查不通过时自动重试(可配置 max_retries),重试时携带质量反馈信息。 -### 9. 标准化输出 +### 12. 标准化输出 Schema 验证 + 字段类型归一化(str -> int/float/bool)+ 元数据附加(version、produced_at、quality_score)。所有 Skill 产出统一为 StandardOutput 格式。 -### 10. 内置工具集 +### 13. 内置工具集 开箱即用的工具插件,覆盖常见 Agent 需求: @@ -97,10 +124,11 @@ Schema 验证 + 字段类型归一化(str -> int/float/bool)+ 元数据附 | `SchemaExtractTool` | 从文本提取结构化数据 | | `SchemaGenerateTool` | 生成 JSON Schema | | `MCPTool` | MCP 协议工具扩展 | +| `ComputerUseTool` | 桌面操控(截图、点击、输入),支持云端和本地(pyautogui)模式 | 工具组合:`SequentialChain`(顺序链)、`ParallelFanOut`(并行扇出)、`DynamicSelector`(动态选择)。 -### 11. Pipeline 编排 +### 14. Pipeline 编排 多 Agent 协同编排,支持复杂工作流: @@ -949,6 +977,14 @@ ReActEngine 实现 Think -> Act -> Observe 循环: 路由结果包含 `ExecutionMode` 枚举(`DIRECT_CHAT` / `REACT` / `SKILL_REACT`),作为路由层与执行层的架构契约。`complexity` 评分使用 `if is not None` 判断,避免 `0.0 or default` 误覆盖。 +### chat/semantic_router -- 语义路由 + +基于向量相似度的意图路由,作为关键词匹配的补充: + +- **SemanticRouter** -- 将用户输入和 Skill 描述向量化,通过余弦相似度匹配 +- **缓存友好** -- 向量缓存避免重复计算 +- **平滑降级** -- 语义路由失败时自动回退到启发式/LLM 分类 + ### llm/gateway -- LLM Gateway 统一 LLM 调用入口,核心能力: @@ -958,6 +994,8 @@ ReActEngine 实现 Think -> Act -> Observe 循环: - **Fallback 降级**: 主模型失败时自动切换到备选模型 - **用量追踪**: 按 agent_name、model 统计 Token 用量和成本 - **模型解析**: `"provider/model"` 格式自动路由到对应 Provider +- **响应缓存**: 语义相似度缓存,减少重复调用(`llm/cache.py`) +- **用量存储**: InMemory/Redis 双后端,支持分布式用量统计(`llm/providers/usage_store.py`) ### skills -- Skill 系统 @@ -987,6 +1025,16 @@ SkillRegistry 管理 Skill 的注册、发现、更新。 检查不通过时,如果 `max_retries > 0`,BaseAgent.execute() 会自动重试,将质量反馈信息注入 `quality_feedback` 字段。 +### quality/cascade -- 级联检测与状态持久化 + +生产级故障防护: + +- **CascadeDetector** -- 检测 Agent 输出中的级联失败模式(连续失败、质量退化),及时熔断 +- **CascadeStateStore** -- 级联状态持久化,InMemory/Redis 双后端,支持 `session_ttl` 配置 +- **AlignmentGuard** -- 消息质量管控,集成在 MemoryBus 中 +- **优雅降级** -- Redis 不可用时自动降级到 InMemory,保持服务可用 +- **close() 方法** -- 显式关闭 Redis 连接池,避免资源泄漏 + ### quality/output -- 标准化输出 OutputStandardizer 将原始产出转换为 StandardOutput: @@ -1101,7 +1149,7 @@ v2 增强:接受 SkillConfig 时自动创建 Skill 并启用 ReAct 模式,Qu | 视图 | 说明 | |------|------| -| ChatView | 实时对话,WebSocket 流式传输,代码高亮,工具调用卡片 | +| ChatView | 实时对话,WebSocket 流式传输,代码高亮,工具调用卡片,@-mention 技能推荐 | | EvolutionView | 自进化仪表盘,任务/经验/指标/优化面板 | | WorkflowView | 工作流编辑器,Vue Flow 可视化编排 | | TerminalView | 终端模拟器,PTY 会话 | @@ -1110,6 +1158,8 @@ v2 增强:接受 SkillConfig 时自动创建 Skill 并启用 ReAct 模式,Qu | SettingsView | 系统设置 | | ComputerUseView | 计算机使用,桌面操控 | +**暗色主题**:支持亮色/暗色/跟随系统三种模式,CSS 变量 + Ant Design 暗色算法,通过导航栏灯泡图标切换,偏好持久化到 localStorage。 + ### 桌面客户端 (Tauri 2.x) 跨平台桌面应用,架构: @@ -1291,7 +1341,7 @@ fischer-agentkit/ │ ├── session/ # 会话管理 │ ├── skills/ # 技能系统 │ ├── telemetry/ # 遥测追踪 -│ ├── tools/ # 工具插件(21个) +│ ├── tools/ # 工具插件(21个,含桌面操控) │ └── utils/ # 工具函数 ├── src-tauri/ # Tauri 桌面客户端(Rust) │ ├── src/ # main.rs + lib.rs + sidecar.rs + tray.rs