mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-29 03:14:19 +00:00
# What does this PR do? Another doc enhancement for https://github.com/meta-llama/llama-stack/issues/1818 Summary of changes: - `docs/source/distributions/configuration.md` - Updated dropdown title to include a more user-friendly description. - `docs/_static/css/my_theme.css` - Added styling for `<h3>` elements to set a normal font weight. - `docs/source/distributions/starting_llama_stack_server.md` - Changed section headers from bold text to proper markdown headers (e.g., `##`). - Improved descriptions for starting Llama Stack server using different methods (library, container, conda, Kubernetes). - Enhanced clarity and structure by converting instructions into markdown headers and improved formatting. - `docs/source/getting_started/index.md` - Major restructuring of the "Quick Start" guide: - Added new introductory section for Llama Stack and its capabilities. - Reorganized steps into clearer subsections with proper markdown headers. - Replaced dropdowns with tabbed content for OS-specific instructions. - Added detailed steps for setting up and running the Llama Stack server and client. - Introduced new sections for running basic inference and building agents. - Enhanced readability and visual structure with emojis, admonitions, and examples. - `docs/source/providers/index.md` - Updated the list of LLM inference providers to include "Ollama." - Expanded the list of vector databases to include "SQLite-Vec." Let me know if you need further details! ## Test Plan Renders locally, included screenshot. # Documentation For https://github.com/meta-llama/llama-stack/issues/1818 <img width="1332" alt="Screenshot 2025-04-09 at 11 07 12 AM" src="https://github.com/user-attachments/assets/c106efb9-076c-4059-a4e0-a30fa738585b" /> --------- Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
111 lines
5.3 KiB
Markdown
111 lines
5.3 KiB
Markdown
# Llama Stack
|
|
Welcome to Llama Stack, the open-source framework for building generative AI applications.
|
|
```{admonition} Llama 4 is here!
|
|
:class: tip
|
|
|
|
Check out [Getting Started with Llama 4](https://colab.research.google.com/github/meta-llama/llama-stack/blob/main/docs/getting_started_llama4.ipynb)
|
|
```
|
|
```{admonition} News
|
|
:class: tip
|
|
|
|
Llama Stack {{ llama_stack_version }} is now available! See the {{ llama_stack_version_link }} 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
|
|
|
|
- **Unified API layer** for Inference, RAG, Agents, Tools, Safety, Evals, and Telemetry.
|
|
- **Plugin architecture** to support the rich ecosystem of implementations of the different APIs in different environments like 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, Node, iOS, and Android
|
|
- **Standalone applications** as examples for how to build production-grade AI applications with Llama Stack
|
|
|
|
```{image} ../_static/llama-stack.png
|
|
:alt: Llama Stack
|
|
:width: 400px
|
|
```
|
|
|
|
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](./distributions/index.md) (with multiple pluggable API [providers](./providers/index.md)) 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
|
|
|
|
- Ready to build? Check out the [Quick Start](getting_started/index) to get started.
|
|
- Want to contribute? See the [Contributing](contributing/index) guide.
|
|
|
|
## Client SDKs
|
|
|
|
We have a number of client-side SDKs available for different languages.
|
|
|
|
| **Language** | **Client SDK** | **Package** |
|
|
| :----: | :----: | :----: |
|
|
| Python | [llama-stack-client-python](https://github.com/meta-llama/llama-stack-client-python) | [](https://pypi.org/project/llama_stack_client/)
|
|
| Swift | [llama-stack-client-swift](https://github.com/meta-llama/llama-stack-client-swift/tree/latest-release) | [](https://swiftpackageindex.com/meta-llama/llama-stack-client-swift)
|
|
| Node | [llama-stack-client-node](https://github.com/meta-llama/llama-stack-client-node) | [](https://npmjs.org/package/llama-stack-client)
|
|
| Kotlin | [llama-stack-client-kotlin](https://github.com/meta-llama/llama-stack-client-kotlin/tree/latest-release) | [](https://central.sonatype.com/artifact/com.llama.llamastack/llama-stack-client-kotlin)
|
|
|
|
## 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 |
|
|
|
|
|
|
```{toctree}
|
|
:hidden:
|
|
:maxdepth: 3
|
|
|
|
self
|
|
introduction/index
|
|
getting_started/index
|
|
concepts/index
|
|
providers/index
|
|
distributions/index
|
|
building_applications/index
|
|
playground/index
|
|
contributing/index
|
|
references/index
|
|
```
|