CLI for AI-assisted repository and workspace workflows
Project description
augint-tools
CLI orchestration layer for AI-assisted repository and workspace workflows.
augint-tools provides a stable, machine-parseable command surface for humans and AI agents to coordinate development workflows across single repositories and multi-repo workspaces. It is designed to be called directly by AI skills, replacing ad-hoc shell scripts with reliable, JSON-enabled commands.
Features
- Dual-mode operation: Commands for both single repos (
ai-tools repo) and workspaces (ai-tools workspace) - AI-first design: Every command supports
--jsonoutput for agent parsing - Repo-type aware: Understands library, service, and workspace repository patterns
- Safe defaults: No destructive git operations without explicit commands
- GitHub integration: Issue management, PR creation, CI status monitoring
Installation
pip install augint-tools
Or with uv:
uv tool install augint-tools
Quick Start
Single Repository Workflows
# Initialize repo metadata
ai-tools init --library
# Check repository status
ai-tools repo status --json
# Search/pick issues
ai-tools repo issues pick "bug"
# Create feature branch
ai-tools repo branch prepare --issue 42 --description "fix the thing"
# Run checks
ai-tools repo check run
ai-tools repo check run --preset full --fix
# Submit work (push + create PR)
ai-tools repo submit
Workspace Workflows
# Initialize workspace
ai-tools init --workspace
# Sync all child repositories
ai-tools workspace sync --json
# Check status across all repos
ai-tools workspace status
# Create coordinated branches
ai-tools workspace branch --name feat/multi-repo-change
# Run tests and lint across all repos
ai-tools workspace test
ai-tools workspace lint
# Run command in all repos
ai-tools workspace foreach -- git status
# Submit PRs for all modified repos
ai-tools workspace submit
Command Reference
Top-Level Commands
ai-tools init [--library|--service|--workspace]- Initialize repository metadata
Repository Commands (ai-tools repo)
inspect- One-call repo snapshot (kind, branch, toolchain, command plan)status- Show repository status (branch, dirty state, PRs, CI)issues pick [query]- Issue recommendation and searchbranch prepare- Create work branch from correct basecheck plan- Resolve validation plan without runningcheck run- Execute validation plansubmit- Push branch and create PR with automergeci watch- Monitor CI runci triage- Classify CI failures
Workspace Commands (ai-tools workspace)
inspect- Workspace snapshotstatus- Status across all child repositoriessync- Clone missing repos and update existingissues [query]- Aggregate issues from all reposbranch- Create coordinated branchescheck- Grouped validation across repostest- Alias for check --phase testslint- Alias for check --phase qualityforeach <command>- Execute command in all repossubmit- Push and create PRs for modified repos
Configuration
Repository Classification
ai-shell.toml:
[project]
repo_type = "library" # or "service", "workspace"
branch_strategy = "main" # or "dev"
dev_branch = "dev" # when branch_strategy = "dev"
Workspace Manifest
workspace.yaml (for workspace repos):
workspace:
name: my-workspace
repos_dir: repos
repos:
- name: my-lib
path: repos/my-lib
url: https://github.com/org/my-lib.git
repo_type: library
base_branch: main
pr_target_branch: main
install: uv sync --all-extras
test: uv run pytest -v
lint: uv run pre-commit run --all-files
depends_on: []
Development
Setup
uv sync --all-extras
Running Tests
uv run pytest # Run all tests
uv run pytest --cov # With coverage
uv run pytest -k test_name # Specific test
Code Quality
uv run ruff check src/ tests/ # Lint
uv run ruff format src/ tests/ # Format
uv run mypy src/ # Type check
uv run pre-commit run --all-files # All hooks
Design Principles
- Human and AI first - Commands work well for both interactive use and programmatic calls
- JSON always available - Every orchestration command supports stable
--jsonoutput - Safe defaults - No destructive behavior without explicit confirmation
- Repo-type aware - Different defaults for libraries, services, and workspaces
- Skills call tools - AI skills orchestrate this CLI, not replace it with shell scripts
License
MIT
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 augint_tools-4.2.1.tar.gz.
File metadata
- Download URL: augint_tools-4.2.1.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7594343126030ba42a8f3a148d3bad68a813aa590bfd00e8547e9bdd0d915fa8
|
|
| MD5 |
11f7102fb0863e294775634ab6c5d696
|
|
| BLAKE2b-256 |
433e4539d37fcb411c8df6d69b09420cefc97181ec21514320d6975164c4064f
|
Provenance
The following attestation bundles were made for augint_tools-4.2.1.tar.gz:
Publisher:
pipeline.yaml on svange/augint-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
augint_tools-4.2.1.tar.gz -
Subject digest:
7594343126030ba42a8f3a148d3bad68a813aa590bfd00e8547e9bdd0d915fa8 - Sigstore transparency entry: 1291779585
- Sigstore integration time:
-
Permalink:
svange/augint-tools@eda00121920dae6d248778e5aea9831d81151226 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/svange
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pipeline.yaml@eda00121920dae6d248778e5aea9831d81151226 -
Trigger Event:
push
-
Statement type:
File details
Details for the file augint_tools-4.2.1-py3-none-any.whl.
File metadata
- Download URL: augint_tools-4.2.1-py3-none-any.whl
- Upload date:
- Size: 36.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03168799f4eca54fce27c47925f05f260f47541aa231ca766a4273efa1c49c44
|
|
| MD5 |
56aaa193fed4cc5e0c5b8adcc3c39c5b
|
|
| BLAKE2b-256 |
be7e9cbf6b5fb6d7fa8f0890a8d34d4af1e40846e8d3efa06e6480950a2f1f46
|
Provenance
The following attestation bundles were made for augint_tools-4.2.1-py3-none-any.whl:
Publisher:
pipeline.yaml on svange/augint-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
augint_tools-4.2.1-py3-none-any.whl -
Subject digest:
03168799f4eca54fce27c47925f05f260f47541aa231ca766a4273efa1c49c44 - Sigstore transparency entry: 1291779656
- Sigstore integration time:
-
Permalink:
svange/augint-tools@eda00121920dae6d248778e5aea9831d81151226 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/svange
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pipeline.yaml@eda00121920dae6d248778e5aea9831d81151226 -
Trigger Event:
push
-
Statement type: