from praisonaiagents import Agentfrom langchain_community.tools.reddit_search.tool import RedditSearchRunagent = Agent(name="RedditSearchAgent",instructions="Search Reddit for information", tools=[RedditSearchRun],)agent.start("Search Reddit for information about the latest AI advancements in subreddit all")
from praisonaiagents import Agent, Task, Praison LabsAgentsfrom langchain_community.tools.reddit_search.tool import RedditSearchRunagent = Agent(name="RedditSearchAgent",instructions="Search Reddit for information", tools=[RedditSearchRun],)task = Task(description="Search Reddit for information about the latest AI news in subreddit all", agent=agent)agents = Praison LabsAgents(agents=[agent],tasks=[task])agents.start()
from langchain_community.tools.reddit_search.tool import RedditSearchRun
agents.yaml
Copy
framework: crewaitopic: research about the causes of lung diseaseroles: research_analyst: backstory: Experienced in analyzing scientific data related to respiratory health. goal: Analyze data on lung diseases role: Research Analyst tasks: data_analysis: description: Gather and analyze data on the causes and risk factors of lung diseases. expected_output: Report detailing key findings on lung disease causes. tools: - 'RedditSearchRun'
Assistant
Responses are generated using AI and may contain
mistakes.