# Repository Briefing: dotcoreai/dotcore
> Source: https://repoforai.com/repo/dotcoreai/dotcore (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/dotcoreai/dotcore
- **Official Docs / Website**: https://dotcore.ai
- **Category**: LLMs & Inference (大模型与推理微调)
- **Primary Language**: Rust
- **License**: Apache-2.0
- **Engineering Health**: B+ (68/100 · Maintenance 35/35 · Adoption 2/25 · Releases 11/20 · License 20/20)
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Docker, Self-Hosted, Local AI, API, GPU, CLI
- **Momentum**: 28 ★ total (+0 24h / +11 7d) · 1 forks
- **Topics**: `gpu`, `inference`, `inference-gateway`, `inference-server`, `inference-serving`, `llama-cpp`, `llm`, `llm-inference`, `llm-tools`, `local-ai`, `local-first`, `local-llm`
- **When to Use**: Best for: Teams with NVIDIA Linux hosts or Apple Silicon Macs that want to size models per machine and expose several model deployments through one API, starting with an internal pilot. Skip if: You need AMD support now, a hardened public endpoint, stable upgrades, or just one model on one host that you can run directly.

## Overview
```text
### Architecture & Core Mechanics
Dotcore is a Rust-based inference manager and gateway. It fits model deployments to machines and starts them on engines such as llama.cpp, vLLM, Strata, or oMLX. Applications send inference requests to one OpenAI-compatible endpoint, while the selected engine executes the model. If a deployment goes down, Dotcore can route requests to another deployment.

The source tree separates `backend/`, `engines/`, `catalog/`, `apps/`, `frontend/`, and `proto/`. The engine integrations are the visible boundary for supporting multiple runtimes; the tree alone does not establish a public plugin API or an internal wire protocol. Multi-host support should be understood as managing and routing to deployments on multiple machines, not as evidence that a single model can pool VRAM across hosts.

### Key Capabilities & Differentiators
The key deployment feature is per-machine sizing: Dotcore shows a model’s estimated memory needs and the largest context that fits a given machine. That helps narrow down viable model–host combinations before launch. It is not a throughput benchmark or a guarantee that the same context will fit at production concurrency; validate the chosen engine, model configuration, and request mix under load.

One endpoint gives clients access to models across the managed deployments, while failover provides another route if a deployment is unavailable. Apps such as Open WebUI for chat and ComfyUI for image workflows can run beside the models. Budget for their resource use when colocating them, and test the specific API features and failure behavior your clients rely on rather than assuming full OpenAI parity or seamless recovery of in-flight requests.

### Trade-offs & Limitations
Compared with running llama.cpp or vLLM directly, Dotcore is most useful when you need shared capacity planning, one API across engines, or routing between deployments. For one model on one host, running an engine directly leaves fewer components to install and troubleshoot. Failover also needs a viable second deployment with enough capacity; the gateway does not create that spare capacity.

Compared with the OpenAI API, Dotcore keeps inference on hardware you operate but shifts GPU provisioning, driver upkeep, and capacity management to your team. Local execution alone does not establish a latency or cost advantage. The project is alpha, security is best effort, and saved sites can break across changes. Keep the API on a trusted network until you have assessed access controls, failure behavior, and upgrades.

### Hardware & Deployment Guide
The supported GPU paths are Linux on x86_64 or arm64 with NVIDIA GPUs, and macOS on Apple Silicon using the Apple GPU. Nix builds Dotcore and its engines; the installer offers to install Nix if it is missing. The Linux NVIDIA path requires Docker Engine and the NVIDIA Container Toolkit, while macOS requires Docker Desktop. AMD support is on the roadmap, not a current deployment option.

The installer from dotcore.ai is the documented entry point; review the script before running it, then use `docs/install.md` and `docs/usage.md` to bring up a first model. Inference runs on hardware you control, but that does not establish an air-gapped installation path. There is no published release to anchor upgrade planning, and alpha changes can break saved sites. Start with a private pilot and test reinstallation and recovery before depending on it.
```

## Key Capabilities
```text
- Execution: Dotcore starts model deployments on backends including llama.cpp, vLLM, Strata, and oMLX.
- Sizing: Estimate model memory needs and see the largest context that fits each machine.
- Routing: A single OpenAI-compatible endpoint redirects requests when a deployment is down.
- Topology: Start on one host, add more hosts, and run apps such as Open WebUI or ComfyUI alongside models.
- GPU support: Linux x86_64 and arm64 with NVIDIA GPUs, or macOS on Apple Silicon; AMD is on the roadmap.
- Installation: Nix builds Dotcore and its engines; Docker Engine with the NVIDIA Container Toolkit is required on Linux for NVIDIA GPUs, while macOS uses Docker Desktop.
```

## Quick Start / Clone
```bash
curl -fsSL https://dotcore.ai/install.sh | sh
```
