A section on LLM infrastructure: instead of one long page — articles by topic. Each article is a working configuration you can replicate; I keep them up to date (an «updated» date alongside is the freshness marker) and add new ones to the proper subsection.
The infrastructure skeleton in a few lines:
- inference — a local stand (llama.cpp, a single RTX 3090) and a cloud
relay coexist; externally there is a single OpenAI-compatible
/v1from any-router:provider/modelrouting, least-privilege tokens, balance aliases, Langfuse traces; - decisions and embeddings — non-chat calls through the same router:
autonomous-agent gates via
/v1/systemone(with a structured-output fallback) and/v1/embeddingsfor search; - agents — the pi harness and adjacent stacks: one host+token for all calls, decision models as the classifier slot.
What to read#
- Local inference: Qwen3.8-27B on llama.cpp — picking a model for KV memory, server flags, an idempotent playbook;
- Hybrid inference: a single endpoint via any-router — provider config, tokens, balancing between local hardware and the cloud;
- Decision models and embeddings via any-router —
/v1/systemoneand/v1/embeddingswith examples; - Agent setup: wiring pi to your LLM fleet — how agents get connected to the fleet.