Skip to content

Jawad2011/An-Introduction-of-AI-Agents-with-an-E-mail-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

n8n AI-Agent License

An-Introduction-of-AI-Agents

This is just a testing/beginner project aimed to understanding the AI agent properly and what they can do when trigggered. It is aimed at understanding what Ai Agents can do. It is my life's first ever successfu AI automation system. I am also uploadig its photo help others build their simple E-mail sender.

Now let's understand what an AI Agent is basically

AI Agent: An AI Agent is an automated software combining mutiliple external softwares that do tasks autonomously. In simple terms, you can say them as workers who work 24/7 non-stop which is the basic difference between a normal human and an AI Agent. Once they are properly setup, they ca run 24/7 and do tasks autonomously. It saves a lot of time and toil.

workflow - Copy

An Ai Agent has three core parts to function properly. They are:

  1. Model: An Ai Agent's most important and significant part is its Model. They are know as LLM(Large Language Models). If you compare an Ai Agent with a human, then the Model will be the Ai Agent's Brain. They are the main commander of an AI Agent.
workflow model

Here in this picture the squared node is called Model(LLM). The model here is Google Gemini chat model, a model of Google.

There are basically thousands of LLMs in the world. You may choose one based on its Accuracy, Quality, Cost, Latency and Context.

  1. Memory: A memory is a place where the output(given by the LLM) or input(from previous outputs) are stored. Memories are important for real life usage.
workflow memory

Here I used Redis. You may also use Postgres, Mongo DB or Xata.

  1. Tools: Tools are the main functioning part of an AI Agent. They are like limbs of an AI Agent. They interact with other based on the commands, provided by the LLMs, and previouse data, stored on memory. You can add multiple tools to a single AI Agent. A single tool can also perform multiple types of tasks.
workflow tools

Basically any software can be used as tools. Here I used G-mail. The tool you need to use depends on the tas you want to perform. In this project, i used G-mail tool because I built an auto E-mail sender.

If you want to get real experience, then, just download the "AI E-mail sender.json" file, import it to the n8n and execute.

N.B. You will need to add credentials or APIs and acivate G-mail API to execute this workflow. Otherwise it won't work. If you don't know how to add Google Credentials on n8n, check out this link below:

https://github.com/Jawad2011/How-to-get-Google-credential-for-n8n

If this guide helped you, please give it a ⭐ to help others find it!

About

A beginner-friendly n8n automation guide for building autonomous AI Agents. Includes a ready-to-use E-mail sender project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors