Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 2.46 KB

CONTRIBUTING.md

File metadata and controls

34 lines (18 loc) · 2.46 KB

Hello, thank you for your interest in contributing to our project. We value your time and effort and hope to make this process as smooth as possible.

Getting Started

  1. Local Installation: Before you start contributing, please install the project locally. You can find the necessary steps in our Local Installation Guide.

  2. Understanding the Project: Please take some time to read through our Conceptual Guide and Architecture Guide to understand the underlying principles and architecture of our project.

  3. Start Development Once you have a local installation and a good understanding of the project, you can start contributing. You can read the following tutorial to learn how to run the code in development mode: Development Mode Tutorial.

Code Formatting and Linting

For consistent and clean code, we enforce specific formatting and linting standards:

  • Backend & CLI Formatting with Black: We use black for code formatting in the directories:

    • agenta-backend/**
    • agenta-cli/**
    • examples/**

    To format, install black using pip install black, navigate to the desired directory, and run black ..

  • Frontend Formatting with Prettier: Our frontend adopts prettier for formatting. Within the agenta-web directory, run npm run format-fix. If you haven't installed prettier, use npm install prettier.

Contribution Steps

  1. Find an issue: A good starting point for contributing is to find an existing issue and solve it. Browse our issue tracker, find something that suits your skills, and start coding! Please read through our guide to Creating an issue

  2. Fork & Pull Request: We follow the standard fork & pull request process. Fork our repository, create a new branch, make your changes, and submit a pull request. Make sure your code follows our coding standards and include relevant unit tests.

  3. Build a Larger Feature: If you're interested in building a larger feature, we would love to hear from you! Reach out directly in Slack or schedule a meeting using this Calendly link.

Thank you for your interest in contributing to Agenta. We look forward to your pull requests!