Glance packages specialized vision-language models for private, offline inference on the phone paired with Meta glasses. It combines:
.egomodel bundle;The initial runtime is pinned llama.cpp/mtmd with Qwen3.5-0.8B. LiteRT-LM is the preferred production backend for model families it supports and will be added behind the same SDK API.
| Repo | Role |
|---|---|
| glance-android-sdk | Standalone Android inference SDK |
| glance-website | Marketing / download site |
| docs/mcp.md | Optional MCP control-plane setup |
Model + optional data
│
▼
FastAPI pipeline ──► candidates/evaluation/device profiles ──► .egomodel
│
Meta glasses POV ──DAT──► Android SDK ◄─────────────────────────┘
│
└── private offline inference
| Path | Purpose |
|---|---|
contracts/ | Versioned model-bundle and dataset schemas |
platform/ | FastAPI and optional MCP control planes plus optimization pipeline |
web/ | React operator UI |
core/ | Fitness reference application's coaching engine |
android/ego-vision-sdk/ | Runtime-neutral public Android SDK (in-tree reference) |
android/ego-vision-dat/ | Optional Meta Wearables DAT adapter |
android/llama/ | Pinned llama.cpp/mtmd native backend (JNI sources; prebuilt .so not committed) |
android/app/ | Fitness coach reference application |
ios/ | Swift companion code; native VLM runtime remains deferred |
tools/local-diffusion/ | Optional local SD 3.5 Medium Turbo (GGUF Q4) server for dataset image generation |
tools/vlm-eval/ | Python scripts to tune VLM prompts on desktop |
test-assets/ | Egocentric workout videos and labeled frames |
docs/ | Architecture and setup guides |
First-time setup:
python3.11 -m venv platform/.venv
platform/.venv/bin/pip install -e './platform[test]'
cd web && npm install && cd ..
Start both development servers:
./tools/dev-toolkit.sh
FastAPI: http://localhost:8000
Web UI: http://localhost:5173
Open the web UI and follow its six steps:
open_text, bounding_box, or both labels with images from local
diffusion, a Glance-provided API, a custom HTTPS API, or supplied references..egomodel.Glance’s wizard Local diffusion model option expects an Automatic1111-compatible
/sdapi/v1/txt2img server. The bundled server prefers TensorArt SD 3.5 Medium Turbo
GGUF Q4 (sd3.5m_turbo-Q4_K_M.gguf) via stable-diffusion.cpp:
# Public TensorArt weights — HF_TOKEN not required for the default model.
# https://huggingface.co/tensorart/stable-diffusion-3.5-medium-turbo
# First run creates tools/local-diffusion/.venv and downloads GGUF Q4 (~1.8 GB)
# plus text encoders/VAE into .cache/ (gitignored).
./tools/start-local-diffusion.sh
Default URL:
export EGO_LOCAL_DIFFUSION_URL=http://127.0.0.1:7860/sdapi/v1/txt2img
Optionally start diffusion with the toolkit UI:
START_LOCAL_DIFFUSION=1 ./tools/dev-toolkit.sh
See tools/local-diffusion/README.md for VRAM notes, CUDA GGUF build tips, and
smoke-test curls. Prefetch weights without serving:
./tools/fetch-local-diffusion-model.sh.
Install the MCP control plane so coding agents can inspect catalogs, submit optimization jobs, and request exports over local stdio:
platform/.venv/bin/pip install -e './platform[mcp]'
EGO_DATA_ROOT="$PWD/.ego-data" platform/.venv/bin/ego-toolkit-mcp
Full setup: docs/mcp.md.
Native llama.cpp/mtmd .so libraries under android/llama/src/main/jniLibs/ are
not committed (~119 MB). Rebuild and copy them with the steps in
docs/on-device-vlm.md, or use the published
Glance Android SDK.
Copy local.properties.example → local.properties (gitignored) for Android
SDK path and Meta DAT github_token.
export ANDROID_HOME=... # your Android SDK
./tools/verify.sh
platform[mcp] extra. See docs/mcp.md and the official MCP docs.The local pipeline provides real validation, deterministic job state, content-addressed packaging, code generation, and bundle verification. Stages that require external quantizers, training infrastructure, paid data generators, or a physical device are explicitly marked simulated or blocked.
See docs/architecture/toolkit-mvp.md.
read:packages as github_token in
untracked local.propertiesQwen3.5-0.8B GGUF + mmproj run on the phone via llama.cpp JNI. Download weights to the device (not committed to git). See docs/android-setup.md and docs/on-device-vlm.md.
Apache 2.0
3 commits
Python
40.5%
Kotlin
28.1%
TypeScript
17.7%
CSS
5.1%
Shell
4.6%
C++
2.2%
Swift
1.4%
Glance packages specialized vision-language models for private, offline inference on the phone paired with Meta glasses. It combines:
.egomodel bundle;The initial runtime is pinned llama.cpp/mtmd with Qwen3.5-0.8B. LiteRT-LM is the preferred production backend for model families it supports and will be added behind the same SDK API.
| Repo | Role |
|---|---|
| glance-android-sdk | Standalone Android inference SDK |
| glance-website | Marketing / download site |
| docs/mcp.md | Optional MCP control-plane setup |
Model + optional data
│
▼
FastAPI pipeline ──► candidates/evaluation/device profiles ──► .egomodel
│
Meta glasses POV ──DAT──► Android SDK ◄─────────────────────────┘
│
└── private offline inference
| Path | Purpose |
|---|---|
contracts/ | Versioned model-bundle and dataset schemas |
platform/ | FastAPI and optional MCP control planes plus optimization pipeline |
web/ | React operator UI |
core/ | Fitness reference application's coaching engine |
android/ego-vision-sdk/ | Runtime-neutral public Android SDK (in-tree reference) |
android/ego-vision-dat/ | Optional Meta Wearables DAT adapter |
android/llama/ | Pinned llama.cpp/mtmd native backend (JNI sources; prebuilt .so not committed) |
android/app/ | Fitness coach reference application |
ios/ | Swift companion code; native VLM runtime remains deferred |
tools/local-diffusion/ | Optional local SD 3.5 Medium Turbo (GGUF Q4) server for dataset image generation |
tools/vlm-eval/ | Python scripts to tune VLM prompts on desktop |
test-assets/ | Egocentric workout videos and labeled frames |
docs/ | Architecture and setup guides |
First-time setup:
python3.11 -m venv platform/.venv
platform/.venv/bin/pip install -e './platform[test]'
cd web && npm install && cd ..
Start both development servers:
./tools/dev-toolkit.sh
FastAPI: http://localhost:8000
Web UI: http://localhost:5173
Open the web UI and follow its six steps:
open_text, bounding_box, or both labels with images from local
diffusion, a Glance-provided API, a custom HTTPS API, or supplied references..egomodel.Glance’s wizard Local diffusion model option expects an Automatic1111-compatible
/sdapi/v1/txt2img server. The bundled server prefers TensorArt SD 3.5 Medium Turbo
GGUF Q4 (sd3.5m_turbo-Q4_K_M.gguf) via stable-diffusion.cpp:
# Public TensorArt weights — HF_TOKEN not required for the default model.
# https://huggingface.co/tensorart/stable-diffusion-3.5-medium-turbo
# First run creates tools/local-diffusion/.venv and downloads GGUF Q4 (~1.8 GB)
# plus text encoders/VAE into .cache/ (gitignored).
./tools/start-local-diffusion.sh
Default URL:
export EGO_LOCAL_DIFFUSION_URL=http://127.0.0.1:7860/sdapi/v1/txt2img
Optionally start diffusion with the toolkit UI:
START_LOCAL_DIFFUSION=1 ./tools/dev-toolkit.sh
See tools/local-diffusion/README.md for VRAM notes, CUDA GGUF build tips, and
smoke-test curls. Prefetch weights without serving:
./tools/fetch-local-diffusion-model.sh.
Install the MCP control plane so coding agents can inspect catalogs, submit optimization jobs, and request exports over local stdio:
platform/.venv/bin/pip install -e './platform[mcp]'
EGO_DATA_ROOT="$PWD/.ego-data" platform/.venv/bin/ego-toolkit-mcp
Full setup: docs/mcp.md.
Native llama.cpp/mtmd .so libraries under android/llama/src/main/jniLibs/ are
not committed (~119 MB). Rebuild and copy them with the steps in
docs/on-device-vlm.md, or use the published
Glance Android SDK.
Copy local.properties.example → local.properties (gitignored) for Android
SDK path and Meta DAT github_token.
export ANDROID_HOME=... # your Android SDK
./tools/verify.sh
platform[mcp] extra. See docs/mcp.md and the official MCP docs.The local pipeline provides real validation, deterministic job state, content-addressed packaging, code generation, and bundle verification. Stages that require external quantizers, training infrastructure, paid data generators, or a physical device are explicitly marked simulated or blocked.
See docs/architecture/toolkit-mvp.md.
read:packages as github_token in
untracked local.propertiesQwen3.5-0.8B GGUF + mmproj run on the phone via llama.cpp JNI. Download weights to the device (not committed to git). See docs/android-setup.md and docs/on-device-vlm.md.
Apache 2.0
3 commits
Python
40.5%
Kotlin
28.1%
TypeScript
17.7%
CSS
5.1%
Shell
4.6%
C++
2.2%
Swift
1.4%