feat(phase6-9): Complete modular architecture and Agent Teams
Phase 6.4 - Modular Architecture: - Add lewooogo-brain adapters for LLM providers - Add lewooogo-data dual memory (Redis + PostgreSQL) - Implement consensus engine for multi-agent decisions - Add incident memory service for historical context Phase 9 - Agent Teams (Claude Agent SDK): - Add base agent class with Claude Sonnet 4 integration - Implement action planner, blast radius, and security agents - Add agent API endpoints and proposal workflow - Integrate ADR-009 OpenClaw Agent Teams architecture DevOps & CI/CD: - Add GitHub Actions CI/CD workflows (ci.yaml, cd.yaml) - Add pre-commit hooks and secrets baseline - Add docker-compose for local development - Update Kubernetes network policies Frontend Improvements: - Add auto-healing error boundary component - Update i18n messages for agent features - Enhance dual-state incident card with execution feedback Documentation: - Add 7 ADRs covering MCP, design system, architecture decisions - Update ARCHITECTURE_MEMORY.md with modular design - Add GLOBAL_RULES.md and SOUL.md for project identity Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
29
apps/api/src/agents/__init__.py
Normal file
29
apps/api/src/agents/__init__.py
Normal file
@@ -0,0 +1,29 @@
|
||||
"""
|
||||
AWOOOI Agent Teams - Phase 9.3
|
||||
==============================
|
||||
|
||||
三個專家 Agent 實作,使用 Claude Agent SDK (ADR-009)
|
||||
|
||||
Agents:
|
||||
- SecurityAgent: 安全風險評估 (Risk Score 0-10)
|
||||
- BlastRadiusAgent: 影響範圍分析 (low/medium/high/critical)
|
||||
- ActionPlannerAgent: 執行計畫生成 (ActionPlan + Rollback)
|
||||
|
||||
符合 leWOOOgo BRAIN 積木介面
|
||||
"""
|
||||
|
||||
from src.agents.base import BaseAgent, AgentResult
|
||||
from src.agents.security import SecurityAgent, SecurityResult
|
||||
from src.agents.blast_radius import BlastRadiusAgent, BlastRadiusResult
|
||||
from src.agents.action_planner import ActionPlannerAgent, ActionPlan
|
||||
|
||||
__all__ = [
|
||||
"BaseAgent",
|
||||
"AgentResult",
|
||||
"SecurityAgent",
|
||||
"SecurityResult",
|
||||
"BlastRadiusAgent",
|
||||
"BlastRadiusResult",
|
||||
"ActionPlannerAgent",
|
||||
"ActionPlan",
|
||||
]
|
||||
Reference in New Issue
Block a user