Skip to main content

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)

Source distribution for bikem 0.1.3
File Size Uploaded
bikem-0.1.3.tar.gz 28.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bikem 0.1.3
File Interpreter ABI Platform
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}

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.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