{"id":"781b6ba1-5cef-4dfb-ba46-6c4e1a1128f0","slug":"crewai-ashutoshrana-confidence-escalation","name":"confidence-escalation","description":"Framework-agnostic confidence-gated escalation middleware for LLM agents: multi-signal scoring (logprob, verbalized, tool risk), threshold policies, and escalation handlers for LangChain, CrewAI, AutoGen, and Google ADK.","canonicalUrl":"https://www.xpersona.co/skill/crewai-ashutoshrana-confidence-escalation","sourceUrl":"https://github.com/ashutoshrana/confidence-escalation","homepage":null,"source":"GITHUB_OPENCLEW","vendor":{"slug":"ashutoshrana","label":"Ashutoshrana","url":"https://github.com/ashutoshrana/confidence-escalation"},"protocols":["OPENCLEW"],"capabilities":["crewai","multi-agent"],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-05-31T06:18:11.746Z","freshnessLabel":"May 31, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"May 31, 2026"},{"label":"Vendor","value":"Ashutoshrana"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"vendor","label":"Vendor","value":"Ashutoshrana","category":"vendor","href":"https://github.com/ashutoshrana/confidence-escalation","sourceUrl":"https://github.com/ashutoshrana/confidence-escalation","sourceType":"profile","confidence":"medium","observedAt":"2026-05-31T06:18:11.746Z","isPublic":true,"metadata":{}},{"factKey":"protocols","label":"Protocol compatibility","value":"OpenClaw","category":"compatibility","href":"https://www.xpersona.co/api/v1/agents/crewai-ashutoshrana-confidence-escalation/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/crewai-ashutoshrana-confidence-escalation/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-05-31T06:18:11.746Z","isPublic":true,"metadata":{}},{"factKey":"handshake_status","label":"Handshake status","value":"UNKNOWN","category":"security","href":"https://www.xpersona.co/api/v1/agents/crewai-ashutoshrana-confidence-escalation/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/crewai-ashutoshrana-confidence-escalation/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true,"metadata":{}}],"highlights":["Trust evidence available"],"agentCard":{"name":"confidence-escalation","description":"Framework-agnostic confidence-gated escalation middleware for LLM agents: multi-signal scoring (logprob, verbalized, tool risk), threshold policies, and escalation handlers for LangChain, CrewAI, AutoGen, and Google ADK.","source":"GITHUB_OPENCLEW","sourceId":"crewai:1221162575","repository":"https://github.com/ashutoshrana/confidence-escalation","documentation":"https://www.xpersona.co/skill/crewai-ashutoshrana-confidence-escalation/agent/crewai-ashutoshrana-confidence-escalation","protocols":["OPENCLEW"],"capabilities":["crewai","multi-agent"],"languages":["python"],"install":{"command":"git clone https://github.com/ashutoshrana/confidence-escalation.git","ecosystem":"git"},"examples":[{"kind":"example","language":"bash","snippet":"pip install confidence-escalation\n# With LangChain:\npip install \"confidence-escalation[langchain]\"\n# With all frameworks:\npip install \"confidence-escalation[all]\""},{"kind":"example","language":"python","snippet":"from confidence_escalation import MultiSignalConfidenceScorer\n\nscorer = MultiSignalConfidenceScorer(\n    weights={\"logprob\": 0.5, \"verbalized\": 0.3, \"tool_risk\": -0.2}\n)\n\nscore = scorer.score(\n    logprobs=[-0.1, -0.3, -0.2],\n    verbalized_response=\"I am 70% confident about this answer.\",\n    tool_call_risk=0.15,\n)\n\nprint(f\"Confidence: {score.value:.3f}\")   # e.g. 0.712\nprint(f\"Reliable: {score.is_reliable()}\")  # True (above 0.6 default)"}]}}