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.2.0.tar.gz (7.2 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.2.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for glimind-0.2.0.tar.gz
Algorithm Hash digest
SHA256 65e6ae81a3f753e54072c7b782cab25e9fc1c594dfe9d77203bec99d70fa4092
MD5 a749d02e83e449a20fbf7580b7fddced
BLAKE2b-256 ba209ffa1e56cfee9e960e6509e0334001ce0fdba752b59400508fdf6fd5b88f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: glimind-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59f9b8643da205795fa1e7908dd1741f6bf612b738e12ecb2536d295a8bd7c9c
MD5 37379d85f2f17a95a795c69464078856
BLAKE2b-256 9790e00e3407a218505b74572301fca09ae2642848986037e6319861ee1a47be

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