Crafting intelligent E2E documentation for trustworthy AI.
The cartai
project is dedicated to creating intelligent end-to-end documentation systems tailored for trustworthy AI applications. This involves leveraging various components to ensure that documentation is not only comprehensive but also easily maintainable and adaptable.
The codebase is organized into several key directories, each serving a specific purpose:
Folder | Purpose |
---|---|
adapters/ |
Thin, interchangeable tools |
cli/ |
Lightweight user entry points |
core/ |
Pure logic, no external dependencies |
lineage/ |
High-level lineage coordination |
llm_agents/ |
LLM-based logic only |
tests/ |
Developer trust & confidence |
examples/ |
Fast time-to-first-success |
To set up the cartai
project, you need to have Python 3.12 or higher installed on your machine. The project uses uv as the package manager.
-
Clone the repository:
git clone https://www.github.com/ContrastoAI/cartai.git cd cartai
-
Install the dependencies using the following command:
uv install
-
Alternatively, you can install the package in editable mode for development:
uv pip install -e .
-
Ensure that
pre-commit
is installed for maintaining code quality:uv run pre-commit
The cartai
package can be run from the command line. You can generate documentation using the following command:
uv run cartai readme --description "Crafting intelligent E2E documentation for trustworthy AI." --code "." --output "README.md"
This will create a README.md
file based on the specified input and template.
Contributions are welcome! If you would like to help improve cartai
, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature/my-feature
- Make your changes and commit them:
git commit -m "Add my feature"
- Push your changes:
git push origin feature/my-feature
- Submit a pull request.
Thank you for considering contributing to cartai
! Your efforts help improve the project and assist others in the AI community.
This project is licensed under the Apache License 2.0. See the LICENSE file for more details.