Skip to main content
Kaval.AI Logo

CI

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

kavalai-1.0.2.tar.gz (160.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kavalai-1.0.2-py3-none-any.whl (181.0 kB view details)

Uploaded Python 3

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

Hashes for kavalai-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c16478698b1be0c6e6a555484dc651871b4e4db02850a91d623c847258531b6f
MD5 0543cc791852f86de9e34b6756b8f72b
BLAKE2b-256 3e014dd9a92335e38aecfa6b1679573215914becd9a800487c7fcbd4fb1be808

See more details on using hashes here.

Provenance

The following attestation bundles were made for kavalai-1.0.2.tar.gz:

Publisher: pypi-publish.yml on Kaval-AI/kavalai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for kavalai-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2bab4fdf37fbbd99451470abc08a4b42617ad8287d09b7be143da5e558604ba0
MD5 81bedde84fd9504a65e985ea20489438
BLAKE2b-256 eab007ec2aa838f40d922b65c5552cae069e82cf123837eff87e853589d20b74

See more details on using hashes here.

Provenance

The following attestation bundles were made for kavalai-1.0.2-py3-none-any.whl:

Publisher: pypi-publish.yml on Kaval-AI/kavalai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.0.4

2 files

1.0.3

2 files

This release

1.0.2 This release

2 files

1.0.1

2 files

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