Skip to main content

Live reliability oracle for AI agent tools (MCP) — ask if a tool is up right now before calling it, fail over to a healthy alternative, 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.1.tar.gz (8.3 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.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for glimind-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2af2c7694c76718b1bd953752ffdfcf36e0c1e5aae6c05f1cb0961e6a283fde7
MD5 dd8fda8aee458d3048c1b6d195048c5b
BLAKE2b-256 fefc661dce4b59646d4640ee457df06248b5ea48feba65b4847c950033681895

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for glimind-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c4f230f4a5cb62b9d1537a257fa444e554896d8f5bfe0dda7ac0bc76cff3120
MD5 e36274a572bac3d8f8ec445897169d03
BLAKE2b-256 9482d9ab922b6030407b60bb48381a80de99ddcf64e50a08cb2f14da16cd7693

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