How justvugg/colibri works
colibrì is a local inference product for running large language, image, and decision models on consumer machines. Its setup flow assesses hardware, recommends and obtains a model, then starts a local engine; users interact through the browser dashboard or compatible API clients. The graph also preserves documented model-family engines, training, and agent integration. Several engine and setup implementations are unsampled, so links to them are limited to README statements or marked unverified rather than inferred from filenames.
Main entry points: openai_server.py API gateway · setup_flow.py Setup flow · train_main.c QLoRA trainer · c Model-family engines
Components 22
Setup and models
- Setup flow
c/setup_flow.py - Hardware detection
c/setup_hw.py - Model catalog
c/setup_catalog.py - Model downloads
c/setup_download.py - Family registry
c/family_registry.py
Inference runtime
- Engine CLI
c/colibri.c - Tensor runtime
c/st.h - GGUF reader
c/st_gguf.h - Model-family engines
c - GPU backends
c/backend_vulkan.c - API gateway
c/openai_server.py
User interfaces
- Dashboard
web/src/App.tsx - Browser API client
web/src/lib/api.ts - UI proxy server
ui/server.py - Agent integration
ui/agents.py - Responses adapter
ui/responses_shim.py
Model training
- QLoRA trainer
c/train/train_main.c - Training forward pass
c/train/train_model.h - Training dataset
c/train/dataset.h - Training checkpoints
c/train/checkpoint.h
Other components
- Local user
- API client
Connections 23
- Local user → Setup flow: chooses model
README.md - Setup flow → Hardware detection: checks hardware
README.md - Setup flow → Model catalog: recommends model
README.md - Setup flow → Model downloads: downloads model
README.md - Setup flow → Family registry: selects engine
- Local user → Engine CLI: starts engine
README.md - Engine CLI → Model-family engines: runs inference
c/train/train_main.c - Model-family engines → Tensor runtime: uses tensors
c/qwen36_embedding.h - Tensor runtime → GGUF reader: reads GGUF
c/st.h - Model-family engines → GPU backends: dispatches compute
- Local user → Dashboard: uses dashboard
README.md - Dashboard → Browser API client: requests inference
web/src/App.tsx - Browser API client → API gateway: calls API
- API client → API gateway: sends API requests
README.md - UI proxy server → API gateway: proxies requests
ui/server.py - API gateway → Engine CLI: serves engine
- UI proxy server → Agent integration: routes agent actions
ui/server.py - Agent integration → API gateway: queries models
ui/agents.py - API gateway → Responses adapter: adapts responses
- Local user → QLoRA trainer: trains adapter
c/train/train_main.c - QLoRA trainer → Training forward pass: runs training pass
c/train/train_main.c - QLoRA trainer → Training dataset: loads examples
c/train/train_main.c - QLoRA trainer → Training checkpoints: saves progress
c/train/train_main.c