Skip to content

WebhoundAI/dify-plugin-webhound

Repository files navigation

Webhound for Dify

Webhound lets a Dify agent or workflow decide how much work a question deserves. A prompt defines what to research, and an explicit dollar budget defines the research effort. The result includes both the finished artifact and the evidence behind it.

Hound is Webhound's research harness built with DeepSeek V4 Pro and GPT-5.4 across planning, execution, verification, and assembly. It is not a selectable foundation model or mode. This plugin deliberately exposes no alternate model or mode controls.

The plugin is free to install. Research runs use the Webhound account and credits belonging to the Dify workspace that configured the plugin.

Setup

  1. Create or sign in to your own Webhound account at webhound.ai.
  2. Create an API key at webhound.ai/api.
  3. In Dify, open Tools → Webhound → Authorize.
  4. Paste that workspace's key into the encrypted WEBHOUND_KEY field.

Every Dify workspace must provide its own key. Do not reuse a publisher, developer, or another customer's credential.

Research flow

  1. Call webhound_start_report for a cited narrative or webhound_start_dataset for sourced rows. Both tools require an explicit budget and confirm_spend=true. A budget is a maximum, not a promise that the entire amount will be charged. If an included first run is available, Webhound can use it first.
  2. Call webhound_watch. A run is terminal only when done=true. output_ready=true can describe an intermediate artifact. A watch can wait for up to 60 seconds, but should usually follow the returned recommended check-in interval instead of polling continuously.
  3. When done=true, call webhound_get_evidence_pack for serious follow-up work. It returns the final output together with working documents, claim traces, sources, and export links. Use webhound_get_output when only the polished report or dataset rows are needed.

The current rule of thumb is that $1 buys about 15 minutes of research. A larger budget should buy more evidence, coverage, verification, and decision value—not merely a longer answer.

Tools

Tool Spend Purpose
webhound_start_report Yes Start a private cited report with an explicit budget
webhound_start_dataset Yes Start a private sourced dataset with an explicit budget
webhound_watch No Read authoritative status or perform one bounded wait
webhound_get_output No Retrieve a completed report, working document, or dataset
webhound_get_evidence_pack No Retrieve the result and the evidence behind it
webhound_help No Explain budgets, Hound, completion, setup, and troubleshooting
webhound_account No Read credits, usage, included-run status, and defaults

Only the two start tools can begin spend. The adapter has no tool for adding budget, resuming with more budget, stopping a run, or making an artifact public.

Hosted service

The adapter exposes static native Dify tools and forwards them to Webhound's hosted Streamable HTTP MCP endpoint:

https://api.webhound.ai/api/v2/mcp

The endpoint is fixed in code so a credential cannot be redirected to a user-supplied host. HTTP redirects are rejected. Both JSON and Server-Sent Events responses are supported.

Calls are never retried automatically. That matters for spend-bearing starts: if a connection fails after submission, inspect the Webhound session list before retrying so the same investigation is not started twice.

Development

Use Python 3.12:

python3.12 -m venv .venv
.venv/bin/pip install -r requirements.txt pytest ruff pyyaml
.venv/bin/ruff check .
.venv/bin/pytest
dify plugin package .

Authenticated remote debugging requires a Dify debug key and a workspace-owned WEBHOUND_KEY; neither is committed to this project.

Privacy and support

See PRIVACY.md and the Webhound Privacy Policy.

About

Webhound Dify plugin — controllable, inspectable web research with explicit dollar budgets

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages