Thank you for your interest in contributing to @agentica/core! We welcome contributions from the community to help make this AI agent library even better. 🚀
We use GitHub issues to track bugs and errors.
Please search existing issues before filing a new one.
If you find a similar issue, add a comment to it instead of opening a new one.
Feature requests are welcome. For new features, open an issue first to discuss whether and what features you would like to see.
If you're looking for somewhere to start, check out the gfi(good first issue) tags.
If you want to work on an already existing issue, please leave a comment on that issue so others know someone is working on it.
If you’re not entirely confident about the solution you plan to submit, feel free to share your thoughts or concerns in a comment at any time.
We use the "fork and pull" model
In the fork and pull model, anyone can fork an existing ("upstream") repository to which they have read access and the owner of the upstream repository allows it. Be aware that a fork and its upstream share the same git data. This means that all content uploaded to a fork is accessible from the upstream and all other forks of that upstream. You do not need permission from the upstream repository to push to a fork of it you created. You can optionally allow anyone with push access to the upstream repository to make changes to your pull request branch. This model is popular with open-source projects as it reduces the amount of friction for new contributors and allows people to work independently without upfront coordination.
The contributors push changes to their personal fork and create a pull request to the upstream repository.
- Fork the repository
- install
npm
,pnpm
,yarn
or any node package manager - Run
npm install
to install the dependencies
- If not executed
npm prepare
, you should execute it
- Run
npm run dev
to start the development server
- This server will check the compilation and type checking errors
- before pushing your changes, you should run
npm run test
andnpm run eslint
to build the project
- We use
CHATGPT_API_KEY
environment variable to test the agent
- Push your changes to your fork
- Create a pull request
typings
: Common typesstructures
: Agentica's structuresinternal
: These are codes that are not exposed externally but are commonly used internally.functional
: Pure functions that operate independently of our module's functionality are located here.chatgpt
: As a module that will soon be generalized, it defines the behavior for each API SDK. (but, currently, it only supportschatgpt
)