Skip to main content

Live reliability oracle for AI agent tools — ask if a tool works before calling it, and report outcomes (privacy-preserving). Zero dependencies.

Project description

glimind (Python)

Live reliability oracle for AI agent tools. Ask if a tool works before calling it, and report your own outcomes (privacy-preserving) so the data gets better for everyone. Zero third-party dependencies (stdlib only); reporting is batched on a background daemon thread and flushed at exit, so it adds no latency to your calls.

pip install glimind
from glimind import Glimind

s = Glimind(endpoint="https://glimind.com", api_key="sk_live_...")  # api_key optional

# 1) ask before acting
h = s.check("acme/search")
if h["verdict"] == "down":
    ...  # pick a fallback

# 2) wrap a call — success/failure/latency reported automatically (privacy-clean)
with s.wrap("acme/search", input={"q": query}, task="search"):
    result = acme.search(query)

# or decorate a function tool
@s.instrument("acme/search", task="search")
def search(q): ...

Framework middleware — one line

LangChain / LangGraph:

from glimind.langchain import GlimindCallbackHandler
agent.invoke(input, config={"callbacks": [GlimindCallbackHandler(s)]})

OpenAI Agents SDK:

from glimind.openai_agents import instrument_agent
agent = instrument_agent(s, agent)   # every function tool now auto-reports

Privacy

This client never sends your arguments, payloads, or tool outputs. Before anything leaves your process it is reduced to a value-free shape skeleton (every leaf value becomes a type tag), errors are scrubbed, and only: tool id, input shape, success/failure, normalized error, latency, coarse region are transmitted. The derivation is identical to the TypeScript SDK, so shapes hash consistently across languages.

MIT licensed.

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

glimind-0.3.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

glimind-0.3.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file glimind-0.3.0.tar.gz.

File metadata

  • Download URL: glimind-0.3.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for glimind-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a9c82bccaa23cfbf672f41d6a46536a0314305e85017057131abb101f744105a
MD5 815c9f139a67d9cf8cebd8820ade508d
BLAKE2b-256 ffb48d826008f9c0327ad182a4e54ece66893e20ed1d67023fc95c6634b20ed2

See more details on using hashes here.

File details

Details for the file glimind-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: glimind-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for glimind-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c8d4c0d6604f1276e3080ffe776c6d04972ab698ac4b25de478094a43f04d49
MD5 db8db9a46f14557c486d634f6b164e49
BLAKE2b-256 b1ff4b6792a496c744497b52628bf614200da378d1d55950bfef5b4f8d7a0d3a

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