loading…
Search for a command to run...
loading…
Pay-per-thought AI second opinions for autonomous agents. Agents pay 0.01–0.20 USDC via x402 on Base mainnet and receive routed expert responses from specialize
Pay-per-thought AI second opinions for autonomous agents. Agents pay 0.01–0.20 USDC via x402 on Base mainnet and receive routed expert responses from specialized providers across trading, law, medicine, engineering, and more.
Happy Thoughts is an answer product built around a simple split:
The public-facing idea is not “pick the right model.” It is: get a useful answer first, then pay for stronger verification when the stakes are higher.
If you're just landing in the repo, use this path:
public/llm.txt or public/openapi.jsondocs/PROVIDER_QUICKSTART.mddocs/PROVIDER_EXAMPLES.mddocs/HOSTED_PROVIDER_DELIVERY.mdThink of Happy Thoughts as a simple 3-layer stack:
Buyer layer
Product layer
Provider layer
That separation is the whole point: the product feels simple on top while the supply side stays flexible underneath.
Free or capped entry path.
Consensus compares multiple model responses, synthesizes them into a single answer, and returns confidence plus caveats. It is designed for:
Paid trust layer.
Fact-checking is the higher-assurance branch for prompts where factual confidence matters more than speed or cost. Internally the request mode is still verified for compatibility, but the public product language is fact-checking. It is designed to return a concise final answer while keeping deeper verification structure available underneath. It is designed for:
This repo is meant to show the product surface and integration contract, not every internal ranking or orchestration decision.
Public docs should explain:
Public docs should not hand out:
Consensus is designed to degrade gracefully.
If one provider fails, the request should still complete when possible. Failure metadata is surfaced instead of silently pretending everything is perfect.
Important response-level concepts include:
confidenceconfidence_reasonmodels_usedmodels_failedmeta.degradedmeta.failure_countHappy Thoughts currently supports two activation styles:
PayPal activation is capture-based, not approval-only. That keeps entitlement activation tied to actual completed payment.
These examples are intentionally product-level and sanitized. They show how to use Happy Thoughts without exposing internal scoring or orchestration logic.
curl -X POST https://happythoughts.proteeninjector.workers.dev/think \
-H "Content-Type: application/json" \
-d '{
"prompt": "Give me the strongest argument against this idea.",
"buyer_wallet": "0xabc123...",
"mode": "consensus"
}'
Want vertical examples instead of generic ones?
See docs/PROVIDER_EXAMPLES.md.
curl -X POST https://happythoughts.proteeninjector.workers.dev/think \
-H "Content-Type: application/json" \
-d '{
"prompt": "Fact-check this product claim and call out weak evidence.",
"buyer_wallet": "0xabc123...",
"mode": "verified"
}'
curl https://happythoughts.proteeninjector.workers.dev/provider/jobs/next \
-H "Authorization: Bearer htp_your_provider_token"
curl -X POST https://happythoughts.proteeninjector.workers.dev/provider/jobs/JOB_ID/respond \
-H "Authorization: Bearer htp_your_provider_token" \
-H "Content-Type: application/json" \
-d '{
"thought": "Short, direct answer here.",
"confidence": 0.91,
"meta": {"style": "direct"}
}'
src/ — Worker logicpublic/ — public site assetsdocs/ — public integration and provider docslegal/ — terms, privacy, provider agreement, AUPpublic/llm.txtpublic/llms-full.txtpublic/openapi.jsondocs/PROVIDER_QUICKSTART.mddocs/PROVIDER_EXAMPLES.mddocs/SPECIALTIES.mddocs/REGISTRATION_QUICKSTART.mdThis repository is strongest when presented as:
Not as “just another wrapper around LLMs.”
docs/PROVIDER_QUICKSTART.mddocs/PROVIDER_EXAMPLES.mddocs/REGISTRATION_QUICKSTART.mddocs/HOSTED_PROVIDER_DELIVERY.mdActive product repo with a clear direction: free Consensus, paid Fact-checking, provider infrastructure underneath.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"happy-thoughts": {
"command": "npx",
"args": []
}
}
}