basic_output_execution.py
1 """Basic output and execution example.""" 2 from praisonaiagents import Agent 3 4 # Simple preset usage 5 agent = Agent( 6 instructions="You are a helpful assistant.", 7 output="verbose", # Preset: verbose output 8 execution="thorough", # Preset: thorough execution 9 ) 10 11 if __name__ == "__main__": 12 response = agent.chat("What is 2+2?") 13 print(response)