Skip to content

Finalizer Agent

osa_tool.osa_agent.agents.finalizer.agent

FinalizerAgent

Bases: BaseAgent

Agent responsible for wrapping up the workflow.

run(state)

Finalize the session: format outputs, optionally create PR, and clean up.

Updates About section if present, collects events and builds a summary, then either publishes a PR (when create_fork and create_pull_request are set) or logs the summary. Optionally deletes the cloned repo.