You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+41-18Lines changed: 41 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,11 @@ First of all, __thank you__ for your interest in contributing to AgentStack! Eve
3
3
4
4
Our vision is to build the defacto CLI for quickly spinning up an AI Agent project. We want to be the [create-react-app](https://create-react-app.dev/) of agents. Our inspiration also includes the oh-so-convenient [Angular CLI](https://v17.angular.io/cli).
5
5
6
+
### Exclusive Contributor Sticker
7
+
AgentStack contributors all receive a free sticker pack including an exclusive holographic sticker only available to contributors to the project :)
8
+
9
+
Once your PR is merge, fill out [this form](https://docs.google.com/forms/d/e/1FAIpQLSfvBEnsT8nsQleonJHoWQtHuhbsgUJ0a9IjOqeZbMGkga2NtA/viewform?usp=sf_link) and I'll send your sticker pack out ASAP! <3
10
+
6
11
## How to Help
7
12
8
13
Grab an issue from the [issues tab](https://github.com/AgentOps-AI/AgentStack/issues)! Plenty are labelled "Good First Issue". Fork the repo and create a PR when ready!
@@ -12,28 +17,17 @@ The best place to engage in conversation about your contribution is in the Issue
12
17
## Setup
13
18
14
19
1. Clone the repo
15
-
2.`poetry install`
16
-
3.`pip install -e .[dev,test]`
17
-
- This will install the CLI locally and in editable mode so you can use `agentstack <command>` to test your latest changes
2. Install agentstack as an edtiable project and set it up for development and testing
23
+
`pip install -e .[dev,test]`
24
+
This will install the CLI locally and in editable mode so you can use `agentstack <command>` to test your latest changes
18
25
19
-
## Project Structure
20
-
TODO
21
26
22
27
## Adding Tools
23
28
If you're reading this section, you probably have a product that AI agents can use as a tool. We're glad you're here!
24
29
25
-
Adding tools is easy once you understand the project structure. A few things need to be done for a tool to be considered completely supported:
26
-
27
-
1. Modify `agentstack/tools/tools.json`
28
-
- Add your tool and relevant information to this file as appropriate.
29
-
2. Create a config for your tool
30
-
- As an example, look at `mem0.json`
31
-
- AgentStack uses this to know what code to insert where. Follow the structure to add your tool.
32
-
3. Create your implementation for each framework
33
-
- In `agentstack/templates/<framework>/tools`, you'll see other implementations of tools.
34
-
- Build your tool implementation for that framework. This file will be inserted in the user's project.
35
-
- The tools that are exported from this file should be listed in the tool's config json.
36
-
4. Manually test your tool integration by running `agentstack tools add <your_tool>` and ensure it behaves as expected.
30
+
Adding tools is easy once you understand the project structure. Our documentation for adding tools is available on our hosted docs [here](https://docs.agentstack.sh/contributing/adding-tools).
37
31
38
32
## Before creating your PR
39
33
Be sure that you are opening a PR using a branch other than `main` on your fork. This enables us
@@ -59,4 +53,33 @@ pre-commit install
59
53
```
60
54
61
55
## Tests
62
-
HAHAHAHAHAHAHA good one
56
+
CLI tests are a bit hacky, so we are not tracking coverage.
57
+
That said, _some_ testing is required for any new functionality added by a PR.
58
+
59
+
Tests MUST pass to have your PR merged. We _will not_ allow main to be in a failing state, so if your tests are failing, this is your problem to fix.
60
+
61
+
### Run tests locally
62
+
Install the testing requirements
63
+
```bash
64
+
pip install 'agentstack[test]'
65
+
```
66
+
67
+
Then run tests in all supported python versions with
68
+
```bash
69
+
tox
70
+
```
71
+
72
+
## Need Help?
73
+
If you're reading this, we're very thankful you wanted to contribute! I understand it can be a little overwhelming to
74
+
get up to speed on a project like this and we are here to help!
75
+
76
+
### Open a draft PR
77
+
While we can't promise to write code for you, if you're stuck or need advice/help, open a draft PR and explain what you were trying to build and where you're stuck! Chances are, one of us have the context needed to help you get unstuck :)
78
+
79
+
### Chat on our Discord
80
+
We have an active [Discord server](https://discord.gg/JdWkh9tgTQ) with contributors and AgentStack users! There is a channel just for contributors on there. Feel free to drop a message explaining what you're trying to build and why you're stuck. Someone from our team should reply soon!
81
+
82
+
# Thank You!
83
+
The team behind AgentStack believe that the barrier to entry for building agents is far too high right now! We believe that this technology can be streamlined and made more accessible. If you're here, you likely feel the same! Any contribution is appreciated.
84
+
85
+
If you're looking for work, we are _always_ open to hiring passionate engineers of all skill levels! While closing issues cannot guarantee an offer, we've found that engineers who contribute to our open source repo are some of the best we could ever hope to find via recruiters! Be active in the community and let us know you're interested in joining the team!
0 commit comments