bikem
Local-first memory and drift detection for long AI sessions.
import bikem
with bikem.session("fix-auth-bug"):
response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "explain this stack trace"}],
)
# every call is now recorded to ~/.bikem/sessions/
Long AI sessions forget. They drift. They repeat. When something breaks at step 40, you cannot reproduce it because the model is non-deterministic. bikem records every LLM and tool call to a local JSONL file, reinjects the right context so the session stops degrading, and flags the moment output starts drifting from the original task.
No account. No network calls to us. Your traces are files on your disk.
Install
pip install bikem
Status
Alpha. Recorder and store are being built now.
License
MIT
Metadata
Release files for bikem 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bikem-0.1.3.tar.gz | 28.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bikem-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.7 kB
Release files / bikem-0.1.3.tar.gz
| Download URL | bikem-0.1.3.tar.gz |
|---|---|
| Size | 28.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b268a31a0d945d522c21ad03451883e569b6356bc3c0e6d050e443c3b52b49d
|
|
BLAKE2b-256 checksum How to use checksums |
1520f7f9fc1154f0bec8ab3a05d6cb5fb09675afac56b89c7086e72727054f8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / bikem-0.1.3-py3-none-any.whl
| Download URL | bikem-0.1.3-py3-none-any.whl |
|---|---|
| Size | 25.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56b5be5c315a935150116810a75f805f8f4ac5957342ba7516c6869a0cb94afb
|
|
BLAKE2b-256 checksum How to use checksums |
1feefcfd48eed5ef1b21b4e6bfacf51db06110187e0bf1461dd170f6ab4312a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|