Giter Site home page Giter Site logo

devyan's Introduction

Devyan

Overview

Devyan is an AI-powered software development assistant that orchestrates a team of agents to solve programming tasks. It uses OpenAI's GPT-based agents to perform various roles such as architecture design, implementation, testing, and reviewing.

img

Features

  • Architect Agent: Designs the architecture of the solution based on the user input.
  • Programmer Agent: Implements the solution as per the architecture design.
  • Tester Agent: Tests the implemented solution to ensure it meets the requirements and is free of bugs.
  • Reviewer Agent: Reviews the architecture, implementation, and test results to provide a comprehensive analysis.

Requirements

  • Python 3.7+
  • requests library
  • langchain library
  • python-decouple library
  • crewai library
  • OpenAI API Key

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/devain.git
    cd devain
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Set up environment variables: Create a .env file in the root directory of the project and add your OpenAI API key:

    OPENAI_API_KEY=your_openai_api_key_here
    SERPER_API_KEY=your_serper_api_key_here

Usage

  1. Run the main script:

    python main.py
  2. Follow the prompts:

    ## Welcome to Devain##
    -------------------------------
    What problem do you want us to solve?
    
  3. Enter the problem you want Devain to solve, and let the agents handle the rest.

Project Structure

devain/
│
│ 
├── tools/
│   ├── __init__.py
│   ├── file_write.py
│   └── directory_write.py
│
├── agents.py
│
├── tasks.py
│
├── main.py
│
├── requirements.txt
│
└── README.md

Contributing

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (`git push origin feature/your-feature``).
  5. Open a pull request.

Todo

  • Create Custom tool to write file
  • Create Custom tool to create directory
  • Change prompts in tasks, make it more detialed and clear
  • Use pytoml

devyan's People

Contributors

theyashwanthsai 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.