Skip to content

Commit 7e3d10f

Browse files
patrick-geckoclaude
andcommitted
feat(you): add You.com integration (search, contents, research, finance 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>
1 parent 8b93e43 commit 7e3d10f

19 files changed

Lines changed: 1375 additions & 0 deletions

File tree

apps/docs/components/icons.tsx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -940,6 +940,34 @@ export function YouTubeIcon(props: React.SVGProps<SVGSVGElement>) {
940940
)
941941
}
942942

943+
export function YouIcon(props: React.SVGProps<SVGSVGElement>) {
944+
const id = useId()
945+
const gradientId = `you_gradient_${id}`
946+
947+
return (
948+
<svg viewBox='0 0 500 500' fill='none' xmlns='http://www.w3.org/2000/svg' {...props}>
949+
<path
950+
fill={`url(#${gradientId})`}
951+
d='M497.7,265.6v64.3c0,30.9-17.1,59.2-44.4,73.5l-165.2,86.4c-7.4,3.8-15.3,6.5-23.3,8v-113h0c0-65.8,53.2-119.3,118.9-119.3h114,0ZM211.8,11.6c23.9-12.5,52.4-12.5,76.3,0l165.2,86.3c27.3,14.3,44.4,42.6,44.4,73.5v64.3h-114c-65.7,0-118.9-53.4-118.9-119.3v-54.7h-29.7v54.7c0,65.9-53.2,119.3-118.9,119.3h-54.5v29.8h54.5c65.7,0,118.9,53.4,118.9,119.3v113c-8-1.5-15.9-4.2-23.3-8l-165.2-86.4c-27.3-14.3-44.4-42.6-44.4-73.5v-158.4c0-30.9,17.1-59.2,44.4-73.5L211.8,11.6Z'
952+
/>
953+
<defs>
954+
<linearGradient
955+
id={gradientId}
956+
x1='498.1'
957+
y1='350.6'
958+
x2='2.6'
959+
y2='846.3'
960+
gradientTransform='translate(0 -348.1)'
961+
gradientUnits='userSpaceOnUse'
962+
>
963+
<stop offset='.2' stopColor='#a0a4ee' />
964+
<stop offset='.8' stopColor='#596ced' />
965+
</linearGradient>
966+
</defs>
967+
</svg>
968+
)
969+
}
970+
943971
export function PeopleDataLabsIcon(props: SVGProps<SVGSVGElement>) {
944972
return (
945973
<svg

apps/docs/components/ui/icon-mapping.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ import {
225225
WordpressIcon,
226226
WorkdayIcon,
227227
xIcon,
228+
YouIcon,
228229
YouTubeIcon,
229230
ZendeskIcon,
230231
ZepIcon,
@@ -485,6 +486,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
485486
wordpress: WordpressIcon,
486487
workday: WorkdayIcon,
487488
x: xIcon,
489+
you: YouIcon,
488490
youtube: YouTubeIcon,
489491
zendesk: ZendeskIcon,
490492
zep: ZepIcon,

apps/docs/content/docs/en/integrations/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@
226226
"wordpress",
227227
"workday",
228228
"x",
229+
"you",
229230
"youtube",
230231
"zendesk",
231232
"zep",
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
---
2+
title: You.com
3+
description: Web search and research with You.com
4+
---
5+
6+
import { BlockInfoCard } from "@/components/ui/block-info-card"
7+
8+
<BlockInfoCard
9+
type="you"
10+
color="#0B0B0F"
11+
/>
12+
13+
{/* MANUAL-CONTENT-START:intro */}
14+
[You.com](https://you.com) provides web search APIs built for AI, letting agents search the web, extract clean content, and generate grounded, well-cited answers from real-time results. Its APIs go beyond a single query, returning clean web and news results, full-page content extraction, and multi-step research with cited sources, including a dedicated mode for financial topics.
15+
16+
With You.com, you can:
17+
18+
- **Search the web and news**: Retrieve fresh, ranked web and news results with titles, URLs, descriptions, and query-relevant snippets
19+
- **Extract clean page content**: Pull Markdown, HTML, and structured metadata from one or many URLs in a single call
20+
- **Run agentic research**: Pose a complex question and get a synthesized, well-cited answer that autonomously runs multiple searches and reads across sources
21+
- **Research financial topics**: Generate cited answers grounded in SEC filings, earnings reports, and company financials
22+
- **Target and filter results**: Constrain by domain allowlists or blocklists, freshness windows, country, and language, and use search operators like `site:`, `filetype:`, and boolean logic
23+
- **Tune depth versus speed**: Pick a research effort level (lite, standard, deep, or exhaustive) to balance latency against thoroughness
24+
25+
In Sim, the You.com integration lets your agents search, read, and research the web programmatically. This powers automations such as real-time market and competitor monitoring, lead and account enrichment, content extraction pipelines, and cited research briefs, all as part of your workflows.
26+
{/* MANUAL-CONTENT-END */}
27+
28+
29+
## Usage Instructions
30+
31+
Search the web for real-time, LLM-ready results, extract clean content from any URL, and run web or finance research that returns grounded, well-cited answers.
32+
33+
34+
35+
## Actions
36+
37+
### `you_search`
38+
39+
Search the web with You.com. Returns LLM-ready web and news results with titles, URLs, descriptions, and query-relevant snippets.
40+
41+
#### Input
42+
43+
| Parameter | Type | Required | Description |
44+
| --------- | ---- | -------- | ----------- |
45+
| `query` | string | Yes | The search query. Supports operators: site:domain.com, filetype:pdf, +term, -term, AND/OR/NOT, lang:en |
46+
| `count` | number | No | Maximum number of results per section \(1-100, default: 10\) |
47+
| `offset` | number | No | Pagination offset \(0-9, default: 0\) |
48+
| `freshness` | string | No | Freshness filter: day, week, month, year, or a YYYY-MM-DDtoYYYY-MM-DD range |
49+
| `country` | string | No | Two-letter country code to localize results \(e.g., US, GB, JP\) |
50+
| `language` | string | No | BCP 47 language code \(e.g., EN, FR, DE\). Default: EN |
51+
| `safesearch` | string | No | Safe search filter level: off, moderate, or strict |
52+
| `livecrawl` | string | No | Live-crawl sections for full page content: web, news, or all |
53+
| `include_domains` | string | No | Comma-separated allowlist of domains \(mutually exclusive with exclude_domains\) |
54+
| `exclude_domains` | string | No | Comma-separated blocklist of domains to exclude from results |
55+
| `apiKey` | string | Yes | You.com API Key |
56+
57+
#### Output
58+
59+
| Parameter | Type | Description |
60+
| --------- | ---- | ----------- |
61+
| `search_uuid` | string | Unique identifier for this search request |
62+
| `web` | array | Web search results |
63+
|`url` | string | The URL of the result |
64+
|`title` | string | The title of the result |
65+
|`description` | string | Brief summary of the page |
66+
|`snippets` | array | Query-relevant text excerpts from the page |
67+
|`page_age` | string | Publication timestamp \(ISO 8601\) |
68+
|`author` | string | Primary content author |
69+
|`favicon_url` | string | URL of the site's favicon |
70+
|`thumbnail_url` | string | Preview image URL |
71+
|`contents` | json | Full page content \(only when livecrawl is enabled\) |
72+
| `news` | array | News search results |
73+
|`url` | string | The URL of the article |
74+
|`title` | string | The article headline |
75+
|`description` | string | Content summary |
76+
|`page_age` | string | Publication timestamp \(UTC\) |
77+
|`thumbnail_url` | string | Preview image URL |
78+
|`contents` | json | Full page content \(only when livecrawl is enabled\) |
79+
80+
### `you_contents`
81+
82+
Extract clean page content from one or more URLs with You.com. Returns Markdown and/or HTML plus structured metadata for each page.
83+
84+
#### Input
85+
86+
| Parameter | Type | Required | Description |
87+
| --------- | ---- | -------- | ----------- |
88+
| `urls` | string | Yes | Comma-separated list of webpage URLs to extract content from \(up to 100\) |
89+
| `format` | string | No | Output format: markdown \(default\), html, or both |
90+
| `crawl_timeout` | number | No | Maximum seconds to wait per page \(1-60, default: 10\) |
91+
| `apiKey` | string | Yes | You.com API Key |
92+
93+
#### Output
94+
95+
| Parameter | Type | Description |
96+
| --------- | ---- | ----------- |
97+
| `results` | array | Extracted content for each requested URL |
98+
|`url` | string | The webpage URL |
99+
|`title` | string | The page title |
100+
|`markdown` | string | Markdown content \(if requested\) |
101+
|`html` | string | HTML content \(if requested\) |
102+
|`metadata` | json | Structured metadata \(site_name, favicon_url\) for each page |
103+
104+
### `you_research`
105+
106+
Run agentic web research with You.com. Takes a complex question, autonomously runs multiple searches, reads sources, and returns a synthesized, well-cited Markdown answer.
107+
108+
#### Input
109+
110+
| Parameter | Type | Required | Description |
111+
| --------- | ---- | -------- | ----------- |
112+
| `input` | string | Yes | The research question or complex query \(up to 40,000 characters\) |
113+
| `research_effort` | string | No | Depth of research: lite \(fastest\), standard \(default\), deep, or exhaustive \(most thorough\) |
114+
| `apiKey` | string | Yes | You.com API Key |
115+
116+
#### Output
117+
118+
| Parameter | Type | Description |
119+
| --------- | ---- | ----------- |
120+
| `content` | string | The synthesized research answer \(Markdown with inline citations\) |
121+
| `content_type` | string | Type of the content field: text or object |
122+
| `sources` | array | Web sources used to generate the answer |
123+
|`url` | string | The source URL |
124+
|`title` | string | The source title |
125+
|`snippets` | array | Relevant snippets extracted from the source |
126+
127+
### `you_finance`
128+
129+
Run agentic financial research with You.com. Returns a synthesized, well-cited answer drawn from SEC filings, earnings reports, and company financials.
130+
131+
#### Input
132+
133+
| Parameter | Type | Required | Description |
134+
| --------- | ---- | -------- | ----------- |
135+
| `input` | string | Yes | The finance research question \(up to 40,000 characters\) |
136+
| `research_effort` | string | No | Depth of research: deep \(default\) or exhaustive \(most thorough\) |
137+
| `apiKey` | string | Yes | You.com API Key |
138+
139+
#### Output
140+
141+
| Parameter | Type | Description |
142+
| --------- | ---- | ----------- |
143+
| `content` | string | The synthesized finance research answer \(Markdown with inline citations\) |
144+
| `content_type` | string | Type of the content field: text or object |
145+
| `sources` | array | Financial sources used to generate the answer |
146+
|`url` | string | The source URL |
147+
|`title` | string | The source title |
148+
|`snippets` | array | Relevant snippets extracted from the source |
149+
150+

apps/sim/app/workspace/[workspaceId]/settings/components/byok/byok.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import {
3333
SerperIcon,
3434
TogetherIcon,
3535
WizaIcon,
36+
YouIcon,
3637
ZeroBounceIcon,
3738
} from '@/components/icons'
3839
import { MAX_BYOK_KEYS_PER_PROVIDER } from '@/lib/api/contracts/byok-keys'
@@ -144,6 +145,13 @@ const PROVIDERS: (BYOKManagerProvider & { id: BYOKProviderId })[] = [
144145
description: 'Web search, extraction, and deep research',
145146
placeholder: 'Enter your Parallel AI API key',
146147
},
148+
{
149+
id: 'you',
150+
name: 'You.com',
151+
icon: YouIcon,
152+
description: 'Web search, content extraction, and research',
153+
placeholder: 'Enter your You.com API key',
154+
},
147155
{
148156
id: 'perplexity',
149157
name: 'Perplexity',
@@ -293,6 +301,7 @@ const PROVIDER_SECTIONS: BYOKProviderSection[] = [
293301
'serper',
294302
'linkup',
295303
'parallel_ai',
304+
'you',
296305
'perplexity',
297306
'jina',
298307
'google_cloud',

0 commit comments

Comments
 (0)