
"""Agent Template"""
from evenage import Agent
import os

{{ agent_name }} = Agent(
    name="{{ agent_name }}",
    role="{{ agent_role }}",
    goal="{{ agent_goal }}",
    backstory="""{{ agent_backstory }}""",
    llm=openai(
        model=os.getenv("{{ agent_model_env }}", "{{ agent_model }}"),
        temperature={{ agent_temperature }}
    ),
    llm_fallbacks=[
        openai(model=os.getenv("{{ agent_fallback_model_env }}", "{{ agent_fallback_model }}"))
    ],
    tools=[{{ agent_tools }}],
    max_retries={{ agent_max_retries }},
    timeout={{ agent_timeout }},
    instructions="""
    {{ agent_instructions }}
    """
)
