Package ai.tabforge.workshop.agent


package ai.tabforge.workshop.agent
Abstract base classes and interfaces for Workshop sub-agents.

Contains:

  • SubAgent — abstract base; every specialist extends this
  • AgentContext — files + metadata passed to each agent's execute()
  • LifecycleHook — onBeforeAgent / onAfterAgent / onEscalation hooks

CERTIFICATION NOTE — Agentic Architecture & Orchestration (27% of exam): SubAgent is the contract in the agent specialization pattern. The OrchestratorAgent works with SubAgent references only — it does not know (and does not need to know) which specialist is running.

Implemented in Phase 1 Day 5-6.

  • Class
    Description
    Analogy: Like the work order that the shift leader gives to the worker at the beginning of the shift — it contains exactly what he needs to do (list of files), where is the construction site (projectPath), order number (reviewId), and how much material we can spend (tokenBudget).
    SubAgent need reference for OrchestratorAgent.