feat(you): add You.com integration (search, contents, research, finance research)#5115
Draft
patrick-gecko wants to merge 1 commit into
Draft
feat(you): add You.com integration (search, contents, research, finance research)#5115patrick-gecko wants to merge 1 commit into
patrick-gecko wants to merge 1 commit into
Conversation
…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>
|
@patrick-gecko is attempting to deploy a commit to the Sim Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a native You.com integration — a first-class search/research provider block, peer to the existing Exa and Parallel AI integrations. One
youblock exposes four operations backed by four tools:you_searchGET https://ydc-index.io/v1/search(web + news)you_contentsPOST https://ydc-index.io/v1/contents(Markdown/HTML + metadata)you_researchPOST https://api.you.com/v1/research(agentic, cited; effort tiers)you_financePOST 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:$0.005/call (+$0.001/livecrawled page)$0.001/page$0.012· standard$0.05· deep$0.10· exhaustive$0.45$0.11· exhaustive$0.50Research 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): setYOU_API_KEY_COUNTandYOU_API_KEY_1..Nin the Sim environment. Until then it falls back to BYOK. On non-sim.aihosts (isHostedfalse) it's always BYOK.Verification
data.outputwrapper; anone-sentinel 422 on search).bun run type-check,bun run lint:check, andbun run check:api-validationall pass.Notes
/v1/answer) is intentionally not included — it is still in beta.tools/you/{search,contents,research,finance}.tsand should be updated if rates change.🤖 Generated with Claude Code