basic_execution.py
1 """ 2 Basic Execution Example - Agent-Centric API 3 4 Demonstrates execution preset usage. 5 """ 6 7 from praisonaiagents import Agent 8 9 # Basic: Use fast execution preset 10 agent = Agent( 11 instructions="You are a helpful assistant.", 12 execution="fast", # Presets: fast, balanced, thorough, unlimited 13 ) 14 15 response = agent.start("What is the capital of France?") 16 print(response)