Coder Social home page Coder Social logo

joonemaman1 / ai-developer-with-sandbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from e2b-dev/ai-developer-with-sandbox

0.0 0.0 0.0 118 KB

AI Developer is an AI agent powered by GPT-4-Turbo that's using custom E2B Sandbox

Home Page: https://e2b.dev/docs

TypeScript 94.33% Dockerfile 5.67%

ai-developer-with-sandbox's Introduction

AI Developer powered by GPT-4-Turbo & OpenAI's AI Assistant API

e2b logo

AI Developer is an AI agent powered by GPT-4-Turbo that's using custom E2B Sandbox


The AI developer is an AI agent that perform user's tasks in the user's GitHub repository including:

  • reading files
  • writing code
  • making pull requests
  • pulling GitHub repository
  • responding to the user's feedback to the agent's previous work.

All agent's work is happening inside the E2B sandbox.

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.

  • Pull GitHub repository
  • Read files
  • Make needed changes
  • Commit work
  • Create a pull request

The custom E2B sandbox environment is defined in the e2b.Dockerfile

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
  6. Grab the assistant ID you just created here https://platform.openai.com/assistants
    • Save the assistant ID to .env
  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

ai-developer-with-sandbox's People

Contributors

mlejva avatar valentatomas avatar jakubno avatar matebenyovszky 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.