How KOLDOS works
System map
- Your computer. Runs on your hardware.
- Location not specified. Not defined yet, or depends on the feature.
- Outside your computer. Needs a service over the network.
Local chat
AvailableA normal turn: a question or a coding task. The model, the tools and the memory run on your own hardware.
- 01You send a request from the app, the CLI or the local API.On your computer
- 02The Decision Engine picks a route and the Context Broker assembles the prompt within its budget.On your computer
- 03llama.cpp runs the model on your GPU.On your computer
- 04Tools, verification and memory run on your computer too, and the turn is traced to disk.On your computer
What leaves your computer
Nothing. KOLDOS is designed with no outgoing telemetry and no cloud mode.
Parts marked with a status square are not usable yet. The diagram shows how they are designed to connect; implementation details will be documented as each one ships.
Optional components
Local, external or not specified
Memory
ExperimentalOn your computer
Stored in a SQLite database on your disk, one per project.
Files
AvailableOn your computer
Attachments are copied to a folder inside the workspace on your disk.
Vision
ExperimentalOn your computer
OCR and the vision model run on the CPU of your computer. The image becomes text before it reaches the main model.
Tools
AvailableOn your computer
Every tool call goes through the Tool Manager, the only boundary to disk and network, and is limited to the workspace by a capability token.
Web search
ExperimentalOutside your computer
The search runs through a SearxNG instance started by KOLDOS on your computer, which sends the query to public search engines.
KOLDOS API
PlannedOutside your computer
Requests would be processed on hosted infrastructure. The design exists; the service has not started.
Full descriptions are on the capabilities page.
Local AI
Why a model can run on your computer at all
- Privacy
- With local inference, prompts and replies are processed in your computer's memory. Whether anything leaves the machine depends on what you enable: web search sends queries to a search provider, and the KOLDOS API processes requests outside your computer. Local does not mean private in every configuration.
- Control
- You choose which model to run, how compressed it is and how much context it gets. The model files sit on your disk, so the model you tested is the model you keep using.
- Your own hardware
- Your GPU and RAM do the work. There is no per-request fee for local inference; the cost is the hardware you already have and the electricity it uses.
- Less dependence on outside services
- Local inference doesn't need a remote server to be up. Downloads, updates and features like web search still need a connection.
- Quantized models
- Storing weights with about 4 to 8 bits instead of 16 shrinks a model to a fraction of its size. That is what lets a 7B model fit on an ordinary graphics card, at a small cost in quality.
- GPU use
- Generating text means reading the model's weights for every token. Graphics memory is much faster than system RAM, so a model that fits in VRAM generates text far faster.
- RAM use
- When a model doesn't fit in VRAM, part of it can run from system RAM on the CPU. It works on more machines, but those layers slow down every token.
- Runtime profiles
- KOLDOS picks quantization, KV cache precision and context window per GPU. On a 6 GB laptop GPU it runs Q5_K_M with an 8-bit cache and a 24K window; with 10 GB or more the profile moves to Q6_K with a 32K window.
Data residency
What stays on your computer
| Data | Local chat | With web search | Hosted API, planned |
|---|---|---|---|
| Your prompts and the replies | Stays on your computer | Stays on your computer | Sent to the KOLDOS API |
| Search queries and the pages read | Not involved | Sent to public search engines through SearxNG | Not involved |
| Your code and attached files | Stays on your computer | Stays on your computer | Sent to the KOLDOS API |
| Memory databaseWhere memory would live for the hosted service has not been decided. | Stays on your computer | Stays on your computer | Not specified. Not published yet |
| Model weights | Stays on your computer | Stays on your computer | Not involved |
| Turn traces and diagnostics | Stays on your computer | Stays on your computer | Sent to the KOLDOS API |
Components
The layers, top to bottom
- L1
Interfaces
Where requests come in: the desktop app, the CLI with its own chat, and the local REST API with streaming.
- Desktop app
- Electron
- Local API
- REST and server-sent events on 127.0.0.1
- L2
Kernel
Opens each turn, assigns its budgets, issues the capability token and runs the message bus and scheduler.
- Concurrency
- One process, one model in VRAM
- Scheduler
- Interactive turns always first
- L3
Cognition
Decision Engine, Planner, Executor, Verifier and Critic. None of them talks to the model runtime or the disk directly.
- Decision Engine
- Rules, then the model with a grammar, then a fallback
- Verifier
- Deterministic: compile, tests, schema
- L4
Resources
The Context Broker assembles every prompt within budget, the Memory Manager recalls and forgets, the Tool Manager is the only boundary to disk and network.
- Active context target
- Under 10K tokens
- Tools
- 25, exposed a few per turn
- L5
Ports and adapters
Interfaces the cognition layer depends on, and the adapters that implement them. Swapping the inference engine means writing one adapter.
- Inference
- llama.cpp with CUDA
- Storage
- SQLite, one database per project
- Model file
- GGUF
- L6
Your hardware
GPU and VRAM for the model, CPU and RAM for everything else, disk for the model file, memory and traces.
Sized with the hardware checker.