Kaval.AI is an opinionated, elegant, production-grade Python library for building LLM-powered workflows, chatbots and agents, and connecting them to databases and tooling — with a focus on observability and debuggability.
Features:
- Supports common commercial LLM providers such OpenAI, Google Gemini etc.
- Supports open source LLMs via Ollama backend.
- Agents can be run client-side in browser via WebLLM and Pyodide.
- Structured responses using Pydantic semantics.
- Streaming responses.
- Retrieval augmented generation (RAG) index on various storage engines.
- Fully featured workflow engine using conditional processing and tool calling.
- Workflows can be defined in YAML for better readability.
- Python tools, REST server endpoints (supports basic auth) and MCP support.
Install
pip install kavalai
License
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Documentation
For full documentation, please visit Kaval.AI Documentation.
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 kavalai-1.0.2.tar.gz.
File metadata
- Download URL: kavalai-1.0.2.tar.gz
- Upload date:
- Size: 160.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c16478698b1be0c6e6a555484dc651871b4e4db02850a91d623c847258531b6f
|
|
| MD5 |
0543cc791852f86de9e34b6756b8f72b
|
|
| BLAKE2b-256 |
3e014dd9a92335e38aecfa6b1679573215914becd9a800487c7fcbd4fb1be808
|
Provenance
The following attestation bundles were made for kavalai-1.0.2.tar.gz:
Publisher:
pypi-publish.yml on Kaval-AI/kavalai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kavalai-1.0.2.tar.gz -
Subject digest:
c16478698b1be0c6e6a555484dc651871b4e4db02850a91d623c847258531b6f - Sigstore transparency entry: 2417953354
- Sigstore integration time:
-
Permalink:
Kaval-AI/kavalai@d5dfde879b0cce6da8c1bc5d7899ad7c53c0103c -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/Kaval-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d5dfde879b0cce6da8c1bc5d7899ad7c53c0103c -
Trigger Event:
release
-
Statement type:
File details
Details for the file kavalai-1.0.2-py3-none-any.whl.
File metadata
- Download URL: kavalai-1.0.2-py3-none-any.whl
- Upload date:
- Size: 181.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bab4fdf37fbbd99451470abc08a4b42617ad8287d09b7be143da5e558604ba0
|
|
| MD5 |
81bedde84fd9504a65e985ea20489438
|
|
| BLAKE2b-256 |
eab007ec2aa838f40d922b65c5552cae069e82cf123837eff87e853589d20b74
|
Provenance
The following attestation bundles were made for kavalai-1.0.2-py3-none-any.whl:
Publisher:
pypi-publish.yml on Kaval-AI/kavalai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kavalai-1.0.2-py3-none-any.whl -
Subject digest:
2bab4fdf37fbbd99451470abc08a4b42617ad8287d09b7be143da5e558604ba0 - Sigstore transparency entry: 2417953398
- Sigstore integration time:
-
Permalink:
Kaval-AI/kavalai@d5dfde879b0cce6da8c1bc5d7899ad7c53c0103c -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/Kaval-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d5dfde879b0cce6da8c1bc5d7899ad7c53c0103c -
Trigger Event:
release
-
Statement type: