Skip to main content

VibeChecks

Table of Contents

Introduction

VibeChecks is a lightweight python package that allows users to use natural language (LLMs) as part of their code logic. For example, VibeChecks can be used to check if/loop statements as well as provide responses for functions that are described but not implemented. It supports OpenAI and Google Gemini client currently and a simple example illustrating how it can be used can be seen below:

from google import genai
from vibechecks import VibeCheck

# initialize client
client = genai.Client(api_key=GEMINI_API_KEY)

# wrap it in VibeCheck
vc = VibeCheck(client, model="gemini-2.0-flash-lite")

# the example below asks user for a dog breed and checks if it is valid
user_input = input("Enter a dog breed:")
if vc(f"{user_input} is a valid dog breed"):
    print(f"{user_input} is a valid dog breed!")
else:
    print(f"{user_input} is not a valid dog breed!")

VibeChecks is published on pypi and can be easily installed with:

python3 -m pip install vibechecks

Details on the usage of the package and available APIs can be found on the wiki page.

Features

  • Natural Language Conditions: Use natural language to check for conditions, making your code more readable and intuitive.
  • Multi-provider Support: Seamlessly switch between different LLM providers. VibeChecks currently supports OpenAI and Google Gemini.
  • Extensible: The modular design allows for easy extension to other LLM providers in the future.
  • Custom Exceptions: Provides custom exceptions for better error handling and debugging.

Technologies

Technologies used by VibeChecks are as below:

Done with:

Python

Project Repository
https://github.com/vibe-engineers/vibechecks

Team

Contributing

If you are looking to contribute to the project, you may find the Developer Guide useful.

In general, the forking workflow is encouraged and you may open a pull request with clear descriptions on the changes and what they are intended to do (enhancement, bug fixes etc). Alternatively, you may simply raise bugs or suggestions by opening an issue or raising it up on discord.

Note: Templates have been created for pull requests and issues to guide you in the process.

Others

For any questions regarding the implementation of the project, you may also reach out on discord.

Release files for vibechecks 1.0.2

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

Source distribution (sdist)

Source distribution for vibechecks 1.0.2
File Size Uploaded
vibechecks-1.0.2.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vibechecks 1.0.2
File Interpreter ABI Platform
vibechecks-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 kB

Release files / vibechecks-1.0.2.tar.gz

Download URL vibechecks-1.0.2.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a02568e784547aac3e594848130f3410a678871ec538dea62b29165510b160c2
BLAKE2b-256 checksum
How to use checksums
0127c880aa2b6f64cc0a131b1fe51ece64480ff084ddd2691f0f8ff2c2fb5a2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / vibechecks-1.0.2-py3-none-any.whl

Download URL vibechecks-1.0.2-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9af131c3d4bfe4d83f42a3ea74e0fafb20461d5c9f438bb7c30fdbab9c25cfb0
BLAKE2b-256 checksum
How to use checksums
8fd9910e5b5cda84dd6a0c96b6a08bdfb028c63b0b2ed533d501b9cc21a416cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release 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