Local AI operator stack for Windows 11 / WSL2 with honest architecture, one operator CLI, and generated operational artifacts.
AI Stack is a public operator-focused repository for running a practical local AI environment with LiteLLM, Ollama, Open WebUI, Compose profiles, and repeatable PowerShell / shell workflows.
- Architecture
- Operations
- Release notes and packaging
- Known limitations
- Dashboard artifact
- Screenshots plan
- Windows-first local AI operations with WSL2-aware tooling.
- One honest control plane instead of fake platform abstraction.
- Operator validation, smoke checks, backups, and generated self-check artifacts.
- Public documentation for architecture, operations, and troubleshooting.
Do not commit your .env file to GitHub or any public repository. Use .env.sample for example values and store real secrets in secure storage (Windows Credential Manager, environment variables, or a secret manager). The installer will generate local secrets for testing, but you must rotate cloud API keys before publishing.
chmod +x install.sh stack.sh
./install.sh
./stack.sh start core
./stack.sh doctor
./stack.sh smoke.\install-windows.ps1
.\stack.ps1 start core
.\stack.ps1 doctor
.\stack.ps1 smokeFor UI:
./stack.sh start ui.\stack.ps1 start ui- Compose profiles:
hot,warm,aider - Logical operator modules:
core,ui,coding - Real services:
postgreslitellmopen-webuiaideras on-demand helperollamaas host dependency
- Generated operational artifacts:
dashboards/index.htmlSELF_CHECK.txt
./stack.sh start core
./stack.sh stop
./stack.sh restart ui
./stack.sh doctor
./stack.sh status
./stack.sh logs litellm
./stack.sh smoke
./stack.sh validate
./stack.sh backup
./stack.sh refreshPowerShell:
.\stack.ps1 start core
.\stack.ps1 stop
.\stack.ps1 restart ui
.\stack.ps1 doctor
.\stack.ps1 status
.\stack.ps1 logs litellm
.\stack.ps1 smoke
.\stack.ps1 validate
.\stack.ps1 backup
.\stack.ps1 refreshcoremaps to compose profilehot:postgres+litellmuimaps towarm: addsopen-webuicodingmaps toaider: on-demand helper on top of the core module
This is an operator module layer. Compose remains simple and honest without inventing unnecessary profile sprawl.
LiteLLM aliases in litellm-config.yaml:
openai-gpt4claude-sonnetclaude-4-opusgemini-promistral-openrouterollama-coder-local
If a cloud key is missing, the alias stays configured but non-functional.
doctor is expected to surface that explicitly.
- Architecture truth layer: docs/ARCHITECTURE.md
- Operations handbook: docs/OPERATIONS.md
- Troubleshooting matrix: docs/TROUBLESHOOTING.md
- Known limitations: docs/KNOWN_LIMITATIONS.md
- Future module slots: docs/EXTENSIBILITY.md
- Release discipline: docs/RELEASE.md
- Dashboard: dashboards/index.html
- Self-check report: SELF_CHECK.txt
Both artifacts are generated by:
./stack.sh refreshили:
.\stack.ps1 refresh