Giter Site home page Giter Site logo

agency-swarm-custom-gpt's Introduction

Agency Swarm Custom GPT Integration

Welcome to the Agency Swarm Custom GPT Integration! This project is designed to integrate multi-agent frameworks into Custom GPTs, making them accessible and usable in the real world, regardless of technical expertise.

Getting Started

Prerequisites

  • Firebase account
  • OpenAI API key
  • Firebase Tools (if not already installed)

Setup Instructions

  1. Create a project on Firebase.

  2. Enable billing and firestore on your project.

  3. Create a service account key and drop it into functions directory.

  4. Add path to your service account key in the main.py file.

  5. Add your keys:
    Add your openai key in main.py. Then, generate a db token using this link and paste it into the db_token variable in the main.py file.

  6. Replace your project id in the .firebaserc file.

  7. Navigate to the functions directory:

    cd functions
  8. Activate the virtual environment:

    # macOS
    python3 -m venv venv
    source venv/bin/activate
    
    # Windows
    py -m venv venv
    venv\Scripts\activate
  9. Install dependencies:

    pip install -r requirements.txt
  10. Add your Agency:
    Copy all your agents into the functions directory and import them according to an example in the helpers.py init_agency method. Alternatively, you can create your agency directly in helpers.py if it's simple.

  11. Create settings and schema schema:

    python schema.py
  12. Install firebase CLI:

    npm install -g firebase-tools
  13. Login to firebase:

    firebase login
  14. Deploy:

    firebase deploy --only functions
  15. Replace server url:
    Copy your function url from the terminal and paste it into the schema.py file. Run this file locally again with python schema.py to update the schema.

  16. Setup Custom GPT:
    Copy your CEO agent name, instructions and description into Custom GPT. Create an action with the schema from schema.json. Add Bearer authentication with your db_token from main.py and you're good to go!

Discord Community

Join our Discord server to be part of a growing community that shapes the future of AI. Share your work, get help, and collaborate with fellow enthusiasts.

Discord Invite Link

Subscribe and Stay Updated

Don't forget to subscribe to our YouTube channel for the latest updates, tutorials, and discussions on AI and AGI.

YouTube Channel Link

agency-swarm-custom-gpt's People

Contributors

vrsen avatar

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.