Add your description here
Project description
kagi-cli-py
Python CLI and client for Kagi services.
PyPI package name: kagi-cli
Features
proofread: improve text qualitysummarize: summarize URLsask: query Kagi Assistantsearch: run Kagi search queries
Requirements
- Python 3.12+
- A valid
KAGI_SESSIONvalue from your Kagi session link
Install
uv sync
Install and run from PyPI
# Run without installing globally
uvx --from kagi-cli kagi --help
pipx run --spec kagi-cli kagi --help
# Install globally with pipx
pipx install kagi-cli
kagi --help
Authentication
Set KAGI_SESSION from your Kagi session link before using the CLI:
export KAGI_SESSION="your_session_value_from_link"
CLI usage
# Show help
uv run kagi --help
# Show version (git tag when available)
uv run kagi --version
# Proofread text
uv run kagi proofread "Ths is a tset."
# Summarize a URL
uv run kagi summarize "https://example.com"
# Ask assistant
uv run kagi ask "What is 2+2?"
# Search
uv run kagi search "python async"
Output formats
Commands support:
--format console(default)--format json--format md--format csv
Run tests
uv run pytest -q
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kagi_cli-0.1.0.tar.gz.
File metadata
- Download URL: kagi_cli-0.1.0.tar.gz
- Upload date:
- Size: 49.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
984650008c3ab8c29ecd3eb082f3c0d3cce98c14bd4191b3352087c24f475f45
|
|
| MD5 |
a23f40288f5c56234a556f3dc6e16284
|
|
| BLAKE2b-256 |
3ed4729c5883bfc880ccd9fc1f41223c58bf50e9710b390fdfb214deb93b62a9
|
Provenance
The following attestation bundles were made for kagi_cli-0.1.0.tar.gz:
Publisher:
release.yml on CaddyGlow/kagi-cli-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kagi_cli-0.1.0.tar.gz -
Subject digest:
984650008c3ab8c29ecd3eb082f3c0d3cce98c14bd4191b3352087c24f475f45 - Sigstore transparency entry: 1005537020
- Sigstore integration time:
-
Permalink:
CaddyGlow/kagi-cli-py@cee1c1662d29dac607e7910c757677a8fbbc2474 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/CaddyGlow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@cee1c1662d29dac607e7910c757677a8fbbc2474 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kagi_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kagi_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe11d4feb389b2890954c73ca7bf0bcacfe872180c934cbc2e22a640537717f5
|
|
| MD5 |
a373da77cdd6f7ee25055555ac7b8caf
|
|
| BLAKE2b-256 |
9cc69151c901c4243c267dd6722c43d3e8ee7b37685f239d54beba49bec9faad
|
Provenance
The following attestation bundles were made for kagi_cli-0.1.0-py3-none-any.whl:
Publisher:
release.yml on CaddyGlow/kagi-cli-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kagi_cli-0.1.0-py3-none-any.whl -
Subject digest:
fe11d4feb389b2890954c73ca7bf0bcacfe872180c934cbc2e22a640537717f5 - Sigstore transparency entry: 1005537021
- Sigstore integration time:
-
Permalink:
CaddyGlow/kagi-cli-py@cee1c1662d29dac607e7910c757677a8fbbc2474 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/CaddyGlow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@cee1c1662d29dac607e7910c757677a8fbbc2474 -
Trigger Event:
push
-
Statement type: