Deep Research

Searches Wikipedia (opensearch and full-text), Hacker News (Algolia), and DuckDuckGo when reachable, fetches the top public pages, and returns a cited answer from those pages. An OpenRouter model writes the answer from that page text only, with inline citations. You are charged only for that answer: if the model is unavailable the route answers 503 llm_unavailable, and if nothing can be fetched it answers 422 no_sources, both with charged: false and no payment settled. No confidence score is returned.

Step 1 — Quick test

curl -s -X POST https://x402-micro-pay.com/api/skills/research \
  -H "Content-Type: application/json" \
  -d '{"query":"What is x402?"}'

Step 2 — Agent client

python -m agent.humanless_client research "What is x402?"

Step 3 — Applet + model

  1. Open /applet
  2. Pick your model provider and paste API key (stored locally)
  3. Write a research question in Service prompt
  4. Paste background docs in Context window
  5. Call model + service to get structured JSON + model explanation

Input schema

Field Type Required
query string yes

An empty or missing query is rejected (HTTP 400, or the request validator). The query is not replaced with a sample.

Send a question ("What is x402?") or a topic ("x402 protocol", answered as "what is x402 protocol"). Creative or generative requests ("write a poem about…", "generate a short story…") are refused with HTTP 400 unsupported_query before any payment, so nothing is charged.

Output

skill, query, answer, key_points, sources (n, title, url, snippet), method (always llm on a paid 200), fetched_at, and charged: true. Citations in the answer look like [1]. sources lists only the pages the answer cites, numbered to match the citations.