$npx skillfedfor your agent

llama-stack-client

The official Python library for the llama-stack-client API

With conditionsPyPI Python ModulesReleased Jul 202696.5K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — llama_stack_client-0.7.5-py3-none-any.whl
v0.7.5 · released 2026-07-27 · Python >=3.12 · 15 runtime deps: anyio, click, distro, fire, httpx, pandas, prompt-toolkit, pyaml

Yes, if you are building against a Llama Stack server. The library is actively maintained, has low install friction, carries no known vulnerabilities, and provides a well-typed interface with both sync and async support. The Python 3.12+ requirement is a hard constraint; if your project targets earlier versions, you cannot use this package. The pre-release status (--pre flag required) suggests API stability may still be evolving.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.12 or later.
  • Llama Stack server must be running and accessible at the configured endpoint.
  • Low install friction with a pure-Python wheel distribution.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions. You may use, modify, and distribute this library freely provided you include the license notice.

last release 2026-07-27 (18 days) · last repo commit 2026-07-17 · 197 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 96,452 downloads/mo, #13,211 on PyPI

Verify before relying

pip install --pre llama_stack_client

from llama_stack_client import LlamaStackClient

client = LlamaStackClient()
models = client.models.list()
  • Whether the library works with Llama Stack server versions other than the current release
  • Performance characteristics under high concurrency with the default httpx backend versus aiohttp
  • Stability of the pre-release version tag (--pre flag required for installation)
Same gist for agents: .md · .json

What it is and what it does

llama-stack-client is a Python SDK generated by Stainless that wraps the Llama Stack REST API. It provides both synchronous and asynchronous clients powered by httpx, with full type hints for all request parameters and response objects. The library handles authentication via API keys, supports streaming responses using Server-Sent Events, and includes automatic pagination for list endpoints.

The package is designed for developers building applications that need to interact with a running Llama Stack server—querying available models, making chat completions, or accessing other inference capabilities. It includes a CLI tool for direct server interaction and supports optional aiohttp backend for improved async concurrency. Type definitions enable IDE autocomplete and early error detection, while Pydantic models provide helper methods for JSON serialization and dictionary conversion.

Use it for

  • Build a Python application that queries available models and makes chat completion requests to a Llama Stack server
  • Stream inference responses in real-time from Llama models using Server-Sent Events within a web service
  • Automate batch inference tasks asynchronously with the AsyncLlamaStackClient for concurrent model queries
  • Integrate Llama Stack inference into a CLI tool using the bundled llama-stack-client command-line interface
  • Paginate through large result sets automatically when listing models or other resources without manual page handling

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building against a Llama Stack server.

The library is actively maintained, has low install friction, carries no known vulnerabilities, and provides a well-typed interface with both sync and async support. The Python 3.12+ requirement is a hard constraint; if your project targets earlier versions, you cannot use this package. The pre-release status (--pre flag required) suggests API stability may still be evolving.

Install

llama-stack-client on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Active maintenance with recent releases (18 days since last update). Requires Python 3.12+, which narrows compatibility to modern environments.

Requires Python 3.12 or later. Llama Stack server must be running and accessible at the configured endpoint.

License in practice

MIT license permits commercial and private use with minimal restrictions. You may use, modify, and distribute this library freely provided you include the license notice.

Quickstart

pip install --pre llama_stack_client

from llama_stack_client import LlamaStackClient

client = LlamaStackClient()
models = client.models.list()

Verify before relying

  • Whether the library works with Llama Stack server versions other than the current release
  • Performance characteristics under high concurrency with the default httpx backend versus aiohttp
  • Stability of the pre-release version tag (--pre flag required for installation)

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.12
Install frictionLow. Pure-Python wheel
Runtime dependencies
15 packages
anyioclickdistrofirehttpxpandasprompt-toolkitpyamlpydanticrequestsrichsniffiotermcolortqdmtyping-extensions
MaintenanceActively maintained 18 days since the last release
Last repo commit
First released
Downloads96,452 / month, #13,211 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.12Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: llama_stack_client-0.7.5-py3-none-any.whl

Tags

Capabilities
llama stack python clientllama api python sdkllama inference client libraryllama chat completion apillama models python wrapperllama stack rest api clientllama async python client
Topics
llama-inferencerest-api-clientasync-support

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “llama stack python client”

  • llama-stack-clientPython client library for interacting with Llama Stack REST API,…
  • llama-api-clientProvides a typed Python client for the Llama API with support for…
  • ogx_open_clientProvides an OpenAPI-generated Python client for the OGX API, offering…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also llama-api-client · llama-models · together · groq · openai · openlayer · composio-client · supermemory · sambanova · perplexityai