Tools
Reddit PraisonAI Integration
Tools
- Tools
- LangChain Agent
- DuckDuckGo Agent
- arXiv Agent
- Calculator Agent
- CSV Agent
- DuckDB Agent
- Excel Agent
- File Agent
- JSON Agent
- Newspaper Agent
- Pandas Agent
- Python Agent
- Shell Agent
- Spider Agent
- Wikipedia Agent
- XML Agent
- YAML Agent
- YFinance Agent
- Low Code Custom Tools
- Tools as Class
- PraisonAI Tools Creator GPT
- DuckDuckGo PraisonAI Integration
- Langchain Tools
- Wikipedia PraisonAI Integration
- YouTube Search PraisonAI Integration
- Tavily PraisonAI Integration
- Reddit PraisonAI Integration
- You.com PraisonAI Integration
- Crawl4AI PraisonAI Integration
- Mem0 and PraisonAI Integration
- Composio PraisonAI Integration
- Google Calendar Tools
Tools
Reddit PraisonAI Integration
Guide for integrating Reddit search capabilities with PraisonAI agents, including API setup and configuration
Reddit PraisonAI Integration
export REDDIT_USER_AGENT=[USER]
export REDDIT_CLIENT_SECRET=xxxxxx
export REDDIT_CLIENT_ID=xxxxxx
[USER] in this format script:APP:v1.0(by/u/USERNAME)
pip install praisonai langchain_community praw
export OPENAI_API_KEY="Enter your API key"
Code
Single Agent
from praisonaiagents import Agent
from langchain_community.tools.reddit_search.tool import RedditSearchRun
agent = Agent(name="RedditSearchAgent",instructions="Search Reddit for information", tools=[RedditSearchRun],)
agent.start("Search Reddit for information about the latest AI advancements in subreddit all")
Multi Agents
from praisonaiagents import Agent, Task, PraisonAIAgents
from langchain_community.tools.reddit_search.tool import RedditSearchRun
agent = 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 = PraisonAIAgents(agents=[agent],tasks=[task])
agents.start()
No Code
tools.py
from langchain_community.tools.reddit_search.tool import RedditSearchRun
agents.yaml
framework: crewai
topic: research about the causes of lung disease
roles:
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'
Was this page helpful?