Skip to main content

Launch AI coding tools and local LLMs in Docker containers

Project description

augint-shell CLI

PyPI version Python 3.12+ Tests License

Launch AI coding tools and local LLMs in Docker containers.

Documentation & Reports

Resource Description
API Documentation pdoc-generated API reference
Test Coverage HTML coverage report
Test Results Unit test results
Security Scans Bandit, pip-audit results
License Compliance Dependency license report
PyPI Package Published package

Installation

pip install augint-shell

Or as a dev dependency:

uv add --dev augint-shell

Quick Start

# Launch Claude Code in the current project
ai-shell claude

# Launch with extra args
ai-shell claude -- --debug

# Set up local LLM stack (first time)
ai-shell llm setup

# Launch opencode with local LLM
ai-shell opencode

Commands

AI Tools

Command Description
ai-shell claude Launch Claude Code
ai-shell claude-x Claude Code with skip-permissions
ai-shell codex Launch Codex
ai-shell opencode Launch opencode
ai-shell aider Launch aider with local LLM
ai-shell shell Bash shell in dev container

LLM Stack

Command Description
ai-shell llm up Start Ollama + Open WebUI
ai-shell llm down Stop LLM stack
ai-shell llm pull Pull configured models
ai-shell llm setup First-time setup (up + pull + configure)
ai-shell llm status Show status and available models
ai-shell llm logs Tail LLM stack logs
ai-shell llm shell Shell into Ollama container

Container Management

Command Description
ai-shell manage status Show dev container status
ai-shell manage stop Stop dev container
ai-shell manage clean Remove container and volumes
ai-shell manage logs Tail dev container logs
ai-shell manage pull Pull latest Docker image

Configuration

Optional ai-shell.toml in your project root:

[container]
image = "svange/augint-shell"
image_tag = "latest"
extra_env = { MY_VAR = "value" }

[llm]
primary_model = "qwen3.5:27b"
fallback_model = "qwen3-coder-next"
context_size = 32768
ollama_port = 11434
webui_port = 3000

[aider]
model = "ollama_chat/qwen3.5:27b"

Global config at ~/.config/ai-shell/config.toml is also supported.

How It Works

  • Pulls a pre-built Docker image from Docker Hub (svange/augint-shell)
  • Creates per-project containers named augint-shell-{project}-dev
  • Mounts your project directory, SSH keys, AWS credentials, and tool configs
  • Runs AI tools interactively inside the container
  • Supports concurrent instances across multiple projects

Standardization architecture

augint-shell also ships the skill bundle and Python machinery for repository standardization. The system distributes work across three repositories:

  • augint-shell — content owner: canonical vocabulary, templates, generators, and the orchestration skills.
  • augint-github (ai-gh) — thin GitHub-state mutation API: rulesets apply, config standardize, OIDC trust.
  • augint-tools (ai-tools) — multi-repo workflow helpers and workspace enumeration via workspace.yaml.

Each repo releases independently. Changing a gate name is a one-repo change in augint-shell — downstream tools read the canon at runtime.

Ownership matrix

Concern Owner Surface
Gate canon (gates.json) augint-shell templates/claude/skills/ai-standardize-repo/gates.json
Ruleset spec generation augint-shell ai_shell.standardize.rulesets
Ruleset application to GitHub augint-github ai-gh rulesets apply <spec>
Workflow job snippets + minimum specs augint-shell templates/.../ai-standardize-pipeline/jobs/
Workflow file generation augint-shell (AI-mediated prose) /ai-standardize-pipeline skill
Renovate config augint-shell ai-shell standardize renovate
Pre-commit config augint-shell ai-shell standardize precommit
Semantic-release config augint-shell ai-shell standardize release (tomlkit merge for python)
Dotfiles (.editorconfig, .gitignore) augint-shell ai-shell standardize dotfiles
Repo merge settings augint-github ai-gh config --standardize
OIDC trust augint-shell + augint-github /ai-setup-oidc skill orchestrates
Secrets / variables augint-github chezmoi + ai-gh sync
Workspace enumeration augint-tools workspace.yaml + ai-tools workspace inspect/graph/foreach/...
Repo / workspace workflow helpers augint-tools ai-tools repo, ai-tools workspace
Standardization orchestration (single-repo) augint-shell /ai-standardize-repo
Standardization orchestration (workspace) augint-shell /ai-workspace-standardize
Workspace bulk verify augint-shell skill layer /ai-workspace-standardize --verify loops over children calling ai-tools standardize <child-path> --verify --json
AI agent configuration augint-shell (.ai-shell.toml) container settings, model provider — NOT for repo-shape detection

Canonical gate vocabulary

Every repo enforces the same 5 pre-merge gates as required status checks via branch rulesets. iac repos additionally enforce 1 post-deploy gate on the production branch. Source of truth: templates/claude/skills/ai-standardize-repo/gates.json. Skills that name a gate read it from there; they never hardcode.

