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.1.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.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fluctlightdb-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3eea75246150e02fbb6c151c4d13251423f64f5d04365a9eda2de99460e33e88
MD5 ed652abc1575191628ecf752f81a21fa
BLAKE2b-256 9e12ea3e22759413a146fe519e5ccdc2a0c0b80b52f5a79119ab1b9806e9dbfd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluctlightdb-0.4.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e7f6a7e71ca8bfbce65c2ab229156077991899967de78b225638edca55be1459
MD5 137e7e56c57daa4d91992ca41820ac0c
BLAKE2b-256 919d71350a9bbd80949692d04aa376034c4cda0f44bbd4dde671f48cc7f73f3a

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