A workflow that wraps a Codex.Agent for voice interactions.
This allows using standard agents with the voice pipeline.
Example
agent = %Codex.Agent{
name: "Assistant",
instructions: "Be helpful and concise."
}
workflow = AgentWorkflow.new(agent)
pipeline = Pipeline.new(workflow: workflow)
Summary
Functions
Create a new agent workflow.
Types
@type t() :: %Codex.Voice.AgentWorkflow{ agent: Codex.Agent.t(), context: map(), history: list() }
Functions
@spec new( Codex.Agent.t(), keyword() ) :: t()
Create a new agent workflow.