Gate Scope What it checks
Code quality all repos linting, formatting, type checking, file hygiene
Security all repos Bandit/Semgrep SAST, dependency vulnerabilities
Unit tests all repos tests + coverage floor (>=80%)
Compliance all repos GPL/AGPL/LGPL license rejection
Build validation all repos uv build / sam build / cdk synth / npm run build / terraform validate
Acceptance tests iac production only runs on dev's tip after deploy; required context on iac_production ruleset; satisfied on the promotion PR

Repo type and language detection

Detection is code-based via ai-shell standardize detect --json. There is no .ai-shell.toml dependency for repo-shape decisions.

Language:

  • Pythonpyproject.toml with [project].name AND no [tool.uv].package = false
  • Nodepackage.json AND (no pyproject.toml OR pyproject.toml has [tool.uv].package = false)
  • The package = false marker is authoritative — it says "this pyproject is a dependency container, not a buildable Python package"

Repo type:

  • iac if ANY of: samconfig.toml, cdk.json, *.tf at root, serverless.yml, OR a workflow file contains sam deploy, cdk deploy, terraform apply, aws s3 sync, or aws-actions/configure-aws-credentials
  • library if a workflow file publishes via pypa/gh-action-pypi-publish, twine upload, uv publish, or npm publish
  • Publish wins over deploy when both signals are present — a library with SAM-based test infrastructure (e.g. ai-lls-lib) is still a library

Pipeline architecture principles

  • Single pipeline.yaml per repo. All canonical gates inline as jobs in one workflow. No reusable workflow split (_gate-*.yaml). This preserves the unified GitHub Actions DAG view per CI run.
  • AI-mediated merge, not Python. The Python layer is read-only: validate(path) returns a DriftReport; canonical_jobs(language, repo_type) returns inline job snippets the AI uses as reference. The /ai-standardize-pipeline skill drives Claude through the merge, handling legacy renames (Pre-commit checks -> Code quality, Integration tests/Smoke tests/E2E * -> Acceptance tests), missing gate insertion, custom job preservation, and special patterns like parallelized post-deploy tests (synthetic Acceptance tests aggregator that needs: [<parallel test jobs>]).
  • Minimum-spec validation. Each canonical gate declares required steps in order. Users may add custom steps anywhere as long as required ones appear in the declared order. Action SHAs and step name: fields are ignored; only uses: (action path substring) and run: (regex, MULTILINE+DOTALL for multi-line shell continuations) count.
  • One-shot, no two-phase migration. Standardization is a single invocation per repo. No "run once to scaffold, edit by hand, run again to verify."

Execution scopes

Command Scope
/ai-standardize-pipeline [<path>] Single section: pipeline.yaml merge (AI-mediated)
/ai-standardize-precommit [<path>] Single section: pre-commit config
/ai-standardize-renovate [<path>] Single section: Renovate config
/ai-standardize-release [<path>] Single section: semantic-release config
/ai-standardize-dotfiles [<path>] Single section: .editorconfig, .gitignore
/ai-standardize-repo --all [<path>] Full single-repo 10-step sequence
/ai-standardize-repo --verify [<path>] Read-only drift report for a single repo
/ai-workspace-standardize [--verify] [--only ...] Workspace-level orchestration over every child repo in dep order

Requirements

  • Docker
  • Python >= 3.12

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

augint_shell-0.58.0.tar.gz (128.5 kB view details)

Uploaded Source

Built Distribution

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

augint_shell-0.58.0-py3-none-any.whl (221.8 kB view details)

Uploaded Python 3

File details

Details for the file augint_shell-0.58.0.tar.gz.

File metadata

  • Download URL: augint_shell-0.58.0.tar.gz
  • Upload date:
  • Size: 128.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for augint_shell-0.58.0.tar.gz
Algorithm Hash digest
SHA256 63dacc561d89c2c5f39c261f71158e3a13b5d47db4260681b8add44c2875695e
MD5 7e76907f6f2569e3e03c84abf69e60fc
BLAKE2b-256 eb4fe39c282841f5b3a2fb2259b6b57c4a469336a32fdaf45fd6869f77dbb2c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for augint_shell-0.58.0.tar.gz:

Publisher: pipeline.yaml on svange/augint-shell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file augint_shell-0.58.0-py3-none-any.whl.

File metadata

  • Download URL: augint_shell-0.58.0-py3-none-any.whl
  • Upload date:
  • Size: 221.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for augint_shell-0.58.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9739f93f41d936e9b1ad02916656efb90d0cb37874e646e4a979f815c0799d5c
MD5 99874ec20ec4f37ca98cff2d2248f291
BLAKE2b-256 e8711f7fce749f579cabd54f7a40d4b9fe6d4d2a07d3453fab09673b38b5355e

See more details on using hashes here.

Provenance

The following attestation bundles were made for augint_shell-0.58.0-py3-none-any.whl:

Publisher: pipeline.yaml on svange/augint-shell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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