Creator Center
/Tool/Hesperan
app icon

Hesperan

Verified by Dify
No ratings yet
30
H
hesperan/hesperan

Calibrated decisions for automation. Ask typed questions and get probabilities, or decide with a calibrated profile that says whether a case is safe to automate.

ProductivityBusiness

Hesperan

Author: hesperan
Version: 0.0.1
Type: tool
Source: https://github.com/Hesperan/hesperan-dify-plugin
Contact: [email protected]

Overview

Hesperan is a hosted API for calibrated decisions. It answers typed questions about a text
or JSON state with probabilities, and decision profiles, calibrated on your own labelled cases, tell you for each
case whether it is safe to automate () or should go to a person (). Hesperan returns numbers and
decisions, never generated text.

This plugin adds three tools to Dify workflows, chatflows and agents:

ToolWhat it doesAPI
Decide with profileDecides one case with a calibrated profile: , , ( or ),
Ask a questionOne typed question: choice (pick an option), yes/no (probability that a statement holds) or score (rate on your levels)
Report outcomeReports the correct answer for an earlier decision, so the Hesperan console can show live precision

Setup

  1. Create an account at https://hesperan.com and open the console.
  2. Under API keys, create a key. It starts with .
  3. In Dify, install the Hesperan plugin, open Tools → Hesperan → Authorize, and paste the key. The key is
    checked with a free request; nothing is charged and no model is called.
  4. For Decide with profile, create and calibrate a decision profile in the console first (Profiles → New). The
    Profile field then lists your profiles by name and slug; profiles marked "not calibrated yet" cannot decide
    until their calibration succeeds.

Required credentials: one Hesperan API key. Requests are billed by input tokens to the Hesperan account of the key
(1M free tokens a month, then a prepaid balance or Pro; see https://hesperan.com/pricing); failed requests are not
charged.

Connection requirements

The plugin connects only to over HTTPS (port 443). The Dify plugin runtime needs
outbound internet access to that host. There is no base URL to configure and no proxy setting.

Usage

Route a ticket in a workflow

  1. Add the Decide with profile tool after the node that provides the ticket text.
  2. Choose your profile under Profile, pass the ticket text as State, and the ticket ID as
    Idempotency key (retries within 24 hours then return the first decision and are not charged again).
  3. Add an IF/ELSE node on the output variable : continues automatically with ,
    goes to a person.
  4. When the correct team is known, call Report outcome with the and the correct answer, one of
    the profile's answer keys (for a yes/no profile or ).

Ask a question

Ask a question takes a state, a question type, the question and options:

  • choice: options one per line as , for example

    Output: (the most likely key), , .

  • yes_no: the question is a statement, for example Optional options
    and say what counts as yes and no. Output: , , .

  • score: options are level descriptions, one per line, lowest first. Output: (expected level),
    , .

Turn on State is JSON to send a JSON object or array as structured state. Every tool returns a JSON message
and the output variables listed in its schema; agents can read the JSON directly.

Errors

Errors say whether anything was charged and whether a retry helps. : invalid key. : the included tokens
are used up and the balance does not cover the rest. : unknown profile or decision. : the profile has no calibration yet, or an idempotency key was
reused with different input. and : retry later. "Model is starting" () or "did not answer in time":
the model runs on serverless GPUs and the first call after a quiet period can take about 2–3 minutes; retry a minute
later (use an idempotency key for decisions). with "opens soon": the Hesperan API is closed, and retrying does
not help.

Privacy

See PRIVACY.md and https://hesperan.com/legal/privacy.

Links

  • Documentation: https://hesperan.com/docs
  • API reference: https://hesperan.com/docs/api
  • Decision profiles: https://hesperan.com/docs/profiles
CATEGORY
Tool
VERSION
0.0.1
hesperan·Updated a month ago
REPOSITORY
https://github.com/Hesperan/hesperan-dify-plugin
REQUIREMENTS
Maximum memory
256MB
Access domain

Some outbound calls build their address at runtime, so the list may be incomplete.

DeclaredDetected
Security
Security Rating

Last checked 09/25/2026 02:55 AM · version 0.0.1

Give a rate
SHARE WITH