Skip to content

Cloud-Code-AI/kaizen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

720e303 · Apr 19, 2024
Apr 19, 2024
Apr 16, 2024
Apr 18, 2024
Apr 16, 2024
Apr 16, 2024
Apr 16, 2024
Apr 6, 2024
Mar 31, 2024
Apr 16, 2024
Apr 7, 2024
Apr 15, 2024
Apr 2, 2024
Apr 9, 2024
Apr 8, 2024
Mar 31, 2024
Apr 16, 2024
Apr 16, 2024

Repository files navigation

Github Stars Commits-per-week License: AGPL-3.0

CloudCode

CloudCode is an open-source project that helps teams ensure quality in their software delivery by providing a suite of tools for code review, test generation, and end-to-end testing. It integrates with your existing code repositories and workflows, allowing you to streamline your software development process.

Features

Code Review

CloudCode automatically reviews pull requests, summarizing code changes, and providing insightful feedback on potential issues or areas of improvement. It leverages advanced natural language processing techniques to understand the context and implications of the code changes.

End-to-End Testing

CloudCode generates comprehensive end-to-end tests based on your application's code and documentation. These tests ensure that your application functions correctly from start to finish, catching regressions and edge cases that may have been overlooked during development.

RAGify

CloudCode RAGifies your code repositories, generating relevant context and allowing you to integrate your own Large Language Models (LLMs) or use pre-trained models. This feature enables you to leverage the power of LLMs for various tasks, such as code generation, documentation, and more.

File Structure

  • api: Contains the API server used by the GitHub app to process incoming requests and respond.
  • cloudcode: Contains the main logic for interaction with LLMs and data processing.
    • actions: Contains classes used to process various different actions like Code Review.
    • llms: Contains LLM integrations.
  • docs: Contains Nextra-powered documentation for the project.

Getting Started

To get started with CloudCode, follow these steps:

  1. Clone the repository:

    git clone https://github.com/cloudcode/cloudcode.git
  2. Install dependencies:

    cd cloudcode
    poetry install

Running API Server for GitHub App

CloudCode utilizes a GitHub app to perform actions like PR review and description updates. Here is a quick link to set up your own GitHub App: docs/pages/github_app.md

Deploy the API using Docker Compose:

docker-compose up

You can also configure features by tweaking the config.json file.

NOTE: You need to create a .env file by copying .env.example and also store the PEM file for the GitHub app as GITHUB_APP_KEY.pem.

Contributing

We welcome contributions from the community! If you'd like to contribute to CloudCode, please follow these steps:

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

License

CloudCode is released under the AGPL License.

Contact

If you have any questions or need further assistance, please feel free to reach out to us at [email protected].