basic_output.py
1 """ 2 Basic Output Example - Agent-Centric API 3 4 Demonstrates output preset usage. 5 """ 6 7 from praisonaiagents import Agent 8 9 # Basic: Use verbose output preset 10 agent = Agent( 11 instructions="You are a helpful assistant.", 12 output="verbose", # Presets: minimal, normal, verbose, debug, silent 13 ) 14 15 response = agent.start("What is 2 + 2?") 16 print(response)