agent-config.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # Agent 配置文件
  2. # 对应 Kubernetes ConfigMap
  3. # Agent 基本信息
  4. agentId: seeCoderManus
  5. name: SeeCoderManus
  6. description: 智能编程助手
  7. type: react
  8. # 模型配置
  9. model:
  10. provider: dashscope
  11. name: qwen3-max-2026-01-23
  12. temperature: 0.7
  13. maxTokens: 4096
  14. # 记忆配置
  15. memory:
  16. strategy: redis
  17. size: 20
  18. ttl: 7200
  19. enabled: true
  20. # 系统提示词
  21. systemPrompt: |
  22. 你是 SeeCoderManus,一个智能编程助手。
  23. 你能够帮助用户解决编程问题,提供代码示例,解释技术概念。
  24. 当遇到复杂问题时,你会使用工具来获取更多信息。
  25. # ReAct 配置
  26. react:
  27. maxSteps: 20
  28. observationEnabled: true
  29. toolTimeout: 30
  30. verbose: true
  31. # mcp配置列表 专门调用seeCoder的工具
  32. mcp:
  33. # SeeCoder MCP 工具列表
  34. onlineTool:
  35. example-mcp-server:
  36. - everything_get_sum
  37. - chat_improve_prompt
  38. #本地的
  39. localTools: #plugin
  40. - terminate
  41. # MCP 策略配置
  42. policy:
  43. # 模式:auto(自动)、force(强制)、intelligence(智能),disable(关闭)
  44. mode: auto
  45. #外部工具
  46. app:
  47. mcp:
  48. custom:
  49. nodes:
  50. example-mcp-server:
  51. url: https://your-mcp-endpoint.example.com
  52. endpoint: /mcp/airouting
  53. headers:
  54. Authorization: "${MCP_AUTH_TOKEN}"
  55. # map-mcp:
  56. # url: https://dashscope.aliyuncs.com/api/v1/mcps/amap-maps
  57. # endpoint: /mcp
  58. # headers:
  59. # Authorization: "sk-..."
  60. # RAG 配置
  61. # 运行时引擎配置 (Phase 6.5)
  62. runtime:
  63. engine: cek # recursive | cek | adaptive
  64. costBudget: 0.06 # USD — 超过此金额自动暂停
  65. maxSteps: 10000 # CEK 最大转移步数
  66. rag:
  67. enabled: false