Launch AI coding tools and local LLMs in Docker containers
pip install augint-shell==0.115.0 Copy PIP instructions
augint-shell is a Python 3.12+ command-line tool (the ai-shell command) that launches AI coding tools (Claude Code, Codex, opencode) and local LLMs (Ollama, Open WebUI, Kokoro TTS, Speaches STT) in per-project Docker containers. It is built on Click for the CLI and the Docker SDK for Python to build and orchestrate those containers. As a library/CLI it runs no servers of its own: releases are published automatically to PyPI (augint-shell) and Docker Hub (svange/augint-shell).
Reports are published to GitHub Pages on every push to main.
augint-shell is a library/CLI: it has no staging or production servers. Instead of deploy environments, git refs map to publish targets, and releasing is fully automated -- there is no manual deploy step.
The single deploy environment is the GitHub Actions pypi environment (trusted publishing via OIDC -- no stored PyPI token). The Docker image also rebuilds when files under docker/ change, independent of a version bump. Full pipeline: .github/workflows/publish.yaml.
One command replaces the old Makefile + docker-compose.yml workflow.
This project uses AI-assisted development. You do not need to memorize git commands or CI configuration -- your AI agent handles that.
pip install augint-shell # or: uv add --dev augint-shell Running locally # 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 How to Contribute Contributions are made through AI agents (Claude Code, Copilot, etc.). You describe what you want changed in plain language; the agent handles branching, coding, testing, and submitting a pull request.
If you need to work manually, AGENTS.md has the build, test and commit conventions.
Optional .ai-shell.yaml in your project root (YAML default, TOML also accepted). Run ai-shell init for the full template.
container: image: svange/augint-shell image_tag: latest extra_env: MY_VAR: value dev_ports: [3000, 4200, 5000, 5173, 5678, 8000, 8080, 8888] extra_ports: [] openai: profile: work # resolves OPENAI_API_KEY_WORK from .env claude: account: work # resolves CLAUDE_CODE_OAUTH_TOKEN_WORK from .env, or the login profile chrome_proxy: "" # host Chrome proxy: "vpn" (ai-shell's VPN container) or a --proxy-server value accounts: # optional per-account defaults (put in ~/.augint/.ai-shell.yaml) mike: local_chrome: true # open Mike's own Chrome window on launch chrome_profile: mike # Chrome profile slug; defaults to the account name chrome_proxy: vpn # this account's Chrome goes through the VPN container vpn: country: United States # gluetun SERVER_COUNTRIES; empty = any NordVPN server firewall: true # gluetun's own firewall; ai-shell turns it off by itself where it cannot run proxy_port: 8888 # loopback port of the proxy Chrome uses expo: auto: true # start a detected Expo app automatically (--expo/--no-expo override) llm: primary_chat_model: qwen3.5:27b secondary_chat_model: huihui_ai/qwen3.5-abliterated:27b primary_coding_model: qwen3-coder:30b-a3b-q4_K_M secondary_coding_model: huihui_ai/qwen3-coder-abliterated:30b-a3b-instruct-q4_K_M context_size: 32768 ollama_port: 11434 webui_port: 3000 comfyui_port: 8188 extra_models: [] Global config at ~/.augint/.ai-shell.yaml (canonical), ~/.ai-shell.yaml or ~/.config/ai-shell/config.yaml also supported.
The container overlays named volumes on the project's node_modules, vendor/ and the uv venv, so a Linux install never lands in the bind-mounted Windows checkout. Workspace packages declared in pnpm-workspace.yaml or package.json workspaces (any directory with a package.json that matches) are overlaid the same way automatically; without that, pnpm on Windows and pnpm in the container keep reinstalling over each other's workspace links. Add container.node_modules_paths: [glob, ...] for layouts those files do not describe.
To keep tool launches fast, two preflight checks are cached on the host under ~/.cache/ai-shell/:
container: image_pull_cache_ttl: 900 # seconds (0 = always pull) aws: bedrock_check_cache_ttl: 86400 # seconds (0 = always verify) Equivalent env vars: AI_SHELL_IMAGE_PULL_CACHE_TTL, AI_SHELL_BEDROCK_CHECK_CACHE_TTL. Delete the corresponding file under ~/.cache/ai-shell/ to force a recheck on the next launch.
Four role-specific model slots, each sized for an RTX 4090 (24 GiB VRAM). All four defaults together total ~74 GB on disk.
Optional stacks (not auto-started; opt-in with ai-shell llm up -- or --all):
Codex and opencode support switching between multiple OpenAI accounts via named profiles in .env:
# .env OPENAI_API_KEY_WORK=sk-proj-... OPENAI_ORG_ID_WORK=org-... OPENAI_API_KEY_PERSONAL=sk-proj-... ai-shell codex --openai-profile work ai-shell opencode --openai-profile personal Set a default in config (openai.profile: work) or via AI_SHELL_OPENAI_PROFILE=work.
ai-shell claude can use a different Claude account for each launch. An account has one of two credentials:
# ~/.augint/.env (token accounts) CLAUDE_CODE_OAUTH_TOKEN_WORK=sk-ant-oat01-... CLAUDE_CODE_OAUTH_TOKEN_CLIENT=sk-ant-oat01-... ai-shell claude --account work # token if defined, else the login profile ai-shell claude --account mike --login # create (or refresh) mike's login profile, then launch ai-shell claude --account mike --rc # Remote Control as mike (login profile; asks to log in on first use) ai-shell claude --account # list the accounts (no secrets are shown) ai-shell claude --account default # use the ~/.claude login ai-shell claude # use the configured account, else the ~/.claude login The account name is the variable suffix, case-insensitive. A - in the name maps to _, and the login profile directory uses -.
Set a default for a project in .ai-shell.yaml (claude.account: work) or with AI_SHELL_CLAUDE_ACCOUNT=work. Use --account default to override it for one launch.
Per-account defaults go under claude.accounts in ~/.augint/.ai-shell.yaml, so every machine that has that file behaves the same:
claude: accounts: mike: local_chrome: true # always open Mike's Chrome window chrome_profile: mike # optional; defaults to the account name adam: local_chrome: true Attaching to host Chrome (--local-chrome) ai-shell claude --local-chrome bridges Claude inside the container to a real Chrome on your desktop via the Chrome DevTools Protocol (using chrome-devtools-mcp). Unblocks OAuth popups, CAPTCHA pages, and "click around in a logged-in site" tasks.
Set claude.local_chrome: true (or AI_SHELL_LOCAL_CHROME=1) to persist, or claude.accounts. .local_chrome: true for one account only.
Google refuses to sign in inside a browser that exposes a DevTools port ("This browser or app may not be secure"), and that is the Chrome --local-chrome opens. It is Google's rule for automated browsers, not an address problem, so a VPN alone does not change it. ai-shell works around it by itself:
Without --local-chrome, the sign-in URL is printed and works in any browser on any device; only the code comes back.
On a host whose own address sites refuse (a cloud dev box, a datacenter), Chrome gets a proxy. claude.chrome_proxy (or claude.accounts. .chrome_proxy, AI_SHELL_CHROME_PROXY, --chrome-proxy on claude and chrome) is either:
Only the browser is proxied. The dev container and Claude Code keep the machine's own route, which Anthropic accepts. A running Chrome keeps the proxy it was started with; ai-shell's sign-in flow closes and reopens its own windows, so this matters only for a window you keep open across a config change.
The VPN credential is one line in ~/.augint/.env:
NORDVPN_TOKEN= # Nord Account -> NordVPN -> Manual setup -> Access token ai-shell trades the token once for the account's WireGuard key through NordVPN's API and caches the key under ~/.augint/vpn/ (mode 0600); the token can expire, the key does not. NORDVPN_WIREGUARD_PRIVATE_KEY=... works too. Without either, ai-shell vpn up asks for the token on the terminal; a --local-chrome launch asks as well.
The same token is used once to look up the account's dedicated-IP server; the answer (a hostname, or "none") is cached in ~/.augint/vpn/nordvpn-server. NORDVPN_SERVER=us2943 (or the full us2943.nordvpn.com) in .env pins another server, NORDVPN_SERVER=any forces a shared one, and ai-shell vpn down forgets the cached answer. ai-shell vpn status prints the pinned server and the exit address, which should be the dedicated IP.
ai-shell vpn up # start it now and print the exit address ai-shell vpn status # container state and exit address ai-shell vpn down # stop and remove it (and forget the firewall fallback) Remote Control (--rc) ai-shell claude --rc runs claude remote-control (server mode) inside the dev container, so the project can be driven from claude.ai/code or the Claude mobile app. The process stays in your terminal; Ctrl+C stops it.
ai-shell claude --rc # your own account, session named after the project ai-shell claude --rc "Billing fix" # custom session name ai-shell claude --account mike --rc # as mike (login profile) ai-shell claude --account mike --rc --local-chrome # ...and give the session Mike's Chrome window What happens on --account mike --rc:
Requirements and limits (from Claude Code, not ai-shell):
T3 Code is a desktop/web/mobile GUI for driving coding agents. Its server owns the workspace — it spawns the agent processes, reads git state and hosts terminals — so it has to run where the project lives, which for ai-shell is the per-project dev container. That is what --t3 sets up:
ai-shell claude --t3 # Claude in this terminal + T3 Code server for the project ai-shell codex --t3 ai-shell pi --t3 ai-shell opencode --t3 ai-shell shell --t3 # Just the server, no tool Each run:
Scan the QR from the T3 Code phone app, or paste the URL into the desktop app. The server keeps running after the local tool exits — that is the point.
Port 3773 is part of the standard dev-port set, so every dev container publishes it on a stable per-project host port. Containers created before this feature don't have that mapping; --t3 says so and the fix is ai-shell manage clean, then rerun.
LAN pairing needs the phone on the same network. For anywhere-access, link the container once — the credential lives in the project's ~/.t3 volume, so it survives container recreation:
ai-shell shell t3 connect link --headless # prints a URL, paste back the code exit ai-shell claude --t3 # serve now also brings up the managed tunnel --t3 reports T3 Connect status on every run.
T3 Code runs its own agent processes; it does not mirror the Claude session in your terminal. Both live in the same container against the same project and the same ~/.claude config, so a conversation started in one can be resumed in the other — but they are separate processes.
Each project gets its own T3 environment (its own ~/.t3 named volume: server database, paired devices, Connect credential). The host's own ~/.t3 is never bind-mounted, so a desktop T3 Code install and the container servers never share a database.
Expo apps get their dev server started inside the dev container, with the tunnel URL printed as a QR code before the agent takes the terminal — so you scan once, up front, and the phone stays attached for the whole session.
ai-shell claude # auto-detected: Expo app -> dev server starts too ai-shell claude --expo # force it (and fail loudly if it can't start) ai-shell claude --no-expo # skip it Expo Project: my-app (/root/projects/my-app) Scan: exp://Xf3k2a-anonymous-8081.exp.direct Metro: http://localhost:14631 (this machine) Log: docker exec augint-shell-my-app-dev tail -f /var/log/ai-shell/expo-start.log The server is detached and outlives the tool session. Re-running any command just re-prints the QR against the live server.
expo start --tunnel does not require a login. The Expo CLI connects with its own ngrok token and names the tunnel {randomness}-{username}-{port}.exp.direct, falling back to anonymous when nobody is signed in. Logging in only matters for EAS (build, update, submit).
If you do want to be signed in, the practical options in a container are npx expo login (persisted in ~/.expo, which is bind-mounted) or an EXPO_TOKEN personal access token. Browser SSO does not work in the container: it binds a callback listener on an ephemeral container port and shells out to a browser that isn't there. A robot EXPO_TOKEN is worse than none here — the Expo CLI refuses to open a tunnel for robot users, and ai-shell reports that specifically if it happens.
ngrok dials outbound from the container, so the phone reaches https:// .exp.direct with no published port involved. LAN mode cannot work as-is: ai-shell hash-assigns dev ports into 10000-39999 rather than mapping them identity, so Metro would advertise its own :8081 and the phone would find nothing there. Port 8081 is published anyway, so a host browser can reach Metro and expo start --web.
The QR is stable across restarts: Expo persists the tunnel's random segment in .expo/settings.json inside the project directory, which is bind-mounted.
Auto-start requires both an expo dependency in package.json and an app config (app.json with an expo key, or app.config.{ts,js,mjs,cjs,json}). A dependency alone also describes Expo libraries and config plugins, which have nothing to serve. --expo needs only the dependency.
ai-shell shell never auto-starts Expo — it is the maintenance path, often where you go to fix an install — but ai-shell shell --expo works. Set expo.auto: false in .ai-shell.yaml (or AI_SHELL_EXPO_AUTO=0) to turn auto-detection off for a project.
Dependencies are checked inside the container, because node_modules is a container-local named volume: a host-side npm install is invisible there. If Expo isn't installed in the container, auto-detection says so and steps aside rather than triggering an install.
ai-shell opencode --web # Launches web UI, opens browser ai-shell opencode --web --port 8080 # Custom port mDNS is enabled by default -- the server is discoverable on your LAN as .local. CORS is set to * for cross-device access (phone, tablet).
ai-shell opencode serve # Start server + attach all git repos under CWD ai-shell opencode serve --skip-root # Don't attach CWD itself ai-shell opencode serve --open # Auto-open browser after starting serve finds all immediate child directories that are git repositories and attaches each as a terminal to the running server via opencode attach. The current directory is also attached by default (if it's a git repo).
ai-shell opencode status # Show server URL, mDNS name, terminal count Authentication Set OPENCODE_SERVER_PASSWORD (and optionally OPENCODE_SERVER_USERNAME) in your project .env file. These are automatically passed through to the container.
# .env OPENCODE_SERVER_PASSWORD=mysecret OPENCODE_SERVER_USERNAME=admin Requirements Docker, or Podman with the docker CLI shim Python >= 3.12 (Optional) NVIDIA GPU for local LLM acceleration Key dates PyPI data Data sourced directly from PyPI's database. Released: Nov 1, 2026 Newer release available (0.115.1) 1 maintainer PyPI data Data sourced directly from PyPI's database. svange Credits Author: svange
All 2 files in this release have provenance metadata.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
All 2 files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Apr 26, 2026 2 release files Change of provenance




