π©βπΌ Agent-powered project intelligence, from PRD to production
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.
π 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
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
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
.
-
Format code:
make format
-
Lint code:
make lint
-
Run tests:
make test
-
Run pre-commit hooks:
make pre-commit
To deploy the project, follow the standard deployment procedures for your environment. Ensure all dependencies are installed, and run the necessary commands as needed.
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.