from praisonaiagents import Agentagent = Agent(instructions="You are a research assistant")agent.start("Research the latest AI trends") # This is the task
from praisonaiagents import Agent, Task, AgentTeam# Create specialized agentsresearcher = Agent( name="Researcher", instructions="Find accurate information on topics", web=True)writer = Agent( name="Writer", instructions="Write clear, engaging content")# Define tasksresearch_task = Task( description="Research the benefits of solar energy", expected_output="Key facts and statistics", agent=researcher)writing_task = Task( description="Write a blog post about solar energy benefits", expected_output="500-word blog post", agent=writer, context=[research_task], output_file="solar-blog.md")# Run the workflowteam = AgentTeam( agents=[researcher, writer], tasks=[research_task, writing_task], process="sequential")result = team.start()