Skip to main content

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.

PyPI version Build Status GitHub Repo stars License GitHub release


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:

  1. Clone the repository:

    git clone https://www.github.com/ContrastoAI/cartai
    cd cartai
    
  2. Ensure you have uv and pre-commit installed. You can check their installation with:

    make .uv
    make .pre-commit
    
  3. 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:

  1. Fork the repository ๐Ÿด
  2. Create your feature branch:
    git checkout -b feature/YourFeature
    
  3. Commit your changes:
    git commit -m 'Add YourFeature'
    
  4. Push to the branch:
    git push origin feature/YourFeature
    
  5. Open a pull request ๐Ÿ“ฌ

Please follow the coding guidelines and check the Makefile or contributing docs if available.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cartai-0.0.1a1.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cartai-0.0.1a1-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

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

Hashes for cartai-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 3f293cf1af42b8e4e86d2e21ca644cc77aa2d3bfec166c237f7a97dc0a7813b6
MD5 14c222ddbcd4ab7939d645d6662cf149
BLAKE2b-256 406f180477a06775dffd5168f1e520bb41c4ace84962cbd4ab42da9391c0772b

See more details on using hashes here.

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

Hashes for cartai-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 3758b46b3096130a3904cc98004e470b0825ab9585abb2dc5470f3c2cd332fc4
MD5 41842401569eb861e018e15bb3f6e73f
BLAKE2b-256 92f9b97429c938b1b74001669d931521e7e9669c8a94743916a5665b208c3855

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page