feat: Add agent workspace system and runtime management
- Add agent core modules (agent_core, factory, registry, skill_loader) - Add runtime system for agent execution management - Add REST API for agents, workspaces, and runtime control - Add process supervisor for agent lifecycle management - Add workspace template system with agent profiles - Add frontend RuntimeView and runtime API integration - Add per-agent skill workspaces for smoke_fullstack run - Refactor skill system with active/installed separation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# Agent Guide
|
||||
|
||||
Document how this agent should work, collaborate, and choose tools or skills.
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Heartbeat
|
||||
|
||||
Optional checklist for periodic review or self-reflection.
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Memory
|
||||
|
||||
Store durable lessons, heuristics, and reminders for this agent.
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Profile
|
||||
|
||||
Track this agent's long-lived investment style, preferences, and strengths.
|
||||
|
||||
4
runs/smoke_fullstack/agents/fundamentals_analyst/SOUL.md
Normal file
4
runs/smoke_fullstack/agents/fundamentals_analyst/SOUL.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Soul
|
||||
|
||||
Describe the agent's temperament, reasoning posture, and voice.
|
||||
|
||||
13
runs/smoke_fullstack/agents/fundamentals_analyst/agent.yaml
Normal file
13
runs/smoke_fullstack/agents/fundamentals_analyst/agent.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
agent_id: fundamentals_analyst
|
||||
prompt_files:
|
||||
- SOUL.md
|
||||
- PROFILE.md
|
||||
- AGENTS.md
|
||||
- POLICY.md
|
||||
- MEMORY.md
|
||||
enabled_skills:
|
||||
- fundamental_review
|
||||
- portfolio_decisioning
|
||||
disabled_skills: []
|
||||
active_tool_groups: []
|
||||
disabled_tool_groups: []
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: 基本面分析
|
||||
description: 当用户要求“基本面分析”“看财务质量”“分析盈利能力”“判断公司质量”或“评估长期盈利韧性”时,应使用此技能。
|
||||
version: 1.0.0
|
||||
---
|
||||
|
||||
# 基本面分析
|
||||
|
||||
当用户希望从公司质量、资产负债表强度、盈利能力或长期盈利韧性出发判断标的时,使用这个技能。
|
||||
|
||||
## 工作流程
|
||||
|
||||
1. 在形成结论前,先检查盈利能力、成长性、财务健康度和经营效率。
|
||||
2. 区分可持续的业务质量和短期噪音。
|
||||
3. 明确指出会推翻当前判断的条件。
|
||||
4. 最终给出清晰的信号、置信度和主要驱动因素。
|
||||
|
||||
## 约束
|
||||
|
||||
- 不要孤立依赖单一指标。
|
||||
- 缺失数据要明确指出。
|
||||
- 当财务质量优劣混杂时,优先给出保守结论。
|
||||
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: 组合决策
|
||||
description: 整合分析师观点与风险反馈,形成明确的组合层决策。
|
||||
---
|
||||
|
||||
# 组合决策
|
||||
|
||||
当你负责把团队分析转化为最终交易决策时,使用这个技能。
|
||||
|
||||
## 工作流程
|
||||
|
||||
1. 行动前先阅读分析师结论和风险警示。
|
||||
2. 评估当前组合、现金和保证金约束。
|
||||
3. 使用决策工具为每个 ticker 记录一个明确决策。
|
||||
4. 在全部决策记录完成后,总结组合层面的整体理由。
|
||||
|
||||
## 约束
|
||||
|
||||
- 仓位大小必须遵守资金和保证金限制。
|
||||
- 当分析师信心与风险信号不一致时,优先采用更小仓位。
|
||||
- 当任务要求完整决策清单时,不要让任何 ticker 处于未决状态。
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: 基本面分析
|
||||
description: 当用户要求“基本面分析”“看财务质量”“分析盈利能力”“判断公司质量”或“评估长期盈利韧性”时,应使用此技能。
|
||||
version: 1.0.0
|
||||
---
|
||||
|
||||
# 基本面分析
|
||||
|
||||
当用户希望从公司质量、资产负债表强度、盈利能力或长期盈利韧性出发判断标的时,使用这个技能。
|
||||
|
||||
## 工作流程
|
||||
|
||||
1. 在形成结论前,先检查盈利能力、成长性、财务健康度和经营效率。
|
||||
2. 区分可持续的业务质量和短期噪音。
|
||||
3. 明确指出会推翻当前判断的条件。
|
||||
4. 最终给出清晰的信号、置信度和主要驱动因素。
|
||||
|
||||
## 约束
|
||||
|
||||
- 不要孤立依赖单一指标。
|
||||
- 缺失数据要明确指出。
|
||||
- 当财务质量优劣混杂时,优先给出保守结论。
|
||||
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: 组合决策
|
||||
description: 整合分析师观点与风险反馈,形成明确的组合层决策。
|
||||
---
|
||||
|
||||
# 组合决策
|
||||
|
||||
当你负责把团队分析转化为最终交易决策时,使用这个技能。
|
||||
|
||||
## 工作流程
|
||||
|
||||
1. 行动前先阅读分析师结论和风险警示。
|
||||
2. 评估当前组合、现金和保证金约束。
|
||||
3. 使用决策工具为每个 ticker 记录一个明确决策。
|
||||
4. 在全部决策记录完成后,总结组合层面的整体理由。
|
||||
|
||||
## 约束
|
||||
|
||||
- 仓位大小必须遵守资金和保证金限制。
|
||||
- 当分析师信心与风险信号不一致时,优先采用更小仓位。
|
||||
- 当任务要求完整决策清单时,不要让任何 ticker 处于未决状态。
|
||||
Reference in New Issue
Block a user