Skip to content

akn714/autonomous-twitter-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autonomous Twitter Agent

  • An autonomous agent that interacts autonomously with Twitter.
  • resources

Agents Involved

  1. Task Creation Agent - Makes llm request with objective and returns the task
  2. Task Prioritization Agent - Makes llm request with tasks queue and objective, and returns the prioritized tasks
  3. 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)

  1. Give an Objective to the Agent with an initial task
  2. Agent will store the initial task in the queue and pass the queue to the Execution Agent
  3. Execution Agent will execute the task and store the result in the database for future reference
  4. Now the task results and the Objective will be passed to the task creation agent to create new tasks
  5. The task creation agent will create new tasks based on the objective and the results of the previous tasks
  6. The task creation agent will pass the new tasks to the main agent
  7. The main agent will pass the new tasks to the task prioritization agent
  8. The task prioritization agent will prioritize the tasks and pass the prioritized tasks to the task execution agent
  9. The task execution agent will execute the prioritized tasks and store the results in the database
  10. and this will continue until the objective is met

About

An autonomous twitter agent.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages