Research Assistant Agent GitHub Repository

Explore the complete source code for the Research Assistant Agent project. This repository contains all the necessary files and scripts to set up and run the Research Assistant system using CrewAI and Composio.

1

Run the `setup.sh` file

Fork and Clone this repository, Navigate to the Project Directory

cd python/examples/research_assistant

Make the setup.sh Script Executable (if necessary): On Linux or macOS, you might need to make the setup.sh script executable:

2

Importing required libraries

Now, import the necessary libraries in your Python script:

3

Initialise Language Model and Define tools

We’ll initialize our language model and set up the necessary tools for our agents. We will be using serpapi tool, So that our agent can execute actions using this tool.

4

Defining the Agent

Define the Researcher agent with the necessary parameters:

5

Defining the Task

Create and execute a task for the agent:

Putting It All Together

Below is the complete code snippet combining all the steps: