Thank you for considering contributing to EvoAgentX – an automatic agentic workflow generation and evolving framework! We appreciate your interest and contributions to improving the project.
If you're interested in contributing code:
- Clone the repo and set up your Python environment
- Install dependencies in development mode via
pip install -e . - Make changes in a new branch
- Submit a Pull Request
📌 New to EvoAgentX? Try the Quickstart Guide
🔧 To report bugs, request features, or ask questions
Please scroll down to the Contributing Guide below 👇 — detailed templates are available there.
If you encounter a bug, error, or unexpected behavior:
-
✅ First, check our Issues and Discussions to see if it's already been reported.
-
✅ Then, use the 🐞 Bug Report Template to submit it.
Please make sure to:
- Use a clear title and concise description of the bug.
- Provide environment details (OS, Python version, etc.)
- Include steps to reproduce the issue.
- Include logs, screenshots, and environment details.
To propose a new feature or enhancement:
- ✅ First, check existing feature requests to see if it's already been requested.
- ✅ Then, use the 💡 Feature Request Template to submit it.
Please make sure to:
- Use a clear title and concise description of the feature.
- Provide a use case explaining why this feature is beneficial.
- Suggest a possible implementation approach if possible.
For usage questions or general help:
- ✅ We encourage you to use the Discussions area first.
- ✅ If you can't find an answer, use the 🤔 Question Template to submit it.
Please make sure to:
- Provide a clear and concise description of your question.
- Include relevant details such as code snippets, configs, links, error messages, or screenshots.
You can also find links to all issue types when you click “New Issue” on the Issues tab.
Before making changes, create a new branch:
git checkout -b feature/your-feature-name- Follow the project’s coding style.
- Write clean, maintainable, and well-documented code.
- Add relevant unit tests for your changes.
- Follow conventional commit messages:
git commit -m "feat: add new agent workflow module" - Use descriptive commit messages.
git push origin feature/your-feature-name- Navigate to the main repository and create a Pull Request (PR).
- Provide a clear description of your changes.
- Reference the related issue if applicable.
- Wait for a review and respond to feedback promptly.
All Python functions, classes, and modules in this project should use Google-style docstrings. Below are the guidelines and examples that contributors must follow to maintain consistency and clarity throughout the codebase.
A typical Google-style docstring contains:
- Short Summary
A brief statement of what the function or class does. - Args
A list of parameters with their types (optional) and descriptions. - Returns or Yields
Explains what the function returns or yields, along with types and descriptions. - Raises (optional)
Documents any exceptions that might be raised. - Other sections (optional)
Such as Example(s), Attributes (for classes), etc.
Example Layout:
class Calculator:
"""A simple calculator class to demonstrate Google-style docstrings.
This class provides basic arithmetic operations. Advanced features can be
added as needed.
Attributes:
last_result (float): Stores the result of the most recent operation.
"""
def __init__(self):
"""Initializes the Calculator with a default result of 0."""
self.last_result = 0
def add(self, a, b):
"""Adds two numbers and updates `last_result`.
Args:
a (float): The first number.
b (float): The second number.
Returns:
float: The sum of `a` and `b`.
"""
self.last_result = a + b
return self.last_result
def subtract(self, a, b):
"""Subtracts b from a and updates `last_result`.
Args:
a (float): The number to be subtracted from.
b (float): The number to subtract.
Returns:
float: The result of `a - b`.
"""
self.last_result = a - b
return self.last_resultBefore submitting a PR, ensure that all tests pass:
pytest tests/To stay updated with the latest changes:
git fetch upstreamgit merge upstream/main- Be respectful and inclusive.
- Provide constructive feedback.
- Keep discussions relevant to the project.
For any questions, feel free to open an issue or reach out to the maintainers.
Happy coding! 🚀