Tutorial: News Researcher Agent
Introduction
Welcome to your personalized news assistant – an intelligent companion committed to keeping you well-informed. This friendly assistant kicks off conversations with a warm greeting and a curiosity about your preferred news topic.
To get started, the assistant kindly asks for essential details such as the keyword or topic of interest and the desired start and end dates for the news search. While sorting by popularity, relevance, or newest is optional, the assistant encourages users to specify their preference.
With a meticulous approach, the assistant emphasizes the importance of the keyword or topic and the mandatory start and end dates, ensuring a tailored news experience. Once equipped with this information, the assistant adeptly conducts a news search, presenting the top 20 articles and providing the option to explore further for more results upon user request.
News Researcher Agent Setup
SmythOS provides a convenient News Researcher Agent
template that allows you to quickly set up an agent for researching news. Here's a step-by-step guide:
- Navigate to your SmythOS Dashboard and locate the
Create Agent
button.

- In the agent creation interface, choose the
News Researcher Agent
template from the available options in the drop-down menu.

- Click the
Create
button to complete the process.

- Wait for the template to initialize and configure itself.
NewsAPI
API Key Setup
To enable the News Researcher Agent's functionality, follow these steps to obtain and integrate your NewsAPI
API Key:
- Visit
https://newsapi.org/
and click on theGet API Key
button.

- Complete the registration form to create an account.

- Copy the provided API Key.

- Return to SmythOS and locate the
NEWSAPI.ORG KEY
component. - Replace the API Key placeholder with your obtained
NewsAPI
API Key.

By completing these steps, your News Researcher Agent will be configured to seamlessly fetch news information using the NewsAPI
service.
Test the Agent
To evaluate the capabilities of the News Researcher Agent, follow these steps:
- Open the ChatBot embodiment.
- Pose the following request:
Research news about AI by popularity, from Feb 18 to Feb 19, 2024

- Examine the response to ensure that the agent successfully retrieves news articles related to the specified keyword within the defined time frame.

By conducting this test, you can verify the News Researcher Agent's effectiveness in delivering relevant and timely news information.