Agents for tracking your AI project lineage.
Project description
๐ Cartai ๐
Crafting intelligent E2E trazes & documentation for trustworthy AI
๐ฉโ๐ฌ Agents for tracking your AI project lineage.
cartai is a library that enables end-to-end traceability and lineage of your AI projects. PRDs, data lineage, training experiments, deployments, monitoring, and third-party vibe-coding platforms.
๐ Codebase Structure
๐ /
๐ .env.example
๐ .github/
๐ workflows/
๐ pr-review.yaml
๐ pre-commit.yaml
๐ publish.yaml
๐ .pre-commit-config.yaml
๐ .python-version
๐ cartai/
๐ __init__.py
๐ adapters/
๐ cli/
๐ commands/
๐ __init__.py
๐ pr_diff.py
๐ readme.py
๐ main.py
๐ core/
๐ __init__.py
๐ code_parser.py
๐ lineage/
๐ llm_agents/
๐ __init__.py
๐ documenter.py
๐ graph.py
๐ graph_states.py
๐ templates/
๐ pr_diff.jinja
๐ readme.jinja
๐ utils/
๐ __init__.py
๐ model_client_utils.py
๐ yaml_utils.py
๐ langgraph_config/
๐ dummy_config.yaml
๐ repo_documenter.yaml
๐ LICENSE
๐ llm_agents/
๐ templates/
๐ Makefile
๐ pyproject.toml
๐ README.md
๐ uv.lock
โ๏ธ Installation
To get started with the CartAI project, follow these instructions to set up your environment:
-
Clone the repository:
git clone https://www.github.com/ContrastoAI/cartai cd cartai
-
Ensure you have uv and pre-commit installed. You can check their installation with:
make .uv make .pre-commit
-
Install all dependencies and set up your environment:
make install-all
๐ป Usage
You can run the project using the provided Makefile commands. For example, to generate the README documentation, you can use:
make run_readme
This command will execute the documentation generation process with the description "Crafting intelligent E2E documentation for trustworthy AI." and output it to README_new.md.
Other Makefile Commands
-
Format code:
make format -
Lint code:
make lint -
Run tests:
make test
-
Run pre-commit hooks:
make pre-commit
๐ Deployment
To deploy the project, follow the standard deployment procedures for your environment. Ensure all dependencies are installed, and run the necessary commands as needed.
๐ค Contributing
We welcome contributions! Here's how you can contribute:
- Fork the repository ๐ด
- Create your feature branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m 'Add YourFeature'
- Push to the branch:
git push origin feature/YourFeature
- Open a pull request ๐ฌ
Please follow the coding guidelines and check the Makefile or contributing docs if available.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cartai-0.0.1a1.tar.gz.
File metadata
- Download URL: cartai-0.0.1a1.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f293cf1af42b8e4e86d2e21ca644cc77aa2d3bfec166c237f7a97dc0a7813b6
|
|
| MD5 |
14c222ddbcd4ab7939d645d6662cf149
|
|
| BLAKE2b-256 |
406f180477a06775dffd5168f1e520bb41c4ace84962cbd4ab42da9391c0772b
|
File details
Details for the file cartai-0.0.1a1-py3-none-any.whl.
File metadata
- Download URL: cartai-0.0.1a1-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3758b46b3096130a3904cc98004e470b0825ab9585abb2dc5470f3c2cd332fc4
|
|
| MD5 |
41842401569eb861e018e15bb3f6e73f
|
|
| BLAKE2b-256 |
92f9b97429c938b1b74001669d931521e7e9669c8a94743916a5665b208c3855
|