- An autonomous agent that interacts autonomously with Twitter.
- resources
- Task Creation Agent - Makes llm request with objective and returns the task
- Task Prioritization Agent - Makes llm request with tasks queue and objective, and returns the prioritized tasks
- Task Execution Agent - Uses llm and functions to perform a perticular task
Task Execution Agent
- Workflow:
- Gets a task from the queue
- Generate a list of functions to be performed to accomplish the task using llm call
- Calls the functions in the list one by one
- Stores the results in the last_task_result array
- Use the twitter api to:
- get the tweets of the users
- post the tweets
- like the tweets
- retweet the tweets
- comment on the tweets
- follow and unfollow the users
Workflow of Autonomous Agents (source)
- Give an Objective to the Agent with an initial task
- Agent will store the initial task in the queue and pass the queue to the Execution Agent
- Execution Agent will execute the task and store the result in the database for future reference
- Now the task results and the Objective will be passed to the task creation agent to create new tasks
- The task creation agent will create new tasks based on the objective and the results of the previous tasks
- The task creation agent will pass the new tasks to the main agent
- The main agent will pass the new tasks to the task prioritization agent
- The task prioritization agent will prioritize the tasks and pass the prioritized tasks to the task execution agent
- The task execution agent will execute the prioritized tasks and store the results in the database
- and this will continue until the objective is met