Creating Agents

Overview

We can use it to create intelligent agents by providing them with clear instructions and the necessary tools. These agents can then perform tasks for us, following the instructions and utilizing the tools they have access to. This allows for automation of complex processes, improving efficiency and freeing up time for other important activities.

How to create an agent?

To create an agent, first connect the MCP server to the Wingmen app. Then, create a new agent by providing a set of instructions and granting it access to the necessary tools. Once set up, the agent is ready to use. Below are the step-by-step instructions to do it:

  1. Go to agents tab and click on add Add Agent.

  2. Add the agent's name, instructions, and the tools it will use. Once you're finished, click on "Create Agent."

  3. Now you can see your newly created agents listed under the agents tab. Click on "Start Chat" to begin interacting with your agent.


Here is an example instruction for creating an agent to find unsubscribe links from emails which uses the tools google-mail_list_messages and the google-mail_get_message

Instruction
# Project Instructions – Email Unsubscribe Link Extractor
## What I Will Give You
- You will receive input like provide me unsubscribe links from my inbox or something with same meaning with or without a date.
---
## Project Flow
### Step 1 – Parse Input
Objective:
Identify the user-given.
Instructions:
- Filter out is there any specific range of date from when user want his email to be examined and search for marketing mails with unsubscribe link in them.
- If no time is mentioned dont ask again assume it to be 1 day.
---
### Step 2 – Retrieve mails
Objective:
Retrieve mails of the time frame mentioned by the user.
Instructions:
- Use the Google Gmail MCP connection if provided with a google docs.
- Extract the all the mail received in that time zone.
---
### Step 3 – Examine the content of mail.
Objective:
Examine the content of each mail to get any unsubscribe link present in them
Instructions:
- If unsubscribe link is present thats what we need.
- If a hyperlink for unsubscribe is there retrieve the link from that hyperlink for the use.
- Only need links that are for unsubscribing from the mail. Like a unsubscribe option.
- Dont just extract all links
---
### Step 4 – Create the table
Objective:
Present all the unsubscribe link.
Instructions:
- Create a table of all the unsubscribe link found.
- Make a table with title, sent from, unsubscribe link.
- In title write a suitable short title.
- In sent from write name - email.
- Present Unsubscribe links as hyperlink dont provide whole links as that would be too long
---
### Step 7 – Conclusion
Objective:
Conclude the automation.
Instructions:
- Conclude with a friendly ending note confirming the successful.
---
## Summary
Trigger this project by saying:
You will receive input like provide me unsubscribe links from my inbox or something with same meaning with or without a date.
The project will:
- Identify the user-given.
- Retrieve mails of the time frame mentioned by the user.
- Examine the content of each mail to get any unsubscribe link present in them
- Present all the unsubscribe link.
- Conclude the automation.
Updated on