Agent Base¶
osa_tool.osa_agent.base
¶
BaseAgent
¶
Bases: ABC
Base abstract class for all agents in the OSA workflow.
Each agent represents a single step in the overall pipeline (e.g. intent routing, planning, execution, review, finalization) and operates on a shared AgentContext and mutable OSAState.
__init__(context)
¶
Initialize the agent with a shared execution context.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
context
|
AgentContext
|
Shared context containing configuration, repository metadata, model handlers, and workflow utilities. |
required |