cookbook/STYLE_GUIDE.md
This guide standardizes runnable cookbook .py examples.
Create ... sectionRun ... sectionMore Examples sectionif __name__ == "__main__":"""
<Title>
<What this demonstrates>
"""
# ---------------------------------------------------------------------------
# <Config / Setup>
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# Agent Instructions
# ---------------------------------------------------------------------------
instructions = """..."""
# ---------------------------------------------------------------------------
# Create the Agent
# ---------------------------------------------------------------------------
example_agent = Agent(...)
# ---------------------------------------------------------------------------
# Run the Agent
# ---------------------------------------------------------------------------
if __name__ == "__main__":
example_agent.print_response("...", stream=True)