How niko1221/strata works
Strata is a local-AI desktop and terminal product: users choose or import a model, run it on their own hardware, and interact through chat or compatible coding tools. The graph preserves the documented model/setup, multimodal chat, monitoring, tuning, and integration capabilities. Several runtime modules are unsampled; directory-level nodes and README-supported links represent those areas without implying inspected internals.
Main entry points: src Host UI · session.cpp Inference Engine · app.py Terminal Launcher · Chat.tsx Chat
Components 27
User Interfaces
- Desktop Shell
apps/desktop/src-tauri/src/shell.rs - Host UI
apps/host/src - Terminal Launcher
strata_cli/launch/app.py - Compatible API
apps/host/server
Models and Setup
- Model Setup
apps/host/src/screens/Setup.tsx - Model Catalog
apps/host/server/models.mjs - Local Model Files
apps/host/server/local-models.mjs - Engine Resolver
strata_control/engine_component.py
Inference Runtime
- Inference Engine
src/core/session.cpp - Conversation State
include/strata/core/session.hpp - Prompt Prefill
src/prefill/prefill.cpp - Speculative Decoding
src/spec/controller.cpp
Workflows and Tools
- Chat
apps/host/src/screens/Chat.tsx - Image and File Input
apps/host/server/chat-images.mjs - Agent Tools
apps/host/server/agent - Tasks
apps/host/src/screens/Tasks.tsx - Artifacts and Preview
apps/host/server/artifacts.mjs - Hardware Monitor
apps/host/src/screens/Monitor.tsx - Model Tuning
apps/host/src/screens/Tuning.tsx
Updates and Components
- Component Updater
strata_control/updater.py - Signed Update Feed
strata_control/feed.py - Signature Verification
strata_control/signing.py - Package Transfer
strata_control/transfer.py - Component Activation
strata_control/components.py
Other components
- User
- Coding Tools
- Local Hardware
Connections 30
- User → Desktop Shell: opens app
README.md - User → Terminal Launcher: launches
README.md - User → Coding Tools: uses with
README.md - Coding Tools → Compatible API: sends requests
README.md - Desktop Shell → Host UI: hosts interface
README.md - Host UI → Model Setup: opens setup
README.md - Terminal Launcher → Model Setup: guides setup
README.md - Model Setup → Model Catalog: selects model
README.md - Model Setup → Local Model Files: uses model files
README.md - Terminal Launcher → Engine Resolver: checks engine
strata_cli/launch/app.py - Engine Resolver → Local Hardware: checks compatibility
- Host UI → Chat: opens chat
README.md - Chat → Image and File Input: attaches media
README.md - Chat → Agent Tools: uses tools
README.md - Chat → Compatible API: submits prompts
README.md - Compatible API → Inference Engine: serves inference
README.md - Terminal Launcher → Inference Engine: runs model
README.md - Inference Engine → Conversation State: maintains conversation
- Inference Engine → Prompt Prefill: processes prompts
- Inference Engine → Speculative Decoding: may use decoding
- Host UI → Tasks: opens tasks
README.md - Host UI → Artifacts and Preview: shows outputs
README.md - Host UI → Hardware Monitor: shows activity
README.md - Host UI → Model Tuning: tunes model
- User → Component Updater: requests update
strata_control/updater.py - Component Updater → Signed Update Feed: reads feed
strata_control/updater.py - Signed Update Feed → Signature Verification: verifies signature
strata_control/feed.py - Component Updater → Package Transfer: fetches packages
strata_control/updater.py - Component Updater → Component Activation: activates package
strata_control/updater.py - Package Transfer → Component Activation: provides archive