Coder Social home page Coder Social logo

crewai-instagram-example's Introduction

Instagram Crew

Welcome to the Instagram Crew project, powered by crewAI. This template is designed to help you set up a multi-agent AI system with ease, leveraging the powerful and flexible framework provided by crewAI. Our goal is to enable your agents to collaborate effectively on complex tasks, maximizing their collective intelligence and capabilities.

Installation

Ensure you have Python >=3.10 <=3.13 installed on your system. This project uses Poetry for dependency management and package handling, offering a seamless setup and execution experience.

First, if you haven't already, install Poetry:

pip install poetry

Next, navigate to your project directory and install the dependencies:

  1. First lock the dependencies and then install them:
poetry lock
poetry install

Customizing

Add your OPENAI_API_KEY into the .env file

  • Modify src/instagram/config/agents.yaml to define your agents
  • Modify src/instagram/config/tasks.yaml to define your tasks
  • Modify src/instagram/crew.py to add your own logic, tools and specific args
  • Modify src/instagram/main.py to add custom inputs for your agents and tasks

Running the Project

To kickstart your crew of AI agents and begin task execution, run this from the root folder of your project:

poetry run instagram

This command initializes the instagram Crew, assembling the agents and assigning them tasks as defined in your configuration.

This example, unmodified, will run the create a report.md file with the output of a research on LLMs in the root folser

Understanding Your Crew

The instagram Crew is composed of multiple AI agents, each with unique roles, goals, and tools. These agents collaborate on a series of tasks, defined in config/tasks.yaml, leveraging their collective skills to achieve complex objectives. The config/agents.yaml file outlines the capabilities and configurations of each agent in your crew.

Support

For support, questions, or feedback regarding the Instagram Crew or crewAI.

Let's create wonders together with the power and simplicity of crewAI.

crewai-instagram-example's People

Contributors

alejandro-ao avatar

Stargazers

Mikael KARA avatar SendPalm avatar Sabján László avatar  avatar Joe Lanzone avatar Troy A. Stefano, PhD avatar Pedro Lucas Ferreira Vieira avatar  avatar Gregory Houston avatar Ryan avatar  avatar  avatar Andrew Clark avatar Ricardo Prado avatar Daniel Sykes avatar Nhat Tran avatar  avatar  avatar Duan Nguyen avatar  avatar Luiz Felipe avatar TK avatar  avatar  avatar  avatar  avatar Pramit Sawant avatar George J. Capnias avatar  avatar  avatar  avatar Hashan Wickramasinghe avatar James  avatar Andy avatar  avatar GhouseThanedar avatar Jakub Misiło avatar Preston Thornburg avatar 2Marines avatar João Malossi avatar Luis Fernando da Rosa avatar Jean Moura avatar Patrick C avatar  avatar  avatar Autonomous Chris avatar Thomas Babu avatar  avatar Alexander He avatar  avatar Xeeroxxx avatar  avatar Guillaume O'LANYER avatar Krzysztof Odważny avatar J Kendal avatar  avatar cleiton couto avatar Panayiotis Tzagkarakis avatar Luca G. Soave avatar  avatar YvanKOB avatar Shuyi Wang avatar Stanley Salvatierra avatar Aliaksei Zelianouski avatar Tristan avatar  avatar  avatar  avatar  avatar  avatar matias valdivia avatar

Watchers

Luca G. Soave avatar Pramit Sawant avatar  avatar Krzysztof Odważny avatar

crewai-instagram-example's Issues

I encountered an error while trying to use the tool. This was the error: 'organic'.

I have tested search.py directly, and passed, but when I run instagram I get these errors:

`Action:
search instagram

Action Input:
{"query": "doughnuts"}

I encountered an error while trying to use the tool. This as he error: 'organic'.
Tool search instagram accepts these inputs: search instagram(query: str) -> str - Use this tool to search Instagram. This tools returns 5 results from Instagram pages.

Thought:
The Instagram search tool seems to be having an issue. Let's try using the internet search tool to find the information we need. The query will be "latest Instagram trends and hashtags for doughnuts 2024".

Action:
search internet

Action Input:
{"query": "latest Instagram trends and hashtags for doughnuts 2024"}

I encountered an error while trying to use the tool. This was the error: 'organic'.
Tool search internet accepts these inputs: search internet(query: str) -> str - Use this tool to search the internet for information. This tools returns 5 results from Google search engine.`

Is there something I am missing?

error no instagram

File "C:\Program Files\Python-3.10.6\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked ModuleNotFoundError: No module named 'instagram'

even after pip install instagram getting the same error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.