Skip to content

feat(you): add You.com integration (search, contents, research, finance research)#5115

Draft
patrick-gecko wants to merge 1 commit into
simstudioai:stagingfrom
patrick-gecko:feat/you-integration
Draft

feat(you): add You.com integration (search, contents, research, finance research)#5115
patrick-gecko wants to merge 1 commit into
simstudioai:stagingfrom
patrick-gecko:feat/you-integration

Conversation

@patrick-gecko

Copy link
Copy Markdown

Summary

Adds a native You.com integration — a first-class search/research provider block, peer to the existing Exa and Parallel AI integrations. One you block exposes four operations backed by four tools:

Operation Tool Endpoint
Search you_search GET https://ydc-index.io/v1/search (web + news)
Get Contents you_contents POST https://ydc-index.io/v1/contents (Markdown/HTML + metadata)
Research you_research POST https://api.you.com/v1/research (agentic, cited; effort tiers)
Finance Research you_finance POST https://api.you.com/v1/finance_research (filings/earnings; effort tiers)

Key model

All four operations support Sim hosted keys + workspace BYOK (byokProviderId: 'you', envKeyPrefix: 'YOU_API_KEY'), registered in the BYOK settings UI under "Search & web". Hosted pricing is wired to You.com's PayGo rates:

  • Search $0.005/call (+ $0.001/livecrawled page)
  • Contents $0.001/page
  • Research — lite $0.012 · standard $0.05 · deep $0.10 · exhaustive $0.45
  • Finance — deep $0.11 · exhaustive $0.50

Research and Finance expose user-selectable effort levels in the block UI.

Enabling hosted keys

Hosting ships dormant and activates purely via environment (mirrors EXA_API_KEY / PARALLEL_API_KEY): set YOU_API_KEY_COUNT and YOU_API_KEY_1..N in the Sim environment. Until then it falls back to BYOK. On non-sim.ai hosts (isHosted false) it's always BYOK.

Verification

  • All four operations live-tested against the real You.com API (HTTP 200 + correct output mapping). Two response-shape bugs were caught and fixed during testing (contents data.output wrapper; a none-sentinel 422 on search).
  • bun run type-check, bun run lint:check, and bun run check:api-validation all pass.
  • Hosted pricing functions verified to return the exact rate-card values.

Notes

  • The You.com Answer endpoint (/v1/answer) is intentionally not included — it is still in beta.
  • Hosted prices are constants sourced from You.com's published PayGo rates (the API does not return per-call cost in responses); they live in tools/you/{search,contents,research,finance}.ts and should be updated if rates change.
  • Icon is the official YDC gradient logomark.

🤖 Generated with Claude Code

…ce research)

Adds a You.com block with four tools: you_search (web/news via
GET ydc-index.io/v1/search), you_contents (Markdown/HTML extraction via
POST ydc-index.io/v1/contents), and you_research / you_finance (agentic
research via api.you.com). All four support Sim hosted keys plus
workspace BYOK (envKeyPrefix YOU_API_KEY, byokProviderId 'you'), priced
per You.com's PayGo rates: search $0.005/call (+$0.001/livecrawl page),
contents $0.001/page, research lite/standard/deep/exhaustive
($0.012/$0.05/$0.10/$0.45), finance deep/exhaustive ($0.11/$0.50).
Research and finance expose user-selectable effort levels. Registers the
'you' BYOK provider in the settings UI and adds generated docs with a
manual intro.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

@patrick-gecko is attempting to deploy a commit to the Sim Team on Vercel.

A member of the Team first needs to authorize it.

@waleedlatif1 waleedlatif1 deleted the branch simstudioai:staging July 1, 2026 05:43
@waleedlatif1 waleedlatif1 reopened this Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants