Skip to main content

Python client for FluctlightDB — brain-native memory for AI agents

Project description

fluctlightdb

Python client for FluctlightDB — a brain-native memory store for AI agents.

Install

pip install fluctlightdb

Optional in-process recall (Rust extension, when wheels are available for your platform):

pip install "fluctlightdb[native]"
# or: pip install fluctlightdb-native

No cargo or Rust toolchain required for the HTTP client.

Quick start (HTTP — like qdrant-client)

Run a FluctlightDB server (download a release binary or use your own deployment), then:

from fluctlightdb import FluctlightClient

client = FluctlightClient(
    base_url="http://127.0.0.1:8792",
    api_key="your-key",
)

client.experience("user prefers dark mode", context="settings")
print(client.activate_lite("theme preference"))

Or use environment variables:

export FLUCTLIGHT_SERVE_URL=http://127.0.0.1:8792
export FLUCTLIGHT_API_KEY=your-key
from fluctlightdb import FluctlightClient

client = FluctlightClient.from_env()
print(client.activate("dark mode"))

In-process recall (optional)

When fluctlightdb-native is installed:

from fluctlightdb import get_recall_client

brain = get_recall_client("~/.fluctlight/tenants/default/brain")
print(brain.activate("dark mode"))

Docs

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fluctlightdb-0.4.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

fluctlightdb-0.4.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file fluctlightdb-0.4.2.tar.gz.

File metadata

  • Download URL: fluctlightdb-0.4.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fluctlightdb-0.4.2.tar.gz
Algorithm Hash digest
SHA256 de0e0e1a267de86a5cabe79d969f28cca04e718e159c5359bbc0d52624961005
MD5 64c6c198bd52e8eebf57cd98c88649ed
BLAKE2b-256 964af601199a2315b0c10a1b83b49e805a79bb15e1f5db42c587788cb764b2bc

See more details on using hashes here.

File details

Details for the file fluctlightdb-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: fluctlightdb-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fluctlightdb-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e66b01587f804604439b18a5121193909ce7d148e0504a622fda033ce00dc75d
MD5 8b35577b3b64d92db4ffcb78ba1c047a
BLAKE2b-256 f2b259d2628ffc73dcdf04212a763d03a74f818763a91587a8f53f40b329c462

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page