Contributing to Agenta
Thanks for your interest in contributing to Agenta! We appreciate your effort and aim to make your contribution experience as straightforward as possible.
Getting Started
-
Local Installation: First, set up the project on your local machine. Follow the steps in our Local Installation Guide.
-
Understand the Project: Familiarize yourself with our architecture and concepts by reading our Guide.
-
Begin Development: Once you've installed the project and understand its architecture, you're ready to contribute. See the Development Mode Tutorial for instructions on running the code in development mode.
Code Formatting and Linting
To maintain code quality, we adhere to certain formatting and linting rules:
-
Backend & CLI Formatting with Black: Use
black
for formatting code in the following directories:agenta-backend/**
agenta-cli/**
examples/**
Install
black
withpip install black
, navigate to the target directory, and runblack .
. -
Frontend Formatting with Prettier: We use
prettier
for frontend formatting. Runnpm run format-fix
in theagenta-web
directory. If you haven't yet installedprettier
, do so withnpm install prettier
.
Contribution Steps
-
Pick an Issue: Start by selecting an issue from our issue tracker. Choose one that matches your skill set and begin coding. For more on this, read our Creating an Issue Guide.
-
Fork & Pull Request: Fork our repository, create a new branch, add your changes, and submit a pull request. Ensure your code aligns with our standards and includes appropriate unit tests.
-
Contribute a Larger Feature: If you're interested in developing a more extensive feature, let's discuss! Contact us directly on Slack or schedule a meeting through this Calendly link.