# Code of Conduct for CopilotKit

## Table of Contents

1. [Statement of Purpose](#statement-of-purpose)
2. [Community Values](#community-values)
3. [Expected Behavior](#expected-behavior)
4. [Unacceptable Behavior](#unacceptable-behavior)
5. [Procedures for Reporting and Resolving Issues](#procedures-for-reporting-and-resolving-issues)
6. [Consequences of Unacceptable Behavior](#consequences-of-unacceptable-behavior)
7. [Scope](#scope)
8. [Acknowledgments](#acknowledgments)
9. [Get Involved](#get-involved)

---

## 1. Statement of Purpose

CopilotKit is dedicated to creating an open-source framework that allows for the seamless integration of powerful AI copilots into various applications. Our Code of Conduct aims to foster a collaborative, respectful, and innovative community that empowers contributors and users alike. By adhering to this code, we can ensure that our community thrives and remains a welcoming space for everyone.

---

## 2. Community Values

At CopilotKit, we prioritize the following values:

| **Value**         | **Description**                                                                                            |
| ----------------- | ---------------------------------------------------------------------------------------------------------- |
| **Inclusivity**   | We embrace diverse backgrounds and perspectives, enhancing our collective work.                            |
| **Collaboration** | We believe in teamwork and encourage open communication and mutual support.                                |
| **Respect**       | We treat everyone with kindness and respect, fostering an environment where contributions are valued.      |
| **Innovation**    | We encourage creative thinking and experimentation, supporting initiatives that drive our project forward. |

---

## 3. Expected Behavior

As a participant in the CopilotKit community, you are expected to:

- **Be Respectful and Inclusive**: Treat all individuals with respect and kindness, regardless of their background, identity, or experience level.
- **Communicate Constructively**: Engage in discussions that are constructive, focusing on ideas and solutions rather than personal opinions.
- **Welcome Collaboration**: Actively seek out diverse viewpoints and be open to feedback that can improve our projects.
- **Support Others**: Offer help to fellow contributors, especially newcomers, and encourage a culture of mentorship.
- **Practice Empathy**: Consider the feelings and experiences of others, striving to create an understanding environment.

---

## 4. Unacceptable Behavior

The following behaviors are considered unacceptable within our community:

| **Behavior Type**    | **Description**                                                                                                                           |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **Harassment**       | Any form of harassment, including offensive comments, intimidation, or unwanted attention.                                                |
| **Discrimination**   | Actions or comments that discriminate based on race, ethnicity, gender, sexual orientation, disability, age, or any other characteristic. |
| **Personal Attacks** | Engaging in personal insults or derogatory remarks directed at individuals or groups.                                                     |
| **Disruption**       | Disrupting discussions, meetings, or community spaces, hindering constructive dialogue.                                                   |
| **Invasive Actions** | Unwanted physical contact or any other form of unwanted attention.                                                                        |

---

## 5. Procedures for Reporting and Resolving Issues

If you witness or experience unacceptable behavior, we encourage you to take the following steps:

1. **Identify the Incident**: Clearly identify the nature of the unacceptable behavior and gather any evidence, such as screenshots or messages.

2. **Report the Incident**: Reach out to a project maintainer or designated community leader through direct message or email. Include detailed information about the incident, such as:
   - Names of those involved (if known)
   - Dates and times of the incident
   - Context surrounding the behavior
   - Any relevant evidence

3. **Documentation**: Keep a record of your report and any responses received to ensure a transparent resolution process.

4. **Confidentiality**: All reports will be treated confidentially. Personal information will only be shared with those involved in the resolution process.

5. **Follow-Up**: You can request updates on the status of your report and any actions taken.

---

## 6. Consequences of Unacceptable Behavior

Consequences for violating the Code of Conduct will be determined based on the severity and frequency of the behavior. Potential consequences include:

| **Consequences**         | **Description**                                                                             |
| ------------------------ | ------------------------------------------------------------------------------------------- |
| **Verbal Warning**       | A private discussion addressing the behavior.                                               |
| **Written Warning**      | A formal notice outlining the behavior and expected changes.                                |
| **Temporary Suspension** | A temporary ban from contributing to the project or participating in community discussions. |
| **Permanent Removal**    | A permanent ban for severe violations or repeated offenses.                                 |

---

## 7. Scope

This Code of Conduct applies to all participants in the CopilotKit community, including contributors, maintainers, and users, both online and offline. It encompasses interactions in the following areas:

- GitHub discussions and issues
- Community meetings and events
- Social media platforms
- Any other official channels related to CopilotKit

---

## 8. Acknowledgments

This Code of Conduct draws inspiration from various open-source communities dedicated to inclusivity and respect. We appreciate their efforts in creating positive environments and strive to uphold similar standards in our community. Your feedback is always welcome to improve our Code of Conduct and practices.

---

## 9. Get Involved

We invite you to contribute to CopilotKit! Whether through code, documentation, or community engagement, your participation is invaluable. For more information on how to contribute, please check our [contribution guide](https://docs.copilotkit.ai/contributing/docs-contributions#how-to-contribute).

Thank you for being part of the CopilotKit community! Together, we can build a safe, respectful, and innovative space for all.
