Skip to main content

Haystack CLI

A community maintained CLI for the Haystack Agentic AI Framework.

[!NOTE] This is work in progress and can expect few bugs and unexpected behaviour. Feel free to raise issue with repro steps to understand and solve the problem.

Installation

From PyPI:

TBD

From source:

git clone https://github.com/srini047/haystack-cli.git
cd haystack-cli
uv sync

Why need CLI?

Let me list down as points as to why we need CLIs:

  • This blog by Justin Poehnelt, explains the importance of CLI in the era of AI Agents.
  • Haystack documentation has become very vast over the time with tons of components and integrations. It is very hard to keep track of all the components and their configurations. A handy tool without the need for a google search is cherry on top.
  • Haystack ecosystem is improving significantly and quickly as well. We need to adopt to the latest changes in APIs and components. A CLI tries to keep that layer abstracted and provide a consistent interface to the user.
  • --help flag is your first best friend more than any AI assistant.
  • Since the inception of Haystack we didn't have a CLI and it's better late than never. It's high time to adopt to the CLI ecosystem so that we are not left behind in the race.

Quick Start

After successful installation, you can run the CLI using the following command to verify successful installation:

haystack -v

Commands

Refer to the Commands Reference for a comprehensive list of all available commands and their options.

This is generated by Typer (can be self generate via command): typer haystack_cli.main utils docs --output CLI.md --name haystack

License

MIT License

Metadata

Release files for haystack-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for haystack-cli 0.1.0
File Size Uploaded Provenance
haystack_cli-0.1.0.tar.gz 22.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for haystack-cli 0.1.0
File Interpreter ABI Platform
haystack_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 59.0 kB

Release files / haystack_cli-0.1.0.tar.gz

Download URL haystack_cli-0.1.0.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
43944703b9a82804974335ee9b5a2d349ac8c5194e35f8c929aa3ccdfb950a31
BLAKE2b-256 checksum
How to use checksums
9d3a0a0ca6d1b3449fce65d0e920329396c0415f57e232d430274d70084cfe6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / haystack_cli-0.1.0-py3-none-any.whl

Download URL haystack_cli-0.1.0-py3-none-any.whl
Size 36.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47dc570f9a55684db7993e53c5c63d5391015d239edbd9cca8bc4b7bd9b7b531
BLAKE2b-256 checksum
How to use checksums
41bae7d5b10a95f3d421493186f2f55263749b2a10f5ef456840bf3ce683509f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Security for haystack-cli 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page