Skip to content

Repository files navigation

Llama Stack

PyPI versionPyPI - DownloadsLicenseDiscordUnit TestsIntegration Tests

Quick Start | Documentation | Colab Notebook

Llama Stack standardizes the core building blocks that simplify AI application development. It codifies best practices across the Llama ecosystem. More specifically, it provides

  • Unified API layer for Inference, RAG, Agents, Tools, Safety, Evals, and Telemetry.
  • Plugin architecture to support the rich ecosystem of different API implementations in various environments, including local development, on-premises, cloud, and mobile.
  • Prepackaged verified distributions which offer a one-stop solution for developers to get started quickly and reliably in any environment.
  • Multiple developer interfaces like CLI and SDKs for Python, Typescript, iOS, and Android.
  • Standalone applications as examples for how to build production-grade AI applications with Llama Stack.
Llama Stack

Llama Stack Benefits

  • Flexible Options: Developers can choose their preferred infrastructure without changing APIs and enjoy flexible deployment choices.
  • Consistent Experience: With its unified APIs, Llama Stack makes it easier to build, test, and deploy AI applications with consistent application behavior.
  • Robust Ecosystem: Llama Stack is already integrated with distribution partners (cloud providers, hardware vendors, and AI-focused companies) that offer tailored infrastructure, software, and services for deploying Llama models.

By reducing friction and complexity, Llama Stack empowers developers to focus on what they do best: building transformative generative AI applications.

API Providers

Here is a list of the various API providers and available distributions that can help developers get started easily with Llama Stack.

API Provider BuilderEnvironmentsAgentsInferenceMemorySafetyTelemetry
Meta ReferenceSingle Node
SambaNovaHosted
CerebrasHosted
FireworksHosted
AWS BedrockHosted
TogetherHosted
GroqHosted
OllamaSingle Node
TGIHosted and Single Node
NVIDIA NIMHosted and Single Node
ChromaSingle Node
PG VectorSingle Node
PyTorch ExecuTorchOn-device iOS
vLLMHosted and Single Node
OpenAIHosted
AnthropicHosted
GeminiHosted

Distributions

A Llama Stack Distribution (or "distro") is a pre-configured bundle of provider implementations for each API component. Distributions make it easy to get started with a specific deployment scenario - you can begin with a local development setup (eg. ollama) and seamlessly transition to production (eg. Fireworks) without changing your application code. Here are some of the distributions we support:

DistributionLlama Stack DockerStart This Distribution
Meta Referencellamastack/distribution-meta-reference-gpuGuide
Meta Reference Quantizedllamastack/distribution-meta-reference-quantized-gpuGuide
SambaNovallamastack/distribution-sambanovaGuide
Cerebrasllamastack/distribution-cerebrasGuide
Ollamallamastack/distribution-ollamaGuide
TGIllamastack/distribution-tgiGuide
Togetherllamastack/distribution-togetherGuide
Fireworksllamastack/distribution-fireworksGuide
vLLMllamastack/distribution-remote-vllmGuide

Documentation

Please checkout our Documentation page for more details.

Llama Stack Client SDKs

LanguageClient SDKPackage
Pythonllama-stack-client-pythonPyPI version
Swiftllama-stack-client-swiftSwift Package Index
Typescriptllama-stack-client-typescriptNPM version
Kotlinllama-stack-client-kotlinMaven version

Check out our client SDKs for connecting to a Llama Stack server in your preferred language, you can choose from python, typescript, swift, and kotlin programming languages to quickly build your applications.

You can find more example scripts with client SDKs to talk with the Llama Stack server in our llama-stack-apps repo.

About

Composable building blocks to build Llama Apps

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages