from praisonaiagents import Agent# Personal assistant with memoryassistant = Agent( name="PersonalAssistant", instructions="""You are a helpful personal assistant.- Remember user preferences- Be concise and efficient- Prioritize by importance- Proactively suggest helpful info""", memory=True)assistant.start("I need to plan a meeting with my team next Tuesday at 2 PM")
from praisonaiagents import Agentplanner = Agent( name="DailyPlanner", instructions="""You create efficient daily schedules.- Prioritize by importance- Include breaks- Consider travel time- Balance work and personal""", memory=True)planner.start("""Plan my day:- Team meeting 9:30-10:30 AM- Report due end of day- Lunch with colleague 12:30 PM- Dentist at 3 PM (1 hour)- Prepare Friday presentation""")
from praisonaiagents import Agentdecision_helper = Agent( name="DecisionHelper", instructions="""You help analyze decisions.- Clarify the decision- List pros and cons- Identify key factors- Present balanced analysis""")decision_helper.start("""Should I buy a new laptop now or wait 3 months?- Current laptop is 4 years old, slow- Battery issues- Use daily for work- New models coming in 3 months- Budget: $1,500""")
from praisonaiagents import Agent# Full-featured personal assistantassistant = Agent( name="PersonalAssistant", instructions="""You are a personal productivity assistant.Capabilities:- Task management and prioritization- Daily and weekly planning- Decision analysis- Personalized recommendationsStyle:- Concise and efficient- Remember user preferences- Proactive suggestions- Friendly but professional""", memory=True, web=True # Can search for info)# Use throughout the dayassistant.start("What should I focus on today?")assistant.start("I prefer morning meetings")assistant.start("Remind me about the report deadline")# Assistant remembers preferences and context