How rleme/multi-agent-custom-automation-engine-solution-accelerator works
This is a web-based multi-agent task automation accelerator. A user submits an organizational task, the backend creates a plan, and users can review or clarify it while the agents coordinate execution; plan and message state is persisted in Cosmos DB. The graph preserves the documented planning, execution, and validation capabilities and the specialized agent/tool subsystem. Some frontend-to-backend route wiring and unsampled agent behavior are represented only as unverified links; the source excerpts do not establish their exact runtime calls.
Main entry points: planner_agent.py Planner agent · cosmos_memory_kernel.py Cosmos memory · agent_factory.py Agent factory · PlanPage.tsx Plan interface
Components 18
User experience
- Plan interface
src/frontend/src/pages/PlanPage.tsx - Task service
src/frontend/src/services/TaskService.tsx - Plan data service
src/frontend/src/services/PlanDataService.tsx - API service
src/frontend/src/api/apiService.tsx - HTTP client
src/frontend/src/api/apiClient.tsx
Task orchestration
- Application API
src/backend/app_kernel.py - Agent factory
src/backend/kernel_agents/agent_factory.py - Group chat manager
src/backend/kernel_agents/group_chat_manager.py - Planner agent
src/backend/kernel_agents/planner_agent.py
Specialist agents
- Agent base
src/backend/kernel_agents/agent_base.py - Specialist agents
src/backend/kernel_agents - Domain tools
src/backend/kernel_tools
State and services
- Plan and message models
src/backend/models/messages_kernel.py - Cosmos memory
src/backend/context/cosmos_memory_kernel.py - Azure configuration
src/backend/app_config.py
Other components
- User
- Azure Cosmos DB
- Azure AI services
Connections 25
- User → Plan interface: submits task
- Plan interface → Task service: starts task
src/frontend/src/pages/PlanPage.tsx - Task service → API service: submits request
src/frontend/src/services/TaskService.tsx - Plan interface → Plan data service: loads plan data
src/frontend/src/pages/PlanPage.tsx - Plan data service → API service: requests plan
src/frontend/src/services/PlanDataService.tsx - API service → HTTP client: sends HTTP
src/frontend/src/api/apiService.tsx - HTTP client → Application API: calls API
- Application API → Agent factory: creates agents
src/backend/app_kernel.py - Agent factory → Specialist agents: creates instances
src/backend/kernel_agents/agent_factory.py - Agent factory → Planner agent: creates planner
src/backend/kernel_agents/agent_factory.py - Group chat manager → Planner agent: forwards task
src/backend/kernel_agents/group_chat_manager.py - Planner agent → Domain tools: uses functions
src/backend/kernel_agents/planner_agent.py - Specialist agents → Agent base: extends
src/backend/kernel_agents/group_chat_manager.py - Agent factory → Group chat manager: creates manager
src/backend/kernel_agents/agent_factory.py - Application API → Group chat manager: routes workflow
- Planner agent → Cosmos memory: stores plans
src/backend/kernel_agents/planner_agent.py - Group chat manager → Cosmos memory: reads plan state
src/backend/kernel_agents/group_chat_manager.py - Cosmos memory → Azure Cosmos DB: reads and writes
src/backend/context/cosmos_memory_kernel.py - Cosmos memory → Plan and message models: persists models
src/backend/context/cosmos_memory_kernel.py - Planner agent → Plan and message models: builds plans
src/backend/kernel_agents/planner_agent.py - Azure configuration → Azure Cosmos DB: configures access
src/backend/app_config.py - Azure configuration → Azure AI services: configures access
src/backend/app_config.py - Agent base → Cosmos memory: uses context
src/backend/kernel_agents/agent_base.py - User → Plan interface: reviews and clarifies
- Specialist agents → Azure AI services: performs AI work