SovAI Air-Gap AI Starter v0.2 with Ollama
Run private RAG with local documents, a local Ollama model, citations, and audit logs.
Expected outcomes
What it includes
What this kit proves
These are the practical claims the kit demonstrates when run locally.
Local LLM RAG flow
Pull llama3.2:1b using Ollama while internet is available.
Start the Docker application runtime.
Retrieve relevant local document chunks with the built-in retriever.
Build a grounded prompt using only approved local evidence.
Call Ollama locally through host.docker.internal:11434.
Return a generated answer with citations and write an audit record.
Quick start
Copy these commands into a terminal and follow the connected/offline steps described in the repository README.
ollama pull llama3.2:1b
git clone https://github.com/sovaihub-lab/sovai-airgap-ai-starter-v0.2-ollama
cd sovai-airgap-ai-starter-v0.2-ollama
chmod +x scripts/*.sh
./scripts/prepare-online.sh
# Disconnect internet and keep Ollama running
./scripts/bootstrap-offline.sh
open http://127.0.0.1:8080Configuration
Ports and services
Troubleshooting notes
The model was not available
Run ollama list and confirm llama3.2:1b exists. If missing, run ollama pull llama3.2:1b while connected.
Docker app could not reach Ollama
The container uses http://host.docker.internal:11434. On Windows, set OLLAMA_HOST to 0.0.0.0:11434 and restart Ollama if host access fails.
The first version was only document retrieval
Phase 2 adds the LLM generation step: retrieve local context, build prompt, call Ollama, return answer with citations.
Limitations
Recommended next steps
Add a stronger local model
Swap llama3.2:1b for a larger Ollama model when hardware allows.
Move to Phase 3
Add an internal artifact hub so teams can build AI apps from approved internal sources.