Llama Stack — llama-stack documentation (original) (raw)

Welcome to Llama Stack, the open-source framework for building generative AI applications.

News

Llama Stack 0.2.5 is now available! See the release notes for more details.

What is Llama Stack?

Llama Stack defines and standardizes the core building blocks needed to bring generative AI applications to market. It provides a unified set of APIs with implementations from leading service providers, enabling seamless transitions between development and production environments. More specifically, it provides

Our goal is to provide pre-packaged implementations (aka “distributions”) which can be run in a variety of deployment environments. LlamaStack can assist you in your entire app development lifecycle - start iterating on local, mobile or desktop and seamlessly transition to on-prem or public cloud deployments. At every point in this transition, the same set of APIs and the same developer experience is available.

How does Llama Stack work?

Llama Stack consists of a server (with multiple pluggable API providers) and Client SDKs (see below) meant to be used in your applications. The server can be run in a variety of environments, including local (inline) development, on-premises, and cloud. The client SDKs are available for Python, Swift, Node, and Kotlin.

Quick Links

Client SDKs

We have a number of client-side SDKs available for different languages.

Language Client SDK Package
Python llama-stack-client-python PyPI version
Swift llama-stack-client-swift Swift Package Index
Node llama-stack-client-node NPM version
Kotlin llama-stack-client-kotlin Maven version

Supported Llama Stack Implementations

A number of “adapters” are available for some popular Inference and Vector Store providers. For other APIs (particularly Safety and Agents), we provide reference implementations you can use to get started. We expect this list to grow over time. We are slowly onboarding more providers to the ecosystem as we get more confidence in the APIs.

Inference API

Provider Environments
Meta Reference Single Node
Ollama Single Node
Fireworks Hosted
Together Hosted
NVIDIA NIM Hosted and Single Node
vLLM Hosted and Single Node
TGI Hosted and Single Node
AWS Bedrock Hosted
Cerebras Hosted
Groq Hosted
SambaNova Hosted
PyTorch ExecuTorch On-device iOS, Android
OpenAI Hosted
Anthropic Hosted
Gemini Hosted

Vector IO API

Provider Environments
FAISS Single Node
SQLite-Vec Single Node
Chroma Hosted and Single Node
Milvus Hosted and Single Node
Postgres (PGVector) Hosted and Single Node
Weaviate Hosted

Safety API

Provider Environments
Llama Guard Depends on Inference Provider
Prompt Guard Single Node
Code Scanner Single Node
AWS Bedrock Hosted