Skip to content

matebenyovszky/ClubGPT-Sandbox-ts

 
 

Repository files navigation

ClubGPT - Sandbox

AI Developer / Developer team (ClubGPT) powered by GPT-3.5/4-Turbo & OpenAI's AI Assistant API

Member of the ClubGPT family. Check out how a whole team of AI Agents could work for you on the ClubGPT repository.

The AI developer agent(s) perform user's tasks in the user's GitHub repository including:

  • create a new repo
  • reading files
  • writing code, making changes
  • making pull requests
  • pulling GitHub repository
  • responding to the user's feedback to the agent's previous work.
  • running commands (so anything that can be accessed as a command)
  • testing the code if possible

All agent's work is happening inside the E2B sandbox. The custom E2B sandbox environment is defined in the e2b.Dockerfile

The E2B's sandboxes are isolated cloud environments made specifically for AI apps and agents. Inside the sandbox AI agents perform long-running tasks, run code in a secure cloud environment, and use the same tools as a human developer would use.

Getting started

  1. Run npm install
  2. Copy .env.example and save it as .env file
  3. Add your OpenAI API key to .env
  4. Get E2B API Key at https://e2b.dev/docs/getting-started/api-key
    • Save it to .env
  5. Run npm run create-ai-assistant to create the AI assistant using OpenAI's new Assistant API (if you haven't already)
  6. Check assistant created here https://platform.openai.com/assistants
    • You will be able to select from your assistant
  7. Create classic GitHub token here and give it the read:org and repo permissions
    • Save the GitHub token to .env
  8. Save your GitHub username to .env

Run AI Developer

Run the following command in terminal and follow instructions

npm run start

Update AI Developer

If you make changes to the description in at https://platform.openai.com/assistants Will remove: functions.ts, you can update the AI by running the following command in the terminal:

npm run update-ai-assistant

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.5%
  • Dockerfile 2.5%