Agents talk With Your Friends in Your Telegram - CrewAI - 3 Step
let enable your telegram account to AI agents for talking with your friends as you
Introduction
let enable your telegram account to AI agents for talking with your friends as you
- CrewAI Autonomous AI Agents is an good designed and easy to use agent framework.
- Tiger is an chip to your agents that enables to making real world operations by thinking, just like Neuralink.
TL;DR: This post is about connecting telegram to your CrewAI agents with Tiger library. After that your agent can easily read your messages and write answers
General View
Login into to Telegram
We will make this in your local and with Tiger library. Your session management is on the telethon library but Tiger have a non-async interface to control your telegram.
Creating Captain, Planner and Executor Agents
In this step we will create a crew in this type to get more success on talking.
Connecting Tiger to Your Agents
At the end we will connect the tiger in just 1-line to your agents for enable telegram access, google search, code run and many other ability.
Installing Requirements
For this operation we’ll need the CrewAI and Upsonic libraries.
Imports
Connecting to telegram
In this point we will use the Tiger its an function hub for ai agents, and its have a ready-to-use telegram interface for our agent. Also its have search-engines, code-interpreters and more.
Creating Agents
Now we will make OpenAI Connection. In this point we will use gpt-4-0125-preview
for more context.
Connecting to Tiger and run
In this stage we will give writing answers to incoming messages task and connecting to Tiger.
Let’s kick off