You don’t need to understand the technical details to use this feature. The configuration examples below are copy-paste ready.
How Link Understanding Works
URLs are detected
Comis scans incoming messages for URLs. Standard web links starting with
http:// or https:// are recognized. Up to 3 links per message are
processed by default (configurable).Pages are fetched safely
Each URL is fetched with SSRF protection — Comis will not fetch internal or
private network addresses. A readable extraction pulls the main content from
the page, stripping navigation menus, advertisements, sidebars, and scripts.
The result is clean, readable text.
When to Enable Link Understanding
Link understanding is most useful when your users regularly share web content and expect the agent to discuss it. Common scenarios include:- News and research groups — Users share articles and want the agent to summarize or comment on the content.
- Support channels — Users share documentation links and the agent needs to reference the linked page to answer questions.
- Content review — Users share blog posts, product pages, or forum threads for the agent to analyze.
Security
Link fetching includes built-in SSRF (Server-Side Request Forgery) protection. SSRF is an attack where a malicious user tricks a server into fetching internal resources that should not be accessible from outside. Comis prevents this by refusing to fetch URLs that point to:- Private IP addresses (
10.x.x.x,192.168.x.x,127.x.x.x) - Internal network hostnames
- Non-HTTP/HTTPS protocols
The SSRF protection runs automatically on every URL before any content is fetched.
You do not need to configure or maintain a blocklist — Comis handles it for you.
What the Agent Sees
When link understanding is enabled and a user sends a message containing a URL, your agent receives the original message text plus the extracted page content. The content is formatted as readable text with the page title, so the agent knows which link each block of content came from. If a page cannot be fetched (timeout, 404 error, blocked by the site), Comis silently skips it. The agent still sees the original message with the URL — it just does not get the extracted content for that link.Limits
These limits control how much content is fetched and how long Comis waits for each page to respond.| Setting | Default | Description |
|---|---|---|
maxLinks | 3 | Maximum URLs processed per message |
fetchTimeoutMs | 10,000 ms | Timeout per URL fetch |
maxContentChars | 5,000 | Maximum characters extracted per link |
maxLinks, only the first URLs (in order
of appearance) are processed. The rest are ignored.
If a page’s readable content exceeds maxContentChars, the text is truncated.
This keeps the agent’s context window from being overwhelmed by very long pages.
Configuration
enabled: true:
What Happens When Disabled
When link understanding is disabled (the default), URLs in messages are passed through to the agent as plain text. The agent sees the URL but does not know what the page contains. Users would need to copy-paste the relevant content from the page if they want the agent to discuss it.Related
Media Overview
Back to media overview
Security
SSRF protection and other security layers
Config Reference
Full configuration reference
Vision
Image and video analysis
