andy-stack_vaultkeeper-ai/Components
Andrew Beal ab9ee08281 refactor: implement multi-agent orchestration architecture
Restructure the AI workflow from a single-agent model to a specialized
multi-agent system with distinct roles:

- Add AgentType enum (Main, Orchestration, Planning, Execution) to define
  agent specializations
- Replace AIControllerService and AIFunctionService with modular agent
  classes in Services/AIServices/:
  - MainAgent: Handles user interaction and delegates to orchestration
  - OrchestrationAgent: Coordinates plan execution and step-by-step workflow
  - PlanningAgent: Creates and revises execution plans
  - ExecutionAgent: Executes individual plan steps
  - AIController: Base class providing common agent loop functionality
- Create specialized prompts (OrchestrationPrompt, ExecutionPrompt) for
  agent-specific behavior
- Add OrchestrationResult type to communicate workflow control decisions
  (continue, abort, replan)
- Introduce agent-specific function scoping:
  - ExecuteWorkflow for main agent
  - CompleteTask for execution agent
  - CompleteStep/Replan/CancelPlan for orchestration agent
  - SubmitPlan/AskUserQuestionPlanning for planning agent
- Update BaseAIClass to use agentType property instead of isPlanningAgent
  boolean for model selection
- Simplify ExecutionPlan and ExecutionStep types by removing execution
  state tracking (moved to agent coordination)
- Remove PlanningEnabledAppendix and ExecutionStatus enum (superseded by
  agent architecture)
- Add comprehensive integration tests for agent workflows

This architecture provides better separation of concerns, clearer agent
responsibilities, and more robust plan execution with explicit orchestration
control flow.
2026-01-27 20:29:20 +00:00
..
ChatArea.svelte refactor: streamline planning UX and strengthen complexity gate 2026-01-03 11:15:32 +00:00
ChatAttachments.svelte Add height animation to chat attachments container 2025-12-23 20:25:10 +00:00
ChatInput.svelte feat: add planning model selection and rate limit countdown UI 2026-01-05 21:49:51 +00:00
ChatPlanArea.svelte refactor: implement multi-agent orchestration architecture 2026-01-27 20:29:20 +00:00
ChatSearchResults.svelte feat: add support for file attachments via drag and drop and paste. 2025-12-22 20:02:02 +00:00
ChatWindow.svelte refactor: implement multi-agent orchestration architecture 2026-01-27 20:29:20 +00:00
DiffControls.svelte refactor: streamline planning UX and strengthen complexity gate 2026-01-03 11:15:32 +00:00
InputDisplay.svelte feat: add planning model selection and rate limit countdown UI 2026-01-05 21:49:51 +00:00
Spinner.svelte refactor: streamline planning UX and strengthen complexity gate 2026-01-03 11:15:32 +00:00
StreamingIndicator.svelte refactor: improve chat layout updates and remove unused imports 2025-12-11 08:42:09 +00:00
ThoughtIndicator.svelte refactor: streamline planning UX and strengthen complexity gate 2026-01-03 11:15:32 +00:00
TopBar.svelte refactor: streamline planning UX and strengthen complexity gate 2026-01-03 11:15:32 +00:00
UserInstruction.svelte refactor: clean up imports and improve view focus handling 2025-12-13 14:45:56 +00:00