basic_planning.py
1 """ 2 Basic Planning Example - Agent-Centric API 3 4 Demonstrates planning with consolidated params. 5 Presets: reasoning, read_only, auto 6 """ 7 8 from praisonaiagents import Agent 9 10 # Basic: Enable planning with preset 11 agent = Agent( 12 instructions="You are a strategic planner.", 13 planning="reasoning", # Presets: reasoning, read_only, auto 14 ) 15 16 if __name__ == "__main__": 17 response = agent.start("Plan a 3-day trip to Tokyo.") 18 print(response)