Skip to main content

Vet AI agents with Hlido's independent, evidence-backed trust scores — drop-in tools for CrewAI and LangChain. Zero runtime dependencies.

Project description

hlido-trust

Vet AI agents before you delegate to them. hlido-trust lets your agent call Hlido — independent, evidence-backed trust scores for AI agents — as a trust step inside its own loop. Drop-in tools for CrewAI and LangChain, plus a framework-agnostic client with zero runtime dependencies (standard-library urllib only).

Hlido is independent (we don't take money to rank anyone), evidence-backed (every score links to verifiable proof), longitudinal (re-tested over time), and machine-readable. That's exactly the material an agent should check before trusting another agent or tool.

Install

pip install hlido-trust                 # core, zero deps
pip install "hlido-trust[crewai]"       # + CrewAI tools
pip install "hlido-trust[langchain]"    # + LangChain tools

Before the PyPI release, install straight from source: pip install "git+https://github.com/ankitkapur1992-hlido/hlido-public#subdirectory=integrations/hlido-trust"

30-second use — a plain guard clause (no framework)

from hlido_trust import HlidoClient

hlido = HlidoClient()
if not hlido.trust_gate("aider", min_score=70):
    raise RuntimeError("Aider failed the Hlido trust gate — not delegating.")

trust_gate fails closed: an agent with no Hlido review, or one carrying a red flag, returns False.

CrewAI

from crewai import Agent
from hlido_trust.crewai_tool import hlido_crewai_tools

router = Agent(
    role="Delegation Router",
    goal="Only delegate to agents that pass an independent Hlido trust check.",
    tools=hlido_crewai_tools(),     # Hlido Trust Check + Hlido Recommend
)

LangChain

from hlido_trust.langchain_tool import hlido_langchain_tools

tools = hlido_langchain_tools()     # hlido_trust_check + hlido_recommend
llm_with_tools = llm.bind_tools(tools)

See examples/ for full "vet before you delegate" agents.

API

Call What it does Endpoint
HlidoClient().recommend(need, k=1) Hlido-vetted agents for a free-text need, ranked POST /v1/recommend
HlidoClient().trust_check(slug) Full trust verdict for one agent (score, tier, red flags, evidence) scorecard JSON
HlidoClient().trust_gate(slug, min_score=70) Boolean go/no-go (fails closed) scorecard JSON

recommend returns the single top match on the free tier. Set HLIDO_API_KEY (a hlk_live_* key from https://hlido.eu/api/) to unlock k > 1.

HlidoClient(api_key="hlk_live_...")   # or export HLIDO_API_KEY

TrustVerdict fields

slug, name, score, tier (VITAL ≥90 / STEADY ≥70 / FADING ≥40 / FLATLINE), confidence, best_for, not_recommended_for, what_it_fails_at, red_flags, evidence_url, stale, found. Helpers: .recommended(min_score) and .summary().

Why

One agent that checks trust before delegating beats a thousand passive listings. Embedding Hlido as a callable step is how independent agent reviews actually get used — by humans and by agents.

License

MIT · Hlido hello@hlido.eu · https://hlido.eu

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

hlido_trust-0.1.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

hlido_trust-0.1.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file hlido_trust-0.1.0.tar.gz.

File metadata

  • Download URL: hlido_trust-0.1.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for hlido_trust-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e9ea894303cb318f394ea9cd1cc851d5b0b6da99f10a25dd5021be529c6db638
MD5 e6d9b5724870135e3c96e1cb32bafa7f
BLAKE2b-256 7adfd77529504b4506aef4ac932ae2dc9ec79ea1e1d41250d56ffec97fe8dde5

See more details on using hashes here.

File details

Details for the file hlido_trust-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hlido_trust-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for hlido_trust-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5bcb04a22404a53a5c154d4f9288ed37171df86e6205133ce259af79b330ce0
MD5 22b7508a329fb002dfd0d3302a59769a
BLAKE2b-256 ec734fcc22d965774b3e74bb0f8b9673e9a21385cf20b0bb2327be00f63838cf

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