Objects whose methods are written by an LLM the moment you call them
Project description
vybthon
Objects whose methods are written by an LLM the moment you call them. Call any
method; if it doesn't exist, a model writes it from the name + arguments, runs
it, and caches the source to ./.vibe_cache/ for instant reuse.
from vibe import Vibe
v = Vibe.openrouter("openrouter/meta-llama/llama-3.1-8b-instruct") # set OPENROUTER_API_KEY
v.reverse_string("hello") # -> "olleh"
v.nth_prime(10) # cached after first call -> 29
Install
Needs Python ≥ 3.10 and an LLM provider (hosted, or a local Ollama).
pip install "git+https://github.com/bhivam/vybthon" # or: uv add "git+..."
The distribution is vybthon; the import is vibe. On NixOS, run inside
nix develop (litellm's wheels need libstdc++).
Security
Synthesized code runs via exec. LLM output is untrusted — treat every
generated function as arbitrary code. This is a toy, not a sandbox.
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 vybthon-0.1.0.tar.gz.
File metadata
- Download URL: vybthon-0.1.0.tar.gz
- Upload date:
- Size: 98.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4aa413a822220b44d950bd35281254c112e252e7b94c1b0534d74066a5bd2d79
|
|
| MD5 |
2fcdba163655c49989005d61931c466f
|
|
| BLAKE2b-256 |
54ae347ce5921798b6d2e46ed8b6d4a525c0f44d7eea9fbae132358233003b47
|
Provenance
The following attestation bundles were made for vybthon-0.1.0.tar.gz:
Publisher:
publish.yml on bhivam/vybthon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vybthon-0.1.0.tar.gz -
Subject digest:
4aa413a822220b44d950bd35281254c112e252e7b94c1b0534d74066a5bd2d79 - Sigstore transparency entry: 1782302469
- Sigstore integration time:
-
Permalink:
bhivam/vybthon@7081c78fa131dd9e820812c5b37b9540537f42ed -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bhivam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7081c78fa131dd9e820812c5b37b9540537f42ed -
Trigger Event:
release
-
Statement type:
File details
Details for the file vybthon-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vybthon-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fcc427ca536b3d29b718f7cc08a3152803e60ad60b0bd9557e355ee17b3f53a
|
|
| MD5 |
548043c3d6afb07164999a7a0306953a
|
|
| BLAKE2b-256 |
ac65cc5de18185c94f4e1241d772d20bd4e9053cdbf94a76e9e427d1e07b5843
|
Provenance
The following attestation bundles were made for vybthon-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on bhivam/vybthon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vybthon-0.1.0-py3-none-any.whl -
Subject digest:
9fcc427ca536b3d29b718f7cc08a3152803e60ad60b0bd9557e355ee17b3f53a - Sigstore transparency entry: 1782303114
- Sigstore integration time:
-
Permalink:
bhivam/vybthon@7081c78fa131dd9e820812c5b37b9540537f42ed -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bhivam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7081c78fa131dd9e820812c5b37b9540537f42ed -
Trigger Event:
release
-
Statement type: